

/* Start:/local/components/rzd/main.preview/templates/.default/style.css?17921408576578*/
.main-preview {
    --main-preview-gradient-angle: 81deg;
    position: relative;
    background-color: var(--background-inver);
    overflow: hidden;
}

/* Затемнение обложки между фоновым видео/постером и содержимым. */
.main-preview::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(var(--main-preview-gradient-angle), rgba(0, 0, 0, 0.7) 1%, rgba(0, 0, 0, 0) 61%);
    pointer-events: none;
}

/* Видео — именно фон, поэтому вне потока и под всем содержимым */
.main-preview-video {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Фон будет видно только до 1й прогрузки видео */
    background-color: var(--background-inver);
    pointer-events: none;
   
}

/* fixed: та же точка, что нижний бордер шапки (::after). Трек не красим —
   бордер шапки и есть дорожка, иначе две полупрозрачные линии складываются.
   top анимируем как у .header-slot, иначе при уезде топбара полоска прыгает. */
.main-preview-progress {
    position: fixed;
    top: calc(
        var(--header-top, var(--header-topbar-height, 0px))
        + var(--header-height, 0px)
        - var(--stroke-width-m, 2px)
    );
    right: 0;
    left: 0;
    z-index: 50;
    height: var(--stroke-width-m, 2px);
    overflow: hidden;
    pointer-events: none;
    transition:
        top var(--slide-duration, 700ms) cubic-bezier(0.22, 0.61, 0.36, 1),
        opacity var(--slide-duration, 700ms) cubic-bezier(0.22, 0.61, 0.36, 1);
    /* Задержка = длительность появления шапки: полоса проявляется в момент,
       когда шапка встала на место */
    animation: fade-in var(--default-duration) var(--default-timing-standard) var(--long-delay) both;
}

.main-preview-progress.is-away {
    opacity: 0 !important;
}

.main-preview-progress-bar {
    display: block;
    width: 100%;
    height: 100%;
    background-color: var(--background-wa-2);
    /* стартовое состояние до первого кадра; дальше scaleX пишет JS инлайном */
    transform: scaleX(0);
    transform-origin: left center;
    will-change: transform;
}

.main-preview-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    padding: var(--spacing-content-padding-grid-1);
    padding-top: var(--header-height, 0px);
}

.main-preview-content-blocks {
    flex: 2;
    display: flex;
    flex-direction: column;
}

.main-preview-promo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-component-gap-md);
    flex: 2;
}

.main-preview-promo-texts {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-content-gap-md);
    text-align: center;
    color: var(--text-inver);
}

.main-preview-promo-texts h1 {
    max-width: 400px;
}

.main-preview-promo-texts div {
    max-width: 386px;
}

.main-preview-button > .button {
    min-width: 163px;
}

.main-preview-info-news {
    display: flex;
    justify-content: center;
}

.main-news-story {
    width: 100%;
    max-width: 408px;
}

@media (min-width: 768px) {
    .main-preview {
        --main-preview-gradient-angle: 77deg;
    }

    .main-preview-promo {
        gap: var(--spacing-content-gap-md);
    }

    .main-preview-promo-texts h1 {
        max-width: 100%;
    }

    .main-preview-promo-texts div {
        max-width: 334px;
    }

    .main-preview-info {
        display: flex;
        gap: var(--spacing-content-gap-min);
        align-items: flex-end;
        justify-content: center;
        width: 736px;
        margin: 0 auto;
    }

    .main-preview-info-about {
        display: flex;
        flex-direction: column;
        flex: 2;
        min-height: 100%;
    }

    .main-preview-info-news {
        display: flex;
        justify-content: flex-end;
        gap: var(--spacing-content-gap-min);
    }

    .main-news-cards {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        gap: var(--spacing-content-gap-min);
    }

    .main-news-story {
        width: 100%;
        max-width: 420px;
    }
}

@media (min-width: 1024px) {
    .main-preview {
        --main-preview-gradient-angle: 64deg;
    }

    .main-preview-content {
        padding: var(--spacing-content-padding-sm);
        padding-top: var(--header-height, 0px);
    }

    .main-preview-content-blocks {
        flex: initial;
        flex-direction: row;
        padding-top: var(--spacing-content-padding-sm);
    }

    .main-preview-promo {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
        gap: 18px;
        flex: 2;
    }

    .main-preview-promo-texts {
        align-items: flex-start;
        gap: var(--spacing-content-gap-xs);
        text-align: start;
    }

    .main-preview-promo-texts h1 {
        max-width: 403px;
    }

    .main-preview-promo-texts div {
        max-width: 348px;
    }

    .main-preview-info {
        width: auto;
        margin: initial;
    }

    .main-preview-info-about {
        display: none;
    }
}

@media (min-width: 1200px) {
    .main-preview {
        --main-preview-gradient-angle: 67deg;
    }

    .main-preview-promo {
        justify-content: space-between;
    }

    .main-preview-promo-texts {
        gap: var(--spacing-content-gap-md);
    }

    .main-preview-promo-texts h1 {
        max-width: 565px;
    }

    .main-preview-promo-texts div {
        max-width: 386px;
    }

    .main-preview-button {
        display: flex;
        align-items: flex-end;
        flex: 2;
    }

    .main-preview-info {
        flex-direction: column;
        width: 440px;
    }

    .main-preview-info-about {
        display: block;
        width: 100%;
        min-height: auto;
    }

    .main-news-story {
    }
}

@media (min-width: 1536px) {
    .main-preview {
        --main-preview-gradient-angle: 63deg;
    }
}

@media (min-width: 1920px) {
    .main-preview {
        --main-preview-gradient-angle: 61deg;
    }
}

/* End */


/* Start:/local/components/rzd/cards.about/templates/.default/style.css?17919810971620*/
.about-card {
    display: flex;
    flex-direction: column;
    flex: 2;
    min-height: 228px;
    padding: var(--spacing-component-padding-x-xl);
    border-radius: var(--radius-4xl);
    background-color: var(--background-pr);
    color: var(--text-pr);
}

.about-card.about-card--overlay {
    min-height: 192px;
    background-color: var(--background-wa-1);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    color: var(--text-inver);
}

.about-card-tabs {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--spacing-component-gap-sm);
    height: 100%;
    flex: 2;

}

.about-card-tabs.tabs--size-3 .tabs-tab {
    text-transform: none;
    font-family: var(--typography-component-tab-tab-3-font-family), sans-serif;
    font-size: var(--typography-component-tab-tab-3-font-size);
    line-height: var(--typography-component-tab-tab-3-line-height);
    letter-spacing: var(--typography-component-tab-tab-3-letter-spacing);
    font-weight: 300;
    font-variation-settings: var(--rf-w30-g60);
}

.about-card-worktime,
.about-card-address {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-component-gap-sm);
    color: var(--foregroung-white);
}

.about-card-worktime-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-component-gap-xs);
    font-weight: 700;
    text-transform: uppercase;
}

.about-card-address-title {
    text-transform: uppercase;
}

.about-card-address-title,
.about-card-address-label {
    display: flex;
    flex-direction: column;
}

/* End */


