.site-header {
    padding: 40px 0 16px;
    position: sticky;
    top: -24px;
    z-index: 2;
}

.site-header::before {
    background-color: var(--color--hint-of-red);
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: -1;
}



.site-header .bar {
    display: flex;
    height: 40px;
}



.site-header .logo {
    height: 39.27px;
    margin-right: 70px;
    width: 235px;
    z-index: 1;
}



.site-header .navigation {
    display: flex;
    margin-right: auto;
    text-transform: uppercase;
}



.site-header .navigation > ul {
    column-gap: 48px;
    display: flex;
    line-height: 24px;
}


.site-header .navigation > ul > li {
    display: flex;
    position: relative;
}


.site-header .pages-item {
    cursor: pointer;
    position: relative;
    text-transform: uppercase;
    z-index: 1;
}

.site-header .pages-item.active {
    color: var(--color--cornflower-blue);
    font-weight: 700;
}


.site-header .page-childs {
    box-sizing: border-box;
    height: 270px;
    padding: 60px 0 40px;
    position: absolute;
    transform: translateX(calc(var(--width--viewport) * 2));
    width: calc(var(--width--container) - 239.31px - 70px);
}

.site-header .page-childs::before {
    background-color: var(--color--gallery);
    content: "";
    height: calc(100% + 40px);
    left: calc(-1 * var(--width--viewport));
    position: absolute;
    top: -40px;
    width: calc(var(--width--viewport) * 2);
    z-index: -1;
}


.site-header .child-group {
    column-gap: 125px;
    display: flex;
    line-height: 24px;
}


.site-header .group-category span {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
}


.site-header .category-items li:not(:last-child) {
    margin-bottom: 8px;
}


.site-header .language {
    font-weight: 700;
}

.site-header .language .active {
    color: var(--color--cornflower-blue);
}

.site-header .social,
.site-header .language {
    column-gap: 6px;
    display: flex;
    font-size: 14px;
    line-height: 24px;
    margin-right: 32px;
}


.site-header .social li,
.site-header .language li {
    display: flex;
    position: relative;
}

.site-header .social li:not(:last-child)::after,
.site-header .language li:not(:last-child)::after {
    content: "/";
    display: block;
    margin-left: 6px;
    position: relative;
    z-index: 1;
}



.site-header .search {
    position: relative;
    z-index: 1;
}

.site-header .search.active {
    color: var(--color--cornflower-blue);
}



.site-header .menu {
    display: none;
}



@media (max-width: 1159px) {
    .site-header .social {
        text-transform: uppercase;
    }

    .site-header .social span {
        display: none;
    }
}


@media (max-width: 1024px) {
    .site-header {
        background-color: var(--color--hint-of-red);
        padding: 0;
        position: sticky;
        top: 0;
    }

    .site-header::before {
        display: none;
    }



    .site-header .bar {
        align-items: center;
        height: 56px;
    }



    .site-header .logo {
        height: 20px;
        margin-right: auto;
        width: 119.66px;
        z-index: auto;
    }



    .site-header .navigation {
        background-color: var(--color--hint-of-red);
        box-sizing: border-box;
        display: block;
        height: calc(100% - 56px);
        left: 0;
        margin-right: 0;
        overflow-y: auto;
        padding: 48px 0;
        position: fixed;
        text-align: center;
        top: 56px;
        transform: translateX(-100%);
        width: 100%;
    }

    .site-header .navigation[_active] {
        transform: translateX(0);
    }



    .site-header .navigation > ul {
        display: block;
        font-size: 20px;
        line-height: 26px;
    }


    .site-header .navigation > ul > li {
        display: block;
    }

    .site-header .navigation > ul > li:not(:last-child) {
        margin-bottom: 32px;
    }


    .site-header .pages-item {
        display: block;
        position: static;
        z-index: auto;
    }


    .site-header .page-childs {
        background-color: var(--color--gallery);
        height: auto;
        margin: 16px auto 0;
        padding: 24px 16px;
        position: relative;
        transform: none;
        width: 280px;
    }

    .site-header .page-childs::before {
        background-color: transparent;
        border-bottom: 6px solid var(--color--gallery);
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        content: "";
        height: 0;
        left: 0;
        margin: 0 auto;
        right: 0;
        top: -6px;
        width: 0;
        z-index: auto;
    }

    .site-header .page-childs ul {
        font-size: 20px;
        line-height: 26px;
    }


    .site-header .child-group {
        display: block;
    }


    .site-header .group-category:not(:last-child) {
        margin-bottom: 32px;
    }

    .site-header .group-category span {
        margin-bottom: 12px;
    }


    .site-header .category-items li:not(:last-child) {
        margin-bottom: 12px;
    }



    .site-header .social {
        margin-right: 16px;
    }

    .site-header .language {
        margin-right: 24px;
    }

    .site-header .social,
    .site-header .language {
        column-gap: 3px;
        font-size: 12px;
        line-height: 22px;
    }


    .site-header .social li:not(:last-child)::after,
    .site-header .language li:not(:last-child)::after {
        margin-left: 3px;
    }



    .site-header .search {
        margin-right: 24px;
        position: static;
        z-index: auto;
    }

    .site-header .search svg {
        height: 18px;
        width: auto;
    }



    .site-header .menu {
        background-color: transparent;
        border: 0;
        display: block;
        height: 18px;
        position: relative;
        width: 24px;
    }

    .site-header .menu::before,
    .site-header .menu::after {
        background-color: var(--color--black);
        content: "";
        height: 1px;
        left: 0;
        position: absolute;
        width: 100%;
    }

    .site-header .menu::before {
        top: 5px;
    }

    .site-header .menu::after {
        bottom: 5px;
    }
}
