:root {
    --page: #f7f9f8;
    --surface: #ffffff;
    --surface-soft: #f4f7f5;

    --text: #17231e;
    --text-soft: #66756e;

    --border: #e1e7e3;
    --border-strong: #ccd8d1;

    --accent: #1f5c48;
    --accent-hover: #174838;
    --accent-soft: #edf5f1;

    --shadow:
        0 1px 2px rgba(20, 33, 28, .025),
        0 10px 28px rgba(20, 33, 28, .04);

    --radius: 14px;

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;

    background: var(--page);
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    margin: 0;

    background: var(--page);
    color: var(--text);

    font-size: 16px;
    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;

    border-bottom: 1px solid
        rgba(222, 230, 225, .9);

    background:
        rgba(255, 255, 255, .94);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;

    width: min(
        1240px,
        calc(100% - 40px)
    );

    min-height: 82px;

    margin: 0 auto;
}


/* =========================================================
   BRAND
   ========================================================= */

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    flex: 0 0 auto;

    color: var(--text);

    text-decoration: none;
}

.site-brand-mark {
    display: grid;
    place-items: center;

    width: 42px;
    height: 42px;

    border-radius: 11px;

    background:
        linear-gradient(
            145deg,
            #286b55,
            #174638
        );

    color: #fff;

    font-size: 12px;
    font-weight: 850;

    letter-spacing: -.02em;

    box-shadow:
        0 9px 22px
        rgba(31, 92, 72, .18);
}

.site-brand-text {
    display: flex;
    flex-direction: column;

    line-height: 1.15;
}

.site-brand-text strong {
    font-size: 14px;
    font-weight: 780;

    letter-spacing: -.01em;
}

.site-brand-text small {
    margin-top: 4px;

    color: #829089;

    font-size: 10px;
}


/* =========================================================
   DESKTOP MENU
   ========================================================= */

.site-navigation {
    min-width: 0;
}

.site-menu,
.site-submenu {
    margin: 0;
    padding: 0;

    list-style: none;
}

.site-menu {
    display: flex;
    align-items: center;
    gap: 3px;
}

.site-menu-item {
    position: relative;

    display: flex;
    align-items: center;
}

.site-menu-item > a {
    display: inline-flex;
    align-items: center;

    min-height: 40px;

    padding: 8px 12px;

    border-radius: 9px;

    color: #526159;

    font-size: 13px;
    font-weight: 650;

    text-decoration: none;

    transition:
        color .15s ease,
        background-color .15s ease;
}

.site-menu-item > a:hover,
.site-menu-item > a.is-current {
    background: var(--accent-soft);
    color: var(--accent);
}

.site-menu-item > a.is-current {
    font-weight: 750;
}


/* =========================================================
   DROPDOWN
   ========================================================= */

.site-submenu-toggle {
    display: grid;
    place-items: center;

    width: 27px;
    height: 27px;

    margin-left: -7px;
    margin-right: 3px;

    padding: 0;

    border: 0;
    border-radius: 7px;

    background: transparent;
    color: #87948e;

    cursor: pointer;
}

.site-submenu-toggle:hover {
    background: var(--accent-soft);
    color: var(--accent);
}

.site-submenu-toggle span {
    display: block;

    transition:
        transform .15s ease;
}

.site-menu-item.is-open
> .site-submenu-toggle span {
    transform: rotate(180deg);
}

.site-submenu {
    position: absolute;
    z-index: 120;

    top: calc(100% + 8px);
    left: 0;

    display: none;

    width: max-content;
    min-width: 225px;
    max-width: 330px;

    padding: 7px;

    border: 1px solid var(--border);
    border-radius: 12px;

    background: #fff;

    box-shadow:
        0 18px 40px
        rgba(20, 33, 28, .10);
}

.site-submenu .site-menu-item {
    display: flex;
}

.site-submenu .site-menu-item > a {
    width: 100%;

    min-height: 38px;

    padding: 8px 10px;

    font-size: 12px;
}

.site-menu-item:hover
> .site-submenu,
.site-menu-item:focus-within
> .site-submenu,
.site-menu-item.is-open
> .site-submenu {
    display: block;
}

/*
 * Kolejne poziomy.
 */
.site-submenu
.site-submenu {
    top: -7px;
    left: calc(100% + 7px);
}


