header > .section {
    padding: 0;
}

html {
    margin-top: 0!important;
}

#wpadminbar {
    top: unset;
    bottom: 0;
}

#header {
    position: fixed;
    width: 100%;
    padding: 0;
    left: 50%;
    transform: translateX(-50%);
}


.header__container {
    position: relative;
    z-index: 11;
}

.overflow {
    overflow: hidden;
}

#header.header-hidden {
    transform: translateY(-105%) translateX(-50%);;
}

#header.header-scrolling {
    background: #0e1116;
}

.header__wrapper {
    margin: 0 auto;
    position: relative;
    z-index: 100;
    display: flex;
    gap: calc(15px + (50 - 15) * ((100vw - 1025px) / (1440 - 1025)));;
    padding: 30px 0 10px 0;
    justify-content: space-between;
    align-items: center;
    transition: all 0.5s ease-out;
}

#header.header-scrolling .header__wrapper {
    padding: 15px 0 15px 0;
}

.header__actions {
    display: flex;
    gap: 22px;
    align-items: center;
}


.opened.header {
    background: #002034;
}


.dom-ready a {
    transition: all 0.3s ease-out;
}
.dom-ready #header {
    transition: transform 0.5s ease-out, background 0.5s ease-out;
}



.header__menu > ul {
    display: flex;
    padding-left: 0;
}


header a {
    text-decoration: none;
    cursor: pointer;
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease-out;
}

.header__mobile-menu ul li a,
.pll-parent-menu-item a {
    font-weight: 500;
    font-size: 18px;
    line-height: normal;
    color: #FFF;
    display: flex;
    align-items: center;
    position: relative;
    text-decoration: none;
}



.header__menu ul li.current-menu-item.menu-item-type-custom a::after {
    transform: scaleX(0);
}

.header__logo {
    display: flex;
    width: 183px;
    height: 32px;
    object-fit: contain;
}

.header__logo img {
    object-fit: contain;
    width: 100%;
    height: auto;
}

#menu-toggle,
.header__mobile-menu,
header input[type=checkbox]+label:before {
    display: none;
}

#header>.row {
    display: flex;
}

#header>.row>.col,
.module-gchild-header {
    width: 100%;
}

header li,
header ul{
    list-style: none!important;
}


.sub-menu {
    padding-left: 0;
}

.desktop-menu a,
.header__actions .sub-menu a{
    color: #FFF;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.4;
}

.desktop-menu a,
.header__language-switcher a{
    padding: 15px 0;
}

.desktop-menu ul {
    display: flex;
    gap: calc(15px + (40 - 15) * ((100vw - 1025px) / (1440 - 1025)));;
}

@media screen and (min-width: 1440px) {
    .desktop-menu ul {
        gap: 40px;
    }

    .header__wrapper {
        gap: 50px;
    }
}