/* Start:/local/components/rzd/tabs/templates/.default/style.css?17885200742982*/
.tabs {
    display: flex;
    flex-direction: column;
}

.tabs-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-content-gap-md);
}

.tabs--size-1 .tabs-list {
    gap: var(--spacing-component-gap-md);
}

.tabs--size-2 .tabs-list {
    gap: var(--spacing-component-gap-md);
}

.tabs--size-3 .tabs-list {
    gap: var(--spacing-component-gap-sm);
}

.tabs--size-1 .tabs-tab {
    font-family: var(--typography-component-tab-tab-1-font-family), sans-serif;
    font-size: var(--typography-component-tab-tab-1-font-size);
    line-height: var(--typography-component-tab-tab-1-line-height);
    letter-spacing: var(--typography-component-tab-tab-1-letter-spacing);
    font-variation-settings: var(--rf-w25);
    color: var(--text-component-action-1-pr-def);
}

.tabs--size-1 .tabs-tab:hover {
    color: var(--text-component-action-1-pr-hover);
}

.tabs--size-1 .tabs-tab:active {
    color: var(--text-component-action-1-pr-pressed);
}

.tabs--size-1 .tabs-tab[isActive] {
    color: var(--text-component-action-1-pr-active);
}

.tabs--size-2 .tabs-tab {
    font-family: var(--typography-component-tab-tab-2-font-family), sans-serif;
    font-size: var(--typography-component-tab-tab-2-font-size);
    line-height: var(--typography-component-tab-tab-2-line-height);
    letter-spacing: var(--typography-component-tab-tab-2-letter-spacing);
    font-variation-settings: var(--rf-w25);
    color: var(--text-component-action-2-pr-def);
}

.tabs--size-2 .tabs-tab:hover {
    color: var(--text-component-action-2-pr-hover);
}

.tabs--size-2 .tabs-tab:active {
    color: var(--text-component-action-2-pr-pressed);
}

.tabs--size-2 .tabs-tab[isActive] {
    color: var(--text-component-action-2-pr-active);
}

.tabs--size-3 .tabs-tab {
    font-family: var(--typography-component-tab-tab-3-font-family), sans-serif;
    font-size: var(--typography-component-tab-tab-3-font-size);
    line-height: var(--typography-component-tab-tab-3-line-height);
    letter-spacing: var(--typography-component-tab-tab-3-letter-spacing);
    font-variation-settings: var(--rf-w25);
    color: var(--text-component-action-1-sec-def);
}

.tabs--size-3 .tabs-tab:hover {
    color: var(--text-component-action-1-sec-hover);
}

.tabs--size-3 .tabs-tab:active {
    color: var(--text-component-action-1-sec-pres);
}

.tabs--size-3 .tabs-tab[isActive] {
    color: var(--text-component-action-1-sec-active);
}

.tabs--overlay.tabs--size-3 .tabs-tab {
    color: var(--text-component-action-1-over-def);
}

.tabs--overlay.tabs--size-3 .tabs-tab:hover {
    color: var(--text-component-action-1-over-hover);
}

.tabs--overlay.tabs--size-3 .tabs-tab:active {
    color: var(--text-component-action-1-over-pres);
}

.tabs--overlay.tabs--size-3 .tabs-tab[isActive] {
    color: var(--text-component-action-1-over-active);
}

.tabs-tab {
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.tabs-panel[hidden] {
    display: none;
}

/* End */


/* Start:/local/components/rzd/cards.link/templates/.default/style.css?17888786901016*/
.link-card {
    background-color: var(--background-pr);
    border-radius: var(--radius-4xl);
    width: 130px;
    height: 130px;
    text-transform: uppercase;
}

.link-card > div {
    display: flex;
    justify-content: flex-end;
    padding: var(--spacing-component-padding-x-xl);
}

.link-card > .link-card-label {
    padding-bottom: 10px;
}

.link-card .link-card-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    color: var(--text-pr);
    background-color: var(--background-component-action-2-sec-def);
    transition: var(--default-duration) ease;
}

.link-card .link-card-button:hover {
    color: var(--text-inver);
    background-color: var(--background-component-action-2-sec-hover);
}

@media (min-width: 1200px) {
    .link-card {
        width: 144px;
        height: 144px;
    }

    .link-card > .link-card-label {
        padding-bottom: var(--spacing-component-padding-y-xl);
    }
}

/* End */


/* Start:/local/components/rzd/events.stories/templates/.default/style.css?17887929717199*/
.stories {
    /* Во столько раз главная история показывается дольше обычной. */
    --stories-important-factor: 2;

    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 420px;
    height: 235px;
    min-height: 235px;
    background-color: var(--background-pr);
    border-radius: var(--radius-3xl);
    color: var(--text-pr);
}

.stories-main {
    display: flex;
    flex-direction: column;
    flex: 2;
    padding: var(--spacing-component-padding-y-xl) var(--spacing-component-padding-x-xl);
}

.stories-bar {
    display: flex;
    gap: var(--spacing-component-gap-min);
    margin-bottom: var(--spacing-component-gap-md);
}

.stories-bar-item {
    flex: 1 1 0;
    height: 2px;
    padding: 0;
    border: none;
    border-radius: var(--radius-2xl);
    background-color: var(--background-ter);
    cursor: pointer;
    overflow: hidden;
}

/*
 * Половина полосы главной, половина — всем остальным поровну: вес (N-1) против
 * N-1 сегментов с весом 1. max() — на случай единственной истории, там (N-1) = 0.
 */
.stories-bar-item--important {
    flex-grow: max(calc(var(--stories-count, 1) - 1), 1);
}

.stories-bar-fill {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background-color: var(--background-component-action-1-acc-def);
    transform: scaleX(0);
    transform-origin: left center;
}

/* Просмотренные залиты целиком, текущая заливается за время показа. */
.stories-bar-item[data-stories-seen] .stories-bar-fill {
    transform: scaleX(1);
}

/* Конец этой анимации js считает концом истории и листает дальше. */
.stories-bar-item[isActive] .stories-bar-fill {
    animation: stories-fill var(--stories-duration, 6000ms) linear forwards;
}

/* Главная висит дольше остальных: js листает по концу заливки, так что множитель
   растягивает и саму историю. */
.stories-bar-item--important[isActive] .stories-bar-fill {
    animation-duration: calc(var(--stories-duration, 6000ms) * var(--stories-important-factor, 1));
}

.stories:not([data-stories-auto]) .stories-bar-item[isActive] .stories-bar-fill {
    animation: none;
    transform: scaleX(1);
}

.stories[data-stories-paused] .stories-bar-item[isActive] .stories-bar-fill {
    animation-play-state: paused;
}

@keyframes stories-fill {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

/* Во время переключения историй видно две сразу, поэтому они лежат стопкой. */
.stories-slides {
    position: relative;
    flex: 2;
    min-height: 0;
    overflow: hidden;
}

.stories-slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-component-gap-sm);
    min-height: 0;
}

.stories-slide[hidden] {
    display: none;
}

.stories-slide[data-stories-enter='next'] {
    animation: stories-in-next var(--default-duration) var(--default-timing-standard);
}