/* =========================================================
   MOBILE TOGGLE
   ========================================================= */

.site-mobile-toggle {
    display: none;

    width: 42px;
    height: 42px;

    padding: 10px;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: #fff;

    cursor: pointer;
}

.site-mobile-toggle span {
    display: block;

    width: 100%;
    height: 2px;

    margin: 4px 0;

    border-radius: 999px;

    background: #45544d;
}


/* =========================================================
   MAIN
   ========================================================= */

.site-main {
    min-height:
        calc(100vh - 250px);
}

.page-shell {
    width: min(
        1180px,
        calc(100% - 40px)
    );

    margin: 0 auto;

    padding: 55px 0 80px;
}

.page-heading {
    margin-bottom: 30px;
}

.page-eyebrow {
    margin: 0 0 9px;

    color: var(--accent);

    font-size: 11px;
    font-weight: 850;

    letter-spacing: .09em;
    text-transform: uppercase;
}

.page-heading h1 {
    margin: 0;

    color: var(--text);

    font-size:
        clamp(34px, 5vw, 54px);

    line-height: 1.05;

    letter-spacing: -.04em;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    border-top: 1px solid #dce5df;

    background: #12201a;
    color: #fff;
}

.site-footer-main {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(240px, .55fr);

    gap: 80px;

    width: min(
        1240px,
        calc(100% - 40px)
    );

    margin: 0 auto;

    padding: 64px 0 48px;
}

.site-footer-brand {
    max-width: 520px;
}

.site-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    color: #fff;

    text-decoration: none;
}

.site-footer-logo > span {
    display: grid;
    place-items: center;

    width: 38px;
    height: 38px;

    border: 1px solid
        rgba(255, 255, 255, .12);

    border-radius: 10px;

    background:
        rgba(255, 255, 255, .07);

    font-size: 11px;
    font-weight: 850;
}

.site-footer-logo strong {
    font-size: 15px;
}

.site-footer-brand p {
    max-width: 440px;

    margin: 18px 0 0;

    color: #9fb0a8;

    font-size: 13px;
    line-height: 1.7;
}

.site-footer-heading {
    display: block;

    margin-bottom: 16px;

    color: #fff;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .08em;
    text-transform: uppercase;
}

.site-footer-menu,
.site-footer-menu ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.site-footer-menu {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 8px 20px;
}

.site-footer-menu a {
    color: #b8c7c0;

    font-size: 13px;

    text-decoration: none;
}

.site-footer-menu a:hover,
.site-footer-menu a.is-current {
    color: #fff;
}

.site-footer-menu ul {
    margin-top: 7px;
    padding-left: 10px;

    border-left:
        1px solid
        rgba(255, 255, 255, .09);
}

.site-footer-menu ul li {
    margin: 5px 0;
}

.site-footer-menu ul a {
    color: #82958c;

    font-size: 12px;
}

.site-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    width: min(
        1240px,
        calc(100% - 40px)
    );

    margin: 0 auto;

    padding: 20px 0 24px;

    border-top:
        1px solid
        rgba(255, 255, 255, .07);

    color: #71867c;

    font-size: 11px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 880px) {

    .site-header-inner {
        width:
            min(100% - 28px, 1240px);

        min-height: 72px;
    }

    .site-mobile-toggle {
        display: block;

        margin-left: auto;
    }

    .site-navigation {
        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        display: none;

        max-height:
            calc(100vh - 72px);

        overflow-y: auto;

        padding: 12px 14px 18px;

        border-top:
            1px solid var(--border);

        border-bottom:
            1px solid var(--border);

        background:
            rgba(255, 255, 255, .98);

        box-shadow:
            0 18px 30px
            rgba(20, 33, 28, .08);
    }

    .site-navigation.is-open {
        display: block;
    }

    .site-menu {
        display: block;
    }

    .site-menu-item {
        display: flex;
        flex-wrap: wrap;

        width: 100%;
    }

    .site-menu-item > a {
        flex: 1;

        min-height: 44px;

        padding: 10px 12px;
    }

    .site-submenu-toggle {
        width: 40px;
        height: 40px;

        margin: 2px 0;
    }

    .site-submenu {
        position: static;

        display: none;

        width: 100%;
        max-width: none;
        min-width: 0;

        margin: 3px 0 7px;
        padding: 5px 0 5px 14px;

        border: 0;
        border-left:
            1px solid var(--border);

        border-radius: 0;

        background: transparent;

        box-shadow: none;
    }

    /*
     * Na telefonie submenu otwieramy
     * tylko kliknięciem.
     */
    .site-menu-item:hover
    > .site-submenu,
    .site-menu-item:focus-within
    > .site-submenu {
        display: none;
    }

    .site-menu-item.is-open
    > .site-submenu {
        display: block;
    }

    .site-footer-main {
        grid-template-columns: 1fr;

        gap: 38px;

        width:
            min(100% - 28px, 1240px);

        padding-top: 48px;
    }

    .site-footer-bottom {
        align-items: flex-start;
        flex-direction: column;

        width:
            min(100% - 28px, 1240px);
    }

    .page-shell {
        width:
            min(100% - 28px, 1180px);

        padding-top: 40px;
    }
}

