/*
Имя: app-add
Где: портальные страницы (layout_profile: portal) — hero, breadcrumb, medication, paywall, pagination, материалы и др.
Кто рендерит: eisai.php → Asset Manager (priority 90, сразу после legacy app.css)
Заметка: исходник Laravel resources/css/app-add.css; правки здесь (EISAI → CSS), не в deploy/assets/build
*/

.hero-title .h1 {
    font-size: 48px;
    line-height: 1;
    font-weight: 600;
}

.hero-description {
    font-size: 20px;
    line-height: 1.4;
    font-weight: 400;
}

.ribbon-text__titles {
    margin-bottom: 20px;
}

.ribbon-text__titles h3 {
    font-size: 24px;
    line-height: normal;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.8);
}

.ribbon-text__titles h3.ribbon-text__title-main {
    font-size: 22px;
}

@media (min-width: 768px) {
    .ribbon-text__titles h3.ribbon-text__title-main {
        font-size: 24px;
    }
}

.ribbon-text__titles h4.ribbon-text__title-accent {
    font-size: 24px;
    line-height: normal;
    font-weight: 600;
}

@media (min-width: 768px) {
    .ribbon-text__titles h4.ribbon-text__title-accent {
        font-size: 36px;
    }
}

.ribbon-text__titles h4 {
    font-size: 36px;
    line-height: normal;
    font-weight: 600;

}

.ribbon-text__item,
.ribbon-text__item *,
.ribbon-text__titles h3,
.ribbon-text__titles h4,
.ribbon-text__titles h3 em,
.ribbon-text__titles h4 em {
    text-decoration: none !important;
}

a.ribbon-text__item,
a.ribbon-text__item:visited,
a.ribbon-text__item:hover,
a.ribbon-text__item:focus,
a.ribbon-text__item:active {
    text-decoration: none !important;
    filter: none !important;
    color: inherit;
}

a.ribbon-text__item:hover *,
a.ribbon-text__item:focus * {
    text-decoration: none !important;
    filter: none !important;
}

.ribbon-text--bottom .button {
    font-size: 16px;
    line-height: 1.4;
    font-weight: 400;
}

.date-code__block {
    display: grid;
    grid-template-columns: max-content 1px max-content;
    /* обе части сжимаются по контенту */
    column-gap: 6px;

    align-items: center;

    width: max-content;
    /* ширина = контенту */
    margin-left: auto;
    /* прижать к правому краю в обычном/флекс-родителе */
    justify-self: end;
    /* на случай, если родитель — grid */
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #000;
}

.date-code__item {
    display: contents;
}

.date-code__title {
    grid-column: 1;
    text-align: right;
    color: rgba(51, 51, 51, 1);
}

.date-code__text,
.date-code__text-normal {
    grid-column: 3;
    text-align: left;
    font-family: 'Source Serif Pro';
}


/* мобильный стек в один столбец */
@media (max-width: 480px) {
    .date-code__block {
        grid-template-columns: 1fr;
        width: 100%;
        margin-left: 0;
    }

    .date-code__block::before {
        display: none;
    }
}

.toggle-button svg {
    width: 14px;
    height: 14px;
    min-width: 14px;
}

.hero__gradient-about,
.hero__gradient-about:after {
    background-image: linear-gradient(0deg, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, .1) 100%);
    position: absolute;
    z-index: 1;
    height: 100%;
    min-height: 100%;
    left: 0;
    top: 0;
    width: 100%;
}

