.headerWrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 0 10px 0;
    background-color: #fff;
    border-radius: 0 0 25px 25px;
    @media (max-width: 1070px) {
        overflow: hidden;
    }
}
.headerLogoWrapper{
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}
.headerLogoWrapper .searchForm{
    display: block;
    position: absolute;
    right: 0;
    max-width: none;
    width: 0;
    overflow: hidden;
    transition: 0.3s;
}
.headerCourse {
    font-size: var(--font-size--regular);
    text-align: left;
    transition: all 0.3s;
}
.headerLogo {
    width: 100%;
    max-width: 270px;
    min-width: 150px;
    cursor: pointer;
}
.headerTop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.headerTopRegion {
    display: flex;
    align-items: center;
    gap: 5px;
}
.headerExperts {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--font-size--regular);
    font-weight: 500;
    color: var(--green);
    text-align: left;
    cursor: pointer;
    white-space: nowrap;
}
.headerBottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.headerButton {
    color: var(--green);
    white-space: nowrap;
}
.headerText {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 400;
    text-align: left;
}
.debts-btn {
    color: var(--green);
}
.headerMenu {
    display: flex;
    align-items: center;
    gap: 20px;
}
.headerLink,
.headerLinkStar {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}
.headerLink:active,
.headerLinkStar:active {
    color: var(--green);
}
.headerLink svg path,
.headerLinkStar svg path {
    transition: all 0.3s ease-in-out;
}
.headerLink:active svg path {
    fill: var(--green);
}
.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 10;
    position: relative;
    width: 24px;
    height: 18px;
}

.mobileMenuLine {
    width: 21px;
    height: 2px;
    background: var(--black);
    transition: 0.3s ease;
}

.burger.open .mobileMenuLine:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.burger.open .mobileMenuLine:nth-child(2) {
    opacity: 0;
}
.burger.open .mobileMenuLine:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}
.headerLogin,
.headerExperts {
    background-color: var(--green);
    font-size: 16px;
    border-radius: 6px;
    color: #fff;
    padding: 8px 12px;
    transition: all 0.3s ease-in-out;
    white-space: nowrap;
}
.headerExperts {
    background: none;
    color: var(--green);
    border: 1px solid var(--green);
}
.headerExpertsGroup {
    display: flex;
    align-items: center;
    gap: 10px;
}
.modal {
    padding: 0;
}
.modalClass {
    border-radius: 10px;
}
.headerRegionText {
    font-size: 14px;
    white-space: nowrap;
}
.regionValue {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}
.headerLogoGroup {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
}
.policyText {
    color: #fff;
    font-size: 12px;
}
.link {
    color: rgb(145, 145, 242);
}
.policy-modal--content {
    color: #fff;
    font-size: 12px;
}
.modal-policy--wrapper {
    position: relative;
    display: flex;
    gap: 10px;
    background-color: #23272e !important;
    padding: 40px;
    border-radius: 20px;
}
.close-btn--header--modal {
    position: absolute;
    top: 15px;
    right: 20px;
}
.policy svg {
    min-width: 40px;
}
.policy svg pqth {
    stroke: #fff;
}

.iconStar path {
    fill: none;
    transition: all 0.3s ease-in-out;
}
.mobileMenu,
.headerMenuMobile,
.headerExpertsGroupMobile {
    display: none;
}
.btnDebt {
    display: flex;
    align-items: center;
    gap: 5px;
}

@media (min-width: 920px) {
    .headerLink:hover,
    .headerLinkStar:hover {
        color: var(--green);
    }
    .headerLinkStar:hover svg path {
        stroke: var(--green);
    }
    .headerLink:hover svg path {
        fill: var(--green);
    }
    .headerLink:hover .iconStar path {
        stroke: var(--green);
    }
    .headerLogin:hover {
        background-color: #047a1f;
    }
    .headerCourse:hover {
        color: var(--green);
    }
}

@media (max-width: 1070px) {
    .headerMenuMobile {
        position: absolute;
        width: 100%;
        height: 100vh;
        top: 140px;
        left: 0;
        background: #fff;
        padding: 22px 28px;
        transform: translate(120%);
        transition: all 0.3s ease;
        z-index: 100;
    }
    .headerMenuMobile {
        display: flex;
        justify-content: center;
        text-align: center;
    }

    .headerMenuGroup {
        display: none;
    }
    .headerMenuMobile.open {
        transform: translate(0);
    }
    .headerMenu {
        flex-direction: column;
        align-items: center;
    }
    .headerWrapper.open {
        border-radius: 0;
        overflow: initial;
    }
    .burger {
        display: flex;
    }
    .mobileMenu {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 5px;
    }
    .headerExpertsGroup {
        display: none;
    }
    .headerExpertsGroupMobile {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .btnDebtMobile {
        display: flex;
        align-items: center;
        gap: 5px;
    }
}
@media (max-width: 768px) {
    .btnDebt {
        display: none;
    }
    .headerWrapper {
        position: fixed;
        left: 15px;
        right: 15px;
        flex-direction: column-reverse;
        padding: 20px 15px;
        z-index: 999;
        border-radius: 0 0 15px 15px;
    }
    .headerTop {
        display: none;
    }
    .headerLogo {
        max-width: 210px;
    }
    .headerMenuMobile {
        top: 55px;
        padding: 28px;
    }
    .headerExpertsGroup {
        flex-direction: column;
    }
    .headerTopRegion {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .headerBottom {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .modal-policy--wrapper {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }
    .policyText {
        text-align: center;
    }
    .btnDebtMobile {
        display: flex;
        align-items: center;
    }
}