@media (max-width: 520px) {

    .site-brand-text small {
        display: none;
    }

    .site-footer-menu {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

:focus-visible {
    outline:
        3px solid
        rgba(31, 92, 72, .18);

    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;

        transition-duration:
            .001ms !important;

        animation-duration:
            .001ms !important;
    }
}


/* =========================================================
   SITE FOOTER — FINAL
   ========================================================= */

.site-footer {
    position: relative;

    background: #0d2118;
    color: #b9c8c0;

    border-top: 1px solid rgba(255, 255, 255, .05);
}

.site-footer-inner {
    width: min(
        1180px,
        calc(100% - 48px)
    );

    margin: 0 auto;
}


/* ---------------------------------------------------------
   MAIN
   --------------------------------------------------------- */

.site-footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;

    padding: 28px 0 24px;

    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.site-footer-brand strong {
    display: block;

    color: #f1f6f3;

    font-size: 15px;
    font-weight: 720;

    letter-spacing: -.015em;
}

.site-footer-brand span {
    display: block;

    margin-top: 4px;

    color: #789087;

    font-size: 10px;
}


/* ---------------------------------------------------------
   FOOTER NAVIGATION
   --------------------------------------------------------- */

.site-footer-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;

    gap: 6px 20px;
}

.site-footer-nav a {
    color: #9db0a7;

    font-size: 10px;
    font-weight: 650;

    text-decoration: none;

    transition:
        color .15s ease;
}

.site-footer-nav a:hover {
    color: #ffffff;
}


/* ---------------------------------------------------------
   BOTTOM
   --------------------------------------------------------- */

.site-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    min-height: 60px;

    padding: 15px 0;
}

.site-footer-copyright {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;

    color: #789087;

    font-size: 9px;
}

.site-footer-separator {
    color: #466156;
}


/* ---------------------------------------------------------
   AUTHOR / MI-IT
   --------------------------------------------------------- */

.site-footer-author {
    display: flex;
    align-items: center;
    gap: 7px;

    color: #637a70;

    font-size: 9px;
}

.site-footer-author a {
    display: inline-flex;
    align-items: center;
    gap: 4px;

    color: #a9bbb2;

    font-weight: 700;

    text-decoration: none;

    transition:
        color .15s ease;
}

.site-footer-author a:hover {
    color: #ffffff;
}

.site-footer-author svg {
    width: 11px;
    height: 11px;

    opacity: .8;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 760px) {

    .site-footer-inner {
        width:
            min(
                100% - 30px,
                1180px
            );
    }

    .site-footer-main {
        align-items: flex-start;
        flex-direction: column;

        gap: 18px;

        padding:
            24px 0 20px;
    }

    .site-footer-nav {
        justify-content: flex-start;
    }

    .site-footer-bottom {
        align-items: flex-start;
        flex-direction: column;

        gap: 8px;

        min-height: auto;

        padding:
            16px 0 20px;
    }

    .site-footer-author {
        flex-wrap: wrap;
    }

}


/* =========================================================
   FOOTER CONTACT + MAP
   ========================================================= */

.site-footer-contact {
    display: grid;
    grid-template-columns:
        minmax(320px, .82fr)
        minmax(520px, 1.18fr);

    gap: 42px;

    padding: 44px 0 38px;

    border-bottom:
        1px solid rgba(255, 255, 255, .07);
}