.hero__gradient-philosophy,
.hero__gradient-philosophy:after {
    background-image: linear-gradient(0deg, #007da3 12%, rgba(0, 0, 0, .1) 50.3%);
    position: absolute;
    z-index: -1;
    height: 100%;
    min-height: 100%;
    left: 0;
    top: 0;
    width: 100%;
}

@media(max-width:786px) {

    .two-focus-card__card1,
    .two-focus-card__card2 {
        max-width: 100%;
    }

    .two-focus-card.content-wrapper {
        padding: 0;
    }

    .two-focus-card__bottom {
        margin-top: 30px;

        padding-left: 20px;
    }

    .two-focus-card__card1 {
        margin-bottom: 40px;
    }

    .two-focus-card__card2 .two-focus-card__bottom {
        position: relative;
        padding-right: 0;
        padding-left: 20px;
        margin-left: 0;

        text-align: left;
    }

    .two-focus-card__card2 .two-focus-card__bottom:before {
        left: 0;
        right: auto;

    }

    .two-focus-card {
        padding-top: 0;
        padding-bottom: 150px
    }
}


/* HEADER NAV*/

.navigation__logo {
    margin-right: 16px;
}

.navigation__list {
    gap: 11px;
}

.navigation__list li a,
.navigation__list li>span.dropdown-toggle,
.navigation__service-list>li button {
    font-family: Source Sans\ 3, sans-serif;
}

.navigation__list li>span.dropdown-toggle {
    cursor: pointer;
}

.navigation__list li>span.navigation__menu-label {
    cursor: default;
    display: block;
    font-family: Source Sans\ 3, sans-serif;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
}

@media (min-width: 1220px) {

    .navigation__list li>span.dropdown-toggle,
    .navigation__list li>span.navigation__menu-label {
        color: #000;
    }
}

@media not all and (pointer: coarse) {
    @media (min-width: 1220px) {

        .navigation__list li:hover>span.dropdown-toggle,
        .navigation__list li:hover>span.navigation__menu-label {
            color: #b5007c;
        }
    }
}

.navigation__service-list>li button {
    font-weight: 400;
}

@media(max-width:1500px) {
    .navigation__list {
        gap: 15px;
        margin-right: 15px;
    }

    .navigation__logo {
        margin-right: 0;
    }

    .navigation__service-list {
        gap: 20px;
    }

    .navigation__service-list>li:first-of-type {
        padding-left: 15px;
    }
}


.navigation__service-list img {
    min-width: 20px;
    min-height: 20px;
    width: 20px;
    height: 20px;
    margin-bottom: 5px !important;
}

/*EPILEPSY*/
.epilepsy {
    position: relative;
}

.epilepsy__background {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 777px;
    z-index: 0;
    width: 100%;
    height: 309px;
    object-fit: cover;
    position: absolute;
}

.epilepsy__overlay {
    position: relative;
    z-index: 1;


}

.epilepsy__title {
    font-size: 24px;
    font-weight: bold;
    color: white;
    margin-bottom: 24px;
}

.epilepsy__stats {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 309px;

}

.epilepsy__col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 309px;
    gap: 10px;

}

