.site-header-revamp {
    position: relative;
    z-index: 1000;
}

.site-header-revamp__controls button {
    padding: 0.2rem 0.36rem;
}

.site-header-revamp__controls {
    border-right: 0 !important;
    border-left: 0 !important;
}

.site-header-revamp__controls::before,
.site-header-revamp__controls::after {
    display: none !important;
    content: none !important;
}

.site-header-revamp__language-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    padding: 8px 10px;
    color: #181c62;
    background: transparent;
    border: 0 !important;
    text-decoration: none;
}

.site-header-revamp__language-link:hover,
.site-header-revamp__language-link:focus {
    color: #003d7c;
    text-decoration: none;
}

.site-header-revamp__language-link .fa {
    font-size: 22px;
    line-height: 1;
}

.site-header-revamp__language-label {
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.site-header-revamp__logo {
    margin-left: 0;
}

.site-header-revamp__logo img {
    filter: brightness(0) saturate(100%) invert(20%) sepia(80%) saturate(1850%) hue-rotate(185deg) brightness(85%) contrast(102%);
}

@media only screen and (min-width: 1024px) {
    .site-header-revamp .container {
        box-sizing: border-box;
        align-items: center;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding-inline: clamp(2rem, 4vw, 5rem);
    }

    .site-header-revamp .site-nav__lvl1 > li.has-child:hover > .site-nav__megamenu,
    .site-header-revamp .site-nav__lvl1 > li.has-child.active > .site-nav__megamenu,
    .site-header-revamp .site-nav__lvl1 > li.has-child:focus-within > .site-nav__megamenu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .site-header-revamp__left {
        flex: 1 1 auto;
        min-width: 0 !important;
    }

    .site-header-revamp__right {
        flex: 0 1 auto;
        min-width: 0;
        margin-left: 0 !important;
    }

    .site-header-revamp__navigation {
        min-width: 0;
        max-width: 100%;
        padding-top: 40px;
        padding-inline-end: clamp(4.5rem, 5rem + 2vw, 6.5rem);
    }

    .site-header-revamp__controls {
        margin-right: 0;
    }

    .site-header-revamp__nav {
        min-width: 0;
        max-width: 100%;
        margin: 0 !important;
    }

    .site-nav__lvl1 {
        flex-wrap: wrap;
        justify-content: flex-end;
        row-gap: 6px;
    }

    .site-nav__lvl1 > li {
        flex: 0 1 auto;
    }
}

@media only screen and (min-width: 1024px) and (max-width: 1399px) {
    .site-header-revamp__left {
        flex: 0 0 clamp(280px, 28vw, 350px);
        max-width: 350px;
    }

    .site-header-revamp__logo,
    .site-header-revamp__logo picture,
    .site-header-revamp__logo img {
        display: block;
        width: 100%;
        height: auto;
    }

    .site-header-revamp__right {
        flex: 1 1 auto;
    }

    .site-nav__lvl1 {
        column-gap: clamp(8px, 1vw, 14px);
    }

    .site-nav__lvl1 > li > a {
        font-size: clamp(14px, 1.2vw, 16px);
    }
}

@media only screen and (max-width: 1023px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .site-header-revamp__body > .container {
        box-sizing: border-box;
        width: 100%;
        padding-right: 12px;
        padding-left: 12px;
    }

    .site-header-revamp__left {
        flex: 1 1 auto;
        min-width: 0 !important;
    }

    .site-header-revamp__logo {
        display: block;
        width: min(100%, 240px) !important;
        max-width: 240px;
    }

    .site-header-revamp__logo picture,
    .site-header-revamp__logo img {
        display: block;
        width: 100%;
        height: auto;
    }

    .site-header-revamp__right {
        flex: 0 0 auto;
        min-width: 0;
        margin-left: auto !important;
    }
}