@media screen and (min-width: 1025px) {
    .header__menu-button,
    header input[type=checkbox]+label {
        display: none;
    }

.menu-item {
    position: relative;
}

.pll-icon {
    transform: none!important;
}

    .menu-item-has-children i,
    .menu-item-has-children svg,
    .menu-item-has-children svg path{
        transition: transform 0.3s ease-out;
    }

.menu-item-has-children:has(.sub-menu-open) > a > span > i,
.menu-item-has-children:has(.sub-menu-open) svg {
transform: rotateX(180deg);
}

    .menu-item-has-children:has(.sub-menu-open)  .menu-item-has-children:has(.sub-menu-open) > a > span > i {
        transform: rotate(-90deg);
    }

    .sub-menu .menu-item:hover > a {
        background: #d1d5db;
    }

    .sub-menu li:first-child a {
        border-radius: 10px 10px 0 0;
    }
    .sub-menu li:last-child a {
        border-radius: 0 0 10px 10px;
    }

    .sub-menu li:only-child a {
        border-radius: 10px;
    }


    .menu-item > a:hover,
    .menu-item > a:hover svg path{
        color: hsla(0,0%,100%,.8);
    }

    .pll-parent-menu-item > a:hover .pll-icon path {
        fill: hsla(0,0%,100%,.8);
    }

    .pll-parent-menu-item > a:hover .pll__arrow path {
        stroke: hsla(0,0%,100%,.8);
    }

    .desktop-menu .sub-menu,
    .header__actions .sub-menu{
        visibility: hidden;
        pointer-events: none;
        opacity: 0;
        position: absolute;
        background: #FFF;
        border-radius: 10px;
        gap: 0;
        min-width: calc(100px + (var(--box-width) - 320px) * 130 / 1120);
        right: 0;
    }

    .header__actions .sub-menu {
        max-width: fit-content;
        min-width: 100px;
    }


@media screen and (min-width: 1025px) {
    .menu-item-has-children:hover > .sub-menu{
        visibility: visible;
        pointer-events: auto;
        opacity: 1;
        flex-direction: column;
    }

    .pll-parent-menu-item:hover a > svg {
        transform: rotateX(180deg);
    }

    .menu-item-has-children:hover > a > span > i {
        transform: rotateX(180deg);
    }

    .menu-item-has-children .menu-item-has-children:hover > a > span > i {
        transform: rotate(-90deg);
    }
}

    .sub-menu.sub-menu-open {
        visibility: visible;
        pointer-events: auto;
        opacity: 1;
        flex-direction: column;
    }

    .sub-menu .sub-menu {
        right: -100%;
        top: 0;
    }

    .desktop-menu .sub-menu a,
    .header__actions .sub-menu a{
        padding: 15px;
        color: #0e1116;
    }

}

.header__button {
    padding: 6.3px 12.7px;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.4;
}

@media screen and (max-width: 1249.98px) {
    .header__logo {
        width: 150px;
        height: 28px;
    }
}


@media screen and (max-width: 1199.98px) {
    .header a {
        gap: 5px;
    }

    .desktop-menu a {
        font-size: 14px;
    }

    .header__actions {
        gap: 15px;
    }

    .header__button {
        padding: 8px;
        font-size: 14px;
    }
}