.epilepsy__stat-item {
    max-width: 360px;
    width: 100%;
    height: calc((309px - 20px) / 3);
    text-align: center;
    justify-content: center;
    background: linear-gradient(90deg, #0d6efd, #6a5acd);
    padding: 16px 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.epilepsy__stat-text {
    display: flex;
    font-size: 20px;
    font-weight: 400;
    justify-content: center;
    align-items: center;
    height: 72px;
}

.epilepsy__stat-text b {

    font-size: 30px;
    font-weight: 600;
    line-height: 30px;
}


.epilepsy__col:last-of-type .epilepsy__stat-item {
    position: relative;
    font-size: 20px;
    display: flex;
    gap: 30px;
    align-items: center;
    border-radius: 60px;
    border-top-right-radius: 0px;
    color: #fff;
    background: linear-gradient(270deg, #007da3, #b5007c) 0 100% no-repeat;
}

.epilepsy__col:first-of-type .epilepsy__stat-item img {
    position: absolute;
    right: -40px
}

.epilepsy__col:last-of-type .epilepsy__stat-item img {
    position: absolute;
    left: -40px
}

.epilepsy__col:first-of-type .epilepsy__stat-item {
    position: relative;
    font-size: 20px;
    display: flex;
    gap: 30px;
    align-items: center;
    border-radius: 60px;
    border-top-left-radius: 0px;
    color: #fff;
    background: linear-gradient(90deg, #007da3, #b5007c) 0 100% no-repeat;
}

.epilepsy__stat-text {
    font-size: 16px;
    color: white;
}

.epilepsy__stat-icon {
    width: 72px;
    height: 72px;
}

@media (max-width:1024px) {

    .epilepsy__stats {
        flex-direction: column;
        align-items: center;
        height: 1036px;
    }

    .epilepsy__background {
        border-radius: 40px;
        top: 50%;
        left: 50%;
        transform: translateY(-50%) translateX(-50%);

        max-width: calc(100% - 40px);
        z-index: 0;
        width: 100%;
        height: 500px;
        object-fit: cover;
        object-position: 70%;
        position: absolute;
    }

    .epilepsy__col {
        width: 100%;
    }

    .epilepsy__stat-item {
        max-width: calc(100% - 40px);
        padding: 15px 30px;
        width: 100%;
    }

    .epilepsy__col:last-of-type {
        align-items: flex-end;
    }
}

@media (max-width: 768px) {


    .medication {
        flex-direction: column;
    }
}


/* MEDICATION */

.medication {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}


.medication__block {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
max-width: 290px;
}


/* Breadcrumbs */

.breadcrumb {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 15px 0;
    position: sticky;
    color: #000;
    top: 90px;
    background-color: #ffffff;
    z-index: 2;
    border-radius: 0px 0px 20px 20px;
}

@media(max-width:786px) {
    .breadcrumb {
        padding: 50px 0;
        top: 50px;
    }

    .breadcrumb li {
        font-size: 14px;
    }
}

.bg-f5 {
    background-color: #F5f5f5;
}

.diseases__row h3 a,
.diseases__row h3 {
    text-decoration: none;
    color: #000;
    font-weight: 700;
    font-style: italic;
    font-size: 20px;
    line-height: 1.3;
}

.diseases__row a {
    text-decoration: none;
    color: #000;
    font-weight: 400;
    font-style: italic;
    font-size: 17px;
    line-height: 2;
}

.diseases__row {
    text-decoration: none;
    padding: 20px 0;
    border-top: 1.5px solid #878787;

}

.diseases__menu li:first-of-type {
    padding: 0 0 10px;
    border: 0px;
}

.diseases__menu li:last-of-type {
    padding: 10px 0 0;
}

.diseases__menu li {
    border-top: 1px solid #E2E0E0;
    padding: 10px 0;
}

.diseases__menu {
    width: 100%;
}

.diseases__row:last-of-type {
    border-bottom: 1.5px solid #878787;
}

.serif-4 {
    font-family: "Source Serif 4", serif !important;
    font-style: italic;
}

.serif-3 {
    font-family: "Source Sans 3", sans-serif;

}

/* ГЛАВНАЯ ОНКОЛОГИЯ */
a.ribbon-icon__items--item.info-block {
    background-color: #ffffff;
}

.info-block__title {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.4;
}

.info-block__description {
    font-size: 20px;
    line-height: 1.4;
    /* Интервал между строками */
}

@media (max-width: 768px) {
    .info-block__title {
        font-size: 24px;
    }

    .info-block__description {
        font-size: 16px;
        line-height: 1.4;
        /* Интервал между строками */
    }
}

.slider-section {
    position: relative;
    max-width: 1320px;
    padding: 65px 20px;
    margin: 0 auto;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {

    display: flex !important;
    justify-content: center;
    flex-wrap: wrap;
    gap: 48px;
    height: 100%;
}


.event-slide-left {
    display: flex;
    flex-direction: column;
    text-align: right;
    align-items: flex-end;
    max-width: 610px;
    padding-right: 50px;
    border-right: 1px solid #870051;

}

.event-slide-right {
    padding: 0 50px;
    max-width: 205px;
    display: flex;
    flex-direction: column;

}

@media (max-width: 1040px) {
    .event-slide-left {
        text-align: left;
        align-items: flex-start;
        max-width: 610px;
        padding-right: 0px;
        border-right: 0px;

    }
}

.event-slider__header {
    margin-bottom: 24px;
}

.event-slider__title {
    font-size: 30px;
    font-weight: 600;
    font-style: italic;
    line-height: 1;
}

.event-slider__subtitle {
    font-size: 18px;
    font-weight: 400;
    font-style: italic;
    line-height: 1;
}



.event-slider__description {
    font-size: 30px;
    line-height: 1.5;
    font-weight: 400;
    margin-bottom: 40px;
}


.event-slider__image {
    margin-bottom: 33px;
}

/* Кнопка "Смотреть" */
.event-slider__button {
    margin-bottom: 14px;
}

/* Дополнительные детали */
.event-slider__details {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.event-slider__duration,
.event-slider__date {
    font-size: 20px;
    line-height: 1.4;
    text-transform: uppercase;
}

.event-slider__date {
    font-weight: 600;
}



/* Пагинация */
.event-slider .swiper-pagination {
    position: relative;
    margin-top: 36px;
}


.event-slider .swiper-pagination-bullet-active {
    background-color: #B5007C;
    /* Цвет активной точки */
}

.event-slider .swiper-button-prev:after,
.event-slider .swiper-rtl .swiper-button-next:after,
.event-slider .swiper-button-next:after,
.event-slider .swiper-rtl .swiper-button-next:after {
    content: '';

}

.event-slider .swiper-button-prev,
.event-slider .swiper-button-next {
    border: 1px solid #B5007C;
    border-radius: 50%;
    width: 58px;
    height: 58px;

}

.event-slider .swiper-button-prev img,
.event-slider .swiper-button-next img {
    width: 24px;
}

@media (max-width: 768px) {

    .event-slider .swiper-button-prev,
    .event-slider .swiper-button-next {
        display: none;

    }

    .event-slider__info {
        display: none;
    }

    .event-slider__header {
        margin-bottom: 20px;
    }

    .event-slider__title {
        font-size: 24px;

    }

    .event-slider__subtitle {
        font-size: 18px;
    }



    .event-slider__description {
        font-size: 24px;
        margin-bottom: 0px;
    }



    .slider-section {


        padding: 100px 20px 50px;

    }

}

.answer-block {
    max-width: 1500px;
    padding: 0 20px 0 0;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 50px;

}

.answer-block__content {
    max-width: 440px;
}

.answer-block__image {
    position: relative;
    max-width: 1019px;
    border-right: 1px solid #B5007C;
    height: 100%;

}

.answer-block__image img {
    height: 100%;
    object-fit: cover;
    object-position: center;

}




.answer-block__title {
    font-size: 40px;
    text-transform: uppercase;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 20px;
    color: #870051;
}

.answer-block__description {
    font-size: 24px;
    line-height: 1.4;
    margin-bottom: 40px;
    font-weight: 400;
}

.answer-block__button {
    background-color: #b22222;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.answer-block__button:hover {
    background-color: #8b0000;
}


@media (max-width: 1024px) {
    .answer-block {
        flex-direction: column;
        padding: 0 20px;
    }

    .answer-block__image {
        border-right: 0px;
    }

    .answer-block__title {
        font-size: 36px;
    }

    .answer-block__content {
        max-width: 100%;
    }

    .answer-block__description {
        font-size: 20px;
        margin-bottom: 20px;
    }
}

.gradient-text {
    background: linear-gradient(90deg, #007FA7, #0263BC) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
}


/* Пагинация */
.trio-slider .swiper-pagination {
    position: relative;
    margin-top: 36px;
}


.trio-slider .swiper-pagination-bullet-active {
    background-color: #B5007C;
    /* Цвет активной точки */
}

.trio-slider .swiper-button-prev:after,
.trio-slider .swiper-rtl .swiper-button-next:after,
.trio-slider .swiper-button-next:after,
.trio-slider .swiper-rtl .swiper-button-next:after {
    content: '';

}

.trio-slider .swiper-button-prev,
.trio-slider .swiper-button-next {
    border: 1px solid #B5007C;
    border-radius: 50%;
    width: 58px;
    height: 58px;

}

.trio-slider .swiper-button-prev img,
.trio-slider .swiper-button-next img {
    width: 24px;
}






/* Шапка */
.popup-auth__header {
    background: linear-gradient(90deg, #017CA2, #B4007C);
    /* Градиент от синего к розовому */
    /* Градиентный фон */
    color: #fff;
    /* Горизонтальные отступы для всех попапов; для шапки с flex (вход/регистрация) — и заголовок, и кнопка «×» */
    padding: 20px 20px 67px;
    text-align: center;
    box-sizing: border-box;
}

.popup-auth__title {
    font-size: 22px;
    line-height: 1.3;
    font-weight: 400;
}

/* Крестик закрытия: normalize в app.css задаёт button { font-size: 100% } — перебиваем */
.popup-auth__header .popup-auth__close {
    font-size: 36px !important;
    line-height: 1 !important;
}

@media (min-width: 768px) {
    .popup-auth__header .popup-auth__close {
        font-size: 40px !important;
    }
}

/* Содержимое */
.popup-auth__content {
    margin: 0 auto;
    padding: 86px 20px 56px;
    max-width: 752px;

}

.popup-auth__message-title {
    font-size: 40px;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 35px;
}

.popup-auth__message {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 48px;
}

.popup-auth__buttons {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 48px;
}




.popup-auth__logo {
    margin: 0 auto;
    max-width: 100px;
    height: auto;
}

/* Начальное состояние (попап скрыт) */
.popup-auth {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    /* Прозрачный */
    visibility: hidden;
    /* Скрыт */
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Активное состояние (попап видим) */
.popup-auth.active {
    opacity: 1;
    /* Показан */
    visibility: visible;
    /* Видим */
}

.popup-auth__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(46, 46, 46, 0.7);
    backdrop-filter: blur(10px);
    z-index: 9998;
    /* Эффект размытия */
}

.popup-auth__container {
    margin: 0 20px;
    overflow: hidden;
    overflow-y: auto;
    max-height: calc(100dvh - 40px);
    background-color: #fff;
    border-radius: 10px;
    max-width: 949px;
    width: 100%;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    z-index: 9999;
}

.popup-auth.active .popup-auth__container {
    transform: scale(1);
    /* Полный размер */
}

/* Отключение прокрутки при активном попапе */
.no-scroll {
    overflow: hidden;
}

/* Страница /login — бейдж и заголовок (как отступ у EisaiPro в шапке попапа) */
#login-app .login-page-hero .login-page-badge,
#login-app .login-page-hero>h1 {
    padding-left: 20px;
    box-sizing: border-box;
}

@media (max-width: 768px) {

    #login-app .login-page-hero .login-page-badge,
    #login-app .login-page-hero>h1 {
        padding-left: 16px;
    }
}

@media(max-width:768px) {
    .popup-auth__header {
        padding: 15px 16px 20px;
        text-align: center;
    }

    .popup-auth__title {
        font-size: 18px;
        line-height: 1.3;
    }

    .popup-auth__content {
        margin: 0 auto;
        padding: 24px 16px 20px;
        max-width: 752px;
    }

    .popup-auth__message-title {
        font-size: 28px;
        font-weight: 400;
        line-height: 1.3;
        margin-bottom: 20px;
    }

    .popup-auth__message {
        font-size: 14px;
        font-weight: 400;
        line-height: 1.3;
        margin-bottom: 20px;
    }

    .popup-auth__buttons {
        flex-direction: column-reverse;
        font-size: 14px !important;
        gap: 20px;
        margin-bottom: 20px;
    }



}

/* Стили для мобильного меню */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    /* Меню занимает всю ширину экрана */
    background-color: #fff;
    transition: transform 0.3s ease-in-out;
    transform: translateX(100%);
    z-index: 999;

    /* Разрешаем скролл внутри меню */
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-menu.hidden {
    transform: translateX(100%);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu__list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    /* Центрирование пунктов меню */
}

.mobile-menu__list li {
    padding: 0;
    padding-bottom: 15px;
    /* Убираем border */
}

.mobile-menu__list li a,
.mobile-menu__list li>span.dropdown-toggle,
.mobile-menu__list li>span.navigation__menu-label {
    text-decoration: none;
    color: #000;
    font-size: 22px;
    display: block;
    font-weight: 600;
    line-height: 120%;
    font-style: normal;
}

.mobile-menu__list li>span.dropdown-toggle {
    cursor: pointer;
}

.mobile-menu__additional {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 35px;
    margin-bottom: 75px;
    text-align: center;
    /* Центрирование дополнительных элементов */
}

.mobile-menu__additional button {
    display: flex;
    align-items: center;
    gap: 15px;

    background-color: transparent;
    border: none;
    cursor: pointer;
    color: #000;

    font-size: 20px;

    font-weight: 400;
    line-height: 1.4;
}

.mobile-menu__additional img {
    width: 20px !important;
    height: 20px !important;
}

/* Стили для кнопки Close */
.trigger-close {

    display: flex;
    justify-content: flex-end !important;
}

.navigation__trigger-close img {
    width: 20px;
    height: 20px;
}

@media(min-width:768px) {

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

        /* Для позиционирования выпадающего меню */
    }



    .dropdown-menu {
        display: none;
        /* Скрыто по умолчанию */
        position: absolute;
        top: calc(100% + 25px);
        /* Размещение под родительским элементом */
        left: 50%;
        /* Центрирование по горизонтали */
        transform: translateX(-50%);
        /* Корректировка центрирования */
        background-color: #fff;
        border-radius: 5px;
        box-shadow: 0px 4px 50px 0px rgba(0, 0, 0, 0.2);
        z-index: 999;

        list-style: none;
        padding: 20px 20px 25px;
        margin: 0;
        transition: all 1s ease;
        /* Плавная анимация */
    }

    /* Треугольник указателя */
    .dropdown-menu::before {
        content: "";
        /* Создаем псевдоэлемент */
        position: absolute;
        top: -10px;
        /* Позиционируем выше меню */
        left: 50%;
        /* Центрируем по горизонтали */
        transform: translateX(-50%) rotate(45deg);
        /* Наклоняем и центрируем */
        width: 20px;
        /* Размер треугольника */
        height: 20px;
        /* Размер треугольника */
        background-color: #fff;
        /* Цвет треугольника */

        z-index: 9;
        /* Убедитесь, что он находится поверх других элементов */
    }

    /* Треугольник указателя */
    .dropdown-menu::after {
        content: "";
        /* Создаем псевдоэлемент */
        position: absolute;
        top: -32px;
        /* Позиционируем выше меню */
        left: 50%;
        /* Центрируем по горизонтали */
        transform: translateX(-50%);
        /* Наклоняем и центрируем */
        height: 32px;
        width: 110px;


        z-index: 2;
        /* Убедитесь, что он находится поверх других элементов */
    }




    .dropdown-menu a,
    .dropdown-menu span {
        font-size: 14px;
        line-height: 1.3;
        text-decoration: none;
        color: #000;
        display: block;
        font-weight: 600;
    }

    .dropdown:hover .dropdown-menu,
    .dropdown-menu:hover,
    .dropdown:hover {
        display: flex;
        gap: 15px;
        flex-direction: column;
    }

    .dropdown.hover .dropdown-menu,
    .dropdown.hover {
        display: flex;
    }
}

@media(max-width:768px) {

    /* Стили для выпадающего меню */
    .dropdown {
        position: relative;
        /* Для позиционирования выпадающего меню */
    }

    .dropdown-menu {
        margin-top: 20px;
        display: none;
        /* Скрыто по умолчанию */
        position: relative;
        /* Меняем на relative для мобильной версии */
        background-color: #fff;
        border-radius: 5px;
        box-shadow: 0px 1px 10px 0px rgba(0, 0, 0, 0.1);
        z-index: 999;
        list-style: none;
        padding: 20px;

        transition: all 0.3s ease;
        /* Плавная анимация */
        flex-direction: column;
        /* Расположение элементов в столбик */
        gap: 15px;
        /* Отступы между элементами */
    }

    /* Треугольник указателя */
    .dropdown-menu::before {
        box-shadow: -10px -0px 40px 0px rgba(0, 0, 0, 0.1);
        content: "";
        /* Создаем псевдоэлемент */
        position: absolute;
        top: -10px;
        /* Позиционируем выше меню */
        left: 50%;
        /* Центрируем по горизонтали */
        transform: translateX(-50%) rotate(45deg);
        /* Наклоняем и центрируем */
        width: 20px;
        /* Размер треугольника */
        height: 20px;
        /* Размер треугольника */
        background-color: #fff;
        /* Цвет треугольника */

        z-index: 9;
        /* Убедитесь, что он находится поверх других элементов */
    }


    /* Показываем меню только при наличии класса active */
    .dropdown.active .dropdown-menu {
        display: flex;
        /* Показываем меню */
    }

    .dropdown-menu a,
    .dropdown-menu span {

        font-size: 20px !important;
        line-height: 1.3;
        text-decoration: none;
        color: #000;
        display: block;
        font-weight: 600;
    }



}

.styled-list {
    list-style: none;
    /* Базовые маркеры */
    padding-left: 0;
    /* Отступ слева */
    margin: 0;
    padding-left: 25px;

}

.styled-list li {
    position: relative;

}

.styled-list li::before {
    content: "•";
    /* Кастомный маркер */
    position: absolute;
    left: -15px;
    top: 0px;
    color: #000;
    /* Цвет маркера */

}

.styled-list.styled-list--white li::before {
    color: #fff;
    /* Цвет маркера */
    top: 0;
}

.styled-list.styled-list--type1 li::before {
    bottom: 50% !important;
}

.arial {
    font-family: Arial, sans-serif !important;
}



.custom-radio input[type="checkbox"] {
    display: none;
}

.radio-mark {
    cursor: pointer;
    width: 18px;
    height: 18px;
    border: 2px solid #9C026C;
    border-radius: 100%;
    position: relative;
    display: inline-block;
    box-sizing: border-box;
}

.custom-radio {
    display: flex;
    gap: 10px;
    align-items: center;
}

.label-text {
    color: #000;
    opacity: 0.5;
    font-size: 16px;
    line-height: 1.4;
}

.radio-mark::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 6px;
    height: 6px;
    background-color: #9C026C;
    border-radius: 100%;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 5px;
}

.custom-radio input[type="checkbox"]:checked+.radio-mark::after {
    opacity: 1;
}



.tooltip-icon {
    position: relative;
    cursor: default;
    display: inline-flex;
    align-items: center;
}

.tooltip-bubble {
    position: absolute;
    bottom: 6px;
    left: 6px;

    background: #fff;
    color: #4F4F4F;
    font-size: 14px;
    padding: 15px 10px 15px 20px;
    font-weight: 400;
    border-radius: 20px 20px 20px 0;
    box-shadow: 0px 4px 100px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 10;
    width: max-content;

    text-align: left;
    line-height: 1.2;
}

@media(max-width:768px) {

    .tooltip-bubble {
        position: absolute;
        bottom: 6px;
        left: 6px;

        background: #fff;
        color: #4F4F4F;
        font-size: 14px;
        padding: 15px 10px 15px 20px;
        font-weight: 400;
        border-radius: 20px 20px 20px 0;
        box-shadow: 0px 4px 100px rgba(0, 0, 0, 0.1);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
        z-index: 10;
        width: 160px;

        text-align: left;
        line-height: 1.2;
    }
}

.tooltip-icon:hover .tooltip-bubble {
    opacity: 1;
    pointer-events: auto;
}

.form--register .button {
    height: 60px;
}


.button--icon-lilarrow::after {
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='5' viewBox='0 0 11 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.410156 3.9707H10.1486' stroke='white' stroke-width='0.983209' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M7.52734 6.59339L10.1492 3.9715L7.52734 1.34961' stroke='white' stroke-width='0.983209' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
}


.pagination {
    display: flex;
    justify-content: center;
    gap: 0px;
}

.pagination__item {
    width: 30px;
    height: 30px;
    background: transparent;
    box-sizing: border-box;
    cursor: pointer;

    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: 400;
    color: #8F96A1;

}

.pagination__item--active {
    border: 1.2px solid #8F96A1;
    border-radius: 10px;
}

@media(max-width:768px) {
    .pagination__arrow {
        width: 50px;
        height: 50px;
    }

    .pagination__arrow img {
        width: 11px;
        height: auto;
    }
}

.pagination__arrow {
    border-radius: 100%;
    border: 1.2px solid #8F96A1;
}

.pagination__arrow--left {
    margin-right: 20px;
}

.pagination__arrow--right {
    margin-left: 20px;
}

.select-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border: 1px solid rgba(138, 138, 138, 0.5);
    border-radius: 8px;
    cursor: pointer;
    background: #fff;
    user-select: none;
    box-sizing: border-box;
    font-size: 14px;
    font-weight: 400;
    color: #8A8A8A;
}

.select-title {
    display: flex;
    align-items: center;
    gap: 6px;
}

.select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid rgba(138, 138, 138, 0.5);
    border-top: 1px white;
    border-radius: 0 0 8px 8px;
    box-sizing: border-box;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    padding: 0 10px 10px;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    z-index: 100;
    pointer-events: none;
}

.select-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    color: #555;
    cursor: pointer;
}

.arrow {
    transition: transform 0.3s;
}

.custom-select-wrapper.open .select-options {
    max-height: 500px;
    /* подберите подходящее максимальное значение */
    opacity: 1;
    pointer-events: all;
}

.custom-select-wrapper.open .arrow {
    transform: rotate(180deg);
}

.custom-select-wrapper.open .select-header {
    border-bottom: 1px #fff;
    border-radius: 8px 8px 0 0;
}

.view-toggle {
    cursor: pointer;
}

.view-toggle svg path {

    stroke: #8a8a8a;
    transition: stroke 0.2s;
}

.view-toggle:hover svg path {
    stroke: #9C026C;
}

.view-toggle.active svg path {
    stroke: #9C026C;
}

.references__list-sub li a {
    text-decoration: none;
    display: inline !important;
}

.references__list-sub li a:after {
    background-color: transparent;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHg9IjAiIHk9IjAiIHZpZXdCb3g9IjAgMCAyNC45IDE4LjEiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxzdHlsZT4uc3Qwe2ZpbGw6bm9uZTtzdHJva2U6I2I1MDA3YztzdHJva2Utd2lkdGg6MS41fTwvc3R5bGU+PHBhdGggY2xhc3M9InN0MCIgZD0iTTAgOWgyMy45Ii8+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjYjUwMDdjIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InNxdWFyZSIgZD0iTTE1LjkgMS4xbDggNy45Ii8+PHBhdGggY2xhc3M9InN0MCIgZD0iTTI0LjQgOC41bC05LjEgOSIvPjwvc3ZnPg==), none;
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: 24px;
    content: "";
    background-position: 100%;
    display: none;
    align-self: center;
    width: 6rem;
    height: 24px;
    top: unset;
}

