/*
Theme Name: twentytwentyfive-child
Description: Motyw potomny dla twentytwentyfive
Author: Twoje Imię
Template: twentytwentyfive
Version: 1.0
*/

/* Tutaj możesz dodać swoje własne style CSS */

/* ==========================================================================
   RESET & PODSTAWOWE STYLE
   ========================================================================== */
html, body {
    height: 100%;
    margin: 0 auto;
    max-width: 1920px;
}
footer{
	z-index: 50;
background-color: #F4EABA!important;
}
.footer-links p a {
    text-decoration: none;
}

/* ==========================================================================
   STRUKTURA STRONY & UKŁAD
   ========================================================================== */
.wp-site-blocks {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main.wp-block-group {
    flex: 1; 
}

.wp-block-template-part {
    position: sticky;
    top: 0;
    z-index: 1000;
}

header {
    background-color: #F4EABA;
}
.foogallery:first-of-type {
margin-block-start: 1.2rem;
}

/* ==========================================================================
   NAGŁÓWKI & TYTUŁY
   ========================================================================== */
.wp-block-post-title,
.wp-block-heading {
    display: none;
}
.blog .wp-block-post-title {
    display: block;
}

.wp-block-site-title {
    transition: transform 0.3s ease;
}

.wp-block-site-title:hover, 
.wp-block-site-title a:hover {
    text-decoration: none;
    transform: scale(1.1);
}

/* ==========================================================================
   KOMPONENTY POWTARZALNE
   ========================================================================== */

/* Przyciski */
.wp-block-button {
    transition: filter 0.5s ease-in-out;
}

.wp-block-button:hover {
    filter: brightness(120%);
}

.mp-shortcut-button{ 
	width:300px;
}

.article-extend a,
.wp-block-post-excerpt__more-link {
    background-color: #BDA936;
    padding: 6px 12px 6px 12px;
    border-radius: 10px;
    color: white;
    text-transform: uppercase;
    text-decoration: none;
    transition: filter 0.5s ease-in-out;
    font-size: medium;
    font-family: var(--wp--preset--font-family--fira-code);
}

.article-extend a:hover,
.wp-block-post-excerpt__more-link:hover {
    filter: brightness(120%);
}

/* Tabele */
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Linki */
.animated-link {
    color: blue;
    text-decoration: none;
}

/* Elementy szczegółów (details) */
.wp-block-details summary {
    list-style: none;
    position: relative;
    cursor: pointer;
    padding-right: 30px;
}

.wp-block-details summary::-webkit-details-marker {
    display: none;
}

.wp-block-details summary::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url('https://cdn-icons-png.flaticon.com/512/2985/2985150.png');
    background-size: contain;
    background-repeat: no-repeat;
    animation: up-down 1s infinite ease-in-out;
}

.wp-block-details[open] summary::before {
    transform: translateY(-50%) rotate(180deg);
    animation: none;
}
.uagb-post__text.uagb-post__cta.wp-block-button{
    opacity: 1;
    position: relative;
    z-index: 10;
    overflow: visible !important;
}

/* ==========================================================================
   MAPY GOOGLE
   ========================================================================== */
.google-map {
    width: 100%;
    height: 100%;
}

.mp-google-map {
    padding: 10px;
}

/* ==========================================================================
   ELEMENTY RSS
   ========================================================================== */
.wp-block-rss__item-title {
    font-size: 0.7em;
}

.wp-block-rss__item-title::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url('https://parafiajodlowa.pl/wp-content/uploads/2025/02/rss.png');
    background-size: contain;
    margin-right: 8px;
    vertical-align: middle;
}

.wp-block-rss__item-publish-date {
    font-size: 0.6em;
}

.wp-block-rss__item {
    margin-bottom: 7px;
    border-bottom: 1px solid;
}

/* ==========================================================================
   SLIDER & GALERIA
   ========================================================================== */
.swiper-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.swiper-slide {
    width: 100%;
}

.n2-section-smartslider {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* ==========================================================================
   SPECYFICZNE ELEMENTY STRONY
   ========================================================================== */
.mariage-text {
    width: 100vh;
}

.wp-block-uagb-info-box.uagb-block-e382001d.uagb-infobox__content-wrap.uagb-infobox-icon-above-title.uagb-infobox-image-valign-top.virtual-walk-info {
    position: absolute;
    bottom: -16px;
}

.wp-block-uagb-image__figure {
    max-width: 70% !important;
}

.wp-block-uagb-container.uagb-block-5550784c {
    row-gap: 0px !important;
}

.mega-menu-wrap {
    background-color: inherit !important;
}

.main-page-announcements-image {
    mix-blend-mode: multiply !important;
}

.justify {
    text-align: justify;
}

.cemetary-info-container {
    position: absolute !important;
    top: 154px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 100%;
    width: auto !important;
}

.mp-news-text {
    text-align: center;
    font-size: var(--wp--preset--font-size--large);
}

#wp--skip-link--target > div > div.wp-block-columns.alignwide.is-layout-flex.wp-container-core-columns-is-layout-3.wp-block-columns-is-layout-flex > div:nth-child(1) > div.wp-block-uagb-container.uagb-block-5550784c.alignfull.uagb-is-root-container > div.wp-block-columns.uag-hide-desktop.uag-hide-tab.is-layout-flex.wp-container-core-columns-is-layout-1.wp-block-columns-is-layout-flex > div.wp-block-column.is-vertically-aligned-center.is-layout-flow.wp-block-column-is-layout-flow > div {
    text-align: center;
}

