/* === Site Header === */
.site-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
    -webkit-transition: -webkit-transform 0.3s ease-in-out;
    transition: -webkit-transform 0.3s ease-in-out;
    -o-transition: -o-transform 0.3s ease-in-out;
    -moz-transition:
        transform 0.3s ease-in-out,
        -moz-transform 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out;
    transition:
        transform 0.3s ease-in-out,
        -webkit-transform 0.3s ease-in-out,
        -moz-transform 0.3s ease-in-out,
        -o-transform 0.3s ease-in-out;
}

.site.has-topbar .site-header.toggle-onactive,
.site.has-topbar .site-header.sticky-active {
    -webkit-transform: translateY(-30px);
    -moz-transform: translateY(-30px);
    -ms-transform: translateY(-30px);
    -o-transform: translateY(-30px);
    transform: translateY(-30px);
}

/* Branding */
.site-header .site-branding {
    margin-left: 36px;
    margin-right: 32px;
}
.site-header .site-branding,
.site-header .site-branding a {
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -moz-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
}

.site-header .site-branding img {
    width: 97px;
    height: 44px;
    -o-object-fit: contain;
    object-fit: contain;
    -o-object-position: center;
    object-position: center;
}

/* Topbar */
.site-header .topbar-header {
    background-color: var(--light-blue);
    font-size: var(--text-sm);
    text-align: center;
    line-height: 1;
    padding: 8px 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 30px;
}

.site-header .topbar-header a {
    color: inherit;
    font-weight: 400;
    text-decoration: underline;
}

/* Navbar Container */
.site-header .navbar-header {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 12px 0px;
}

/* Navigation Menu */
.site-header .main-navigation {
    width: auto;
}

.site-header .menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 24px;
}

.site-header .menu-item {
    margin: 0;
    line-height: 1;
    width: auto;
}

.site-header .menu-item > a {
    color: var(--white);
    font-size: var(--text-sm);
    font-weight: 400;
    letter-spacing: -0.56px;
}

.site-header .menu-item.current-active,
.site-header .menu-item.current-active > a.current-active,
.site-header .menu-item > a:hover {
    text-decoration: underline;
}

/* Megamenu Toggle */
.site-header .menu-item.has-megamenu .megamenu-toggle {
    padding: 0 0 0 8px;
}

.site-header .menu-item.has-megamenu .megamenu-toggle svg {
    -webkit-transform: rotate(0);
    -moz-transform: rotate(0);
    -ms-transform: rotate(0);
    -o-transform: rotate(0);
    transform: rotate(0);
    -webkit-transition: -webkit-transform 0.3s ease-in-out;
    transition: -webkit-transform 0.3s ease-in-out;
    -o-transition: -o-transform 0.3s ease-in-out;
    -moz-transition:
        transform 0.3s ease-in-out,
        -moz-transform 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out;
    transition:
        transform 0.3s ease-in-out,
        -webkit-transform 0.3s ease-in-out,
        -moz-transform 0.3s ease-in-out,
        -o-transform 0.3s ease-in-out;
}

/* Megamenu Panel */
.site-header .megamenu-panel::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    height: 42px;
}

/* Sub-megamenu Grid */
.site-header .sub-megamenu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 12px 1fr;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.site-header .megamenu-item {
    margin: 0;
}

.site-header .megamenu-item a {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.15);
    padding: 12px;
    font-size: var(--text-sm);
    font-weight: 400;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
}