.container {
    max-width: 1320px;
    padding: 0 20px;
    margin: 0 auto;
    width: 100%;
}

.footer {
    background-color: #fff;
    padding: 50px 0;
}

.footer p {
    margin: 0;
}

.footer__row {
    display: flex;
    gap: 45px;
    align-items: flex-start;
    min-width: 0;
    /* для корректного сжатия */
}

.footer__block-name {
    padding-bottom: 15px;
    font-size: 16px;
    font-weight: 500;
}

.footer__column--left {
    flex-grow: 0;
    /* не растет */
    flex-shrink: 0;
    /* сжимается */
    flex-basis: 550px;
    max-width: 550px;
    display: flex;
    gap: 30px;
    flex-direction: column;
    align-items: flex-start;
}


.footer__logo-image {
    max-width: 224px !important;
    width: 100%;
    height: auto;
}


p.footer__description-pretext {
    color: #000;
    font-size: 16px;
    font-weight: 600;
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 12px;

}

.footer__description-text {
    color: #000;
    font-size: 24px;
    font-weight: 600;

    line-height: 1.1;

}

.footer__contact {
    display: flex;
    flex-direction: row;
    gap: 25px;
    padding-top: 30px;
}

.footer__contact-item {
    display: flex;
    gap: 5px;
    align-items: center;
}

