html {
    color: rgb(77, 85, 91);
    background-color: rgb(255, 255, 255);
    line-height: 150%;
    font-size: 1em;
    font-family: Averta, sans-serif;
    font-weight: 300;
}

html {
    text-size-adjust: 100%;
}

* {
    box-sizing: border-box;
}


:root {
    view-transition-name: root;
}

html {
    display: block;
}

body {
    margin: 0px;
}

footer,
header,
nav,
section {
    display: block;
}

h1 {
    font-size: 2em;
    margin: 0.67em 0px;
}

figure,
main {
    display: block;
}

figure {
    margin: 1em 40px;
}

hr {
    box-sizing: content-box;
    height: 0px;
    overflow: visible;
}

a {
    background-color: transparent;
}

b {
    font-weight: inherit;
}

b {
    font-weight: bolder;
}

small {
    font-size: 80%;
}

img {
    border-style: none;
}

svg:not(:root) {
    overflow: hidden;
}

button {
    font-family: sans-serif;
    font-size: 100%;
    line-height: 1.15;
    margin: 0px;
}

button {
    overflow: visible;
}

button {
    text-transform: none;
}

button {
    appearance: button;
}

body {
    margin: 0px;
}

a,
button {
    font-family: Averta, sans-serif;
}

h1,
h2 {
    margin: 0px;
}

ul {
    list-style-type: none;
}

ul {
    padding: 0px;
}

a {
    text-decoration: none;
}

/* .fFcKuS svg {
    height: 12px;
    width: 12px;
}

.fFcKuS svg path {
    fill: rgb(39, 97, 245);
} */

.footer-legal {
    background: rgb(250, 251, 255);
}

.footer-legal>div {
    max-width: 960px;
    width: 100%;
    margin: 0px auto;
}

.footer-legal>div.footer__directory {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1em 2.5em;
    padding: 4em 1em 1em;
}

.footer-legal>div.footer__directory>div:not(:last-of-type) {
    border-right: 1px solid rgb(235, 239, 255);
}

.footer-legal>div.footer__directory li {
    margin-bottom: 6px;
}

.footer-legal>div.footer__directory li {
    font-size: 0.8em;
}

.footer-legal>div.footer__directory a {
    text-decoration: none;
    font-size: 14px;
}

.footer-legal>div.footer__directory a,
.footer-legal>div.footer__directory a:visited,
.footer-legal>div.footer__directory a:active {
    color: rgb(39, 97, 245);
}

.footer-legal>div.footer__directory a:hover {
    color: rgb(25, 26, 155);
    text-decoration: none;
    cursor: pointer;
}

@media screen and (max-width: 720px) {
    .footer-legal>div.footer__directory {
        grid-template-columns: 1fr;
    }

    .footer-legal>div.footer__directory>div:not(:last-of-type) {
        border-right: none;
        border-bottom: 1px solid rgb(235, 239, 255);
    }

    .footer-legal>div.footer__directory li {
        font-size: 1em;
        padding-bottom: 0.25em;
    }
}

.footer-legal>div.footer__disclaimer {
    line-height: 120%;
    padding: 1em 0.25em 4em;
}

.footer-legal>div.footer__disclaimer,
.footer-legal>div.footer__disclaimer small,
.footer-legal>div.footer__disclaimer a,
.footer-legal>div.footer__disclaimer a:visited,
.footer-legal>div.footer__disclaimer a:active,
.footer-legal>div.footer__disclaimer a:hover {
    color: rgb(101, 106, 111);
}

.footer-legal>div.footer__disclaimer a,
.footer-legal>div.footer__disclaimer a:hover {
    cursor: pointer;
    text-decoration: underline;
}

.mainNavigation {
    box-shadow: rgba(0, 0, 0, 0.024) 0px 5px 15px -5px;
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    width: 100%;
    z-index: 999;
    transition: background 250ms ease 0s, box-shadow 250ms ease 0s;
    background: white;
}

.mainNavigation a {
    color: rgb(39, 97, 245);
    font-size: 14px;
}

.mainNavigation a:hover {
    color: rgb(25, 26, 155);
}

.mainNavigation .nav__lead,
.mainNavigation .nav__highlight,
.mainNavigation .nav__links,
.mainNavigation .nav__ctas {
    -webkit-box-flex: 1;
    flex-grow: 1;
    height: 54px;
}

.mainNavigation .nav__lead {
    max-width: 150px;
    -webkit-box-align: center;
    margin-left: 1em;
    display: flex;
    flex-direction: column;
    -webkit-box-pack: center;
    justify-content: center;
    align-items: flex-start;
}

.mainNavigation .nav__lead small {
    font-size: 9px;
    color: rgb(25, 26, 155);
    margin: 0px 12px;
}

@media (max-width: 720px) {
    .mainNavigation .nav__lead small {
        margin: 0px 3px;
    }
}