.stories-slide[data-stories-enter='prev'] {
    animation: stories-in-prev var(--default-duration) var(--default-timing-standard);
}

/* forwards: без него уехавшая история на кадр вернётся на место, пока js её не спрятал */
.stories-slide[data-stories-leave='next'] {
    animation: stories-out-next var(--default-duration) var(--default-timing-standard) forwards;
}

.stories-slide[data-stories-leave='prev'] {
    animation: stories-out-prev var(--default-duration) var(--default-timing-standard) forwards;
}

/*
 * Вперёд: новая приезжает справа, старая уходит влево. Назад — зеркально.
 * Прозрачность отрабатывает к середине, чтобы истории не просвечивали друг сквозь друга.
 */
@keyframes stories-in-next {
    from { opacity: 0; transform: translateX(100%); }
    50% { opacity: 1; }
    to { opacity: 1; transform: none; }
}

@keyframes stories-out-next {
    from { opacity: 1; transform: none; }
    50% { opacity: 0; }
    to { opacity: 0; transform: translateX(-100%); }
}

@keyframes stories-in-prev {
    from { opacity: 0; transform: translateX(-100%); }
    50% { opacity: 1; }
    to { opacity: 1; transform: none; }
}

@keyframes stories-out-prev {
    from { opacity: 1; transform: none; }
    50% { opacity: 0; }
    to { opacity: 0; transform: translateX(100%); }
}

.stories-slide-main {
    display: flex;
    flex-direction: column;
    flex: 2;
    gap: var(--spacing-component-gap-sm);
}

.stories-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-content-gap-min);
    color: var(--text-sec);
}

.stories-label-dot {
    display: block;
    width: 2px;
    height: 2px;
    border-radius: 44px;
    background-color: currentColor;
}

.stories-label-important {
    color: var(--text-acc);
}

.stories-content {
    --stories-content-lines: 5;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: var(--stories-content-lines);
    line-clamp: var(--stories-content-lines);
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.stories-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-component-gap-sm);
}

.stories-date {
    color: var(--text-sec);
}

.stories .divider {
    background-color: var(--stroke-sec);
}

.stories-button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    width: 100%;
    color: var(--foregroung-grey-900);
    text-transform: uppercase;
}

.stories-button:hover {
    color: var(--text-sec);
}

.stories-bar-item:focus-visible,
.stories-button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

/* Заливка полосы — она же таймер автолистания, так что без движения листаем
   только вручную. Сегменты остаются кликабельными. */
@media (prefers-reduced-motion: reduce) {
    .stories-bar-item[isActive] .stories-bar-fill {
        animation: none;
        transform: scaleX(1);
    }

    .stories-slide[data-stories-enter],
    .stories-slide[data-stories-leave] {
        animation: none;
    }
}

@media (min-width: 768px) {
    .stories {
        width: 264px;
        max-width: 264px;
        height: 264px;
        min-height: 264px;
        border-radius: var(--radius-4xl);
    }
}

@media (min-width: 1200px) {
    .stories {
        width: 292px;
        max-width: 292px;
        height: 292px;
        max-height: 292px;
    }

    .stories-content {
        --stories-content-lines: 6;
        max-height: 110px;
    }
}

@media (min-width: 1920px) {
    .stories-content {
        --stories-content-lines: 5;
        max-height: initial;
    }
}

/* End */


/* Start:/local/templates/main/components/bitrix/catalog.section.list/home-exhibits/style.css?179207581117697*/
.home-exhibits {
    --home-exhibits-motion-duration: var(--default-duration);
    --home-exhibits-motion-easing: var(--default-timing-standard);
    --home-exhibits-slide-size: 300px;
    --home-exhibits-counter-size: 48px;
    --home-exhibits-button-height: 52px;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-content-gap-md);
    padding: calc(var(--header-height) + var(--spacing-content-padding-sm)) var(--spacing-content-padding-grid-1) var(--spacing-content-padding-sm);
    background: var(--background-pr);
    color: var(--text-pr);
}

.home-exhibits__content { display: contents; }
.home-exhibits__intro { order: 1; padding: var(--spacing-content-padding-grid-1); }
.home-exhibits__visual { order: 2; min-width: 0; }
.home-exhibits__details { order: 3; }

.home-exhibits__label {
    padding-bottom: var(--spacing-content-gap-xs);
    font-family: var(--typography-subheadline-subheadline-3-acc-font-family);
    font-size: var(--typography-subheadline-subheadline-3-acc-font-size);
    line-height: var(--typography-subheadline-subheadline-3-acc-line-height);
    letter-spacing: var(--typography-subheadline-subheadline-3-acc-letter-spacing);
    font-weight: 700;
    font-variation-settings: var(--rf-w25);
    text-transform: uppercase;
}

.home-exhibits__intro-content :is(h1, h2, h3) {
    margin: 0 0 var(--spacing-content-gap-lg);
    font-family: var(--typography-subheadline-subheadline-1-font-family);
    font-size: var(--typography-subheadline-subheadline-1-font-size);
    line-height: var(--typography-subheadline-subheadline-1-line-height);
    letter-spacing: var(--typography-subheadline-subheadline-1-letter-spacing);
    font-weight: 700;
    font-variation-settings: var(--rf-w25);
    text-transform: uppercase;
}

.home-exhibits__intro-content p {
    margin: 0;
    font-family: var(--typography-body-body-1-font-family);
    font-size: var(--typography-body-body-1-font-size);
    line-height: var(--typography-body-body-1-line-height);
    letter-spacing: var(--typography-body-body-1-letter-spacing);
    font-weight: 400;
    font-variation-settings: var(--rf-w50);
}
.home-exhibits__intro-content p b {
    display: block;
    font-family: var(--typography-subheadline-subheadline-3-acc-font-family);
    font-size: var(--typography-subheadline-subheadline-3-acc-font-size);
    line-height: var(--typography-subheadline-subheadline-3-acc-line-height);
    letter-spacing: var(--typography-subheadline-subheadline-3-acc-letter-spacing);
    font-weight: 700;
    font-variation-settings: var(--rf-w25);
    text-transform: uppercase;
}
.home-exhibits__intro-content p + p { margin-top: var(--spacing-content-gap-md); }
.home-exhibits__intro-content p:nth-of-type(n + 3) { display: none; }
.home-exhibits__intro.is-expanded .home-exhibits__intro-content p:nth-of-type(n + 3) { display: block; }
.home-exhibits__more {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-top: var(--spacing-content-gap-xs);
    padding: 0;
    color: var(--background-orange-red-600);
    font-family: var(--typography-body-body-1-acc-font-family);
    font-size: var(--typography-body-body-1-acc-font-size);
    line-height: var(--typography-body-body-1-acc-line-height);
    letter-spacing: var(--typography-body-body-1-acc-letter-spacing);
    font-weight: 400;
    font-variation-settings: "wdth" 100, "GRAD" 0;
}
.home-exhibits__stage .swiper-wrapper { transition-timing-function: var(--home-exhibits-motion-easing); }
.home-exhibits__stage.swiper { width: 100%; padding: 0; overflow: visible; }
.home-exhibits__slide {
    width: var(--home-exhibits-slide-size);
    height: var(--home-exhibits-slide-size);
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius-7xl);
    background: var(--background-sec);
    transform-origin: center;
    transition: transform var(--home-exhibits-motion-duration) var(--home-exhibits-motion-easing);
}
.home-exhibits__image { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-exhibits__thumbs, .home-exhibits__controls { display: none; }
.home-exhibits__details { display: grid; justify-items: center; text-align: center; width: 100%; min-width: 0; }
.home-exhibits__counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: var(--home-exhibits-counter-size);
    height: 32px;
    gap: var(--spacing-content-gap-min);
    overflow: hidden;
    border: var(--stroke-width-s) solid var(--stroke-pr);
    border-radius: var(--radius-xl);
    font-family: var(--typography-additional-add-2-font-family);
    font-size: var(--typography-additional-add-2-font-size);
    line-height: var(--typography-additional-add-2-line-height);
    font-weight: var(--typography-additional-add-2-font-width);
}
.home-exhibits__counter [data-home-exhibits-current] {
    display: flex;
    align-items: center;
    align-self: stretch;
    overflow: hidden;
}