.footer__contact-item svg {
    min-width: 14px;
    width: 14px;
    height: 14px;
}

.footer__contact a {
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    color: #212121;
    line-height: normal;

}

.footer__column--right {
    flex-grow: 1;
    /* позволяет расти */
    flex-shrink: 1;
    /* позволяет сжиматься */
    flex-basis: 794px;
    /* начальная ширина */
    max-width: 600px;
    min-width: 600px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;


}

.footer__search {
    width: 100%;
    margin-bottom: 20px;
    position: relative;
}


.footer__search-input {
    width: 100%;
    padding: 15px 15px 15px 40px;
    border: none;
    border-radius: 10px;
    color: #000;
    background: #ECEDF0;
    cursor: pointer;
}

.footer__search-input::placeholder {
    color: #8F96A1;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
}

.footer__search-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 15px;
    background: none;
    border: none;
    pointer-events: none;
}

.footer__nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.footer__nav-list {
    list-style: none;
    padding: 0;
}

.footer__nav-item {
    margin-bottom: 10px;
}

.footer__nav-link {
    font-size: 14px;
    text-decoration: none;
    color: #8F96A1;
    line-height: normal;
}

.footer__legal {
    line-height: normal;
    margin: 30px 0 0;

}

.footer__legal-text,
.footer__legal-disclaimer {
    font-size: 14px;
    color: #8F96A1;
    line-height: normal;
}

