.header {
    display: flex;
    padding-top: 24px;
    padding-bottom: 24px;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 33px;
    transition: none;
    font-size: 15px;
}

.header__nav__links {
    display: flex;
    align-items: center;
    gap: 5px;
    list-style: none;
}

.header__nav__link {
    padding: 16px 20px;
    color: var(--Brand-Dark-blue, #1E1753);
    font-family: "Inter Variable";
    font-size: var(--Font-Size-body, 15px);
    font-style: normal;
    font-weight: var(--Font-Font-Weight-regular, 450);
    line-height: var(--Font-Line-height-body, 20px);
    border-radius: 24px;
    cursor: pointer;
}

.header__nav__link.active {
    background: var(--Brand-Light-blue, #C5E0F9);
}

.burger__menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 52px;
    height: 52px;
    padding: 0;
    flex: 0 0 auto
}

.burger__line {
    position: relative;
    width: 17px;
    height: 1.6px;
    background: #FFF;
    transition: transform 0.25s linear;
}

#burger__input {
    display: none;
}

.header__link-container {
    position: relative;
}

.header__dropdown {
    border-radius: 24px;
    background: #FFF;
    box-shadow: 0 0 105px 0 rgba(0, 0, 0, 0.02), 0 0 33.444px 0 rgba(0, 0, 0, 0.02), 0 0 8.556px 0 rgba(0, 0, 0, 0.04);
    padding: 24px;
    width: 567px;
    position: absolute;
    margin-top: 28px;
    z-index: 10;
    right: -103px;
    display: none;
    overflow: visible;
}

.bridge {
    position: absolute;
    width: 100%;
    height: 32px;
    bottom: -28px;
    left: 0;
    z-index: 1000;
    display: none;
}

.header__dropdown-title {
    color: var(--Brand-Dark-blue, #1E1753);
    font-family: var(--Font-family, "ALS Hauss VF");
    font-size: var(--Font-Size-action, 17px);
    font-style: normal;
    font-weight: 550;
    line-height: var(--Font-Line-height-action, 20px);
}

.header__dropdown-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 24px;
}

.header__dropdown-links {
    display: flex;
    gap: 16px;
}