/* Megamenu Icon */
.site-header .megamenu-item-icon {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.site-header .megamenu-item-icon > strong {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -moz-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.site-header .megamenu-item-icon figure {
    width: 32px;
    height: 32px;
    background-color: #733635;
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -moz-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

.site-header .megamenu-item-icon figure img {
    width: 18px;
    height: 18px;
}

/* === Hamburger Menu Toggle === */
.hamburger-menu {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 18px;
    height: 14px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--white);
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    -webkit-transition:
        opacity 0.3s ease,
        background-color 0.3s ease,
        -webkit-transform 0.3s ease;
    transition:
        opacity 0.3s ease,
        background-color 0.3s ease,
        -webkit-transform 0.3s ease;
    -o-transition:
        opacity 0.3s ease,
        background-color 0.3s ease,
        -o-transform 0.3s ease;
    -moz-transition:
        transform 0.3s ease,
        opacity 0.3s ease,
        background-color 0.3s ease,
        -moz-transform 0.3s ease;
    transition:
        transform 0.3s ease,
        opacity 0.3s ease,
        background-color 0.3s ease;
    transition:
        transform 0.3s ease,
        opacity 0.3s ease,
        background-color 0.3s ease,
        -webkit-transform 0.3s ease,
        -moz-transform 0.3s ease,
        -o-transform 0.3s ease;
}

.toggle-onactive .hamburger-menu span:nth-child(1) {
    -webkit-transform: translateY(6px) rotate(45deg);
    -moz-transform: translateY(6px) rotate(45deg);
    -ms-transform: translateY(6px) rotate(45deg);
    -o-transform: translateY(6px) rotate(45deg);
    transform: translateY(6px) rotate(45deg);
}

.toggle-onactive .hamburger-menu span:nth-child(2) {
    opacity: 0;
}

.toggle-onactive .hamburger-menu span:nth-child(3) {
    -webkit-transform: translateY(-6px) rotate(-45deg);
    -moz-transform: translateY(-6px) rotate(-45deg);
    -ms-transform: translateY(-6px) rotate(-45deg);
    -o-transform: translateY(-6px) rotate(-45deg);
    transform: translateY(-6px) rotate(-45deg);
}

.site-header .main-navigation-mobile {
    position: absolute;
    top: 0;
    left: 0;
    -webkit-transform: translateY(-100%);
    -moz-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    -o-transform: translateY(-100%);
    transform: translateY(-100%);
    z-index: -1;
    padding: 68px 20px 0px;
    background-color: var(--orange);
    -webkit-transition: transform.3s ease-in-out;
    -o-transition: transform.3s ease-in-out;
    -moz-transition: transform.3s ease-in-out;
    transition: transform.3s ease-in-out;
}

.site-header.toggle-onactive .main-navigation-mobile {
    -webkit-transform: translateY(0%);
    -moz-transform: translateY(0%);
    -ms-transform: translateY(0%);
    -o-transform: translateY(0%);
    transform: translateY(0%);
}

.main-navigation-mobile .masking-header {
    position: absolute;
    top: 100%;
    left: 0;
    pointer-events: none;
}

.masking-header {
    width: 100%;
    height: 68px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-flow: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-flow: column;
    flex-flow: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.masking-header .masking-header-top {
    width: 100%;
    height: 34px;
    background-color: var(--orange);
}

.masking-header .masking-header-bottom {
    position: relative;
    width: 100%;
    max-width: 688px;
    height: 34px;
    background-color: var(--orange);
    margin-top: -1px;
}

.masking-header .masking-header-bottom:after,
.masking-header .masking-header-bottom:before {
    content: "";
    position: absolute;
    bottom: 0;
    width: 87px;
    height: 34px;
    background: center/contain no-repeat;
}

.masking-header .masking-header-bottom:after {
    left: 100%;
    background-image: url(/wp-content/uploads/2026/01/pattern-menu-right.svg);
    margin-left: -1px;
}

.masking-header .masking-header-bottom:before {
    right: 100%;
    background-image: url(/wp-content/uploads/2026/01/pattern-menu-left.svg);
    margin-right: -1px;
}

/* Responsive Adjustments */
@media (min-width: 1300px) {
    .admin-bar .site-header {
        top: 48px;
    }

    .site-header .megamenu-panel {
        position: absolute;
        top: -webkit-calc(100% + 16px);
        top: -moz-calc(100% + 16px);
        top: calc(100% + 16px);
        left: 50%;
        width: -webkit-max-content;
        width: -moz-max-content;
        width: max-content;
        min-width: 624px;
        -webkit-transform: translateX(-50%) translateY(10px);
        -moz-transform: translateX(-50%) translateY(10px);
        -ms-transform: translateX(-50%) translateY(10px);
        -o-transform: translateX(-50%) translateY(10px);
        transform: translateX(-50%) translateY(10px);
        background-color: var(--orange);
        -webkit-border-radius: 24px;
        -moz-border-radius: 24px;
        border-radius: 24px;
        padding: 12px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        -webkit-transition:
            opacity 0.3s ease-in-out,
            visibility 0.3s ease-in-out,
            -webkit-transform 0.3s ease-in-out;
        transition:
            opacity 0.3s ease-in-out,
            visibility 0.3s ease-in-out,
            -webkit-transform 0.3s ease-in-out;
        -o-transition:
            opacity 0.3s ease-in-out,
            visibility 0.3s ease-in-out,
            -o-transform 0.3s ease-in-out;
        -moz-transition:
            opacity 0.3s ease-in-out,
            transform 0.3s ease-in-out,
            visibility 0.3s ease-in-out,
            -moz-transform 0.3s ease-in-out;
        transition:
            opacity 0.3s ease-in-out,
            transform 0.3s ease-in-out,
            visibility 0.3s ease-in-out;
        transition:
            opacity 0.3s ease-in-out,
            transform 0.3s ease-in-out,
            visibility 0.3s ease-in-out,
            -webkit-transform 0.3s ease-in-out,
            -moz-transform 0.3s ease-in-out,
            -o-transform 0.3s ease-in-out;
    }

    .site-header .menu-item.has-megamenu:hover .megamenu-panel {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        -webkit-transform: translateX(-50%) translateY(0);
        -moz-transform: translateX(-50%) translateY(0);
        -ms-transform: translateX(-50%) translateY(0);
        -o-transform: translateX(-50%) translateY(0);
        transform: translateX(-50%) translateY(0);
    }

    .site-header .menu-item.has-megamenu:hover .megamenu-toggle svg {
        -webkit-transform: rotate(180deg);
        -moz-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        -o-transform: rotate(180deg);
        transform: rotate(180deg);
    }

    .site-header .hamburger-menu {
        display: none;
    }
}

@media (max-width: 1299px) {
    .site-header .topbar-header {
        font-size: var(--text-xs);
    }

    .site-header .main-navigation {
        display: none;
    }

    .site-header .site-branding img {
        width: 70px;
        height: 32px;
    }

    .site-header .site-branding {
        margin: 0px;
    }

    .site-header .main-navigation-mobile .menu {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-flow: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        -ms-flex-flow: column;
        flex-flow: column;
        -webkit-box-align: start;
        -webkit-align-items: start;
        -moz-box-align: start;
        -ms-flex-align: start;
        align-items: start;
        gap: 0px;
    }

    .site-header .main-navigation-mobile .menu-item {
        width: 100%;
    }

    .site-header .sub-megamenu {
        -ms-grid-columns: (1fr) [1];
        grid-template-columns: repeat(1, 1fr);
    }

    .site-header .megamenu-item .megamenu-item-icon + span {
        display: none;
    }

    .site-header .megamenu-item .megamenu-item-icon {
        margin-bottom: 0;
    }

    .site-header .main-navigation-mobile .menu-item {
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -webkit-flex-flow: row wrap;
        -moz-box-orient: horizontal;
        -moz-box-direction: normal;
        -ms-flex-flow: row wrap;
        flex-flow: row wrap;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -moz-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        border-bottom: 1px solid rgb(255 255 255 / 50%);
    }

    .site-header .main-navigation-mobile .menu-item > a {
        -webkit-box-ordinal-group: 2;
        -webkit-order: 1;
        -moz-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
        -webkit-box-flex: 1;
        -webkit-flex: 1;
        -moz-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
        padding: 16px 0px;
    }

    .site-header
        .main-navigation-mobile
        .menu-item.has-megamenu
        > .megamenu-toggle {
        -webkit-box-ordinal-group: 3;
        -webkit-order: 2;
        -moz-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
    }

    .site-header .main-navigation-mobile .megamenu-panel {
        width: 100%;
        max-height: 0;
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        -webkit-box-ordinal-group: 4;
        -webkit-order: 3;
        -moz-box-ordinal-group: 4;
        -ms-flex-order: 3;
        order: 3;
        -webkit-transition: var(--transition);
        -o-transition: var(--transition);
        -moz-transition: var(--transition);
        transition: var(--transition);
    }

    .site-header .main-navigation-mobile .menu-item-active .megamenu-panel {
        max-height: 10000px;
        padding-bottom: 16px;
        opacity: 1;
        visibility: visible;
    }

    .site-header .main-navigation-mobile .scroll-area {
        max-height: -webkit-calc(100vh - 120px);
        max-height: -moz-calc(100vh - 120px);
        max-height: calc(100vh - 120px);
        overflow: hidden auto;
    }

    .site-header .menu-item.has-megamenu.menu-item-active .megamenu-toggle svg {
        -webkit-transform: rotate(180deg);
        -moz-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        -o-transform: rotate(180deg);
        transform: rotate(180deg);
    }

    .masking-header {
        height: 54px;
    }

    .masking-header .masking-header-top {
        height: 20px;
    }

    .masking-header .masking-header-bottom {
        max-width: -webkit-calc(100% - 174px);
        max-width: -moz-calc(100% - 174px);
        max-width: calc(100% - 174px);
    }

    .navbar-header .hamburger-menu {
        position: absolute;
        right: 64px;
        top: 50%;
        -webkit-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        -o-transform: translateY(-50%);
        transform: translateY(-50%);
    }

    .site-header .navbar-header {
        padding: 11px 0px;
    }
}