/* ---------------------------------------------------------
   CONTACT
   --------------------------------------------------------- */

.site-footer-contact-info {
    padding: 4px 0;
}

.site-footer-eyebrow {
    display: block;

    margin-bottom: 12px;

    color: #80a293;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .12em;
    text-transform: uppercase;
}

.site-footer-contact-info h2 {
    max-width: 430px;

    margin: 0 0 29px;

    color: #f3f7f5;

    font-size: clamp(23px, 2vw, 30px);
    font-weight: 720;

    line-height: 1.15;
    letter-spacing: -.035em;
}

.site-footer-contact-info h2 span {
    display: block;

    margin-bottom: 4px;

    color: #b3c8be;

    font-size: .62em;
    font-weight: 600;

    letter-spacing: -.015em;
}


/* ---------------------------------------------------------
   ADDRESS / CONTACT ROWS
   --------------------------------------------------------- */

.site-footer-address {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 12px 22px;

    margin: 0;

    font-style: normal;
}

.footer-contact-row {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: center;
    gap: 10px;

    min-height: 44px;
}

.footer-contact-icon {
    display: grid;
    place-items: center;

    width: 30px;
    height: 30px;

    border: 1px solid rgba(164, 194, 180, .14);
    border-radius: 8px;

    background: rgba(255, 255, 255, .035);
    color: #82a797;
}

.footer-contact-icon svg {
    width: 15px;
    height: 15px;
}

.footer-contact-row div {
    min-width: 0;
}

.footer-contact-row div > span {
    display: block;

    color: #b7c8c0;

    font-size: 11px;
    line-height: 1.5;
}

.footer-contact-row small {
    display: block;

    margin-bottom: 1px;

    color: #668276;

    font-size: 8px;
    font-weight: 750;

    letter-spacing: .06em;
    text-transform: uppercase;
}

.footer-contact-row a {
    color: #cbd8d2;

    font-size: 11px;
    font-weight: 600;

    text-decoration: none;
}

.footer-contact-row a:hover {
    color: #ffffff;
}


/* ---------------------------------------------------------
   FOOTER NAV BELOW CONTACT
   --------------------------------------------------------- */

.site-footer-contact-info
.site-footer-nav {
    justify-content: flex-start;

    margin-top: 27px;
    padding-top: 20px;

    border-top:
        1px solid rgba(255, 255, 255, .06);
}


/* ---------------------------------------------------------
   MAP
   --------------------------------------------------------- */

.site-footer-map {
    position: relative;

    min-height: 320px;

    overflow: hidden;

    border:
        1px solid rgba(255, 255, 255, .10);
    border-radius: 16px;

    background: #162920;

    box-shadow:
        0 18px 45px rgba(0, 0, 0, .14);
}

.site-footer-map iframe {
    position: absolute;

    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

    border: 0;

    filter:
        saturate(.82)
        contrast(.95);
}


/* ---------------------------------------------------------
   MAP BOTTOM BAR
   --------------------------------------------------------- */

