
.header__mobile-menu {
    display: none;
    overflow-x: hidden;
}

.header-landing__nav {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 40px;
}

.header-landing__logo{
    max-width: 128px;
}

.btn__header-landing{
    background: #FFED39;
    padding: 14px 24px;
    border-radius: 100px;
    font-weight: 500;
    color: #1B1E21;
}
.tg-block.tg-block--two.header-landing .header-menu-wrap a{
    color: #1B1E21;
    font-weight: 500;
    letter-spacing: -1px;
}
.btn__header-landing:hover{
    background: #ABC9F6;
    color: #1B1E21;
}

.tg-block.tg-block--two.header-landing .header-menu-wrap a:hover{
    color: #074DB6;
}
@media screen and (max-width: 991.98px) {
    .btn__header-landing{
        display: none;
    }
    body:has(.opened),
    html:has(.opened) {
        overflow: hidden;
    }

    .header__mobile-menu {
        z-index: -1;
        display: flex;
        overflow: hidden;
        flex-direction: column;
        gap: 10px;
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateY(-1000px) translateX(-50%);
        height: 100svh;
        width: 100vw;
        background: linear-gradient(118deg, #e6eefe 0%, #f3faff 100%);
    }

    .header__mobile-menu::before {
        position: absolute;
        left: 0;
        top: 0;
        content: '';
        width: 100%;
        height: 105px;
        z-index: 10;
        background: linear-gradient(118deg, #e6eefe 0%, #f3faff 100%);
    }

    .header__mobile-nav-menu li {
        display: flex;
    }

    .dom-ready .header__mobile-menu {
        transition: all 0.5s ease-out;
    }

    .opened .header__mobile-menu {
        transform: translateY(0) translateX(-50%);
        z-index: 10;
    }

    header.opened {
        background: #101010;
    }


    .header__mobile-nav ul,
    .header__mobile-language-switcher ul {
        display: flex;
        flex-direction: column;
        gap: 10px !important;
    }

    .header__mobile-nav ul:not(.sub-menu) {
        padding-left: 0 !important;
    }

    header ul li {
        list-style: none;
    }

    header .menu-item a,
    .header__nav-title,
    .header__nav-back,
    .header__mobile-button {
        width: 100%;
        border: 1px solid #ABC9F6;
        border-radius: 20px;
        font-weight: 400;
        font-size: 18px;
        line-height: 1.2;
        padding: 18.4px 20px;
        backdrop-filter: blur(50px);
        background: #E6F0FF;
        color: #1B1E21;
    }

    .menu-item-type-gs_sim {
        display: none !important;
    }

    #masthead .sub-menu .menu-item > a,
    .header__mobile-menu .menu-item {
        width: 100%;
    }

    .header__mobile-language-switcher {
        order: 3;
        margin-top: 10px;
    }

    #masthead .menu-item > a .menu-arrow {
        position: relative;
    }

    #masthead .menu-item > a .menu-arrow {
        transform: translateY(1px) rotate(-90deg);
    }

    .header__mobile-menu .sub-menu {
        margin: 0;
        position: absolute;
        width: 100%;
        max-height: 100svh;
        padding: 115px 20px 20px 20px;
        overflow-y: auto;
        visibility: hidden;
        height: fit-content;
        min-height: 100svh;
        background: linear-gradient(118deg, #e6eefe 0%, #f3faff 100%);
        left: 0;
        top: 0;
        transform: translate3d(100%, 0, 0);
        transition: transform .6s ease-out 0.1s, visibility 0s ease-out .6s;
    }

    .sub-menu:has(.sub-menu-open) .sub-menu {

    }


    #masthead .sub-menu-open.sub-menu {
        display: flex;
        visibility: visible;
        transform: translate3d(100%, 0, 0);
        transition: transform .6s ease-out, visibility 0s ease-out 0s;
    }

    .header__mobile-menu-wrap {
        padding: 115px 20px 20px 20px;
        transform: translate(0px, 0px);
        transition: all 0.6s ease-out;
    }

    .header__mobile-menu-wrap:has(.sub-menu-open),
    #masthead .sub-menu-open.sub-menu:has(.sub-menu-open.sub-menu) {
        translate: none;
        rotate: none;
        scale: none;
        transform: translate(-100%, 0%);
    }

    #masthead .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.6px 16px;
        height: auto;
    }

    .header__nav-back {
        min-width: 62px;
        max-width: 62px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header__nav-title {
        display: flex;
        align-items: center;
        width: 100% !important;
        background: linear-gradient(137deg, #459cf8 0%, #2f78fb 100%) !important;
        background-clip: text !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent;
    }

    .header__mobile-menu .menu-item-has-children {
        position: unset;
    }

    .header__mobile-button.btn::after {
        content: none;
    }

    .pll-parent-menu-item > a:before {
        display: none;
    }

    #masthead a {
        z-index: 10;
        font-size: 18px;
        justify-content: space-between;
    }

    #masthead .pll-parent-menu-item a {
        justify-content: flex-start;
    }

    .header__mobile-button {
        width: 100%;
        max-width: 100%;
        margin-top: 10px;
    }

    .menu-item {
        width: fit-content;
    }

    .menu-item:has(.sub-menu) > a::after {
        content: '';
        display: inline-block; /* або block, якщо треба */
        width: 22px;
        height: 22px;
        background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22' fill='none'><path d='M8 4L15 11L8 18' stroke='%231B1E21' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center;
        background-size: contain;
    }

    .menu-item:has(.sub-menu) > a {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        align-items: center;
    }
}

.site-info-wrap img {max-width: 100px}