.home-exhibits__counter [data-home-exhibits-current]:has(.home-exhibits__counter-track) {
    align-items: flex-start;
}

.home-exhibits__counter-track {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    height: 200%;
    transition: transform var(--home-exhibits-motion-duration) var(--home-exhibits-motion-easing);
}

.home-exhibits__counter-track span {
    display: flex;
    align-items: center;
    flex: 1 0 0;
    min-height: 0;
}

.home-exhibits__counter [data-home-exhibits-current].is-shift .home-exhibits__counter-track {
    transform: translate3d(0, -50%, 0);
}

@media (prefers-reduced-motion: reduce) {
    .home-exhibits__counter-track {
        transition: none;
    }
}


.home-exhibits__description {
    --home-exhibits-title-gap: var(--spacing-content-gap-sm);
    --home-exhibits-text-lines: 3;
    --home-exhibits-text-height: 54px;
    --home-exhibits-copy-height: calc(var(--typography-title-title-1-line-height) + var(--home-exhibits-title-gap) + var(--home-exhibits-text-height));
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-component-gap-xl);
    width: 100%;
    min-width: 0;
    padding: var(--spacing-content-gap-lg) var(--spacing-content-gap-grid-1) var(--spacing-content-padding-xl);
}
.home-exhibits__description-frame {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transform: translateZ(0);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: var(--home-exhibits-copy-height);
    min-height: var(--home-exhibits-copy-height);
}

.home-exhibits__description-frame:not(.is-ready) .home-exhibits__description-slide {
    transition: none;
}

.home-exhibits__description-slide {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    visibility: hidden;
    pointer-events: none;
    background: var(--background-pr);
    transform: translate3d(0, 100%, 0);
    transition: transform var(--home-exhibits-motion-duration) var(--home-exhibits-motion-easing);
}

.home-exhibits__description-slide.is-active {
    position: relative;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
    z-index: 1;
}

.home-exhibits__description-slide.is-leave,
.home-exhibits__description-slide.is-enter {
    position: absolute;
    visibility: visible;
    pointer-events: none;
}

.home-exhibits__description-slide.is-leave {
    z-index: 2;
    transform: translate3d(0, -100%, 0);
}

.home-exhibits__description-slide.is-leave.is-back {
    transform: translate3d(0, 100%, 0);
}

.home-exhibits__description-slide.is-enter {
    z-index: 1;
    transform: translate3d(0, 100%, 0);
}

.home-exhibits__description-slide.is-enter.is-back {
    transform: translate3d(0, -100%, 0);
}

.home-exhibits__description-slide.is-enter.is-in,
.home-exhibits__description-slide.is-enter.is-back.is-in {
    transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
    .home-exhibits__description-slide {
        transition: none;
    }
}


.home-exhibits__title {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin: 0 0 var(--home-exhibits-title-gap);
    font-family: var(--typography-title-title-1-font-family);
    font-size: var(--typography-title-title-1-font-size);
    line-height: var(--typography-title-title-1-line-height);
    letter-spacing: var(--typography-title-title-1-letter-spacing);
    font-weight: 700;
    font-variation-settings: var(--rf-w25);
    text-transform: uppercase;
    color: var(--text-pr);
}
.home-exhibits__text {
    overflow: hidden;
    height: var(--home-exhibits-text-height);
    margin: 0;
    font-family: var(--typography-body-body-2-font-family);
    font-size: var(--typography-body-body-2-font-size);
    line-height: var(--typography-body-body-2-line-height);
    letter-spacing: var(--typography-body-body-2-letter-spacing);
    font-weight: 400;
    font-variation-settings: var(--rf-w50);
    color: var(--text-pr);
}
.home-exhibits__text span {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: var(--home-exhibits-text-lines);
    line-clamp: var(--home-exhibits-text-lines);
}
.home-exhibits__all { width: max-content; height: var(--home-exhibits-button-height); padding-block: var(--spacing-component-padding-y-none); font-weight: 700; }

@media (min-width: 768px) {
    .home-exhibits { padding-top: calc(var(--header-height) + var(--spacing-content-padding-lg)); padding-bottom: var(--spacing-content-padding-lg); }
    .home-exhibits__description-frame { max-width: 358px; }
}