.mainNavigation .nav__lead svg {
    display: block;
    height: 32px;
    width: 140px;
    margin-top: -2px;
}

@media (max-width: 720px) {
    .mainNavigation .nav__lead svg {
        height: 28px;
        width: 120px;
        margin-top: 0px;
    }
}

.mainNavigation .nav__lead svg path {
    fill: rgb(39, 97, 245);
}

.mainNavigation .nav__lead span>a {
    display: flex;
    font-size: 0px;
}

@media (max-width: 720px) {
    .mainNavigation .nav__lead {
        margin-left: 0.9em;
    }
}

.mainNavigation .nav__highlight {
    display: flex;
    flex-direction: column;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-flex: 0;
    flex-grow: 0;
    padding-top: 3px;
}

.mainNavigation .nav__highlight svg {
    height: 20px;
    margin: 0px auto;
}

.mainNavigation .nav__highlight small {
    font-size: 9px;
    color: rgb(229, 20, 90);
    margin: 0px 12px;
    text-align: center;
}

@media (max-width: 720px) {
    .mainNavigation .nav__highlight small {
        margin: 0px 3px;
    }
}

@media (max-width: 1020px) {
    .mainNavigation .nav__highlight {
        position: absolute;
        left: 160px;
    }
}

@media (max-width: 720px) {
    .mainNavigation .nav__highlight {
        position: absolute;
        left: 140px;
    }
}

.mainNavigation .nav__links .caret>svg {
    height: 8px;
    width: 8px;
}

.mainNavigation .nav__links .caret>svg path {
    fill: rgb(39, 97, 245);
}

@media (min-width: 1020px) {
    .mainNavigation .nav__links {
        display: flex;
        -webkit-box-flex: 1;
        flex-grow: 1;
        -webkit-box-pack: center;
        justify-content: center;
    }

    .mainNavigation .nav__links>div {
        display: flex;
        -webkit-box-align: center;
        align-items: center;
    }

    .mainNavigation .nav__links>div>a {
        padding: 0.75em;
        font-weight: 500;
    }
}

@media (max-width: 1020px) {
    .mainNavigation .nav__links {
        position: fixed;
        overflow-y: scroll;
        width: 100vw;
        height: 90vh;
        z-index: 998;
        transform: translateY(100vh);
        background: rgb(255, 255, 255);
        border-top: 4px solid rgb(240, 241, 242);
        padding: 0px 0px 3em;
    }

    .mainNavigation .nav__links>div {
        padding: 1em;
    }

    .mainNavigation .nav__links>div:first-of-type {
        margin-top: 1em;
    }

    .mainNavigation .nav__links>div:last-of-type {
        margin-bottom: 2.5em;
    }

    .mainNavigation .nav__links>div:not(:last-of-type) {
        border-bottom: 1px solid rgb(228, 228, 230);
    }

    .mainNavigation .nav__links>div>a {
        font-size: 18px;
        color: rgb(39, 97, 245);
    }
}

.mainNavigation .nav__ctas {
    display: flex;
    -webkit-box-flex: 0;
    flex-grow: 0;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: end;
    justify-content: flex-end;
}

.mainNavigation .nav__ctas>* {
    margin-right: 0.5em;
}

.mainNavigation .nav__ctas>a {
    padding-left: 6px;
    padding-right: 6px;
    color: rgb(39, 97, 245);
    font-weight: 500;
}

.mainNavigation .nav__ctas>a:last-child {
    margin-right: 1.25em;
}

.mainNavigation .nav__ctas .screener-link {
    border: 1px solid rgb(39, 97, 245);
    border-radius: 4px;
}

.mainNavigation .nav__ctas .screener-link svg {
    height: 12px;
    width: 12px;
    transform: rotate(-90deg);
    position: relative;
    top: 1px;
}

.mainNavigation .nav__ctas .screener-link svg path {
    fill: rgb(39, 97, 245);
}

@media (max-width: 1020px) {
    .mainNavigation .nav__ctas .screener-link {
        display: none !important;
    }
}

.mainNavigation .nav__ctas__search {
    height: 36px;
    width: 36px;
    margin: 4px 0px;
    padding: 7px;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
}

.mainNavigation .nav__ctas__search svg {
    height: 32px;
    min-height: 32px;
    position: relative;
    top: -1px;
}

.mainNavigation .nav__ctas__search path {
    fill: rgb(153, 153, 165);
}

.mainNavigation .nav__ctas__search:hover {
    fill: rgb(39, 97, 245);
    cursor: pointer;
}

@media (max-width: 1020px) {
    .mainNavigation>a {
        display: none;
    }
}

