/**
 * Dropdown главного меню шапки — Figma Component 148
 */
.hero__menu,
.hero__menu-list,
.hero__header,
.hero-header,
.hero-header__nav-row,
.inner-header__nav-row,
.inner-header-wrap,
.sticky-header__inner,
.sticky-header {
    overflow: visible;
}

.hero-header__nav-row,
.inner-header__nav-row,
.sticky-header__inner {
    position: relative;
}

.hero-header .hero__menu-list > .hero__menu-item--has-dropdown,
.inner-header .hero__menu-list > .hero__menu-item--has-dropdown,
.sticky-header .hero__menu-list > .hero__menu-item--has-dropdown {
    position: relative;
}

.hero__menu-item--has-dropdown > a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 12px;
}

.hero__menu-dropdown::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 12px;
}

.hero-header .hero__menu-dropdown--regular::before,
.inner-header .hero__menu-dropdown--regular::before,
.hero__menu-dropdown--sticky::before {
    height: 48px;
}

.hero__menu-dropdown--container-align::before {
    right: auto;
    width: var(--dropdown-bridge-width, 100%);
}

.hero__menu-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 5000;
    box-sizing: border-box;
    display: none;
    width: auto;
    min-width: 480px;
    max-width: min(1000px, calc(100vw - 32px));
    padding: 24px;
    background: #ffffff;
    border: 2px solid #e9ebef;
    border-radius: 20px;
    box-shadow: 0 9px 31px rgba(0, 0, 0, 0.06);
    pointer-events: none;
}

.hero__menu-dropdown--sections {
    min-width: 0;
    max-width: min(1500px, calc(100vw - 32px));
}

.hero__menu-dropdown--compact {
    width: 300px;
    min-width: 300px;
    max-width: 300px;
    padding: 8px 0;
    border-width: 1px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(4, 19, 43, 0.04);
}

.hero__menu-dropdown--compact .hero__menu-dropdown-inner {
    flex-direction: column;
    gap: 0;
}

.hero__menu-dropdown--compact .hero__menu-dropdown-col {
    flex: none;
    width: 100%;
    max-width: 100%;
}

.hero__menu-dropdown--compact .hero__menu-dropdown-item > a {
    border-left: 1px solid #e9ebef;
    border-right: 1px solid #e9ebef;
}

.hero__menu-item--has-dropdown.is-open .hero__menu-dropdown {
    display: block;
    pointer-events: auto;
}

.hero__menu-dropdown-inner {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
}

.hero__menu-dropdown-section {
    display: flex;
    flex: 0 1 357px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    min-width: 0;
    width: 357px;
    max-width: 357px;
}

.hero__menu-dropdown-title {
    display: block;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 20px 20px 0;
    font-family: 'Vela Sans', 'Onest', system-ui, -apple-system, sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 34px;
    color: #111827;
    text-decoration: none;
    text-align: left;
    word-break: break-word;
}

.hero__menu-dropdown-title:hover,
.hero__menu-dropdown-title.is-active {
    color: #111827;
}

.hero__menu-dropdown-col {
    display: flex;
    flex: 1 1 472px;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    width: 472px;
    max-width: calc(50% - 4px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.hero__menu-dropdown--sections .hero__menu-dropdown-col {
    flex: none;
    width: 100%;
    max-width: 100%;
}

.hero__menu-dropdown-item {
    margin: 0;
    list-style: none;
}

.hero-header .hero__menu-dropdown-item > a,
.inner-header .hero__menu-dropdown-item > a,
.sticky-header .hero__menu-dropdown-item > a {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    width: 100%;
    min-height: 48px;
    padding: 12px 20px;
    font-family: 'Vela Sans', 'Onest', system-ui, -apple-system, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    color: #111827;
    text-decoration: none;
    white-space: normal;
    text-align: left;
    background: #ffffff;
    border-radius: 0;
    opacity: 1;
    transition: background-color 0.15s ease;
}

.hero-header .hero__menu-dropdown-item > a:hover,
.hero-header .hero__menu-dropdown-item.is-active > a,
.inner-header .hero__menu-dropdown-item > a:hover,
.inner-header .hero__menu-dropdown-item.is-active > a,
.sticky-header .hero__menu-dropdown-item > a:hover,
.sticky-header .hero__menu-dropdown-item.is-active > a {
    color: #111827;
    background: #f5f6fb;
}

.inner-header .hero__menu-item--has-dropdown.is-open > a,
.inner-header .hero__menu-item--has-dropdown:hover > a,
.inner-header .hero__menu-item > a:hover,
.inner-header .hero__menu-item.is-active > a,
.sticky-header .hero__menu-item--has-dropdown.is-open > a,
.sticky-header .hero__menu-item--has-dropdown:hover > a,
.sticky-header .hero__menu-item > a:hover,
.sticky-header .hero__menu-item.is-active > a {
    color: #b04481;
}

.hero-header .hero__menu-item > a:hover,
.hero-header .hero__menu-item.is-active > a,
.hero-header .hero__menu-item--has-dropdown.is-open > a,
.hero-header .hero__menu-item--has-dropdown:hover > a {
    opacity: 70%;
   
}

.hero__menu-dropdown-col li:before,
.hero__menu-dropdown-item:before {
    display: none !important;
    content: none !important;
}

@media (max-width: 1099px) {
    .hero__menu-dropdown {
        width: min(720px, calc(100vw - 32px));
    }

    .hero__menu-dropdown--sections {
        width: min(1100px, calc(100vw - 32px));
    }

    .hero__menu-dropdown-col {
        width: auto;
    }

    .hero__menu-dropdown-section {
        flex: 1 1 240px;
        width: auto;
        max-width: 100%;
    }

    .hero__menu-dropdown-title {
        font-size: 20px;
        line-height: 28px;
    }

    .hero-header .hero__menu-dropdown-item > a,
    .inner-header .hero__menu-dropdown-item > a,
    .sticky-header .hero__menu-dropdown-item > a {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .hero__menu-dropdown-inner {
        flex-direction: column;
    }

    .hero__menu-dropdown {
        width: calc(100vw - 32px);
    }

    .hero__menu-dropdown-col,
    .hero__menu-dropdown-section {
        max-width: 100%;
        width: 100%;
    }
}
