body {
    position: relative;
}

a,
a img,
button,
.ast-icon,
#ast-scroll-top {
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

a:focus {
    outline: none;
}

.site-footer-primary-section-1 h3,
.site-footer-primary-section-1 p,
.site-footer-primary-section-1 a,
.site-footer-primary-section-1 .wp-block-uagb-icon-list-child span.uagb-icon-list__label,
.site-footer-primary-section-2 h3,
.site-footer-primary-section-2 p,
.site-footer-primary-section-2 a,
.site-footer-primary-section-2 .wp-block-uagb-icon-list-child span.uagb-icon-list__label,
.site-footer-primary-section-3 h3,
.site-footer-primary-section-3 p,
.site-footer-primary-section-3 a,
.site-footer-primary-section-3 .wp-block-uagb-icon-list-child span.uagb-icon-list__label {
    color: #fff !important;
}

a.my-button {
	background: #00427b !important;
	color: #fff;
}
a.my-button:hover {
	background: #d0e9ff !important;
	color: #000 !important;
}

.home .25lat-glowna {
	
}

.home .hfeed.site .ast-merged-advanced-header .ast-inside-advanced-header-content,
.home .hfeed.site .ast-merged-advanced-header .ast-main-header-wrap.main-header-bar-wrap {
	display: none;
}

.home .ast-title-bar-wrap.ast-merged-advanced-header {
    min-height: 70px !important;
}

.home .ast-title-bar-wrap::before {
		background: none;
}

.custom-category-content {
	margin: 0 0 80px 0;
}

/* Nagłówek ponad treścią */
#masthead.site-header {
    position: relative;
    z-index: 10000 !important;
}

/* Górny pasek Astra */
#masthead .ast-above-header-bar.ast-sticky-active {
    z-index: 10001 !important;
}

/* Naprawa nakładania nagłówka Astra na treść */
.ast-merged-advanced-header.ast-title-bar-wrap {
    z-index: 10 !important;
}

/* Sekcja z tytułem strony */
.ast-title-bar-wrap {
    position: relative;
    z-index: 0;
}

.ast-footer-copyright {
    margin: 34px 0 0 0;
}

.footer-widget-area.widget-area.site-footer-focus-item.ast-footer-html-1 {
    margin: 21px 0 0 0;
}

figure.exp-image img,
img.exp-image {
    max-width: 300px;
    margin: 0 0 0 3px;
}

body.archive .ast-archive-description {
    padding: 3rem 0 0 0;
}

.ast-archive-description {
    border-bottom: 0;
}

.archive .ast-blog-layout-6-grid .blog-layout-6 .ast-blog-single-element *:hover {
    color: #000;
}

.ast-title-bar-wrap {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Gradient na zdjęciu */
.ast-title-bar-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.5) 0%,
            rgba(0, 0, 0, 0.5) 100%);
    pointer-events: none;
    z-index: 0;
}

/* Treść nagłówka nad gradientem */
.ast-title-bar-wrap>* {
    position: relative;
    z-index: 1;
}

.ast-title-bar-wrap.ast-merged-advanced-header {
    min-height: 500px;
    background-size: cover;
    background-position: center center;
    justify-content: space-between;
}

/* Wysokość całego nagłówka ze zdjęciem */
.ast-title-bar-wrap.ast-merged-advanced-header {
    min-height: 880px;
    background-size: cover;
    background-position: center center;
}

/* Wysokość na urządzeniach mobilnych */
@media (max-width: 921px) {
    .ast-title-bar-wrap.ast-merged-advanced-header {
        min-height: 550px;
    }
}

.ast-title-bar-wrap.ast-merged-advanced-header .ast-advanced-headers-layout {
    padding-bottom: 2.33333em;
}

.ast-title-bar-wrap.ast-merged-advanced-header .ast-container h1 {
    font-size: 66px;
    line-height: 150%;
    font-weight: 600;
    color: #fff;
    text-shadow: 1px 1px 11px #000000a1;
    position: relative;
    z-index: 2;
    text-align: left;
}

/* Menu mobilne nad tytułem strony */
.ast-header-break-point .ast-title-bar-wrap #masthead {
    position: relative;
    z-index: 1000;
}

/* Tytuł strony poniżej menu */
.ast-header-break-point .ast-title-bar-wrap .ast-advanced-headers-layout {
    position: relative;
    z-index: 1;
}

.ast-mobile-header-content ul#ast-hf-mobile-menu {
    z-index: 9999999;
    position: absolute;
    top: 66px;
    background: #fff;
}

@media (max-width: 768px) {
    .ast-title-bar-wrap.ast-merged-advanced-header .ast-container h1 {
        font-size: 36px;
    }

    .ast-builder-footer-grid-columns {
        display: flex;
        flex-direction: column;
    }

    .ast-single-entry-banner[data-post-type="post"] {
        padding: 3em 1em;
    }
}

@media (max-width: 922px) {
	figure.exp-image img,
    img.exp-image {
        max-width: 204px;
        margin: 0px 0 0 16px;
    }
}

@media (max-width: 544px) {
	figure.exp-image img,
    img.exp-image {
        max-width: 164px;
        margin: 0px 0 0 3px;
    }
}

@media (min-width: 922px) {

    .ast-single-entry-banner[data-post-type="post"][data-banner-background-type="featured"] {
        min-height: 880px;
    }

    .ast-plain-container .ast-grid-2>.site-main>.ast-row {
        gap: 2%;
    }

    .ast-plain-container .ast-grid-2 .ast-article-post {
        width: 49%;
    }

    .ast-separate-container .ast-article-post,
    .ast-separate-container .ast-article-single {
        padding: 0 6.67em 5.34em;
    }
}

@media (min-width: 1024px) {
    .ast-builder-footer-grid-columns {
        flex-direction: row;
    }

    .ast-builder-footer-grid-columns .site-footer-primary-section-1 {
        flex-basis: 28% !important;
    }

    .ast-builder-footer-grid-columns .site-footer-primary-section-2 {
        flex-basis: 28% !important;
    }

    .ast-builder-footer-grid-columns .site-footer-primary-section-3 {
        flex-basis: 44% !important;
    }
}

.wp-block-accordion-item h3.wp-block-accordion-heading {
    font-size: 1.3rem;
}

.wp-block-accordion-item.is-open h3.wp-block-accordion-heading .wp-block-accordion-heading__toggle-title,
.wp-block-accordion-item.is-open:hover h3.wp-block-accordion-heading .wp-block-accordion-heading__toggle-title {
    color: #00427b;
    font-size: 1.3rem;
}