.header__dropdown-link {
    flex: 1 0;
    color: var(--Brand-Dark-blue, #1E1753);
    font-family: var(--Font-family, "ALS Hauss VF");
    font-size: var(--Font-Size-action, 17px);
    font-style: normal;
    font-weight: var(--Font-Font-Weight-regular, 450);
    line-height: var(--Font-Line-height-action, 20px);
}


.header__checkbox {
    display: none;
}

.header__dropdown-header {
    display: flex;
    justify-content: space-between;
    color: var(--Brand-Dark-blue, #1E1753);
    font-family: var(--Font-family, "ALS Hauss VF");
    font-size: var(--Font-Size-action, 17px);
    font-style: normal;
    font-weight: 550;
    line-height: var(--Font-Line-height-action, 20px);
}

.header__dropdown-all {
    display: flex;
    gap: 6px;
}

.header__dropdown-link-mobile {
    display: none;
}

.btn-header {
    display: flex;
    padding: 16px var(--SPx5, 20px);
    justify-content: center;
    align-items: center;
    border-radius: 18px;
    background: var(--bg-level-2, #F6F6F9);
    color: var(--Brand-Dark-blue, #1E1753);
    font-feature-settings: 'liga' off, 'clig' off;

    border: none;
    cursor: pointer;

    font-family: var(--Font-family, "ALS Hauss VF");
    font-size: var(--Font-Size-body, 15px);
    font-style: normal;
    font-weight: var(--Font-Font-Weight-regular, 450);
    line-height: var(--Font-Line-height-body, 20px);

}

.header__link-subtitle {
    display: none;
}

.header__nav__link-mobile {
    display: none;
}

.nav__buttons {
    display: flex;
    gap: 5px;
    width: 100%;
}



.header__divider {
    display: none;
    height: 1px;
    width: 100%;
    background: var(--separator-default, rgba(119, 119, 136, 0.50));
}

@media (min-width:861px) {
    .header__nav__link:hover {
        background: var(--Brand-Light-blue, #C5E0F9);
    }

    .header__nav__link:hover~.header__dropdown,
    .header__nav__link:hover~.bridge,
    .bridge:hover,
    .bridge:hover~.header__dropdown,
    .header__dropdown:hover {
        display: block;
    }

    .nav__buttons .btn {
        font-size: 15px;
        font-weight: 500;
        font-family: "Inter Variable";
        line-height: 20px;
    }

}


@media (max-width:1024px) {

    .header__nav {
        gap: 12px;
    }

    .header__dropdown {
        left: -150px;
        right: unset;
    }
}

@media (max-width:860px) {

    .header__nav__link-desktop {
        display: none !important;
    }

    .header__nav__link-mobile {
        display: block !important;
    }

    .btn-header {
        margin-left: -20px;
    }

    .header__link-subtitle {
        display: block;
        color: var(--text-icon-secondary, #8F8FA3);
        font-feature-settings: 'liga' off, 'clig' off;
        font-family: var(--Font-family, "ALS Hauss VF");
        font-size: var(--Font-Size-action, 17px);
        font-style: normal;
        font-weight: var(--Font-Font-Weight-regular, 400);
        line-height: var(--Font-Line-height-action, 20px);
        margin-top: 6px;
    }

    .burger__menu {
        display: flex;
    }

    .header {
        flex-wrap: wrap;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .header__nav {
        visibility: hidden;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        position: fixed;
        top: 83px;
        height: calc(100dvh - 83px);
        left: 0;
        z-index: 1;
        background: #FFF;
        padding: 20px 20px 40px;
        overflow-y: scroll;
        gap: 4px;
    }

    .header__nav::-webkit-scrollbar {
        display: none;
    }

    .header__nav .btn {
        width: 100%;
    }

    .header__nav__links {
        flex-direction: column;
        align-items: center;
        gap: 4px;
        width: 100%;
    }

    .header__link-container {
        width: 100%;
    }

    .header__dropdown-container {
        margin-top: 0;
    }

    .header__dropdown-header {
        display: none;
    }

    .header__dropdown-links {
        flex-direction: column;
        gap: 20px;
    }

    .header__dropdown {
        position: static;
        box-shadow: unset;
        margin-top: 0;
        display: block;
        max-height: 0;
        overflow: hidden;
        padding: 0 0 0 40px;
        transition: 0.7s ease-in-out;
        transition-property: padding, max-height;
        width: 100%;
    }

    .header__checkbox:checked~.header__dropdown {
        max-height: 1000px;
        padding: 12px 0 12px 40px;
    }

    .header__checkbox:checked~.header__nav__link {
        background: #C5E0F9;
    }

    .header__dropdown-link-mobile {
        display: flex;
        align-items: center;
        gap: 8px;
        color: var(--Brand-Dark-blue, #1E1753);
        font-family: var(--Font-family, "ALS Hauss VF");
        font-size: var(--Font-Size-action, 17px);
        font-style: normal;
        font-weight: 550;
        line-height: var(--Font-Line-height-action, 20px);
    }

    .header__nav__link {
        display: block;
        width: 100%;
        padding: 16px 20px;
        border-radius: 18px;


        font-family: "Inter Variable";
        font-size: 17px;
        font-style: normal;
        font-weight: 400;
        line-height: 22px;
        letter-spacing: -0.5px;

        cursor: pointer;
    }

    .header__nav__link.active {
        background: var(--Brand-Light-blue, #C5E0F9);
    }

    #burger__input:checked~.header .header__nav {
        visibility: visible;
    }

    #burger__input:checked~.header .burger__menu .burger__line:nth-child(1) {
        transform: translate(0, 7.6px) rotate(405deg);
    }

    #burger__input:checked~.header .burger__menu .burger__line:nth-child(2) {
        visibility: hidden;
    }

    #burger__input:checked~.header .burger__menu .burger__line:nth-child(3) {
        transform: translate(0, -7.6px) rotate(-405deg);
    }

    #burger__input:checked~.header {
        position: fixed;
        z-index: 10;
        width: 100%;
        background: #FFF;
    }

    .nav__buttons {
        flex-direction: column;
        height: 100%;
    }

    .header__nav__button {
        order: 2;
        margin-top: auto;

        font-family: var(--Font-family, "ALS Hauss VF");
        font-size: var(--Font-Size-action, 17px);
        font-style: normal;
        font-weight: 550;
        line-height: var(--Font-Line-height-action, 20px);
    }

    .login-btn {
        background: none;
        border: none;
        text-align: left;
        justify-content: start;
        padding: 16px 20px;

        font-family: "Inter Variable";
        font-size: 17px;
        font-weight: 400;
        line-height: 22px;
        letter-spacing: -0.5px;
    }


    .header__divider {
        display: block;
    }
}