:root {
    --wmc-rh-blue: #0868e8;
    --wmc-rh-dark: #102449;
    --wmc-rh-border: #e8edf5;
}

body.wmc-rh-active .elementor-location-header,
body.wmc-rh-active header#masthead,
body.wmc-rh-active .site-header:not(#wmc-responsive-header) {
    display: none !important;
}

body.wmc-rh-lock {
    overflow: hidden;
}

.wmc-rh,
.wmc-rh * {
    box-sizing: border-box;
}

.wmc-rh {
    position: relative;
    z-index: 99990;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid var(--wmc-rh-border);
    box-shadow: 0 2px 12px rgba(20, 47, 91, .04);
    font-family: inherit;
}

.wmc-rh-inner {
    width: min(100% - 40px, 1760px);
    min-height: 88px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 28px;
}

.wmc-rh-logo {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.wmc-rh-logo img {
    display: block;
    width: 235px;
    height: auto;
    max-height: 66px;
    object-fit: contain;
}

.wmc-rh-desktop-nav {
    flex: 1 1 auto;
    min-width: 0;
}

.wmc-rh-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wmc-rh-desktop-nav > .wmc-rh-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 2vw, 38px);
}

.wmc-rh-menu li {
    margin: 0;
    padding: 0;
}

.wmc-rh-menu a {
    color: #0759be;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    white-space: nowrap;
}

.wmc-rh-menu a:hover,
.wmc-rh-menu a:focus-visible,
.wmc-rh-menu .current-menu-item > a {
    color: #003d8f;
}

.wmc-rh-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 18px;
}

.wmc-rh-language,
.wmc-rh-account {
    display: flex;
    align-items: center;
    min-width: 0;
}

.wmc-rh-menu-toggle {
    display: none;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    border: 0;
    border-radius: 8px;
    color: #162f55;
    background: #f3f5f8;
    cursor: pointer;
}

.wmc-rh-menu-toggle span {
    display: block;
    width: 23px;
    height: 3px;
    border-radius: 3px;
    background: currentColor;
}

.wmc-rh-drawer {
    position: fixed;
    inset: 0;
    z-index: 99999;
    visibility: hidden;
    opacity: 0;
    background: rgba(8, 27, 57, .42);
    transition: opacity .2s ease, visibility .2s ease;
}

.wmc-rh-drawer.is-open {
    visibility: visible;
    opacity: 1;
}

.wmc-rh-drawer-panel {
    width: min(86vw, 360px);
    height: 100%;
    padding: 22px;
    background: #fff;
    transform: translateX(-102%);
    transition: transform .25s ease;
    overflow-y: auto;
    box-shadow: 10px 0 35px rgba(5, 34, 76, .16);
}

.wmc-rh-drawer.is-open .wmc-rh-drawer-panel {
    transform: translateX(0);
}

.wmc-rh-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--wmc-rh-border);
    color: var(--wmc-rh-dark);
    font-size: 20px;
}

.wmc-rh-menu-close {
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    color: #163255;
    background: #f1f4f8;
    font-size: 31px;
    line-height: 1;
    cursor: pointer;
}

.wmc-rh-drawer .wmc-rh-menu {
    display: block;
    padding-top: 10px;
}

.wmc-rh-drawer .wmc-rh-menu a {
    display: block;
    padding: 15px 8px;
    border-bottom: 1px solid #edf1f7;
    font-size: 18px;
}

@media (max-width: 1024px) {
    .wmc-rh-inner {
        width: 100%;
        min-height: 76px;
        padding: 8px 18px;
        gap: 14px;
        justify-content: space-between;
    }

    .wmc-rh-menu-toggle {
        display: inline-flex;
    }

    .wmc-rh-logo img {
        width: 205px;
        max-height: 54px;
    }

    .wmc-rh-desktop-nav {
        display: none;
    }

    .wmc-rh-actions {
        margin-left: auto;
        gap: 10px;
    }

    .wmc-rh-account .wmc-account-main-button {
        width: 46px !important;
        min-width: 46px !important;
        height: 46px !important;
        min-height: 46px !important;
        padding: 0 !important;
        border-radius: 12px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .wmc-rh-account .wmc-account-main-text > span,
    .wmc-rh-account .wmc-account-arrow-down {
        display: none !important;
    }

    .wmc-rh-account .wmc-account-main-text {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0 !important;
    }

    .wmc-rh-account .wmc-account-user-avatar,
    .wmc-rh-account .avatar {
        width: 25px !important;
        height: 25px !important;
        margin: 0 !important;
        border-radius: 50% !important;
    }

    .wmc-rh-account .wmc-account-first-level {
        right: 0 !important;
        left: auto !important;
    }
}

@media (max-width: 767px) {
    .wmc-rh-inner {
        min-height: 68px;
        padding: 7px 10px;
        gap: 8px;
    }

    .wmc-rh-menu-toggle {
        width: 40px;
        height: 40px;
        border-radius: 7px;
    }

    .wmc-rh-menu-toggle span {
        width: 21px;
        height: 2.5px;
    }

    .wmc-rh-logo {
        flex: 1 1 auto;
        min-width: 0;
    }

    .wmc-rh-logo img {
        width: min(34vw, 150px);
        max-height: 47px;
    }

    .wmc-rh-actions {
        flex: 0 0 auto;
        gap: 7px;
    }

    .wmc-rh-language .wmc-language-switcher__current {
        min-width: 72px !important;
        height: 42px !important;
        padding: 6px 9px !important;
        gap: 6px !important;
        border-radius: 11px !important;
    }

    .wmc-rh-language .wmc-language-switcher__flag {
        width: 23px !important;
        height: auto !important;
    }

    .wmc-rh-language .wmc-language-switcher__code {
        font-size: 16px !important;
    }

    .wmc-rh-language .wmc-language-switcher__dropdown {
        right: 0 !important;
        left: auto !important;
        min-width: 220px !important;
    }

    .wmc-rh-account .wmc-account-main-button {
        width: 42px !important;
        min-width: 42px !important;
        height: 42px !important;
        min-height: 42px !important;
        border-radius: 11px !important;
    }
}

@media (max-width: 390px) {
    .wmc-rh-inner {
        padding-right: 7px;
        padding-left: 7px;
        gap: 5px;
    }

    .wmc-rh-logo img {
        width: min(32vw, 125px);
    }

    .wmc-rh-language .wmc-language-switcher__current {
        min-width: 66px !important;
        padding-right: 7px !important;
        padding-left: 7px !important;
    }
}

