@charset "UTF-8";
.grey-wrapper {
    padding-top: 80px;
    padding-bottom: 120px;
    background-color: #F4F5F7;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.with-max-width {
    max-width: 1260px;
    width: 100%;
    margin: auto;
}

.new-section__filter {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.new-section__tabs {
    display: flex;
    flex-direction: row;
    gap: 12px;
    flex-wrap: wrap;
}
.new-section__tabs .tab {
    cursor: pointer;
    border-radius: 12px 16px;
    padding: 12px;
    background-color: #fff;
    color: #003060;
    font-family: Rubik;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    border: none;
}
.new-section__tabs .tab.active {
    background: var(--Gradient-Main-Violet, linear-gradient(83deg, #3B3E9F 4.5%, #6C1A94 93.95%));
    color: #fff;
}
.new-section__header {
    display: flex;
    justify-content: space-between;
    gap: 80px;
    align-items: center;
    width: 100%;
    margin-bottom: 40px;
}
.new-section__title {
    overflow: hidden;
    color: var(--Blue-Blue-100, #003060);
    text-overflow: ellipsis;
    white-space: nowrap;
    /* Heading/CAPS/H3 */
    font-family: Rubik;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 40px; /* 111.111% */
    text-transform: uppercase;
}
.new-section__more {
    color: #003060;
    font-family: Rubik;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    text-decoration: none;
    display: flex;
    gap: 8px;
    align-items: center;
}
.new-section__body {
    width: 100%;
}
.new-section__body--3cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media only screen and (max-width: 500px) {
    .new-section__body--3cols {
        grid-template-columns: repeat(1, 1fr);
    }
}
.new-section__body--5cols {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}
@media only screen and (max-width: 800px) {
    .new-section__body--5cols {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media only screen and (max-width: 500px) {
    .new-section__body--5cols {
        grid-template-columns: repeat(1, 1fr);
    }
}

.previous-book-trains {
    width: 100%;
    padding-top: 40px;
    padding-bottom: 56px;
    color: #003060;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
}
.previous-book-trains__inner {
    max-width: 1260px;
    width: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 80px;
}
.previous-book-trains__title {
    font-weight: 700;
    font-size: 40px;
    line-height: 56px;
    text-transform: uppercase;
}
.previous-book-trains__body {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}
@media only screen and (max-width: 767px) {
    .previous-book-trains__body {
        grid-template-columns: repeat(1, 1fr);
    }
}

.trains-card {
    min-height: 322px;
    height: 100%;
    color: #003060;
    width: 100%;
    border-radius: 16px;
    padding: 32px 40px 18px 40px;
    overflow: hidden;
    background-color: #F2F5F7;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: space-between;
    position: relative;
}
.trains-card__main {
    max-width: 354px;
    z-index: 2;
}
.trains-card__year {
    font-weight: 500;
    font-size: 40px;
    line-height: 44.8px;
    color: #82068D;
    margin-bottom: 20px;
}
.trains-card__title {
    font-weight: 500;
    line-height: 44.8px;
    font-size: 32px;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.trains-card__subtitle {
    font-weight: 300;
    font-size: 24px;
    line-height: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.trains-card__controls {
    width: 100%;
    max-width: 354px;
    z-index: 2;
}
.trains-card__button {
    width: 100%;
    background-color: #FFFFFF;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Inter";
    text-decoration: none;
    padding: 12px;
    color: #003060;
    font-weight: 500;
    font-size: 17.4px;
    line-height: 26px;
    transition: 0.2s ease-in-out;
    font-family: "Inter";
}
.trains-card__button:hover {
    transform: scale(0.99);
}
.trains-card__background {
    position: absolute;
    top: 0;
    right: -354px;
}
.trains-card__background img {
    height: 336px;
}
@media only screen and (max-width: 550px) {
    .trains-card__background {
        opacity: 0.4;
    }
}

.cover {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    z-index: 1000;
    background: rgba(82, 82, 82, 0.47);
}
.cover.cover_opened {
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-modal {
    max-width: 1028px;
    width: 100%;
    border-radius: 16px;
    background-color: #FFFFFF;
    padding: 80px 60px 20px 60px;
    position: relative;
    color: #003060;
    max-height: 95vh;
    overflow-y: scroll;
    margin-left: 16px;
    margin-right: 16px;
}
.author-modal__close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background-color: transparent;
    transition: 0.2s ease-in-out;
}
.author-modal__close-button:hover {
    cursor: pointer;
    transform: scale(0.99);
}
.author-modal__main {
    display: flex;
    width: 100%;
    gap: 80px;
}
@media only screen and (max-width: 767px) {
    .author-modal__main {
        flex-direction: column;
        gap: 40px;
    }
}
.author-modal__cover {
    width: 263px;
    height: 304px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.author-modal__cover img {
    object-fit: cover;
    height: 100%;
    object-position: center;
}
.author-modal__texts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.author-modal__author {
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
}
.author-modal__title {
    font-weight: 700;
    font-size: 40px;
    line-height: 56px;
}
.author-modal__text {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 160%;
}
.author-modal__books {
    margin-top: 40px;
}
.author-modal__books-title {
    margin-bottom: 20px;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
}
.author-modal__books-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 32px;
}
.author-modal__book {
    max-width: 109px;
    text-decoration: none;
    color: #003060;
}
.author-modal__book:hover {
    opacity: 0.9;
}
.author-modal__book-cover {
    width: 109px;
}
.author-modal__book-cover img {
    width: 100%;
}
.author-modal__book-title {
    margin-top: 20px;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    line-height: 120%;
}
.author-modal__book-year {
    font-weight: 400;
    font-size: 12px;
    line-height: 12px;
}

.books-mayaks-video-banner {
    width: 100%;
    padding-top: 40px;
    padding-bottom: 56px;
    color: #FFFFFF;
    overflow: visible;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
    overflow: hidden;
}
.books-mayaks-video-banner__inner {
    max-width: 1260px;
    width: 100%;
    margin: auto;
    margin-bottom: 210px;
    box-sizing: border-box;
    border-radius: 16px;
    background: linear-gradient(72.68deg, #3A3D9E 24.85%, #6B1993 79.06%);
    display: flex;
    position: relative;
}
@media only screen and (max-width: 1200px) {
    .books-mayaks-video-banner__inner {
        height: 700px;
    }
}
.books-mayaks-video-banner__main {
    margin-top: 68px;
    margin-bottom: 16px;
    margin-left: 50px;
    z-index: 3;
}
@media only screen and (max-width: 400px) {
    .books-mayaks-video-banner__main {
        margin-right: 16px;
        margin-left: 16px;
    }
}
.books-mayaks-video-banner__date {
    margin-bottom: 24px;
    font-weight: 500;
    font-size: 24px;
    line-height: 24px;
    text-transform: uppercase;
}
.books-mayaks-video-banner__festival {
    background-color: rgba(255, 255, 255, 0.27);
    border-radius: 16px;
    padding: 0 18px;
    font-weight: 300;
    font-size: 18px;
    line-height: 25.2px;
    text-transform: lowercase;
    margin-bottom: 32px;
    width: fit-content;
    box-sizing: border-box;
}
.books-mayaks-video-banner__title {
    margin-bottom: 32px;
}
@media only screen and (max-width: 530px) {
    .books-mayaks-video-banner__title img {
        width: 100%;
    }
}
.books-mayaks-video-banner__link {
    color: #FFFFFF;
    font-weight: 500;
    text-decoration: underline;
    font-size: 17.4px;
    line-height: 26px;
}
.books-mayaks-video-banner__bg {
    position: absolute;
    z-index: 2;
    top: -45px;
    right: 0;
}
@media only screen and (max-width: 1200px) {
    .books-mayaks-video-banner__bg {
        top: auto;
        bottom: -45px;
    }
}
@media only screen and (max-width: 800px) {
    .books-mayaks-video-banner__bg {
        top: auto;
        bottom: -45px;
        right: 50%;
        transform: translate(50%, 0);
    }
}
.books-mayaks-video-banner__video-link {
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
}
.books-mayaks-video-banner__video-link:hover {
    transform: translate(50%, -50%) scale(0.99);
}

.banner-slider {
    width: 100%;
}

.banner {
    width: 100%;
}
.banner_img {
    width: 100%;
}
.banner_img img {
    width: 100%;
}

.slider__inner {
    position: relative;
}
.slider__navigation {
    position: absolute;
    right: 60px !important;
    bottom: 40px !important;
    display: flex;
    flex-direction: row !important;
    gap: 20px;
    width: fit-content !important;
    height: fit-content !important;
}
@media only screen and (max-width: 700px) {
    .slider__navigation {
        bottom: 0px !important;
        right: 5px !important;
    }
}
.slider__button {
    width: 56px !important;
    height: 56px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 100px;
    background-color: #FFF;
    flex-shrink: 0;
    position: static !important;
}
.slider__button[disabled] {
    opacity: 0.4;
}
.slider__button--prev {
    transform: scaleX(-1);
}
.slider__button::after {
    display: none;
}
.slider__button svg {
    width: 24px !important;
    height: 24px !important;
}
@media only screen and (max-width: 700px) {
    .slider__button {
        border: 1px solid #3b3e9f;
    }
}

.banner-slider--gift .swiper-backface-hidden .swiper-slide {
    margin-top: 20px;
}

@media only screen and (max-width: 700px) {
    .banner-slider .swiper {
        padding-bottom: 70px;
    }
}

.dropdown {
    position: relative;
    width: fit-content;
    user-select: none;
}

.dropdown-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: #fff;
    border: 1.5px solid rgba(0, 48, 96, 0.05);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.dropdown-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.dropdown-icon svg {
    display: block;
    width: 24px;
    height: 24px;
}

.dropdown-selected {
    font-family: Rubik;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: #003060;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-arrow {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: transform 0.25s ease;
    fill-opacity: 0.4;
    fill: #003060;
}

.dropdown-arrow svg {
    display: block;
    width: 24px;
    height: 24px;
    fill-opacity: 0.4;
    fill: #003060;
}

/* Поворот стрелки при открытом состоянии */
.dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown.open .dropdown-arrow svg {
    fill: #6D1B95;
    fill-opacity: 1;
}

.dropdown-list {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 100%;
    width: fit-content;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    background: #fff;
    border-radius: 12px;
    box-shadow: 2px 2px 60px 0 rgba(0, 48, 96, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 10;
}

.dropdown.open .dropdown-header {
    border: 1.5px solid #3B3E9F;
}

.dropdown.open .dropdown-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px 10px 16px;
    font-family: Rubik;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    color: #003060;
    cursor: pointer;
    transition: background 0.15s;
}

.dropdown-list li.active {
    background: rgba(0, 48, 96, 0.02);
}

.check-icon {
    display: none;
    flex-shrink: 0;
    margin-left: 10px;
}

.check-icon svg {
    display: block;
    width: 24px;
    height: 24px;
}

.dropdown-list li.active .check-icon {
    display: inline-flex;
}

@media (max-width: 400px) {
    .dropdown {
        width: 90vw;
        max-width: 320px;
    }
}
.news-card {
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
}
.news-card__img {
    aspect-ratio: 404/240;
    background-color: rgba(3, 0, 16, 0.2);
}
.news-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.news-card__title-wrapper {
    padding: 16px 20px 24px 20px;
    background-color: #fff;
}
.news-card__title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    align-self: stretch;
    overflow: hidden;
    color: var(--Blue-Blue-100, #003060);
    text-overflow: ellipsis;
    font-family: Rubik;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px;
}

.service-card {
    width: 600px;
    padding: 20px;
    display: flex;
    flex-direction: row;
    gap: 24px;
    border-radius: 24px;
    background-color: #FFF;
    align-items: center;
    text-decoration: none;
}
.service-card__img {
    background-color: rgba(3, 0, 16, 0.2);
    height: 120px;
    width: 120px;
    border-radius: 20px;
    overflow: hidden;
    margin-right: 24px;
}
.service-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.service-card__title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    color: var(--Blue-Blue-100, #003060);
    text-overflow: ellipsis;
    font-family: Rubik;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 28px;
}

.common-card {
    width: 100%;
    text-decoration: none;
}
.common-card__img {
    background-color: rgba(3, 0, 16, 0.2);
    border-radius: 24px;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 404/260;
    position: relative;
}
.common-card__img--vertical {
    aspect-ratio: 233/327;
}
.common-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.common-card__title {
    margin: 20px 12px 0 12px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    align-self: stretch;
    overflow: hidden;
    color: var(--Blue-Blue-100, #003060);
    text-overflow: ellipsis;
    font-family: Rubik;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 28px;
}
.common-card__video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.light-blue-text {
    color: #96D5FF;
    font-family: Rubik;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 28px;
    margin-bottom: 24px;
}

.section-plans__list-box {
    overflow-x: hidden;
}

.card-subscription_type_ok .card-subscription__inner {
    background-color: #FF7700 !important;
    background: #FF7700 !important;
}
.card-subscription_type_ok .card-subscription__button {
    color: #FF7700 !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Rubik";
}

html {
    scroll-behavior: smooth;
    font-family: Manrope, sans-serif;
}

body:has(.cover.active),
body:has(.modal.open),
body:has(.header-mobile.active) {
    overflow: hidden;
}