.header-site {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    padding: 14px 0 15px;
    border-bottom: 1px solid #C0D6D9;
    background: var(--color-4);
    z-index: 10;
}

#branding {
    margin-right: auto;
}

.header-site .container {
    display: flex;
    align-items: center;
    grid-column-gap: 32px;
}

.header_menu .menu {
    display: flex;
}

.header_menu .menu a {
    position: relative;
    font-size: 24px;
    color: var(--color-3);
    transition: all .2s linear;
}

.languages_switcher .wpml-ls-legacy-list-horizontal {
    padding: 0;
    border: 0;
}

.languages_switcher .wpml-ls-legacy-list-horizontal>ul {
    display: flex;
    grid-column-gap: 6px;
    margin: 0;
    padding: 3px;
    list-style: none;
    border-radius: 100px;
    background: var(--color-3);
}

.languages_switcher a {
    display: flex;
    align-items: center;
    padding: 3px 5px 4px;
    font-weight: 700;
    font-size: 9px;
    color: #fff;
    border-radius: 100px;
}

.languages_switcher .wpml-ls-current-language a {
    color: var(--color-3);
    background: #fff;
}

.languages_switcher a img {
    min-height: 12px;
    min-width: 12px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}

.header_btn {
    font-size: 0;
}

@media (min-width: 992px) {
    .header-site {
        padding: 22px 0 21px;
    }

    .header-site .container {
        grid-column-gap: 16px;
    }

    .header_menu .menu {
        grid-column-gap: 19px;
        padding-right: 8px;
    }

    .header_menu .menu a {
        display: inline-block;
        padding: 10px 0;
        font-weight: 600;
        font-size: 13px;
    }

    .header_menu .menu .current_page_item > a,
    .header_menu .menu a:hover {
        color: var(--color-1);
        transform: translateY(-4px);
    }

    .header_menu .menu a::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 0;
        width: 0;
        height: 2px;
        display: block;
        background: var(--color-1);
        transition: width 0.3s ease 0s, left 0.3s ease 0s;
    }

    .header_menu .menu .current_page_item > a::after,
    .header_menu .menu a:hover::after {
        width: 100%;
        left: 0;
    }

    .header_btn .btn {
        min-width: 133px;
    }

    .menu_link_icon,
    .header_nav .header_btn,
    .mobile_menu_toggle {
        display: none;
    }

    .languages_switcher a {
        padding: 6px 6px 5px;
        font-size: 14px;
    }

    .languages_switcher a img {
        min-height: 18px;
        min-width: 18px;
    }
}

@media (max-width: 991px) {
    .header-site .container > .header_btn {
        display: none;
    }

    .header_logotype img {
        max-width: 127px;
    }

    .mobile_menu_toggle {
        position: relative;
        width: 20px;
        height: 10px;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

    .mobile_menu_toggle span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 1.5px;
        background: var(--color-2);
        transition: 0.3s all;
    }

    .mobile_menu_toggle span:nth-child(1) {
        top: 0;
    }

    .mobile_menu_toggle span:nth-child(2) {
        top: 5px;
    }

    .mobile_menu_toggle span:nth-child(3) {
        top: 10px;
    }

    .mobile_menu_toggle:hover span {
        background: var(--color-1);
    }

    .show-menu .mobile_menu_toggle span:nth-child(1) {
        top: 5px;
        transform: rotate(45deg);
    }

    .show-menu .mobile_menu_toggle span:nth-child(2) {
        opacity: 0;
    }

    .show-menu .mobile_menu_toggle span:nth-child(3) {
        top: 5px;
        transform: rotate(-45deg);
    }

    .languages_switcher {
        height: 25px;
    }

    .languages_switcher a img {
        max-width: 12px;
    }

    .header_nav {
        position: absolute;
        top: 66px;
        left: 0;
        width: 100%;
        height: calc(100vh - 66px);
        padding: 25px 15px;
        background: var(--color-4);
        transition: 0.3s all;
        opacity: 0;
        visibility: hidden;
    }

    .show-menu .header_nav {
        opacity: 1;
        visibility: visible;
    }

    .header_menu .menu {
        flex-direction: column;
        padding: 0 0 36px;
    }

    .header_menu .menu li {
        border-bottom: 1px solid #C0D6D9;
    }

    .header_menu .menu a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 18px 0;
    }

    .header_menu .menu a:hover {
        color: var(--color-1);
    }

    .menu_link_icon {
        width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--color-3);
        border-radius: 50%;
    }

    .menu_link_icon svg {
        width: 8px;
        height: auto;
        stroke-width: 3px;
    }

    .header_btn {
        text-align: center;
    }
}