@media (min-width: 1024px) {
    .home-exhibits {
        --home-exhibits-preferred-slide-size: calc((100vw - 1024px) * .5056818182 + 378px);
        --home-exhibits-column-height: 595px;
        --home-exhibits-header-offset: 0px;
        --home-exhibits-available-height: calc(100dvh - var(--header-height) - var(--home-exhibits-header-offset) - 2 * var(--spacing-content-padding-lg));
        --home-exhibits-slide-size: min(var(--home-exhibits-preferred-slide-size), var(--home-exhibits-available-height));
        padding-top: calc(var(--header-height) + var(--home-exhibits-header-offset) + var(--spacing-content-padding-lg));
        flex-direction: row;
        align-items: stretch;
        gap: var(--spacing-content-gap-xxxl-2);
    }
    .home-exhibits__visual {
        display: flex;
        flex: 0 0 calc(var(--home-exhibits-slide-size) + var(--spacing-component-gap-xl) + 64px + var(--spacing-content-gap-md) + var(--stroke-width-s));
        align-items: flex-start;
        gap: var(--spacing-component-gap-xl);
        min-height: 0;
        height: var(--home-exhibits-available-height);
        padding-right: var(--spacing-content-gap-md);
        border-right: var(--stroke-width-s) solid var(--stroke-pr);
        order: 0;
    }
    .home-exhibits__stage.swiper { flex: 0 0 var(--home-exhibits-slide-size); width: var(--home-exhibits-slide-size); height: var(--home-exhibits-slide-size); overflow: hidden; border-radius: var(--radius-7xl); isolation: isolate; }
    .home-exhibits__stage .swiper-wrapper, .home-exhibits__slide { width: 100%; height: 100%; }
    .home-exhibits__slide { border-radius: var(--radius-none); }
    .home-exhibits__thumbs { position: relative; display: flex; flex: 0 0 64px; flex-direction: column; gap: var(--spacing-content-gap-sm); height: 100%; max-height: 100%; min-height: 0; overflow-y: auto; scrollbar-width: none; }
    .home-exhibits__thumbs::-webkit-scrollbar { display: none; }
    .home-exhibits__thumb { position: relative; flex: 0 0 64px; width: 64px; height: 64px; padding: 0; overflow: hidden; border: none; border-radius: var(--radius-xl); background: var(--background-sec); }
    .home-exhibits__thumb-frame {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
        box-sizing: border-box;
        border: var(--stroke-width-s) solid var(--stroke-acc);
        border-radius: var(--radius-xl);
        pointer-events: none;
        transition: transform var(--home-exhibits-motion-duration) var(--home-exhibits-motion-easing);
    }
    .home-exhibits__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
    .home-exhibits__content { display: flex; flex: 1 1 0; flex-direction: column; gap: var(--spacing-content-gap-lg); min-width: 0; min-height: 0; padding: var(--spacing-content-padding-grid-1); }
    .home-exhibits__intro { padding: 0; order: 0; }
    .home-exhibits__details { min-height: 0; flex: 1; grid-template-columns: var(--home-exhibits-button-height) minmax(0, 1fr); column-gap: var(--spacing-content-gap-add-1); padding-top: var(--spacing-content-gap-lg); border-top: var(--stroke-width-s) solid var(--stroke-pr); text-align: left; align-items: stretch; justify-items: stretch; order: 0; }
    .home-exhibits__nav { justify-self: stretch; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; }
    .home-exhibits__controls { display: flex; flex-direction: column; gap: var(--spacing-content-gap-min); }
    .home-exhibits .home-exhibits__arrow { display: flex; align-items: center; justify-content: center; width: var(--home-exhibits-button-height); height: var(--home-exhibits-button-height); padding: var(--spacing-component-padding-btn-button-icon-l); }
    .home-exhibits__counter { height: var(--home-exhibits-counter-size); }
    .home-exhibits__description { --home-exhibits-title-gap: var(--spacing-content-gap-md); --home-exhibits-text-lines: 4; --home-exhibits-text-height: 72px; align-items: flex-start; justify-content: space-between; gap: var(--spacing-content-gap-xxl); padding: 0; text-align: left; }
    .home-exhibits__description-frame { max-width: 100%; flex: 0 0 var(--home-exhibits-copy-height); height: var(--home-exhibits-copy-height); }
}
@media (min-width: 1200px) {
    .home-exhibits { --home-exhibits-preferred-slide-size: calc((100vw - 1200px) * .4404761905 + 467px); --home-exhibits-column-height: 642px; --home-exhibits-button-height: 56px; }
    .home-exhibits__intro-content p:nth-of-type(n + 3) { display: block; margin-top: var(--typography-body-body-1-paragraph-spacing); }
    .home-exhibits__more { display: none; }
    .home-exhibits__description { --home-exhibits-text-height: 54px; --home-exhibits-text-lines: 3; }
    .home-exhibits__details { grid-template-columns: 52px minmax(0, 1fr); }
    .home-exhibits .home-exhibits__arrow { width: 52px; height: 52px; }
}
@media (min-width: 1536px) {
    .home-exhibits { --home-exhibits-preferred-slide-size: calc((100vw - 1536px) * .4791666667 + 615px); --home-exhibits-column-height: 686px; --home-exhibits-counter-size: 56px; }
    .home-exhibits__details { grid-template-columns: 56px minmax(0, 1fr); }
    .home-exhibits .home-exhibits__arrow { width: 56px; height: 56px; }
    .home-exhibits__description { --home-exhibits-text-height: 36px; --home-exhibits-text-lines: 2; }
    .home-exhibits__description-frame { max-width: 400px; }
}
@media (min-width: 1920px) {
    .home-exhibits { --home-exhibits-column-height: var(--home-exhibits-slide-size); }
    .home-exhibits__description { --home-exhibits-text-height: 66px; --home-exhibits-text-lines: 3; }
}


.home-exhibits--figma { --home-exhibits-motion-duration: 850ms; --home-exhibits-motion-easing: cubic-bezier(0.4, 0, 0.2, 1); padding-top: calc(var(--header-height) + 2px + var(--spacing-content-padding-sm)); }
.home-exhibits--figma .home-exhibits__text { line-height: 18px; }
.home-exhibits--figma .home-exhibits__all { min-width: 125px; }
@media (min-width: 768px) {
    .home-exhibits--figma { padding-top: calc(var(--header-height) + 2px + var(--spacing-content-padding-lg)); }
    .home-exhibits--figma .home-exhibits__all { padding-inline: 20px; min-width: 133px; }
}
@media (min-width: 1024px) {
    .home-exhibits--figma { --home-exhibits-header-offset: 2px; padding-top: calc(var(--header-height) + var(--home-exhibits-header-offset) + var(--spacing-content-padding-lg)); }
    .home-exhibits--figma .home-exhibits__thumbs { gap: 16px; }
}
@media (min-width: 1200px) {
    .home-exhibits--figma { --home-exhibits-header-offset: -2px; }
    .home-exhibits--figma .home-exhibits__details { column-gap: 112px; }
    .home-exhibits--figma .home-exhibits__all { min-width: 148px; font-size: 14px; line-height: 14px; }
}
@media (min-width: 1536px) {
    .home-exhibits--figma { --home-exhibits-header-offset: 2px; }
    .home-exhibits--figma .home-exhibits__details { column-gap: var(--spacing-content-gap-add-1); }
}
@media (min-width: 1920px) {
    .home-exhibits--figma .home-exhibits__text { line-height: 22px; }
}

@media (min-width: 1024px) {
    .home-exhibits__description { --home-exhibits-description-step: calc(100% + var(--default-shift)); }
    .home-exhibits__description-slide,
    .home-exhibits__description-slide.is-enter,
    .home-exhibits__description-slide.is-leave.is-back { transform: translate3d(0, var(--home-exhibits-description-step), 0); }
    .home-exhibits__description-slide.is-leave,
    .home-exhibits__description-slide.is-enter.is-back { transform: translate3d(0, calc(-1 * var(--home-exhibits-description-step)), 0); }
    .home-exhibits__description-slide.is-active,
    .home-exhibits__description-slide.is-enter.is-in { transform: translate3d(0, 0, 0); }
}

/* The same prototype specifies 300ms / ease-out for the accent button hover. */
.home-exhibits--figma .home-exhibits__all { transition-duration: var(--short-duration); transition-timing-function: ease-out; }

@media (prefers-reduced-motion: reduce) {
    .home-exhibits__thumb-frame { transition: none; }
}

/* End */


/* Start:/local/templates/main/components/bitrix/catalog.sections.top/digital-collection/style.css?179241702612567*/
.main-digital-collection {
    padding-top: var(--header-height);
    background-color: var(--background-light-grey-200);
}

.main-digital-collection__inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
    gap: var(--spacing-content-padding-md);
    padding: var(--spacing-content-padding-lg) 0;
}

.main-digital-collection__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-content-gap-lg);
    padding: 0 var(--spacing-content-padding-grid-2);
}