.footer__legal-text a {
    text-decoration: none;
    color: #8F96A1;
    line-height: normal;
}

.footer__legal-text a:hover {
    color: #212121 !important;
}

@media(max-width: 1140px) {
    .footer__row {
        flex-wrap: wrap;
    }

    .footer__column--right {

        flex-basis: 100%;
        width: 100%;
        min-width: auto;
    }

    .footer__column--left {

        flex-basis: 100%;

    }

    .footer__contact {
        flex-wrap: wrap;
    }
}

@media(max-width: 768px) {
    .footer__contact {
        padding-top: 0px;
    }

    .footer__row {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 24px;
    }

    .footer__search {
        margin-bottom: 24px;
    }

    .footer__nav {
        flex-wrap: wrap;
        gap: 24px;
    }

    .footer__nav-item {
        margin-bottom: 0;
        padding-bottom: 15px;
    }

    .footer__nav-link {
        line-height: 1.5;
    }

    .footer__legal {
        margin: 40px 0 0;
    }
}

.references {

    max-width: 1320px;
    padding-left: 20px;
    padding-right: 20px;
    margin: 0 auto;
}


/* --- «плёнка» даёт размытие и плавный градиент вверх --- */
.paywall-overlay {
    z-index: 1;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    /* клики проходят сквозь */
    backdrop-filter: blur(10px);
    mask-image: linear-gradient(to bottom,
            rgba(245, 247, 249, 0) 0%,
            #F5F7F9 100%);
}

/* высота размытого участка */
@media (min-width:768px) {
    .paywall-overlay {
        height: 252px;
    }
}

/* десктоп */
@media (max-width:767.98px) {
    .paywall-overlay {
        height: 378px;
    }
}

/* мобильный */

/* --- баннер остаётся прежним --- */
.paywall-banner {
    background: linear-gradient(90deg, #9C026C 0%, #8A005F 100%);
    padding: 44px 0 51px;
    color: #fff;
    text-align: left;
    line-height: 1.25;
}

.paywall-banner a {
    line-height: 1.25;
    color: #fff;
}

.paywall-banner a:hover {
    color: #ffffffe3;
}



.paywall-wrapper {
    overflow: hidden;
    position: relative;
    height: 150vh;
    z-index: -1;
}

.paywall-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;

    z-index: -1;
}


@media(max-width:767.98px) {
    .paywall-banner {
        padding: 44px 0;
    }

    .paywall-wrapper {
        position: relative;
        height: 250vh;
        z-index: -1;
    }

}

/* «Ещё по теме»: от md превью плавно крупнее на широких экранах */
@media (min-width: 768px) {
    .material-related-panel__thumb {
        height: clamp(64px, 3.5vw + 44px, 92px);
    }
}

/* «Ещё по теме» — aside layout на >1300px */
.material-page-layout__aside {
    display: none;
}

@media (min-width: 1300px) {
    .material-page-layout {
        display: flex;
        max-width: 1540px;
        margin: 0 auto;
        padding: 0 20px;
        gap: 30px;
        align-items: flex-start;
    }

    .material-page-layout__main {
        flex: 1 1 auto;
        min-width: 0;
    }

    .material-page-layout__aside {
        display: block;
        flex: 0 0 280px;
        padding-top: 40px;
    }

    .material-page-layout__main .material-related-panel {
        display: none !important;
    }

    .material-related-aside {
        margin-top: 60px;
    }
}