@font-face {
    font-family: 'Courier Prime';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/courier-prime-v11-latin-regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Courier Prime';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/courier-prime-v11-latin-italic.woff2') format('woff2');
}

@font-face {
    font-family: 'Courier Prime';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/courier-prime-v11-latin-700.woff2') format('woff2');
}

@font-face {
    font-family: 'Courier Prime';
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/courier-prime-v11-latin-700italic.woff2') format('woff2');
}

@font-face {
    font-family: 'Bebas Neue';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/BebasNeue-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'PP Gatwick Bold';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/PPGatwick-Bold.otf') format('opentype');
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --font-bebas-neue: 'Bebas Neue', sans-serif;
    --font-montserrat: 'Montserrat', sans-serif;
    --font-pp-gatwick-bold: 'PP Gatwick Bold', sans-serif;
    --dark-green: #344F40;
    --link-green: #5c9b78;
    --nav-underline: #9bd5b9;
    --nav-orange: #ad8505;

    --topbar-icon-bg: #616c65;
    --topbar-icon-color: #ffffff;
    --topbar-icon-size: 25px;
    --topbar-text-color: #555e58;
    --topbar-hover-color: var(--dark-green);
}

.font-courier-prime,
.font-doni-courier {
    font-family: var(--doni-courier-prime) !important;
}

.font-bebas-neue {
    font-family: var(--font-bebas-neue) !important;
}

.font-pp-gatwick-bold {
    font-family: var(--font-pp-gatwick-bold) !important;
}

.font-montserrat {
    font-family: var(--font-montserrat) !important;
}

body {
    font-family: var(--font-montserrat);
}