@media (max-width: 439px) {
    .main-digital-collection__head .tabs--size-1 .tabs-list {
        flex-wrap: nowrap;
        gap: 4px;
    }

    .main-digital-collection__head .tabs--size-1 .tabs-tab {
        font-size: 16px;
        padding-inline: 4px;
        white-space: nowrap;
    }
}

/* Основная часть */

.main-digital-collection__main {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-content-gap-lg);
}

/* Карусель */

/*
 * Все панели лежат в одной ячейке грида и сдвинуты по вертикали на свой номер
 * относительно активной, а окно их обрезает: при переключении таба соседний список
 * заезжает сверху или снизу — смотря в какую сторону по вкладкам мы идём.
 */
.main-digital-collection__panels {
    display: grid;
    /* Колонка шириной ровно в блок: иначе панель растянется по ширине всех карточек. */
    grid-template-columns: minmax(0, 1fr);
    overflow: hidden;
}

.main-digital-collection__panel {
    grid-area: 1 / 1;
    min-width: 0;
    transform: translateY(calc((var(--dc-panel-index, 0) - var(--dc-active-panel, 0)) * 100%));
    transition: transform var(--page-fade-duration-fast) var(--default-timing-standard);
}

.main-digital-collection__stage {
    position: relative;
    overflow: visible;
}

.main-digital-collection__stage .swiper-wrapper {
    align-items: stretch;
}

/*
 * Ширину активного слайда меняем без transition: Swiper кеширует размеры
 * слайдов, и анимация ширины рассинхронизировала бы его позиционирование.
 * Плавность даёт собственный transform Swiper при перецентровке.
 */
.main-digital-collection__slide {
    display: flex;
    justify-content: center;
    width: 320px;
    height: auto;
}

.main-digital-collection__card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    border-radius: var(--radius-4xl);
    overflow: hidden;
    background-color: var(--background-quat);
}

.main-digital-collection__card-link {
    display: none;
}

.main-digital-collection__card-content {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 580px;
    border-radius: var(--radius-4xl);
    background-color: var(--background-pr);
    padding: var(--spacing-component-padding-y-md) var(--spacing-component-padding-x-md);
}

.main-digital-collection__card-switch {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: var(--spacing-component-gap-md) 0;
    font-weight: 300;
    cursor: pointer;
}

.main-digital-collection__card-switch-content {
    display: flex;
    flex-direction: column;
    height: 14px;
    overflow: hidden;
}

.main-digital-collection__card-switch-open,
.main-digital-collection__card-switch-close {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    height: 14px;
    transition: transform var(--page-fade-duration-fast) var(--default-timing-standard);
}

.main-digital-collection__card-full .main-digital-collection__card-switch-open,
.main-digital-collection__card-full .main-digital-collection__card-switch-close {
    transform: translateY(-14px);
}

.main-digital-collection__poster {
    position: relative;
    overflow: hidden;
    flex: none;
    width: 100%;
    height: 436px;
    border-radius: var(--radius-xl);
    margin: 0 auto;
    background-color: var(--background-light-grey-300);
    transition: var(--page-fade-duration-fast) var(--default-timing-standard);
}

.main-digital-collection__card-full .main-digital-collection__poster {
    width: 120px;
    height: 177px;
    border-radius: var(--radius-md);
}

.main-digital-collection__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-digital-collection__body {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-component-gap-md);
    min-height: 0;
    padding: var(--spacing-component-padding-y-sm) var(--spacing-component-padding-x-sm);
    text-align: center;
}

.main-digital-collection__body-top {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-component-gap-sm);
}

.main-digital-collection__body-header {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 72px;
}

.main-digital-collection__body-header h3 {
    max-height: 100%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.main-digital-collection__body-bottom {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-component-gap-md);
    min-height: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--page-fade-duration-fast) var(--default-timing-standard);
}

.main-digital-collection__card-full .main-digital-collection__body-bottom {
    max-height: 100%;
}

/*
 * Лишний текст обрезается многоточием. Число строк задаётся переменной, а высота
 * блока ограничена ровно этими строками, иначе в остаток высоты вылезает обрезанная
 * строка после многоточия.
 */

.main-digital-collection__description {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-component-gap-md);
}

.main-digital-collection__description > span {
    --description-lines: 10;

    flex: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: var(--description-lines);
    max-height: calc(var(--description-lines) * 1lh);
    overflow: hidden;
}

.main-digital-collection__more {
    margin-top: auto;
    display: flex;
    justify-content: center;
}

.main-digital-collection__footer {
    display: flex;
    justify-content: center;
}

.main-digital-collection__footer .button {
    font-weight: 700;
}

.main-digital-collection__stage .main-digital-collection__arrow {
    display: none;
}

/* Пока скрипт настраивает слайдер, анимации не нужны. */
.main-digital-collection__stage.is-init * {
    transition: none !important;
}