#wp--skip-link--target > div > div.wp-block-columns.alignwide.is-layout-flex.wp-container-core-columns-is-layout-3.wp-block-columns-is-layout-flex > div:nth-child(1) > div.wp-block-uagb-container.uagb-block-5550784c.alignfull.uagb-is-root-container > div.wp-block-columns.uag-hide-desktop.uag-hide-tab.is-layout-flex.wp-container-core-columns-is-layout-1.wp-block-columns-is-layout-flex > div.wp-block-column.is-vertically-aligned-center.is-layout-flow.wp-block-column-is-layout-flow > div > a {
    padding-top: 6px !important;
    padding-right: 12px !important;
    padding-bottom: 6px !important;
    padding-left: 12px !important;
}

#wp--skip-link--target > div > div.wp-block-columns.alignwide.is-layout-flex.wp-container-core-columns-is-layout-3.wp-block-columns-is-layout-flex > div:nth-child(1) > div.wp-block-uagb-container.uagb-block-5550784c.alignfull.uagb-is-root-container > div.wp-block-columns.uag-hide-desktop.uag-hide-tab.is-layout-flex.wp-container-core-columns-is-layout-1.wp-block-columns-is-layout-flex {
    gap: 0;
    margin-bottom: 5px;
}

#wp--skip-link--target > div.wp-block-group.alignwide.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained > div {
    display: none !important;
}

#wp--skip-link--target {
    margin-top: 0;
}

.wp-block-group.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained {
    margin-top: 0 !important;
}

#aigpl-gallery-1 > div > div > div.aigpl-img-count.aigpl-center {
    display: none !important;
}

.sticky.hentry {
    display: none;
}
.page-id-82 .entry-content{
	display:grid;
	grid-template-columns: 1fr 1fr 1fr;
}
.fg-loaded .fg-media-caption-title{
	display: none;
}

@media screen and (max-width: 520px) {
    .top-bar-text {
        font-size: 12px;
    }
}

/* ==========================================================================
   IFRAME & OSADZENIA
   ========================================================================== */
iframe[name="cmentarz"] {
    width: 100%;
    height: 900px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
#wp--skip-link--target > div > div > div.wp-block-columns.alignwide.is-layout-flex.wp-container-core-columns-is-layout-28f84493.wp-block-columns-is-layout-flex > div:nth-child(2) > iframe{
	height: 650px;
}
/* ==========================================================================
   WSKAZÓWKI PRZEWIJANIA
   ========================================================================== */
.scroll-hint {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    position: relative;
    font-size: 14px;
    color: #555;
}

.scroll-hint .arrow {
    margin-left: 8px;
    width: 12px;
    height: 12px;
    border: solid #555;
    border-width: 2px 2px 0 0;
    transform: rotate(45deg);
    animation: bounce-right 1.5s infinite;
}

/* ==========================================================================
   ANIMACJE
   ========================================================================== */
@keyframes bounce-right {
    0%, 100% {
        transform: translateX(0) rotate(45deg);
    }
    50% {
        transform: translateX(5px) rotate(45deg);
    }
}

@keyframes up-down {
    0% {
        transform: translateY(-50%);
    }
    50% {
        transform: translateY(-35%);
    }
    100% {
        transform: translateY(-50%);
    }
}

/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */
@media (min-width: 768px) {
    .scroll-hint {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .mariage-text {
        max-width: 250px;
    }
    
    .wp-block-template-part {
        position: sticky;
        z-index: 1000;
    }
    
    .spectra-image-gallery__control-arrows.spectra-image-gallery__control-arrows--carousel {
        display: none !important;
    }
    
    .main-page-announcements-image {
        display: none !important;
    }
		.mp-shortcut-button-div{
	    display: flex;
    flex-direction: column;
}

.home .uagb-post__text.uagb-post__cta.wp-block-button a,
.home .uagb-post__cta.wp-block-button a {
    font-size: small;
}

}
:root :where(.wp-block-button .wp-block-button__link) {
    background: linear-gradient(135deg,rgb(159,155,74) 3%,rgb(235,226,54) 100%);
    border-radius: 10px;
    border-top-color: #191919;
    border-top-style: solid;
    border-right-color: #191919;
    border-right-style: solid;
    border-bottom-color: #191919;
    border-bottom-style: solid;
    border-left-color: #191919;
    border-left-style: solid;
    color: #ffffff;
    font-size: var(--wp--preset--font-size--medium);
    text-transform: uppercase;
    box-shadow: var(--wp--preset--shadow--natural);
}
.uagb-post-grid{
grid-template-columns: 1fr 1fr!important;
}
.uagb-post__title{
    min-height: 39px;
}
:where(.uagb-post-grid .wp-block-button__link) {
    padding: calc(0.467em) calc(1.133em)!important ;
}
.wp-block-file__button.wp-element-button{
	background: linear-gradient(135deg,rgb(159,155,74) 3%,rgb(235,226,54) 100%)
}