.alakulat-zold {
    h1 {
        font-family: var(--font-pp-gatwick-bold);
        color: var(--dark-green);
    }

    [data-sf-id="title"] {
        font-family: var(--font-pp-gatwick-bold);
        color: var(--dark-green);

        font-size: 21px;
        line-height: 2.5rem;
        text-align: left;

        @media (min-width: 600px) {
            font-size: 41px;
            line-height: 1;
        }
    }

    .text-content {
        color: var(--dark-green);
        background-color: #FFFFFFBF;
        text-align: justify;

        h1 {
            font-size: 32px;
            font-family: var(--font-bebas-neue);
            text-transform: capitalize;
            color: var(--dark-green);
        }

        h2 {
            font-size: 30px;
            color: var(--dark-green);
            font-family: var(--font-bebas-neue);
        }

        h3 {
            font-size: 20px;
            color: var(--dark-green);
            font-family: var(--font-bebas-neue);
        }

        p {
            font-size: 16px;
            line-height: normal;
            margin: 18px 0;
        }

        a {
            color: var(--link-green);

            &:hover {
                color: var(--dark-green);
            }
        }

        ul {
            margin-left: 40px;
            font-size: 21px;
            list-style-type: disc;

            ul {
                list-style-type: circle;
            }
        }

        ol {
            margin-left: 80px;
            font-size: 21px;
            list-style-type: decimal;
        }
    }

    .szakmai-partnereink {

        img {
            width: 200px !important;
            height: auto !important;
            margin-left: auto;
            margin-right: auto;
        }

        p {
            text-align: center;
        }
    }


    /* ============================================================
    * Navbar
    * ============================================================ */

    .hmz-sf-nav {
        gap: 1.25rem;

        .hmz-sf-nav-link {
            color: #14242A;
            position: relative;
            padding: 0.4rem 0.25rem;
            transition: color 0.2s ease;

            &::after {
                content: '';
                position: absolute;
                bottom: 0;
                left: 0;
                width: 100%;
                height: 3px;
                background-color: var(--nav-underline);
                transform: scaleX(0);
                transform-origin: center;
                transition: transform 0.2s ease-in-out;
            }

            &:hover,
            &:focus-visible {

                &::after {
                    transform: scaleX(1);
                }
            }
            
            &.toborzas {
                color: var(--nav-orange);
            }
        }
    }

    .hmz-sf-nav-link,
    .hmz-sf-nav-dropdown a {
        font-family: var(--font-bebas-neue);
        font-size: 25px;
        text-transform: uppercase !important;   
    }

    #sf-chrome-brand {
        position: relative;
        margin-bottom: -100px;

        img {
            width: 120px;
        }
    }

    .hmz-sf-header-bar {
        z-index: 80 !important;
    }

    /* ============================================================
    * Dropdown menu
    * ============================================================ */

    .hmz-sf-nav-dropdown {
        background-color: var(--dark-green);
        border: 1px solid var(--dark-green);
        border-radius: 0;
        box-shadow: none;
        min-width: 16rem;
        width: max-content;
        padding: 0.5rem;

        a {
            color: #ffffff !important;
            border-radius: 0;
            padding: 0.5rem 0.75rem;
            white-space: nowrap;
            transition: background-color 0.15s ease;

            &:hover {
                background-color: white;
                color: black !important;
            }
        }
    }

    /* ============================================================
    * Mobile menu
    * ============================================================ */

    .hmz-sf-nav-mobile {
        background: #ffffff !important;
        border-bottom: 2px solid var(--dark-green);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        position: relative !important;
        bottom: auto !important;
        padding: 1.25rem 1.5rem !important;
        z-index: 70 !important;

        &.toborzas {
            color: var(--nav-orange);
        }

        .hmz-sf-nav-link {
            color: var(--dark-green);
            font-size: 25px !important;
            padding: 5px 0;
            text-align: center;
            justify-content: center !important;

            &:hover {
                color: var(--dark-green);
            }
        }

        div[x-show="open"] {
            background-color: var(--dark-green);
            border: 1px solid var(--dark-green);
            padding: 0.5rem 0.75rem;
            margin-top: 0.25rem;
            margin-bottom: 0.5rem;

            .hmz-sf-nav-link {
                color: #ffffff !important;
                padding: 0.35rem 0.5rem;
                text-align: center;

                &:hover {
                    background-color: white;
                    color: var(--dark-green) !important;
                }
            }

            .hmz-sf-sublevel-odd {
                background-color: #ffffff !important;
                border: none;

                .hmz-sf-nav-link {
                    color: var(--dark-green) !important;

                    &:hover {
                        background-color: white;
                        color: var(--dark-green) !important;
                    }
                }
            }

            .hmz-sf-sublevel-even {
                background-color: var(--dark-green) !important;
                border: none;

                .hmz-sf-nav-link {
                    color: #ffffff !important;

                    &:hover {
                        background-color: var(--dark-green);
                        color: #ffffff !important;
                    }
                }
            }
        }
    }

    /* ============================================================
    * Header Topbar (Contact info & social links)
    * ============================================================ */

    .hmz-sf-header-topbar {
        align-items: center;
        gap: 1.5rem;
        font-size: 12px;
        line-height: 1;
        margin-bottom: 0.35rem;
    }

    .hmz-sf-topbar-contact {
        display: flex;
        align-items: center;
        gap: 1.25rem;
    }

    .hmz-sf-topbar-item {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        color: var(--topbar-text-color);
        font-family: var(--font-montserrat), sans-serif;
        font-weight: 500;
        text-decoration: none;
        transition: color 0.2s ease;
    }

    .hmz-sf-topbar-item:hover {
        color: var(--topbar-hover-color);
    }

    .hmz-sf-topbar-icon,
    .hmz-sf-topbar-social-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: var(--topbar-icon-size);
        height: var(--topbar-icon-size);
        border-radius: 9999px;
        background-color: var(--topbar-icon-bg);
        color: var(--topbar-icon-color);
        font-size: 13px;
        text-decoration: none;
        line-height: 1;
        transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
    }

    .hmz-sf-topbar-item:hover .hmz-sf-topbar-icon,
    .hmz-sf-topbar-social-link:hover {
        background-color: var(--topbar-hover-color);
        color: #ffffff;
        transform: scale(1.08);
    }

    .hmz-sf-topbar-social {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    /* ============================================================
    * Page Hero
    * ============================================================ */

    .hmz-sf-page-hero {
        padding: 75px 0;

        h1 {
            font-size: 50px;
            font-family: var(--font-bebas-neue);
            text-transform: uppercase;
            color: white;
        }

        .breadcrumb {
            display: none;
        }
    }

    /* ============================================================
    * Carousel
    * ============================================================ */

    .carousel-container {
        font-family: var(--font-bebas-neue) !important;
        text-transform: uppercase;

        h2 {
            font-size: 25px !important;
        }

        p {
            font-size: 40px !important;
        }

        @media (min-width: 400px) {
            h2 {
                font-size: 40px !important;
                padding-right: 0px !important;
            }
        }

        @media (min-width: 768px) {
            h2 {
                font-size: 66px !important;
                text-shadow: 2px 2px 2px #000000FF;
            }
        }
    }

    .carousel-flag {
        position: absolute;
        top: 135px;
        left: -182px;
        width: 218px;
        height: auto;
        z-index: 3;
        pointer-events: none;
        object-fit: contain;
    }

    .carousel-container.carousel--flag-hidden .carousel-flag {
        display: none;
    }

    .carousel-content {
        padding-block: 3rem;
        padding-inline-start: 7.5rem;
        padding-inline-end: 1rem;
    }

    @media (min-width: 640px) {
        .carousel-content {
            padding-inline-start: 6rem;
            padding-inline-end: 2.5rem;
        }
    }

    @media (min-width: 768px) {
        .carousel-content {
            padding-inline-end: 3rem;
        }
    }

    @media (min-width: 1280px) {
        .carousel-content {
            padding-inline-start: 4rem;
        }
    }

    /* ============================================================
    * Gallery peek
    * ============================================================ */

    .gallery.gallery--peek {
        margin: 70px 0;
        max-width: none;
        overflow: visible;
    }

    .gallery-peek {
        position: relative;
        width: 100%;
        padding-inline: 16px;
        background: #717C6BFF;
        overflow: visible;
    }

    .gallery-peek-stage {
        position: relative;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        gap: 0;
        overflow-x: clip;
    }

    .gallery-peek-slide {
        position: relative;
        overflow: hidden;
        background: #1a241c;
        cursor: pointer;
        flex-shrink: 0;
        transition: height 0.35s ease, width 0.35s ease, filter 0.35s ease, box-shadow 0.35s ease, border-radius 0.35s ease;

        img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
            user-select: none;
            pointer-events: none;
        }
    }

    .gallery-peek-slide-active {
        z-index: 4;
        width: 720px;
        height: 480px;
        border-radius: 22px;
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
        top: -50px;
    }

    .gallery-peek-slide-side {
        z-index: 2;
        width: 600px;
        height: 400px;
        margin: 0 -1.5%;
        border-radius: 22px;
        filter: brightness(0.6);

        @media (max-width: 700px) {
            display: none;
        }
    }

    .gallery-peek-slide-prev {
        z-index: 1;
    }

    .gallery-peek-slide-next {
        z-index: 1;
    }

    .gallery-peek-nav {
        position: absolute;
        top: 50%;
        z-index: 6;
        transform: translateY(-50%);
        width: 50px;
        height: 50px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        cursor: pointer;
        opacity: 0.92;
        transition: opacity 0.15s ease, transform 0.15s ease;

        img {
            width: 44px;
            height: 50px;
            display: block;
            filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
        }

        &:hover {
            opacity: 1;
            transform: translateY(-50%) scale(1.06);
        }
    }

    .gallery-peek-nav-prev {
        left: 12px;
    }

    .gallery-peek-nav-next {
        right: 12px;

        img {
            transform: scaleX(-1);
        }
    }

    /* ============================================================
    * Personnel (Állomány) — horizontal overflow strip
    * ============================================================ */

    .personnel-carousel {
        width: 100%;
        background-color: #FFFFFFBF !important;
    }

    .personnel-title {
        padding-left: 112px;
        text-align: left;
        font-family: var(--font-bebas-neue);
        font-size: 41px;
        font-weight: 400;
        letter-spacing: -1px;
        text-transform: uppercase;
        color: var(--dark-green);
    }

    .personnel-stage {
        position: relative;
        width: 100%;
    }

    .personnel-viewport {
        width: 100%;
        overflow: hidden;
        padding: 0.75rem 0 0.25rem;
    }

    .personnel-track {
        display: flex;
        flex-wrap: nowrap;
        align-items: flex-start;
        gap: clamp(1.25rem, 3vw, 2.5rem);
        width: max-content;
        padding: 0;
    }

    .personnel-card {
        flex: 0 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 400px;
    }

    .personnel-portrait {
        position: relative;
        width: 400px;
        height: 400px;
        flex-shrink: 0;

        img {
            display: block;
            width: 400px;
            height: 400px;
            object-fit: contain;
        }
    }

    .personnel-name {
        margin: 1rem 0 0;
        max-width: 100%;
        font-family: var(--font-bebas-neue);
        font-size: 22px;
        line-height: 1.15;
        letter-spacing: 0;
        text-transform: uppercase;
        color: black;
    }

    .personnel-role {
        margin: 0.4rem 0 0;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        font-family: var(--font-montserrat);
        font-size: 12px;
        font-weight: 500;
        line-height: 1.35;
        letter-spacing: 0;
        color: black;

        span {
            display: block;
        }
    }

    .personnel-nav {
        position: absolute;
        top: 200px;
        z-index: 5;
        transform: translateY(-50%);
        width: 50px;
        height: 50px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
        opacity: 0.85;
        transition: opacity 0.15s ease, transform 0.15s ease;

        img {
            width: 50px;
            height: 50px;
            display: block;
            filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
        }

        &:hover {
            opacity: 1;
            transform: translateY(-50%) scale(1.06);
        }
    }

    .personnel-nav-prev {
        left: 0.35rem;
    }

    .personnel-nav-next {
        right: 0.35rem;

        img {
            transform: scaleX(-1);
        }
    }

    @media (max-width: 640px) {
        .personnel-card {
            width: min(280px, 70vw);
        }

        .personnel-portrait,
        .personnel-portrait img {
            width: min(280px, 70vw);
            height: min(280px, 70vw);
        }

        .personnel-nav {
            top: min(140px, 35vw);
        }
    }

    /* -------------------------------------------------------------------------
    Hírek lista (/hirek-osszes) + Legújabb hírek kártyák + lapozó
    (same card layout as kratochvil)
    ------------------------------------------------------------------------- */

    .latest-posts {
        --lp-accent: var(--dark-green, #344F40);
        --lp-text: #1a1a1a;
        --lp-muted: #6b7280;
        --lp-border: #e5e7eb;
        --lp-radius: 10px;
        --lp-gap: 1.25rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .latest-posts *,
    .latest-posts *::before,
    .latest-posts *::after {
        box-sizing: border-box;
    }

    .latest-posts__header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        margin-bottom: 1.25rem;
    }

    .latest-posts__heading {
        margin: 0;
        color: var(--lp-accent);
        font-family: var(--font-bebas-neue);
        font-size: clamp(1.5rem, 2.5vw, 2rem);
        font-weight: 800;
        letter-spacing: 0.02em;
        line-height: 1.15;
        text-transform: uppercase;
    }

    .latest-posts__more {
        color: var(--lp-accent);
        font-family: var(--font-montserrat, sans-serif);
        font-size: 0.95rem;
        font-weight: 600;
        text-decoration: underline;
        text-underline-offset: 0.15em;
    }

    .latest-posts__more:hover,
    .latest-posts__more:focus-visible {
        opacity: 0.85;
    }

    .latest-posts__grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: var(--lp-gap);
        align-items: stretch;
        width: 100%;
    }

    .latest-posts__card {
        display: flex;
        flex-direction: column;
        min-width: 0;
        height: 100%;
        overflow: hidden;
        color: inherit;
        text-decoration: none;
        background: #fff;
        border: 1px solid var(--lp-border);
        border-radius: var(--lp-radius);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
        transition: box-shadow 0.15s ease, transform 0.15s ease;
    }

    .latest-posts__card:hover,
    .latest-posts__card:focus-visible {
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
        transform: translateY(-1px);
    }

    .latest-posts__media {
        aspect-ratio: 16 / 9;
        overflow: hidden;
        background: #f3f4f6;
    }

    .latest-posts__media img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .latest-posts__body {
        display: flex;
        flex: 1 1 auto;
        flex-direction: column;
        gap: 0.4rem;
        padding: 1rem 1.1rem 1.15rem;
    }

    .latest-posts__title {
        margin: 0;
        color: var(--lp-text);
        font-family: var(--font-montserrat, sans-serif);
        font-size: 0.95rem;
        font-weight: 700;
        letter-spacing: 0.01em;
        line-height: 1.3;
        text-transform: uppercase;
        word-break: break-word;
    }

    .latest-posts__date {
        color: var(--lp-muted);
        font-family: var(--font-montserrat, sans-serif);
        font-size: 0.82rem;
        line-height: 1.3;
    }

    .latest-posts__lead {
        margin: 0.15rem 0 0;
        color: var(--lp-text);
        font-family: var(--font-montserrat, sans-serif);
        font-size: 0.9rem;
        line-height: 1.45;
        word-break: break-word;
    }

    @media (min-width: 640px) {
        .latest-posts__header {
            flex-direction: row;
            align-items: baseline;
            justify-content: space-between;
            gap: 1rem;
        }

        .latest-posts--cols-2 .latest-posts__grid,
        .latest-posts--cols-3 .latest-posts__grid,
        .latest-posts--cols-4 .latest-posts__grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    @media (min-width: 1024px) {
        .latest-posts--cols-3 .latest-posts__grid {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }

        .latest-posts--cols-4 .latest-posts__grid {
            grid-template-columns: repeat(4, minmax(0, 1fr));
        }

        .latest-posts--cols-1 .latest-posts__grid {
            grid-template-columns: 1fr;
        }

        .latest-posts--cols-2 .latest-posts__grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    .hirek-osszes {
        width: 100%;
        box-sizing: border-box;
        padding: 1.5rem 0 2.5rem;
    }

    .hirek-osszes__header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .hirek-osszes__filter {
        display: none;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.5rem 0.75rem;
    }

    .hirek-osszes__filter-label {
        font-family: var(--font-montserrat, sans-serif);
        font-size: 0.9rem;
        font-weight: 600;
        color: #1a1a1a;
    }

    .hirek-osszes__filter-select,
    .hirek-osszes__filter-submit {
        box-sizing: border-box;
        min-height: 2.25rem;
        padding: 0.35rem 0.75rem;
        border: 1px solid #1a1a1a;
        background: #fff;
        color: #1a1a1a;
        font-family: var(--font-montserrat, sans-serif);
        font-size: 0.9rem;
        font-weight: 600;
    }

    .hirek-osszes__empty {
        margin: 0;
        color: #6b7280;
        font-family: var(--font-montserrat, sans-serif);
        font-size: 1rem;
    }

    @media (min-width: 640px) {
        .hirek-osszes__header {
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
        }
    }

    .hirek-pager {
        --hirek-pager-border: #1a1a1a;
        --hirek-pager-active-bg: #1e212b;
        --hirek-pager-size: 2.25rem;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 0.4rem;
        margin-top: 2rem;
        width: 100%;
    }

    .hirek-pager__list {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.35rem;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .hirek-pager__item {
        margin: 0;
        padding: 0;
    }

    .hirek-pager__cell {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        width: var(--hirek-pager-size);
        height: var(--hirek-pager-size);
        border: 1px solid var(--hirek-pager-border);
        background: #fff;
        color: #000;
        font-family: var(--font-montserrat, sans-serif);
        font-size: 0.95rem;
        font-weight: 700;
        line-height: 1;
        text-decoration: none;
        border-radius: 0;
    }

    .hirek-pager__cell--active {
        background: var(--hirek-pager-active-bg);
        color: #fff;
        border-color: var(--hirek-pager-active-bg);
    }

    a.hirek-pager__cell:hover,
    a.hirek-pager__cell:focus-visible {
        background: #f3f4f6;
    }

    .hirek-pager__arrow {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: var(--hirek-pager-size);
        height: var(--hirek-pager-size);
        flex-shrink: 0;
    }

    .hirek-pager__arrow img {
        display: block;
        width: 1.1rem;
        height: auto;
    }

    .hirek-pager__arrow--next img {
        transform: rotate(180deg);
    }

    .hirek-pager__arrow--disabled {
        opacity: 0.35;
        pointer-events: none;
    }

    /* ============================================================
    * Footer — upper (Kapcsolat / Rendeltetés) + full-bleed lower bar
    * ============================================================ */

    .hmz-sf-footer-frame {
        width: 100%;
    }

    #sf-chrome-footer {
        --footer-upper-bg: #0D161BFF;
        --footer-lower-bg: #14202AFF;
        background-color: var(--footer-upper-bg);
        color: #ffffff;
        padding: 0;

        .hmz-sf-footer-inner {
            width: 100%;
            max-width: 80rem;
            margin-inline: auto;
            padding-inline: 1.25rem;

            @media (min-width: 640px) {
                padding-inline: 1.5rem;
            }

            @media (min-width: 1024px) {
                padding-inline: 2rem;
            }
        }

        h3,
        h4,
        .hmz-sf-footer-title {
            color: #ffffff;
            font-family: var(--font-bebas-neue);
            font-size: clamp(26px, 2.6vw, 34px);
            font-weight: 400;
            line-height: 1.1;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            margin: 0 0 1rem;
        }

        .hmz-sf-footer-root {
            display: flex;
            flex-direction: column;
            width: 100%;
        }

        /* ---------- Upper ---------- */
        .hmz-sf-footer-upper {
            background-color: var(--footer-upper-bg);
            padding: 2.75rem 0 3rem;
        }

        .hmz-footer-cols--upper {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2.5rem;
            width: 100%;
            align-items: start;
            justify-items: stretch;
            text-align: left;

            .hmz-sf-footer-col-brand {
                display: none;
            }

            ul {
                margin: 0;
                padding: 0;
                list-style: none;
                text-align: left;
            }

            @media (min-width: 900px) {
                grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
                column-gap: clamp(2.5rem, 6vw, 5rem);
                row-gap: 2rem;
            }
        }

        .hmz-sf-footer-col-contact--labels {
            width: 100%;
            max-width: 34rem;

            .hmz-sf-footer-contact-name {
                margin: 0 0 0.85rem;
                font-family: var(--font-montserrat, sans-serif);
                font-size: 16px;
                font-weight: 700;
                color: #ffffff;
                line-height: 1.35;
            }

            .hmz-sf-footer-contact-list {
                display: flex;
                flex-direction: column;
                gap: 0.4rem;
                margin: 0;
                padding: 0;
                list-style: none;
            }

            .hmz-sf-footer-contact-row {
                display: block;
                margin: 0 !important;
                padding: 0;
                font-family: var(--font-montserrat, sans-serif);
                font-size: 16px;
                line-height: 1.5;
                color: white;
            }

            .hmz-sf-footer-contact-label {
                font-weight: 700;
                color: #ffffff;
                margin-right: 0.25rem;
            }

            .hmz-sf-footer-contact-text,
            a.hmz-sf-footer-contact-text {
                font-family: inherit;
                font-size: inherit;
                font-weight: 400;
                text-transform: none;
                letter-spacing: normal;
                color: white;
                word-break: break-word;
                text-decoration: none;
            }

            a.hmz-sf-footer-contact-text[href^="http"] {
                color: var(--link-green);

                &:hover {
                    color: var(--dark-green);
                    text-decoration: none;
                }
            }

            a.hmz-sf-footer-contact-text[href^="mailto"] {
                color: white;
                text-decoration: none;

                &:hover {
                    color: var(--link-green);
                }
            }
        }

        .hmz-sf-footer-col-html {
            width: 100%;
            max-width: 40rem;
            opacity: 1;

            .hmz-sf-footer-title {
                text-align: left;
            }

            p,
            li,
            div {
                font-family: var(--font-montserrat, sans-serif);
                font-size: 15px;
                line-height: 1.6;
                color: white;
            }

            a {
                color: var(--link-green);
            }
        }

        .hmz-sf-footer-col-partners,
        .hmz-sf-footer-col-social {
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

        .hmz-sf-footer-partners-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            justify-content: flex-start;

            img {
                height: 48px;
                width: auto;
                object-fit: contain;
            }
        }

        /* ---------- Lower full-bleed bar ---------- */
        .hmz-sf-footer-lower {
            background-color: var(--footer-lower-bg);
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            padding: 1.35rem 0;
        }

        .hmz-sf-footer-shell {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1.5rem;
            width: 100%;
        }

        .hmz-sf-footer-lower-start {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1.25rem;
            width: 100%;
        }

        .hmz-sf-footer-logos {
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            gap: 1.5rem 1.75rem;
        }

        .hmz-sf-footer-logo {
            display: inline-flex;
            align-items: center;
            opacity: 0.95;
            transition: opacity 0.15s ease;

            img {
                height: 130px;
                width: auto;
                max-width: 180px;
                object-fit: contain;
            }

            &:hover {
                opacity: 1;
            }
        }

        .hmz-sf-footer-credit {
            margin: 0;
            border: 0;
            padding: 0;
            width: auto;
            text-align: center;
        }

        .hmz-sf-footer-copyright {
            margin: 0;
            color: #ffffff;
            font-family: var(--font-bebas-neue);
            font-size: clamp(12px, 1.5vw, 16px);
            font-weight: 400;
            letter-spacing: 0.04em;
            line-height: 1.3;
            text-transform: uppercase;
        }

        .hmz-footer-cols--lower {
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            gap: 1.25rem 1.75rem;
            width: 100%;

            ul,
            .hmz-sf-footer-menu-list {
                margin: 0;
                padding: 0;
                list-style: none;
            }
        }

        .hmz-sf-footer-col-menu,
        .hmz-sf-footer-col-links {
            display: flex;
            align-items: center;

            .hmz-sf-footer-title {
                display: none;
            }

            ul,
            .hmz-sf-footer-menu-list {
                display: flex;
                flex-direction: row;
                flex-wrap: wrap;
                align-items: center;
                justify-content: center;
                gap: 1.25rem 1.75rem;
            }

            li {
                margin: 0 !important;
                padding: 0;
                display: flex;
                align-items: center;
                line-height: 1;
            }
        }

        .hmz-sf-footer-col-menu a,
        .hmz-sf-footer-col-links a {
            display: inline-flex;
            align-items: center;
            color: #ffffff;
            font-family: var(--font-bebas-neue);
            font-size: clamp(16px, 1.8vw, 20px);
            letter-spacing: 0.05em;
            line-height: 1;
            text-transform: uppercase;
            text-decoration: none;
            position: relative;
            padding: 0.1rem 0.05rem 0.3rem;
            transition: color 0.2s ease;

            &::after {
                content: '';
                position: absolute;
                bottom: 0;
                left: 0;
                width: 100%;
                height: 3px;
                background-color: var(--nav-underline);
                transform: scaleX(0);
                transform-origin: center;
                transition: transform 0.2s ease-in-out;
            }

            &:hover,
            &:focus-visible {
                text-decoration: none;

                &::after {
                    transform: scaleX(1);
                }
            }
        }

        @media (min-width: 900px) {
            .hmz-sf-footer-upper {
                padding: 3.25rem 0 3.5rem;
            }

            .hmz-sf-footer-shell {
                flex-direction: row;
                align-items: center;
                justify-content: space-between;
                gap: 2rem;
            }

            .hmz-sf-footer-lower-start {
                flex-direction: row;
                align-items: center;
                justify-content: flex-start;
                gap: 1.75rem 2.25rem;
                width: auto;
                flex: 1 1 auto;
                min-width: 0;
            }

            .hmz-sf-footer-logos {
                justify-content: flex-start;
                flex-shrink: 0;
            }

            .hmz-sf-footer-credit {
                text-align: left;
                flex: 1 1 auto;
                min-width: 0;
            }

            .hmz-footer-cols--lower {
                width: auto;
                flex: 0 0 auto;
                justify-content: flex-end;
            }

            .hmz-sf-footer-col-menu ul,
            .hmz-sf-footer-col-menu .hmz-sf-footer-menu-list,
            .hmz-sf-footer-col-links ul {
                justify-content: flex-end;
            }
        }
    }

    /* ============================================================
       Single post (hir-post) — MH topper banner
       ============================================================ */

    .hir-post {
        width: 100%;
        box-sizing: border-box;
    }

    .hir-post__hero {
        position: relative;
        width: 100%;
        background-color: var(--dark-green);
        background-image: var(--hir-post-hero-bg);
        background-size: cover;
        background-position: left;
        background-repeat: no-repeat;
        color: #fff;
        padding: 100px 48px;
        overflow: hidden;
    }

    .hir-post__flag {
        position: absolute;
        left: 0;
        top: 50%;
        height: 130px;
        width: auto;
        max-width: none;
        transform: translate(-90%, -50%);
        object-fit: cover;
        z-index: 1;
        pointer-events: none;
    }

    .hir-post__hero-inner {
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 1.25rem 1.75rem;
        width: 100%;
        max-width: 80rem;
        margin-inline: auto;
        box-sizing: border-box;
    }

    @media (min-width: 850px) {
        .hir-post__hero {
            padding: 64px 48px;
        }

        .hir-post__hero-inner {
            flex-direction: row;
            align-items: center;
        }
    }

    .hir-post__hero-text {
        min-width: 0;
        flex: 1 1 auto;
    }

    .hir-post__title {
        margin: 0;
        color: #fff !important;
        font-family: var(--font-bebas-neue);
        font-size: clamp(1.75rem, 4vw, 2.75rem);
        font-weight: 400;
        letter-spacing: 0.03em;
        line-height: 1.1;
        text-transform: uppercase;
    }

    .hir-post__date {
        display: block;
        margin-top: 14px;
        font-family: var(--font-montserrat, sans-serif);
        font-size: 0.95rem;
        font-weight: 500;
        line-height: 1.3;
        color: rgba(255, 255, 255, 0.92);
    }

    .hir-post__hero-meta {
        margin: 1.25rem 0 0;
        padding: 0;
        display: grid;
        gap: 0.4rem;
        font-family: var(--font-montserrat, sans-serif);
        font-size: 0.9rem;
        line-height: 1.45;
        color: rgba(255, 255, 255, 0.95);
    }

    .hir-post__hero-meta-row {
        display: grid;
        grid-template-columns: 6.5rem minmax(0, 1fr);
        gap: 0.5rem 0.75rem;
        align-items: baseline;
    }

    .hir-post__hero-meta-row dt {
        margin: 0;
        font-weight: 700;
        color: #fff;
    }

    .hir-post__hero-meta-row dt::after {
        content: ':';
    }

    .hir-post__hero-meta-row dd {
        margin: 0;
        min-width: 0;
        word-break: break-word;
    }

    .hir-post__meta-links {
        display: flex;
        flex-wrap: wrap;
        gap: 0.35rem 0.65rem;
    }

    .hir-post__meta-link {
        color: #fff;
        text-decoration: underline;
        text-underline-offset: 0.15em;
    }

    .hir-post__meta-link:hover {
        color: rgba(255, 255, 255, 0.85);
    }

    .hir-post__tags {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .hir-post__tag {
        display: inline-block;
        padding: 0.12rem 0.55rem;
        border: 1px solid white;
        border-radius: 5px;
        background-color: #607274FF;
        color: #9bd5b9;
        font-size: 0.82rem;
        line-height: 1.35;
        text-decoration: none;
    }

    .hir-post__tag:hover {
        background-color: black;
        color: white;
    }

    .hir-post__thumb {
        display: block;
        width: 410px;
        height: 300px;
        border-radius: 15px;
        overflow: hidden;
        flex: 0 0 auto;
        border-radius: 15px;
        border: 2px solid #709986;
        box-shadow: 0px 0px 1px 5px var(--dark-green);
        margin: auto;
    }

    .hir-post__thumb img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hir-post__body {
        width: 100%;
        max-width: 80rem;
        margin-inline: auto;
        padding: 16px;
        box-sizing: border-box;
        background: #fff;
    }

    @media (min-width: 1422px) {
        .hir-post__body {
            padding-inline: 0;
        }
    }

    .hir-post__lead {
        margin: 0 0 1.25rem;
        color: #1a1a1a;
        font-family: var(--font-montserrat, sans-serif);
        font-size: 1.05rem;
        font-weight: 600;
        line-height: 1.55;
    }

    .hir-post__content {
        color: #1a1a1a;
        font-family: var(--font-montserrat, sans-serif);
        font-size: 1rem;
        line-height: 1.65;
    }

    .hir-post__content :where(h1, h2, h3, h4) {
        color: var(--dark-green);
        font-family: var(--font-bebas-neue);
        text-transform: uppercase;
        letter-spacing: 0.02em;
        line-height: 1.2;
        margin: 1.5rem 0 0.75rem;
    }

    .hir-post__content :where(h1, h2, h3, h4):first-child {
        margin-top: 0;
    }

    .hir-post__content :where(p, ul, ol) {
        margin: 0 0 1rem;
    }

    .hir-post__content :where(a) {
        color: var(--dark-green);
        text-decoration: underline;
        text-underline-offset: 0.12em;
    }

    .hir-post__content :where(img) {
        max-width: 100%;
        height: auto;
    }

    .hir-post__gallery {
        margin-top: 2rem;
    }
}