@media (min-width: 1024px) {
    .main-digital-collection__head {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    /* Ширину карточке задаёт её содержимое, слайд её только обворачивает. */
    .main-digital-collection__slide {
        width: auto;
    }

    .main-digital-collection__card {
        width: auto;
        max-width: initial;
        background-color: var(--background-ter);
        border: 1px solid var(--stroke-ter);
        transition: var(--page-fade-duration-fast) var(--default-timing-standard);
    }

    .swiper-slide-active .main-digital-collection__card {
        background-color: var(--background-pr);
        border-color: var(--background-pr);
    }

    /*
     * Высота содержимого задана, ширина считается от неё: у свёрнутой карточки это
     * ширина постера (242:357), у активной — 16:9. Оба значения конкретные, поэтому
     * переход между ними анимируется.
     */
    .main-digital-collection__card-content {
        --card-content-height: 348px;

        flex-direction: row;
        height: calc(var(--card-content-height) + var(--spacing-component-padding-y-md) * 2);
        width: calc(
            var(--card-content-height) * 242 / 357 + var(--spacing-component-padding-x-md) * 2
        );
        background-color: transparent;
        transition: width var(--page-fade-duration-fast) var(--default-timing-standard);
    }

    .main-digital-collection__slide.is-active .main-digital-collection__card-content {
        width: calc(
            var(--card-content-height) * 16 / 9 + var(--spacing-component-padding-x-md) * 2
        );
    }

    .main-digital-collection__poster,
    .main-digital-collection__card-full .main-digital-collection__poster {
        width: auto;
        height: 100%;
        aspect-ratio: 242 / 357;
        border-radius: var(--radius-2xl);
        margin: initial;
    }

    .main-digital-collection__card-switch {
        display: none;
    }

    /*
     * Ширина текста фиксирована — остаток от 16:9 после постера. При сжатии карточки
     * он не переверстывается, а уходит за её край.
     */
    .main-digital-collection__body {
        display: grid;
        grid-template-rows: 1fr 1fr 19px;
        flex: none;
        width: calc(
            var(--card-content-height) * 16 / 9
            - var(--card-content-height) * 242 / 357
            - var(--spacing-component-gap-sm)
        );
        padding: var(--spacing-component-padding-y-sm) var(--spacing-component-padding-x-sm);
        margin-left: var(--spacing-component-gap-md);
        text-align: left;
    }

    .main-digital-collection__body-header {
        height: auto;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .main-digital-collection__description > span {
        --description-lines: 6;
    }

    /* Переключателя здесь нет, поэтому описание показано всегда. */
    .main-digital-collection__body-bottom {
        display: contents;
        max-height: 100%;
    }

    .main-digital-collection__more {
        margin: 0;
        justify-content: flex-start;
    }
}

@media (min-width: 1200px) {
    .main-digital-collection__card-link {
        position: absolute;
        inset: 0;
        z-index: 1;
        display: block;
        border-radius: inherit;
    }

    .main-digital-collection__card-link:focus-visible {
        outline: 2px solid currentColor;
        outline-offset: -2px;
    }

    .main-digital-collection__more {
        display: none;
    }

    .main-digital-collection__card-content {
        --card-content-height: 396px;
    }

    .main-digital-collection__description > span {
        --description-lines: 8;
    }

    .main-digital-collection__stage .main-digital-collection__arrow {
        display: flex;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: var(--size-component-btn-l-height);
        height: var(--size-component-btn-l-height);
        box-shadow: var(--effects-shadow-default-x) var(--effects-shadow-default-y)
            var(--effects-shadow-default-blur) var(--effects-shadow-default-spread)
            var(--effects-shadow-default-color);
        z-index: 2;
        transition: var(--page-fade-duration-fast) var(--default-timing-standard);
    }

    .main-digital-collection__arrow[disabled] {
        opacity: 0;
        pointer-events: none;
    }

    .main-digital-collection__arrow--prev {
        left: 12px;
    }

    .main-digital-collection__arrow--next {
        right: 12px;
    }
}

@media (min-width: 1536px) {
    .main-digital-collection__card-content {
        --card-content-height: 418px;
    }

    .main-digital-collection__body-header h3 {
        -webkit-line-clamp: 4;
    }

    .main-digital-collection__description > span {
        --description-lines: 9;
    }

    .main-digital-collection__arrow--prev {
        left: 20px;
    }

    .main-digital-collection__arrow--next {
        right: 20px;
    }
}

 @media (min-width: 1920px) {
    .main-digital-collection__card-content {
        --card-content-height: 468px;
    }
}

/* End */


/* Start:/local/templates/main/components/bitrix/catalog.sections.top/archive-materials/style.css?179198193713311*/
.archive-showcase {
    --archive-card-width: 324px;
    --archive-card-height: 336px;
    --archive-card-media-width: 316px;
    --archive-card-media-height: 248px;
    --archive-showcase-padding-top: 20px;

    position: relative;
    overflow: hidden;
    padding: calc(var(--header-height, 0px) + var(--archive-showcase-padding-top)) 0 72px;
    background: var(--background-pr);
    color: var(--text-pr);
}

.archive-showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 4;
    background: rgba(0, 0, 0, .64);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
}

.archive-showcase.is-dropdown-open::before {
    opacity: 1;
    pointer-events: auto;
}

/* Шапка находится вне stacking context секции: затемняем её тем же слоем. */
body:has(.archive-showcase) :is(.header, .header-topbar)::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 100;
    background: rgba(0, 0, 0, .64);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
}

body:has(.archive-showcase.is-dropdown-open) :is(.header, .header-topbar)::before {
    opacity: 1;
    pointer-events: auto;
}

.archive-showcase__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 32px;
    width: 100%;
    margin: 0 auto;
    padding: 0 clamp(20px, 4.2vw, 48px);
}

.archive-showcase__title {
    margin: 0;
    font-family: var(--typography-subheadline-subheadline-1-font-family), sans-serif;
    font-size: var(--typography-subheadline-subheadline-1-font-size);
    line-height: var(--typography-subheadline-subheadline-1-line-height);
    font-weight: 700;
    letter-spacing: var(--typography-subheadline-subheadline-1-letter-spacing);
    text-transform: uppercase;
    color: var(--text-pr);
    font-variation-settings: var(--rf-w25);
}

.archive-showcase__dropdown {
    position: relative;
    grid-column: 2;
    justify-self: center;
    z-index: 6;
    width: 320px;
    max-width: 100%;
}

.archive-showcase__filter {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    align-items: center;
    width: 100%;
    min-height: 44px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--text-pr);
    text-align: left;
    cursor: pointer;
}

.archive-showcase__filter-value {
    padding: 0 12px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    min-height: 44px;
    overflow: hidden;
    border-radius: 12px;
    background: var(--background-sec);
}

.archive-showcase__filter-name,
.archive-showcase__filter-count {
    font-family: var(--typography-caption-caption-1-acc-font-family);
    font-size: var(--typography-caption-caption-1-acc-font-size);
    font-weight: 500;
    line-height: var(--typography-caption-caption-1-acc-line-height);

}

.archive-showcase__filter-name {
    color: var(--text-pr);
}

.archive-showcase__filter-count {
    color: var(--text-sec);
}

.archive-showcase__filter-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-height: 44px;
    margin-left: 4px;
    border-radius: 12px;
    background: var(--background-component-action-1-acc-def);
    color: var(--text-inver);
    transition: background 450ms ease, transform 450ms ease;
}

.archive-showcase__filter-arrow svg {
    transition: transform 450ms ease;
}

.archive-showcase__dropdown.is-open .archive-showcase__filter-arrow {
    transform: rotate(180deg);
}

.archive-showcase__dropdown.is-open .archive-showcase__filter-value {
    border-radius: 12px 12px 0 0;
}

.archive-showcase__filter:hover .archive-showcase__filter-arrow,
.archive-showcase__filter:focus-visible .archive-showcase__filter-arrow {
    background: var(--background-component-action-1-acc-hover);
}

.archive-showcase__filter:active .archive-showcase__filter-arrow {
    background: var(--background-component-action-1-acc-pressed);
}

.archive-showcase__dropdown.is-open .archive-showcase__filter-arrow {
    background: var(--background-component-action-1-acc-def);
}

.archive-showcase__filter:focus-visible {
    outline: 2px solid var(--background-component-action-1-acc-def);
    outline-offset: 3px;
}