.site-footer-map-overlay {
    position: absolute;

    z-index: 2;

    right: 13px;
    bottom: 13px;
    left: 13px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 11px 12px 11px 14px;

    border:
        1px solid rgba(255, 255, 255, .24);
    border-radius: 10px;

    background:
        rgba(13, 33, 24, .91);

    box-shadow:
        0 9px 24px rgba(0, 0, 0, .18);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.site-footer-map-overlay span {
    display: block;

    margin-bottom: 1px;

    color: #78988a;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: .08em;
    text-transform: uppercase;
}

.site-footer-map-overlay strong {
    display: block;

    color: #edf4f1;

    font-size: 11px;
    font-weight: 700;
}


/* ---------------------------------------------------------
   DIRECTIONS BUTTON
   --------------------------------------------------------- */

.site-footer-directions {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    min-height: 34px;

    padding: 6px 10px;

    border:
        1px solid rgba(255, 255, 255, .15);
    border-radius: 7px;

    background: #ffffff;
    color: #173126;

    font-size: 9px;
    font-weight: 760;

    text-decoration: none;

    white-space: nowrap;

    transition:
        transform .15s ease,
        background-color .15s ease;
}

.site-footer-directions:hover {
    background: #edf4f1;
    color: #10251c;

    transform: translateY(-1px);
}

.site-footer-directions svg {
    width: 12px;
    height: 12px;
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 1000px) {

    .site-footer-contact {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .site-footer-map {
        min-height: 340px;
    }

}


@media (max-width: 620px) {

    .site-footer-contact {
        padding: 32px 0 28px;
    }

    .site-footer-address {
        grid-template-columns: 1fr;

        gap: 8px;
    }

    .site-footer-contact-info h2 {
        margin-bottom: 24px;
    }

    .site-footer-map {
        min-height: 300px;

        border-radius: 12px;
    }

    .site-footer-map-overlay {
        align-items: flex-start;
        flex-direction: column;

        gap: 9px;
    }

    .site-footer-directions {
        width: 100%;

        justify-content: center;
    }

}


/* =========================================================
   FOOTER CONTACT — PREMIUM VERTICAL LAYOUT
   ========================================================= */

.site-footer-contact {
    grid-template-columns:
        minmax(360px, 420px)
        minmax(0, 1fr);

    gap: 58px;

    align-items: stretch;
}


/* ---------------------------------------------------------
   PARISH NAME
   --------------------------------------------------------- */

.site-footer-contact-info h2 {
    max-width: 420px;

    margin-bottom: 32px;

    font-size: 30px;
    line-height: 1.13;
}

.site-footer-contact-info h2 span {
    margin-bottom: 6px;

    font-size: 15px;
    font-weight: 600;

    color: #8fa99d;

    letter-spacing: 0;
}


/* ---------------------------------------------------------
   CONTACT LIST — ONE BELOW ANOTHER
   --------------------------------------------------------- */

.site-footer-address {
    display: flex;
    flex-direction: column;

    gap: 0;

    margin: 0;

    font-style: normal;

    border-top:
        1px solid rgba(255, 255, 255, .07);
}

.footer-contact-row {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;

    gap: 16px;

    min-height: 78px;

    padding: 14px 0;

    border-bottom:
        1px solid rgba(255, 255, 255, .07);
}


/* ---------------------------------------------------------
   ICON
   --------------------------------------------------------- */

.footer-contact-icon {
    display: grid;
    place-items: center;

    width: 46px;
    height: 46px;

    border:
        1px solid rgba(143, 180, 163, .17);

    border-radius: 12px;

    background:
        rgba(255, 255, 255, .035);

    color: #85aa99;
}

.footer-contact-icon svg {
    width: 20px;
    height: 20px;
}


/* ---------------------------------------------------------
   LABELS
   --------------------------------------------------------- */

.footer-contact-row small {
    display: block;

    margin: 0 0 5px;

    color: #6f8f81;

    font-size: 9px;
    font-weight: 800;

    line-height: 1;

    letter-spacing: .09em;
    text-transform: uppercase;
}


/* ---------------------------------------------------------
   VALUES
   --------------------------------------------------------- */

.footer-contact-row div > span,
.footer-contact-row a {
    display: block;

    color: #d5e2dc;

    font-size: 15px;
    font-weight: 560;

    line-height: 1.5;

    letter-spacing: -.01em;
}

.footer-contact-row a {
    width: fit-content;

    text-decoration: none;

    transition:
        color .15s ease;
}

.footer-contact-row a:hover {
    color: #ffffff;
}


/* ADDRESS — slightly more prominent */

.footer-contact-row:first-child div > span {
    font-size: 16px;

    color: #e0ebe6;
}


/* PHONE */

.footer-contact-row:nth-child(2) a {
    font-size: 17px;
    font-weight: 700;

    color: #edf5f1;
}


/* NIP */

.footer-contact-row:nth-child(4) div > span {
    font-variant-numeric:
        tabular-nums;

    letter-spacing: .02em;
}


/* ---------------------------------------------------------
   MAP — MORE PREMIUM PROPORTIONS
   --------------------------------------------------------- */

.site-footer-map {
    min-height: 390px;

    border-radius: 18px;
}

.site-footer-map-overlay {
    right: 16px;
    bottom: 16px;
    left: 16px;

    padding: 13px 14px 13px 16px;

    border-radius: 11px;
}

.site-footer-map-overlay strong {
    font-size: 12px;
}

.site-footer-directions {
    min-height: 38px;

    padding: 7px 12px;

    font-size: 10px;
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 1050px) {

    .site-footer-contact {
        grid-template-columns: 1fr;

        gap: 34px;
    }

    .site-footer-contact-info {
        max-width: 560px;
    }

    .site-footer-map {
        min-height: 360px;
    }

}


@media (max-width: 620px) {

    .site-footer-contact-info h2 {
        font-size: 25px;
    }

    .footer-contact-row {
        grid-template-columns:
            42px
            minmax(0, 1fr);

        gap: 13px;

        min-height: 70px;
    }

    .footer-contact-icon {
        width: 40px;
        height: 40px;

        border-radius: 10px;
    }

    .footer-contact-icon svg {
        width: 18px;
        height: 18px;
    }

    .footer-contact-row div > span,
    .footer-contact-row a {
        font-size: 14px;
    }

    .footer-contact-row:nth-child(2) a {
        font-size: 16px;
    }

    .site-footer-map {
        min-height: 320px;
    }

}


/* =========================================================
   FOOTER — CLICKABLE ADDRESS
   ========================================================= */

.footer-address-link {
    display: block;

    width: fit-content;

    color: inherit !important;
    text-decoration: none !important;
}

.footer-address-link span {
    display: block;

    color: #e0ebe6;

    font-size: 16px;
    font-weight: 560;
    line-height: 1.5;

    transition:
        color .15s ease;
}

.footer-address-link:hover span {
    color: #ffffff;
}

.footer-contact-row:first-child:hover
.footer-contact-icon {
    border-color: rgba(143, 180, 163, .34);

    background: rgba(255, 255, 255, .065);

    color: #a8c9ba;
}


/* =========================================================
   HEADER — PARISH LOGO FINAL
   ========================================================= */

.site-header .site-brand {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;

    flex: 0 1 auto;

    width: auto;
    max-width: min(610px, 48vw);

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 0;

    background: transparent !important;

    box-shadow: none !important;

    text-decoration: none;

    transition:
        opacity .15s ease,
        transform .15s ease;
}

.site-header .site-brand:hover {
    background: transparent !important;

    opacity: .96;

    transform: translateY(-1px);
}

.site-header .site-brand:focus-visible {
    outline: 2px solid rgba(31, 92, 72, .22);
    outline-offset: 6px;

    border-radius: 4px;
}


/* LOGO */

.site-header .site-brand-logo {
    display: block;

    width: auto;
    height: 78px;
    max-width: 100%;

    object-fit: contain;
    object-position: left center;

    background: transparent;
}


/* HEADER */

.site-header-inner {
    min-height: 100px;

    gap: 34px;
}


/* TABLET */

@media (max-width: 1050px) {

    .site-header .site-brand {
        max-width: 440px;
    }

    .site-header .site-brand-logo {
        height: 68px;
    }

    .site-header-inner {
        min-height: 90px;
    }

}


/* MOBILE */

@media (max-width: 720px) {

    .site-header .site-brand {
        max-width:
            min(
                290px,
                calc(100vw - 90px)
            );
    }

    .site-header .site-brand-logo {
        width: 100%;
        height: auto;

        max-height: 64px;
    }

    .site-header-inner {
        min-height: 80px;

        gap: 12px;
    }

}



/* =========================================================
   HEADER — FINAL PARISH BRANDING
   ========================================================= */

.site-header {
    position: relative;
    z-index: 100;

    width: 100%;

    border-bottom: 1px solid #e8eeeb;

    background:
        rgba(255, 255, 255, .97);

    box-shadow:
        0 1px 0 rgba(15, 39, 29, .02);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}


/* ---------------------------------------------------------
   HEADER INNER
   --------------------------------------------------------- */

.site-header .site-header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    width: min(
        1240px,
        calc(100% - 48px)
    ) !important;

    min-height: 104px !important;

    margin: 0 auto !important;
    padding: 10px 0 !important;

    gap: 42px !important;
}


/* ---------------------------------------------------------
   NEW LOGO
   --------------------------------------------------------- */

.site-header .site-brand.site-brand--parish {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    flex: 0 1 590px !important;

    width: auto !important;
    max-width: 590px !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    color: inherit !important;

    box-shadow: none !important;

    text-decoration: none !important;

    transform: none !important;

    transition:
        opacity .15s ease !important;
}

.site-header
.site-brand.site-brand--parish:hover {
    background: transparent !important;

    opacity: .92 !important;

    box-shadow: none !important;

    transform: none !important;
}

.site-header
.site-brand.site-brand--parish:focus-visible {
    outline: 2px solid rgba(20, 92, 69, .24) !important;
    outline-offset: 7px !important;

    border-radius: 4px !important;
}


/* ---------------------------------------------------------
   LOGO IMAGE
   --------------------------------------------------------- */

.site-header .site-brand-logo {
    display: block !important;

    width: auto !important;
    height: 82px !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;

    object-fit: contain !important;
    object-position: left center !important;

    background: transparent !important;

    box-shadow: none !important;
}


/* ---------------------------------------------------------
   NAVIGATION AREA
   --------------------------------------------------------- */

.site-header nav,
.site-header .site-navigation,
.site-header .site-nav {
    margin-left: auto !important;
}


/*
 * Nie pozwalamy menu przepychać logo.
 */

.site-header .site-nav,
.site-header .site-navigation {
    flex: 0 1 auto !important;
}


/* ---------------------------------------------------------
   NAV LINKS
   --------------------------------------------------------- */

.site-header nav > ul,
.site-header .site-nav > ul,
.site-header .site-navigation > ul {
    display: flex;
    align-items: center;

    gap: 4px;

    margin: 0;
    padding: 0;
}

.site-header nav a {
    white-space: nowrap;
}


/* ---------------------------------------------------------
   DESKTOP
   --------------------------------------------------------- */

@media (min-width: 1101px) {

    .site-header .site-brand-logo {
        height: 84px !important;
    }

}


/* ---------------------------------------------------------
   MEDIUM DESKTOP / TABLET
   --------------------------------------------------------- */

@media (max-width: 1100px) {

    .site-header .site-header-inner {
        min-height: 92px !important;

        gap: 25px !important;
    }

    .site-header
    .site-brand.site-brand--parish {
        flex-basis: 455px !important;

        max-width: 455px !important;
    }

    .site-header .site-brand-logo {
        height: 70px !important;
    }

}


/* ---------------------------------------------------------
   MOBILE HEADER
   --------------------------------------------------------- */

@media (max-width: 820px) {

    .site-header .site-header-inner {
        width:
            min(
                100% - 28px,
                1240px
            ) !important;

        min-height: 80px !important;

        padding:
            8px 0 !important;

        gap: 12px !important;
    }

    .site-header
    .site-brand.site-brand--parish {
        flex:
            0 1
            min(
                310px,
                calc(100vw - 90px)
            ) !important;

        max-width:
            min(
                310px,
                calc(100vw - 90px)
            ) !important;
    }

    .site-header .site-brand-logo {
        width: 100% !important;
        height: auto !important;

        max-height: 65px !important;
    }

}


/* ---------------------------------------------------------
   SMALL MOBILE
   --------------------------------------------------------- */

@media (max-width: 480px) {

    .site-header
    .site-brand.site-brand--parish {
        max-width:
            calc(100vw - 82px) !important;
    }

    .site-header .site-brand-logo {
        max-height: 57px !important;
    }

}



/* =========================================================
   PUBLIC NAVIGATION POLISH 20260920
   ========================================================= */

@media (min-width: 901px) {

    /*
     * Rodzic submenu musi tworzyć stabilny
     * obszar pomiędzy linkiem i dropdownem.
     */
    .site-menu-item.has-children {
        position: relative;
    }

    /*
     * Niewidzialny mostek hover.
     *
     * Dzięki niemu przesuwając myszkę
     * z "Parafia" do submenu nie opuszczamy
     * obszaru rodzica i menu nie znika.
     */
    .site-menu-item.has-children::after {
        content: "";

        position: absolute;
        z-index: 20;

        top: 100%;
        left: -4px;
        right: -12px;

        height: 24px;

        background: transparent;
    }


    /*
     * Usuwamy kwadratowy przycisk ze zrzutu.
     */
    .site-menu-item.has-children
    > .site-submenu-toggle {
        width: 24px !important;
        min-width: 24px !important;
        height: 34px !important;

        margin: 0 0 0 -2px !important;
        padding: 0 !important;

        border: 0 !important;
        border-radius: 0 !important;

        background: transparent !important;

        box-shadow: none !important;

        color: #315f4c;

        display: inline-grid;
        place-items: center;
    }

    .site-menu-item.has-children
    > .site-submenu-toggle:hover {
        border: 0 !important;

        background: transparent !important;

        box-shadow: none !important;
    }


    /*
     * Chowamy tekstowy symbol i rysujemy
     * własny subtelny chevron.
     */
    .site-menu-item.has-children
    > .site-submenu-toggle
    > span {
        position: relative;

        display: block;

        width: 12px;
        height: 9px;

        font-size: 0 !important;
        line-height: 0;

        transform: none !important;
    }

    .site-menu-item.has-children
    > .site-submenu-toggle
    > span::before {
        content: "";

        position: absolute;

        top: 0;
        left: 2px;

        width: 6px;
        height: 6px;

        border-right:
            1.5px solid currentColor;

        border-bottom:
            1.5px solid currentColor;

        transform:
            rotate(45deg);

        transform-origin: center;

        transition:
            transform .16s ease,
            top .16s ease;
    }


    .site-menu-item.has-children:hover
    > .site-submenu-toggle
    > span::before,

    .site-menu-item.has-children:focus-within
    > .site-submenu-toggle
    > span::before,

    .site-menu-item.has-children.is-open
    > .site-submenu-toggle
    > span::before {
        top: 3px;

        transform:
            rotate(225deg);
    }


    /*
     * Submenu pozostaje nad mostkiem.
     */
    .site-menu-item.has-children
    > .site-submenu {
        z-index: 30;
    }
}

/* =========================================================
   MOBILE NAVIGATION — PRODUCTION FIX 20260923
   =========================================================
   Finalne reguły nagłówka niżej w pliku ponownie ustawiały
   listę na display:flex. Na mobile wymuszamy pionowy panel.
*/
@media (max-width: 880px) {

    .site-header .site-navigation {
        position: absolute !important;
        z-index: 150 !important;

        top: 100% !important;
        right: 0 !important;
        left: 0 !important;

        display: none !important;

        width: 100% !important;
        max-width: none !important;

        margin: 0 !important;
        padding: 12px 14px 18px !important;

        max-height: calc(100dvh - 80px) !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;

        border-top: 1px solid var(--border) !important;
        border-bottom: 1px solid var(--border) !important;

        background: rgba(255, 255, 255, .99) !important;

        box-shadow:
            0 18px 30px
            rgba(20, 33, 28, .10) !important;
    }

    .site-header .site-navigation.is-open {
        display: block !important;
    }

    .site-header .site-navigation > ul,
    .site-header .site-navigation .site-menu {
        display: block !important;

        width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    .site-header .site-navigation .site-menu-item {
        display: flex !important;
        flex-wrap: wrap !important;

        width: 100% !important;
        min-width: 0 !important;
    }

    .site-header .site-navigation .site-menu-item > a {
        flex: 1 1 auto !important;

        min-width: 0 !important;
        min-height: 46px !important;

        padding: 10px 12px !important;

        white-space: normal !important;
    }

    .site-header .site-navigation .site-submenu-toggle {
        flex: 0 0 42px !important;

        width: 42px !important;
        min-width: 42px !important;
        height: 42px !important;

        margin: 2px 0 !important;
    }

    .site-header .site-navigation .site-submenu {
        position: static !important;

        display: none !important;

        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;

        margin: 3px 0 7px !important;
        padding: 5px 0 5px 14px !important;

        border: 0 !important;
        border-left: 1px solid var(--border) !important;
        border-radius: 0 !important;

        background: transparent !important;

        box-shadow: none !important;
    }

    .site-header .site-navigation
    .site-menu-item.is-open > .site-submenu {
        display: block !important;
    }

    .site-header .site-navigation
    .site-menu-item:hover > .site-submenu,
    .site-header .site-navigation
    .site-menu-item:focus-within > .site-submenu {
        display: none !important;
    }

    .site-header .site-navigation
    .site-menu-item.is-open:hover > .site-submenu,
    .site-header .site-navigation
    .site-menu-item.is-open:focus-within > .site-submenu {
        display: block !important;
    }

    body.has-open-navigation {
        overflow: hidden;
    }
}