@media screen and (max-width: 1024.98px) {

    .header__wrapper {
        gap: 15px;
    }


    .desktop-menu ul {
        gap: 15px;
    }

    .sub-menu .menu-item-has-children {
        position: relative;
    }

    .header__actions {
        display: none;
    }

    .header__mobile-button {
        width: 100%;
        margin-top: 10px;
    }

    .header__menu {
        display: none;
    }

    .menu-item {
        width: fit-content;
    }


    .header__menu-button {
        display: flex;
        width: 22px;
        height: 20px;
        position: relative;
        cursor: pointer;
        gap: 6px;
        z-index: 2;
        flex-direction: column;
        justify-content: center;
        place-items: center;
    }

    .header__menu-button::before {
        content: '';
        opacity: 0;
        position: absolute;
        top: calc(50% + 1px);
        left: 50%;
        transform: translate(-50%, -50%);
        width: 44px;
        height: 32px;
        background: #444444;
        border-radius: 4px;
        transition: all 0.4s ease-out;
    }

    .opened .header__menu-button::before {
        opacity: 1;
    }

    .menu-bar {
        position: absolute;
        height: 2.5px;
        width: 100%;
        background-color: #FFF;
        border-radius: 2px;
        transition: all 0.4s ease-out;
        transform-origin: center;
    }

    .menu-bar:nth-child(1) {
        top: 0;
    }

    .menu-bar:nth-child(2) {
       width: calc(100% - 7px);
        right: 0;
    }

    .menu-bar:nth-child(3) {
        top: 18px;
    }

    .opened .menu-bar:nth-child(1) {
        top: 50%;
        transform: rotate(45deg);
    }

    .opened .menu-bar:nth-child(2) {
        opacity: 0;
    }

    .opened .menu-bar:nth-child(3) {
        top: 50%;
        transform: rotate(-45deg);
    }

    .header__mobile-menu{
        z-index: -1;
        display: flex;
        overflow: scroll;
        flex-direction: column;
        gap: 10px;
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateY(-1000px) translateX(-50%);
        height: 100svh;
        width: 100vw;
        background: #101010;
    }

    .dom-ready .header__mobile-menu {
        transition: all 0.5s ease-out;
    }

    .opened .header__mobile-menu {
        transform: translateY(0) translateX(-50%);
        z-index: 10;
    }

    .header__mobile-menu {
        overflow-x: hidden;
    }

    .opened .header__wrapper::before {
        content: '';
        top: 0;
        position: absolute;
        left: 50%;
        transform: translate(-50%);
        z-index: 2;
        width: 100vw;
        height: 80px;
        background: #101010;
    }

    header.opened {
        background: #101010;
    }

    header.opened .header-wrapper {
        background: #101010;
    }



    .header__logo {
        width: 140px;
        height: 25px;
    }

    .header__mobile-nav ul,
    .header__mobile-language-switcher ul{
        display: flex!important;
        flex-direction: column;
        gap: 10px!important;
    }

    .header__mobile-nav ul:not(.sub-menu) {
        padding-left: 0!important;
    }

    header ul li  {
        list-style: none;
    }

    .menu-item a,
    .header__nav-title,
    .header__nav-back,
    .header__mobile-button
    {
        border: 2px solid #41454e;
        border-radius: 14px;
        font-weight: 500;
        font-size: 18px;
        line-height: 1.2;
        padding: 16.2px 16px;
        backdrop-filter: blur(50px);
        background: #0e1116;
        color: #FFF;
    }

    .header__mobile-menu ul li a.header__nav-title {
        color: #6EC4C9;
    }


    #header .sub-menu .menu-item>a,
    .header__mobile-menu .menu-item {
        width: 100%;
    }


    .header__mobile-language-switcher {
        order: 3;
        margin-top: 10px;
    }

    #header .menu-item>a .menu-arrow {
        position: relative;
    }

    #header .menu-item>a .menu-arrow {
        transform: translateY(1px) rotate(-90deg);
    }

    .header__mobile-menu .sub-menu {
        position: absolute;;
        width: 100%;
        padding: 95px 20px 20px 20px;
        visibility: hidden;
        height: fit-content;
        min-height: 100svh;
        background: #101010;
        display: none;
        left: 0;
        top: 0;
        transform: translate3d(100%, 0, 0) ;
        transition: transform .6s ease-out, visibility 0s ease-out .6s;
    }



    #header .sub-menu-open.sub-menu {
        display: block;
        visibility: visible;
        transform: translate3d(100%, 0, 0);
        transition: transform .6s ease-out, visibility 0s ease-out 0s;
    }

    .header__mobile-menu-wrap {
        padding: 95px 20px 20px 20px;
        transform: translate(0px, 0px);
        transition: all 0.6s ease-out;
    }

    .header__mobile-menu-wrap:has(.sub-menu-open),
    #header .sub-menu-open.sub-menu:has(.sub-menu-open.sub-menu){
        translate: none;
        rotate: none;
        scale: none;
        transform: translate(-100%, 0%);
    }

    #header .sub-menu-open.sub-menu:has(.sub-menu-open.sub-menu) {
        transform: translate(0%, 0%);
    }

    .header__nav-controls {
        display: flex;
        gap: 10px;
        margin-bottom: 20px;
    }

    .sub-menu * {
        height: fit-content;
    }

    .header__nav-back,
    .header__nav-title {
        padding: 13.2px 16px!important;
        height: auto;
    }

    .header__nav-back {
         width: 54px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .menu-item {
        height: fit-content;
    }

    .header__nav-title {
        display: flex;
        align-items: center;
        width: 100%;
        color: #6ec4c9;
    }

    .header__mobile-menu .menu-item-has-children {
        position: unset;
    }

    .header__mobile-button.btn::after {
        content: none;
    }

    .pll-parent-menu-item>a:before {
        display: none;
    }

    #header a {
        z-index: 10;
        font-size: 18px;
        justify-content: space-between;
    }

    #header .pll-parent-menu-item a {
        justify-content: space-between;
    }
}

@media screen and (max-width: 599.98px) {
    .header__logo {
        width: 116px;
        height: 20px;
    }

}