.archive-showcase__options {
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    width: 272px;
    max-width: calc(100% - 48px);
    max-height: min(58vh, 560px);
    overflow: auto;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.archive-showcase__options[hidden] {
    display: none;
}

.archive-showcase__options:not([hidden]) {
    animation: archive-options-appear 500ms var(--default-timing-standard) both;
}

@keyframes archive-options-appear {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.archive-showcase__option {
    --archive-option-duration: 600ms;
    --archive-option-easing: var(--default-timing-standard);
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    width: 100%;
    min-height: 44px;
    padding: 0 16px;
    border: 0;
    border-bottom: 1px solid rgba(135, 145, 145, .16);
    background-color: var(--background-sec);
    background-image: linear-gradient(var(--background-component-action-2-sec-hover), var(--background-component-action-2-sec-hover));
    background-size: 0% 100%;
    background-position: left center;
    background-repeat: no-repeat;
    color: var(--text-pr);
    font-family: var(--typography-body-body-1-font-family);
    font-size: 16px;
    line-height: 1.12;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: background-size var(--archive-option-duration) var(--archive-option-easing),
        color var(--archive-option-duration) var(--archive-option-easing);
}

.archive-showcase__option span {
    transition: color var(--archive-option-duration) var(--archive-option-easing);
}

.archive-showcase__option:last-child,
.archive-showcase__option:nth-last-child(2):has(+ .archive-showcase__option.is-active) {
    border-bottom: 0;
    border-radius: 0 0 12px 12px;
}

/* Выбранный фонд уже показан в триггере. */
.archive-showcase__option.is-active {
    display: none;
}

.archive-showcase__option span:first-child {
    color: var(--text-pr);
    overflow-wrap: anywhere;
}

.archive-showcase__option span:last-child {
    color: var(--text-ter);
}

.archive-showcase__option:hover,
.archive-showcase__option:focus-visible {
    color: var(--text-inver);
}

.archive-showcase__option:hover,
.archive-showcase__option:focus-visible {
    background-size: 100% 100%;
}

.archive-showcase__option:active {
    background-image: linear-gradient(var(--background-component-action-2-sec-pres), var(--background-component-action-2-sec-pres));
}

.archive-showcase__option:active {
    color: var(--text-inver);
}

.archive-showcase__option:hover span,
.archive-showcase__option:focus-visible span,
.archive-showcase__option:active span {
    color: var(--text-inver);
}

.archive-showcase__option:focus-visible {
    outline: none;
}

@media (prefers-reduced-motion: reduce) {
    .archive-showcase__option {
        --archive-option-duration: 0ms;
    }

    .archive-showcase__options:not([hidden]) {
        animation: none;
    }

    .archive-showcase__filter-arrow,
    .archive-showcase__filter-arrow svg {
        transition: none;
    }
}

.archive-showcase__viewport {
    overflow: visible;
    margin-top: 32px;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
}

.archive-showcase__track {
    display: flex;
    align-items: stretch;
    gap: 12px;
    will-change: transform;
    transition: transform 680ms cubic-bezier(.55, .06, .2, .98);
}

.archive-showcase__track.is-instant {
    transition: none;
}

.archive-showcase__viewport.is-dragging {
    cursor: grabbing;
}

.archive-card {
    display: grid;
    grid-template-rows: var(--archive-card-media-height) 1fr;
    flex: 0 0 var(--archive-card-width);
    width: var(--archive-card-width);
    height: var(--archive-card-height);
    overflow: hidden;
    border-radius: var(--radius-3xl);
    background: var(--background-sec);
    color: inherit;
    text-decoration: none;
    -webkit-user-drag: none;
    opacity: 1;
}

.archive-card__media {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    width: var(--archive-card-media-width);
    height: var(--archive-card-media-height);
    margin-top: 4px;
    padding: 32px;
    border-radius: var(--radius-2xl);
    background: #ffffff;
}

.archive-card__image {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    border-radius: 12px;
    object-fit: contain;
}

.archive-card__title {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px 4px;
    font-family: var(--typography-title-title-3-font-family);
    font-size: var(--typography-title-title-3-font-size);
    line-height: var(--typography-title-title-3-line-height);
    font-weight: 700;
    letter-spacing: var(--typography-title-title-3-letter-spacing);
    text-align: center;
    text-transform: uppercase;
    font-variation-settings: var(--rf-w25);
}

.archive-showcase__details-frame {
    position: relative;
    width: 324px;
    height: 185px;
    margin: 12px auto 0;
    overflow: hidden;
}

.archive-showcase__details {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    box-sizing: border-box;
    margin: 0;
    padding: 12px;
    overflow: hidden;
    border-radius: var(--radius-3xl);
    background: var(--background-sec);
    opacity: 0;
    pointer-events: none;
    transform: translateY(100%);
    transition: transform 680ms cubic-bezier(.55, .06, .2, .98);
    will-change: transform;
}

.archive-showcase__details.is-active {
    z-index: 1;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.archive-showcase__details.is-leaving {
    z-index: 2;
    opacity: 1;
    transform: translateY(-100%);
}

.archive-showcase__detail-cell {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    gap: var(--spacing-component-gap-min);
    text-align: center;
}

.archive-showcase__detail-cell-left {
    padding-right: 4px;
    border-right: 1px solid var(--stroke-sec);
}

.archive-showcase__detail-cell-right {
    padding-left: 4px;
}

.archive-showcase__detail-cell-top {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--stroke-sec);
}

.archive-showcase__detail-cell-button {
    padding-top: 16px;
}

.archive-showcase__detail-label {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    flex-shrink: 0;
    font-family: var(--typography-caption-caption-1-acc-font-family);
    font-size: var(--typography-caption-caption-1-acc-font-size);
    line-height: var(--typography-caption-caption-1-acc-line-height);
    font-weight: 500;
    letter-spacing: var(--typography-caption-caption-1-acc-letter-spacing);
    color: var(--text-sec);
    font-variation-settings: var(--rf-w30-g20);
}

.archive-showcase__detail-value {
    min-width: 0;
    width: 100%;
    max-height: var(--typography-body-body-2-acc-line-height);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    flex-shrink: 0;
    font-family: var(--typography-body-body-2-acc-font-family);
    font-size: var(--typography-body-body-2-acc-font-size);
    line-height: var(--typography-body-body-2-acc-line-height);
    letter-spacing: var(--typography-body-body-2-acc-letter-spacing);
    color: var(--text-pr);
    font-variation-settings: var(--rf-w30-g20);
}

.archive-showcase__footer {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

.archive-showcase__all {
    width: 148px;
}

@media (max-width: 1024px) {
    .archive-showcase__top {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .archive-showcase__dropdown {
        grid-column: auto;
    }
}

@media (min-width: 768px) {
    .archive-showcase {
        --archive-showcase-padding-top: 24px;
    }
}

@media (min-width: 1200px) {
    .archive-showcase {
        --archive-showcase-padding-top: 18px;
    }
}

@media (min-width: 1536px) {
    .archive-showcase {
        --archive-showcase-padding-top: 34px;
    }
}

@media (min-width: 1920px) {
    .archive-showcase {
        --archive-showcase-padding-top: 82px;
    }
}

@media (max-width: 767px) {
    .archive-showcase__top {
        gap: 26px;
        padding: 0 20px;
    }

    .archive-showcase__track {
        gap: 14px;
    }
}

@media (max-width: 440px) {
    .archive-showcase {
        --archive-showcase-padding-top: 20px;
    }

    .archive-showcase__track {
        gap: 8px;
    }

}

/* End */
/* /local/components/rzd/main.preview/templates/.default/style.css?17921408576578 */
/* /local/components/rzd/cards.about/templates/.default/style.css?17919810971620 */
/* /local/components/rzd/tabs/templates/.default/style.css?17885200742982 */
/* /local/components/rzd/cards.link/templates/.default/style.css?17888786901016 */
/* /local/components/rzd/events.stories/templates/.default/style.css?17887929717199 */
/* /local/templates/main/components/bitrix/catalog.section.list/home-exhibits/style.css?179207581117697 */
/* /local/templates/main/components/bitrix/catalog.sections.top/digital-collection/style.css?179241702612567 */
/* /local/templates/main/components/bitrix/catalog.sections.top/archive-materials/style.css?179198193713311 */