.mainNavigation .nav__lead svg path,
.mainNavigation .nav__links .caret svg>path,
.mainNavigation .nav__ctas__search svg path,
.mainNavigation .nav__links>div>a,
.mainNavigation div.nav__ctas>a {
    transition: fill 250ms ease 0s, color 250ms ease 0s, border-color 250ms ease 0s;
}

/* Стили для выпадающего меню */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 700px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 999;
    border-radius: 4px;
    overflow: hidden;
    top: 100%;
    right: 0;
    padding: 20px;
}

.dropdown-content-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Изменено с 5 на 4 колонки */
    gap: 10px;
}

.dropdown-content a {
    color: rgb(39, 97, 245);
    padding: 8px 12px;
    text-decoration: none;
    display: block;
    font-weight: 500;
    font-size: 14px;
    transition: color 250ms ease 0s;
    border-radius: 4px;
}

.dropdown-content a:hover {
    background-color: #f8f8f8;
    color: rgb(39, 97, 245);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Стили для навигации */
.mainNavigation .nav__lead,
.mainNavigation .nav__highlight,
.mainNavigation .nav__links,
.mainNavigation .nav__ctas {
    -webkit-box-flex: 1;
    flex-grow: 1;
    height: 54px;
}

.mainNavigation .nav__links .caret>svg {
    height: 8px;
    width: 8px;
}

.mainNavigation .nav__links .caret>svg path {
    fill: rgb(39, 97, 245);
}

@media (min-width: 1020px) {
    .mainNavigation .nav__links {
        display: flex;
        -webkit-box-flex: 1;
        flex-grow: 1;
        -webkit-box-pack: center;
        justify-content: center;
    }

    .mainNavigation .nav__links>div {
        display: flex;
        -webkit-box-align: center;
        align-items: center;
    }

    .mainNavigation .nav__links>div>a {
        padding: 0.75em;
        font-weight: 500;
        color: rgb(39, 97, 245);
        text-decoration: none;
        transition: color 250ms ease 0s;
    }

    .mainNavigation .nav__links>div>a:hover {
        color: rgb(39, 97, 245);
    }
}

@media (max-width: 1020px) {
    .mainNavigation .nav__links {
        position: fixed;
        overflow-y: scroll;
        width: 100vw;
        height: 90vh;
        z-index: 998;
        transform: translateY(100vh);
        background: rgb(255, 255, 255);
        border-top: 4px solid rgb(240, 241, 242);
        padding: 0px 0px 3em;
    }

    .mainNavigation .nav__links>div {
        padding: 1em;
    }

    .mainNavigation .nav__links>div:first-of-type {
        margin-top: 1em;
    }

    .mainNavigation .nav__links>div:last-of-type {
        margin-bottom: 2.5em;
    }

    .mainNavigation .nav__links>div:not(:last-of-type) {
        border-bottom: 1px solid rgb(228, 228, 230);
    }

    .mainNavigation .nav__links>div>a {
        font-size: 18px;
        color: rgb(39, 97, 245);
    }

    /* Адаптация выпадающего меню для мобильных устройств */
    .dropdown-content {
        position: static;
        box-shadow: none;
        min-width: auto;
        display: none;
        padding: 10px;
        right: auto;
    }

    .dropdown-content-columns {
        grid-template-columns: 1fr;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }
}

.mainNavigation .nav__lead svg path,
.mainNavigation .nav__links .caret svg>path,
.mainNavigation .nav__ctas__search svg path,
.mainNavigation .nav__links>div>a,
.mainNavigation div.nav__ctas>a {
    transition: fill 250ms ease 0s, color 250ms ease 0s, border-color 250ms ease 0s;
}

/* Стили для мобильного меню */
.mobile-menu-btn {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: rgb(39, 97, 245);
    cursor: pointer;
    padding: 10px;
    margin-right: 1em;
}

.mobile-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.mobile-modal-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    max-width: 300px;
    height: 100%;
    background: white;
    padding: 20px;
    overflow-y: auto;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.mobile-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: rgb(39, 97, 245);
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
}

.mobile-nav-links a {
    padding: 15px 0;
    color: rgb(39, 97, 245);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    font-size: 16px;
}

.mobile-nav-links a:last-child {
    border-bottom: none;
}

.mobile-nav-auth {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.mobile-nav-auth a {
    display: block;
    padding: 12px 0;
    color: rgb(39, 97, 245);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
}

.mobile-user-greeting {
    padding: 15px 0;
    color: rgb(39, 97, 245);
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 15px;
}

/* Медиа-запросы для мобильной версии */
@media (max-width: 1020px) {
    .mobile-menu-btn {
        display: block !important;
    }

    .nav__links {
        display: none !important;
    }

    .nav__ctas {
        display: none !important;
    }
}

@media (min-width: 1021px) {
    .mobile-menu-btn {
        display: none !important;
    }

    .nav__links {
        display: flex !important;
    }

    .nav__ctas {
        display: flex !important;
    }
}