

/* Start:/local/components/custom/block.banner.img/templates/.default/style.css?17915414827191*/
.banner-block-wrapper {
    width: 100%;
}

/* ===== ОБЫЧНЫЙ БАННЕР ===== */
.banner-item {
    position: relative;
    width: 100%;
    min-height: 480px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Видеофон для обычного баннера */
.banner-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 1;
}

.banner-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    min-height: 480px;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    box-sizing: border-box;
}

/* Расположение элементов внутри обычного баннера */
.banner-overlay.banner-align-left {
    justify-content: flex-start;
}
.banner-overlay.banner-align-center {
    justify-content: center;
}
.banner-overlay.banner-align-right {
    justify-content: flex-end;
}

.banner-content {
    color: #ffffff;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}
.banner-align-left .banner-content {
    text-align: left;
    margin: 0;
}
.banner-align-center .banner-content {
    text-align: center;
    margin: 0 auto;
}
.banner-align-right .banner-content {
    text-align: right;
    margin: 0 0 0 auto;
}

.banner-title {
    font-size: 56px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 16px 0;
    line-height: 1.1;
    color: #ffffff;
}
.banner-description {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
    color: #ffffff;
    opacity: 0.95;
}

@media (max-width: 768px) {
    .banner-item, 
    .banner-overlay {
        min-height: 320px;
    }
    
    .banner-title {
        font-size: 32px;
        letter-spacing: 1px;
        margin-bottom: 10px;
    }
    .banner-description {
        font-size: 16px;
    }
}

/* ===== HEADER-БАННЕР (hero), TYPE_BANNER = header ===== */
.hero {
    position: relative;
    width: 100%;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    background-color: #1a1f2e;
    border-radius: 14px;
}

.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 1;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        90deg,
        rgba(14, 18, 28, 0.82) 0%,
        rgba(14, 18, 28, 0.60) 50%,
        rgba(14, 18, 28, 0.35) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 40px;
    padding-left: clamp(30px, 5vw, 80px);
}

.hero__title {
    color: #ffffff;
    font-size: clamp(32px, 4.5vw, 54px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
    max-width: 700px;
}
.banner-carousel__track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 16px;
    width: 100%;
    will-change: transform;
    transition: transform 0.75s cubic-bezier(0.25, 0.1, 0.25, 1);
    transform: translate3d(0, 0, 0);
}

.hero__description {
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(14px, 1.6vw, 17px);
    font-weight: 400;
    line-height: 1.55;
    max-width: 580px;
    margin-bottom: 8px;
}

.hero__price {
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(14px, 1.6vw, 17px);
    font-weight: 400;
    line-height: 1.55;
    max-width: 580px;
    margin-bottom: 30px;
}

.hero__price strong {
    font-weight: 600;
    color: #ffffff;
}

/* Выравнивание элементов в HEADER-баннере (hero) */

/* Слева */
.hero.hero--align-left {
    justify-content: flex-start;
}
.hero.hero--align-left .hero__content {
    text-align: left;
    margin: 0 auto;
}
.hero.hero--align-left .hero__title,
.hero.hero--align-left .hero__description,
.hero.hero--align-left .hero__price {
    margin-left: 0;
    margin-right: auto;
}

/* По центру */
.hero.hero--align-center {
    justify-content: center;
}
.hero.hero--align-center .hero__content {
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
}
.hero.hero--align-center .hero__title,
.hero.hero--align-center .hero__description,
.hero.hero--align-center .hero__price {
    margin-left: auto;
    margin-right: auto;
}

/* Справа */
.hero.hero--align-right {
    justify-content: flex-end;
}
.hero.hero--align-right .hero__content {
    text-align: right;
    margin: 0 auto;
}
.hero.hero--align-right .hero__title,
.hero.hero--align-right .hero__description,
.hero.hero--align-right .hero__price {
    margin-left: auto;
    margin-right: 0;
}

@media (max-width: 768px) {
    .hero { min-height: 440px; }
    .hero__content { padding: 40px 24px; }
    .hero__btn { padding: 14px 30px; font-size: 15px; }
}

@media (max-width: 480px) {
    .hero { min-height: 400px; }
    .hero__content { padding: 32px 16px; }
    .hero__overlay {
        background: linear-gradient(90deg, rgba(14, 18, 28, 0.88) 0%, rgba(14, 18, 28, 0.70) 100%);
    }
}

/* ===== КАРУСЕЛЬ (несколько элементов в разделе) ===== */
.banner-block-wrapper--carousel {
    position: relative;
}

.banner-carousel {
    position: relative;
    width: 100%;
    outline: none;
    user-select: none;
    -webkit-user-select: none;
}

.banner-carousel__viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
    cursor: grab;
}

.banner-carousel__viewport:active {
    cursor: grabbing;
}

.banner-carousel__track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    will-change: transform;
    transition: transform 0.75s cubic-bezier(0.25, 0.1, 0.25, 1);
    transform: translate3d(0, 0, 0);
}
.banner-carousel__slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Точки */
.banner-carousel__dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.banner-carousel__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    padding: 0;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.banner-carousel__dot:hover {
    background: rgba(255, 255, 255, 0.45);
}

.banner-carousel__dot.is-active {
    background: #ffffff;
    border-color: #ffffff;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .banner-carousel__dots {
        bottom: 14px;
        gap: 8px;
    }

    .banner-carousel__dot {
        width: 8px;
        height: 8px;
    }
}
/* End */


/* Start:/local/components/custom/block.audio.color.text/templates/.default/style.css?179154148220920*/
:root {
    --ref-bg: #fcfcfc;
    --ref-border: rgba(255, 255, 255, 0.25);
    --ref-accent: #1db3f4;
    --ref-radius: 16px;
    --glass-specular: rgba(255, 255, 255, 0.4);
}
.reference-container {
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}
/* Сетка карточек */
.reference-grid {
    display: grid;
    grid-template-columns: repeat(var(--cols-count, 3), minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}
/* Если во всём инфоблоке только 1 элемент — не растягиваем его на всю ширину
   грида (иначе карточка выходит слишком широкой/приплюснутой), а показываем
   одну карточку нормальной ширины по центру контейнера */
.reference-grid.reference-grid--single {
    grid-template-columns: minmax(0, 1fr) !important;
    max-width: clamp(280px, 33vw, 420px);
    margin: 0 auto;
}
.reference-grid.reference-grid--single .reference-column {
    width: 100%;
}
.reference-column {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
/* Если у карточки типа audio нет картинки */
.reference-card.reference-card--no-image {
    height: auto;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.reference-card.reference-card--no-image .reference-card__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    width: 100%;
}
/* Центрируем контент, когда кнопки нет */
.reference-card.reference-card--no-image .reference-card__body:not(:has(.reference-card__btn-wrap)) {
    justify-content: center;
    align-items: center;
}
/* Когда только картинка */
.reference-card--image-only .reference-card__body {
    display: none;
}
.reference-card__image-box--tall {
    aspect-ratio: 4 / 3;
}
/* Только текст */
.reference-card--text-only {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: auto;
    flex: 0 0 auto;
}
.reference-card--text-only .reference-card__body {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex-grow: 1;
    text-align: center;
}
.reference-card--text-only .reference-card__desc {
    font-size: 15px;
    line-height: 1.6;
    max-width: 100%;
}
@media (max-width: 560px) {
    .reference-card__image-box--tall {
        aspect-ratio: 5 / 4;
    }
}
/* Автоматическая контрастность */
.reference-card.theme-light {
    --text-main: #1a1a1a;
    --text-muted: #555555;
    --player-bg: rgba(0, 0, 0, 0.06);
    --player-text: #2c2c2c;
    --glass-glow: rgba(0, 0, 0, 0.03);
    border: 1px solid #e1e4e8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}
.reference-card.theme-dark {
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.75);
    --player-bg: rgba(255, 255, 255, 0.15);
    --player-text: #ffffff;
    --glass-glow: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.reference-card {
    border-radius: var(--ref-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: auto;
    min-width: 0;
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
    will-change: box-shadow;
    box-sizing: border-box;
}
.reference-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}
.reference-card.theme-light:hover {
    border-color: #d1d5db;
}
/* Контейнер картинки / SVG */
.reference-card__image-box {
    width: 100%;
    aspect-ratio: 16 / 10;          /* чуть мягче, чем 1.62 — меньше жёсткой обрезки */
    overflow: hidden;
    background: transparent;
    border-radius: 12px 12px 0 0;
    border-bottom: 1px solid var(--ref-border);
    position: relative;
}
.reference-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1);
    transition: opacity 300ms, transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
/* Фото / обложки (audio_image) — cover, но с более высоким боксом,
   чтобы меньше резало важные части */
.reference-card__image-box--photo {
    aspect-ratio: 16 / 11;
}
/* Натуральный размер — логотипы, иконки, SVG.
   Фиксированная высота зоны + contain, чтобы все карточки
   были примерно одного визуального уровня и ничего не раздувалось. */
.reference-card__image-box--natural {
    aspect-ratio: auto !important;
    height: auto;
    min-height: 120px;
    max-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 24px;
    box-sizing: border-box;
    border-bottom: none;
}
.reference-card__image-box--natural .reference-card__image {
    width: auto !important;
    height: auto !important;
    max-width: var(--natural-img-max-w, 110%);
    max-height: var(--natural-img-max-h, 150%);
    object-fit: contain !important;
    transform: none !important; /* без hover-zoom у логотипов */
}
/* SVG-иконки / инлайн SVG */
.reference-card__svg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}
.reference-card__svg svg {
    width: auto;
    height: auto;
    max-width: var(--natural-svg-max, 72px);
    max-height: var(--natural-svg-max, 72px);
    display: block;
}
.reference-card__image-box--natural .reference-card__svg svg {
    max-width: var(--natural-svg-max, 80px);
    max-height: var(--natural-svg-max, 80px);
}
@media (max-width: 560px) {
    .reference-card__image-box--natural {
        min-height: 100px;
        max-height: 140px;
        padding: 20px 16px;
    }
    .reference-card__image-box--natural .reference-card__image {
        max-height: var(--natural-img-max-h-mobile, 72px);
    }
    .reference-card__svg svg,
    .reference-card__image-box--natural .reference-card__svg svg {
        max-width: 64px;
        max-height: 64px;
    }
}
.reference-card__image.lazyloaded {
    transition: opacity 300ms, transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
/* Hover-zoom только у фото, не у логотипов/иконок */
.reference-card:hover .reference-card__image-box:not(.reference-card__image-box--natural) .reference-card__image {
    transform: scale(1.04);
}
/* Тело карточки */
.reference-card__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 16px;
    box-sizing: border-box;
}
.reference-card__content-top {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.reference-card__audio-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    min-width: 0;
}
.modern-player {
    margin: 0;
}
/* КНОПКА ДЕЙСТВИЯ */
.reference-card .reference-card__btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 28px !important;
    border-radius: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    line-height: 1.2 !important;
    background-color: var(--ref-accent) !important;
    color: #ffffff !important;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
}
.reference-card .reference-card__btn:hover {
    background-color: #008ecb !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 162, 232, 0.2) !important;
    color: #ffffff !important;
    opacity: 1 !important;
}
.reference-card .reference-card__btn:active {
    transform: translateY(0) !important;
    box-shadow: none !important;
}
.theme-dark .reference-card__btn {
    background-color: #ffffff !important;
    color: #1a1a1a !important;
}
.theme-dark .reference-card__btn:hover {
    background-color: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    color: #1a1a1a !important;
}
/* ========== Позиционирование элементов ========== */

/* Текст сверху — текст + плеер идут компактно друг за другом */
.reference-card__body.text-top {
    justify-content: flex-start !important;
}

.reference-card__body.text-top .reference-card__content-top {
    order: 1;
}

.reference-card__body.text-top .reference-card__audio-list {
    order: 2;
    margin-top: 0 !important;   /* ← главное: не даём уехать вниз */
}

.reference-card__body.text-top .reference-card__btn-wrap {
    order: 3;
    margin-top: auto;
}

/* Текст снизу */
.reference-card__body.text-bottom .reference-card__audio-list {
    order: 1;
}

.reference-card__body.text-bottom .reference-card__content-top {
    order: 2;
}

.reference-card__body.text-bottom .reference-card__btn-wrap {
    order: 3;
    margin-top: auto;
}
/* Описание */
.reference-card__desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
}
/* ========== СТИЛЬ ПЛЕЕРОВ ========== */
.modern-player {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 12px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
}
.theme-dark .modern-player {
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.modern-player__play-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--ref-accent);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s, background-color 0.2s;
}
.modern-player__play-btn:hover {
    transform: scale(1.06);
    filter: brightness(1.1);
}
.modern-player__play-btn svg {
    width: 14px;
    height: 14px;
}
/* Ползунки */
.modern-player__timeline,
.modern-player__volume-slider {
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.15);
    outline: none;
    cursor: pointer;
    transition: background 0.1s ease;
}
.theme-dark .modern-player__timeline,
.theme-dark .modern-player__volume-slider {
    background: rgba(255, 255, 255, 0.2);
}
.modern-player__timeline::-webkit-slider-thumb,
.modern-player__volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--ref-accent);
    transition: transform 0.15s ease;
    border: none;
}
.modern-player__timeline:hover::-webkit-slider-thumb,
.modern-player__volume-slider:hover::-webkit-slider-thumb {
    transform: scale(1.2);
}
.modern-player__timeline::-moz-range-thumb,
.modern-player__volume-slider::-moz-range-thumb {
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 50%;
    background: var(--ref-accent);
    transition: transform 0.15s ease;
}
.modern-player__timeline {
    flex-grow: 1;
    min-width: 0;
    width: auto;
}
.modern-player__volume-wrapper {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}
.modern-player__volume-slider {
    width: 40px;
    flex-shrink: 0;
}
.modern-player__volume-icon {
    color: #2c2c2c;
    font-size: 12px;
    user-select: none;
    opacity: 0.7;
}
.theme-dark .modern-player__volume-icon {
    color: #ffffff;
}
.modern-player__time {
    font-size: 11px;
    color: #2c2c2c;
    min-width: max(48px, 4.5ch);
    font-variant-numeric: tabular-nums;
    text-align: right;
    white-space: nowrap;
    flex-shrink: 0;
}
.theme-dark .modern-player__time {
    color: #ffffff;
}
/* Иконка скачивания */
.modern-player__download {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    color: #1db3f4;
    opacity: 1;
    transition: color 0.2s ease, opacity 0.2s ease;
    text-decoration: none;
    margin-left: 2px;
}
.modern-player__download:hover {
    color: #008ecb;
}
.modern-player__download svg {
    width: 16px;
    height: 16px;
}
.theme-dark .modern-player__download {
    color: #1db3f4;
}
.theme-dark .modern-player__download:hover {
    color: #008ecb;
}
/* Режим text_button */
.body-text-button {
    justify-content: center;
    gap: 0 !important;
}
.text-button-row {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    min-width: 0;
}
.modern-player.mini-play-only {
    width: auto;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    flex-shrink: 0;
    overflow: visible;
}
.modern-player.mini-play-only .modern-player__play-btn {
    width: 40px;
    height: 40px;
}
.modern-player.mini-play-only .modern-player__play-btn svg {
    width: 16px;
    height: 16px;
}
/* Кнопка всегда внизу */
.reference-card__btn-wrap {
    order: 99 !important;
    margin-top: auto !important;
    padding-top: 16px;
    width: 100%;
    text-align: center;
    flex-shrink: 0;
}
.reference-card__btn-wrap .red-main-button-banner,
.reference-card__btn-wrap .btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    margin: 0 auto;
}
/* ==========================================================================
   АДАПТИВНОСТЬ
   ========================================================================== */
@media (max-width: 1440px) {
    .modern-player__volume-slider {
        display: none !important;
    }
}
@media (max-width: 1300px) {
    .modern-player__volume-wrapper {
        display: none !important;
    }
}
@media (max-width: 1199px) {
    .reference-grid {
        gap: 20px;
    }
    .reference-card__body {
        padding: 20px;
    }
    .modern-player__timeline {
        display: none !important;
    }
    .modern-player {
        justify-content: space-between;
    }
}
@media (max-width: 991px) {
    .reference-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
    .reference-card.reference-card--no-image {
        align-self: stretch;
    }
    .modern-player__timeline {
        display: block !important;
    }
}
@media (max-width: 768px) {
    .reference-card__body {
        padding: 16px;
        gap: 12px;
    }
    .modern-player__volume-wrapper {
        display: none !important;
    }
    .modern-player {
        padding: 8px 10px;
    }
    .reference-card {
        height: auto;
    }
}
@media (max-width: 560px) {
    .reference-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
    .reference-grid.reference-grid--single {
        max-width: 100%;
    }

    /* Карточки не растягиваем по высоте колонки — фиксит смешанные типы на мобилке */
    .reference-card,
    .reference-card.reference-card--no-image,
    .reference-card--text-only,
    .reference-card--image-only {
        height: auto !important;
        flex: 0 0 auto;
        align-self: stretch;
    }

    .reference-card.reference-card--no-image {
        align-self: stretch;
        height: auto;
    }
    .reference-card__image-box {
        aspect-ratio: 16 / 10;
    }
    .reference-card__image-box--photo {
        aspect-ratio: 16 / 11;
    }
    .modern-player__volume-wrapper {
        display: flex !important;
    }
    .modern-player__volume-slider {
        display: none !important;
    }
    .modern-player__timeline {
        display: block !important;
    }
}
@media (max-width: 375px) {
    .reference-card__body {
        padding: 12px;
    }
    .modern-player__volume-wrapper {
        display: none !important;
    }
    .modern-player__time {
        font-size: 10px;
        min-width: auto;
    }
    .text-button-row {
        gap: 10px;
    }
}

/* ==========================================================================
   ШИРОКИЕ КАРТОЧКИ (TEXT_POSITION = left / right)
   Карточка на всю ширину, COLUMN_INDEX игнорируется.
   Слева/справа — блок «картинка + аудио», с другой стороны — текст.
   Настройка размеров через переменные:
     --wide-media-w     ширина колонки «картинка + плеер»
     --wide-img-max-w   максимальная ширина картинки внутри неё
   ========================================================================== */
.reference-rows {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.reference-rows > .reference-grid,
.reference-rows > .reference-wide {
    width: 100%;
    min-width: 0;
}
.reference-wide {
    --wide-media-w: 260px;
    --wide-img-max-w: 160px;
    display: flex;
    flex-direction: column;
}

.reference-card.reference-card--wide {
    flex-direction: row;
    align-items: flex-start;
    gap: 32px;
    padding: 24px;
    width: 100%;
}
/* Текст слева — медиа-блок уезжает вправо */
.reference-card.reference-card--text-left {
    flex-direction: row-reverse;
}

/* Колонка: картинка + плеер */
.reference-card--wide .reference-card__media {
    flex: 0 0 var(--wide-media-w, 260px);
    width: var(--wide-media-w, 260px);
    max-width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.reference-card--wide .reference-card__media .reference-card__audio-list {
    width: 100%;
}

/* Картинка — без обрезки, компактно, по центру колонки */
.reference-card--wide .reference-card__image-box {
    aspect-ratio: auto !important;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    padding: 0;
    border: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.reference-card--wide .reference-card__image-box .reference-card__image {
    width: auto !important;
    height: auto !important;
    max-width: var(--wide-img-max-w, 160px) !important;
    max-height: 260px !important;
    object-fit: contain !important;
    transform: none !important;
}
.reference-card--wide .reference-card__image-box a {
    display: flex;
    justify-content: center;
}
.reference-card--wide .reference-card__svg svg {
    max-width: var(--natural-svg-max, 80px);
    max-height: var(--natural-svg-max, 80px);
}

/* Плеер в узкой колонке: таймлайн виден всегда, ползунок громкости скрыт */
.reference-card--wide .modern-player__timeline {
    display: block !important;
}
.reference-card--wide .modern-player__volume-slider {
    display: none !important;
}
.reference-card--wide .modern-player__volume-wrapper {
    display: flex !important;
}

/* Текст + кнопка */
.reference-card--wide .reference-card__body {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
    justify-content: center;
    text-align: left;
}
.reference-card--wide .reference-card__desc {
    font-size: 15px;
}
.reference-card--wide .reference-card__btn-wrap {
    margin-top: 0 !important;
    padding-top: 0;
    width: auto;
    text-align: left;
}
.reference-card--wide .reference-card__btn-wrap .red-main-button-banner,
.reference-card--wide .reference-card__btn-wrap .btn {
    margin: 0;
}

/* Планшеты и мобильные: колонки схлопываются, сначала медиа, затем текст */
@media (max-width: 768px) {
    .reference-card.reference-card--wide,
    .reference-card.reference-card--text-left {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 16px;
    }
    .reference-card--wide .reference-card__media {
        flex: 0 0 auto;
        width: 100%;
    }
}

/* End */


/* Start:/bitrix/templates/aspro-premier/css/chip.min.css?17915412412816*/
.chip{--item-pl:16px;--item-pr:16px;--item-height:36px;border:0;display:flex;align-items:center;justify-content:center;background-color:var(--card_bg_active);border-radius:var(--theme-button-border-radius);height:var(--item-height);color:var(--white_text_black);padding:0;transition:color .3s ease,background-color .3s ease,border-color .3s ease;}.chip--pill-shape{border-radius:100vw;--item-pl:18px;--item-pr:18px;--item-height:34px;}.chip--rectangular-shape{--item-pl:12px;--item-pr:12px;--item-height:36px;}.chip--small{--item-pl:12px;--item-pr:12px;--item-height:30px;}.chip--large{--item-height:44px;}.chip__label{overflow:hidden;text-overflow:ellipsis;padding-left:var(--item-pl);padding-right:var(--item-pr);white-space:nowrap;}.chip:has(.chip__icon) .chip__label{padding-right:calc(var(--item-pl) - 4px);}.chip.active{color:var(--button_color_text);cursor:pointer;}.chip.active:not(.chip--toggle){cursor:default;}.chip--transparent{background-color:transparent;}.chip:where(a,button,label){cursor:pointer;}.chip:where(a,button,label):hover{background-color:var(--light,rgba(136,136,136,.05)) var(--dark,#343434);color:var(--white_text_black);}.chip--white{background-color:#fff;}@media (any-hover:hover){.chip--white:where(a,button,label):hover{background-color:hsl(var(--theme-base-color-hue),var(--theme-base-color-saturation),calc(var(--theme-base-color-lightness) + var(--theme-lightness-hover-diff)));color:#fff}}.chip--white:where(a,button,label):focus-visible{background-color:hsl(var(--theme-base-color-hue),var(--theme-base-color-saturation),calc(var(--theme-base-color-lightness) + var(--theme-lightness-hover-diff)));color:#fff;}.chip--white-hover{border:1px solid rgba(255,255,255,.32);color:#fff;}.chip--grey-border{border:1px solid rgba(34,34,40,.32);}.chip--white-hover:where(a,button,label):hover,.chip--white-hover:where(a,button,label):focus-visible{background-color:color-mix(in oklab,#e8e9ed,transparent 32%);border-color:transparent;color:#fff;}.chip--white-blur{background-color:rgba(255,255,255,.24);backdrop-filter:blur(10px);color:#fff;}.chip--white-blur:where(a,button,label):hover,.chip--white-blur:where(a,button,label):focus-visible{background-color:hsl(var(--theme-base-color-hue),var(--theme-base-color-saturation),calc(var(--theme-base-color-lightness) + var(--theme-lightness-hover-diff)));border-color:hsl(var(--theme-base-color-hue),var(--theme-base-color-saturation),calc(var(--theme-base-color-lightness) + var(--theme-lightness-hover-diff)));color:#fff;}.chip__icon{padding-right:var(--item-pr);height:18px;display:flex;align-items:center;}.chip.active:hover .chip__icon{opacity:.64;}.chip--sm{--item-pl:10px;--item-pr:10px;--item-height:29px;}.chip--max-width{max-width:400px;}@media (max-width:600px){.chip--sm-to-600{--item-pl:10px;--item-pr:10px;--item-height:30px}}
/* End */


/* Start:/local/components/custom/block.video/templates/.default/style.css?17915414834166*/
.video-grid {
    display: grid;
    grid-template-columns: repeat(var(--cols-count, 1), 1fr);
    gap: 25px;
}

/* Стили для случая, когда видео одно */
.video-grid--single {
    display: flex;
    justify-content: center;
}
.video-grid--single .video-column {
    width: 100%;
    max-width: 800px; /* Комфортная ширина для одного видео */
}

.video-column {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.video-item {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* Не считаем layout/paint для карточек за пределами экрана —
       заметно ускоряет рендер страницы со 100+ видео */
    content-visibility: auto;
    contain-intrinsic-size: 0 400px;
}

/* Выделенный блок для заголовка над видео */
.video-header-top {
    padding: 15px 20px 10px;
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
    background: #fff;
}
.video-title {
    font-size: 16px;
    font-weight: 600;
    color: #111;
    margin: 0;
}

/* Блок описания */
.video-text {
    padding: 12px 20px;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    margin: 0;
    flex-shrink: 0;
}
.video-text--top {
    border-bottom: 1px solid #e5e5e5;
}
.video-text--bottom {
    border-top: 1px solid #e5e5e5;
}

.video-container {
    width: 100%;
    background: linear-gradient(145deg, #1c1c1c 0%, #2a2a2a 100%);
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    cursor: pointer;
}
.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
}
.video-container.video-container--started video {
    cursor: auto; /* после запуска — обычные controls видео сами меняют курсор */
}

/* Иконка play в стиле "liquid glass": матовое полупрозрачное стекло с бликом */
.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    backdrop-filter: blur(14px) saturate(180%);
    border: 1.5px solid rgba(255, 255, 255, 0.75);
    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.22),
        inset 0 1px 1px rgba(255, 255, 255, 0.85),
        inset 0 -8px 12px rgba(0, 0, 0, 0.06);
    pointer-events: none; /* клики проходят сквозь неё прямо в <video> */
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.video-play-icon svg {
    width: 24px;
    height: 24px;
    margin-left: 2px; /* оптическая центровка треугольника */
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}
.video-container:hover .video-play-icon {
    transform: translate(-50%, -50%) scale(1.08);
    background: rgba(255, 255, 255, 0.3);
    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.26),
        inset 0 1px 1px rgba(255, 255, 255, 0.9),
        inset 0 -8px 12px rgba(0, 0, 0, 0.07);
}
.video-container video {
    cursor: pointer; /* кликабельно и до, и после запуска — controls'ов больше нет */
}

.video-container.is-playing .video-play-icon {
    display: none;
}
.video-container.video-container--started video {
    cursor: auto;
}
.video-container:focus-visible {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}

@media (max-width: 992px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
@media (max-width: 768px) {
    .video-item {
        contain-intrinsic-size: 0 300px; /* уже, но и колонка одна — компромисс под 16:9 */
    }
}
/* End */


/* Start:/local/components/custom/block.voiceover.main.tiles/templates/.default/style.css?17915414836767*/
.voices-header {
    margin-bottom: 60px;
    text-align: center;
}

.voices-title {
    margin: 0 0 20px;
    line-height: 1.2;
    text-align: center;
}

@media (max-width: 768px) {
    .voices-title {
        font-size: 28px;
    }
}

.voices-decor {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
}

.voices-decor .decor-line {
    width: 4px;
    height: 24px;
    background: #1db3f4;
    border-radius: 2px;
    opacity: 0.8;
    display: block;
    flex-shrink: 0;
}

.voices-section .voices-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch;
}

.voices-section .voices-grid--top {
    margin-bottom: 25px;
}
.voices-section .voices-grid--top .voices-card {
    flex: 1 1 calc((100% - (var(--voices-top-cols, 3) - 1) * 25px) / var(--voices-top-cols, 3));
    width: calc((100% - (var(--voices-top-cols, 3) - 1) * 25px) / var(--voices-top-cols, 3));
    max-width: calc((100% - (var(--voices-top-cols, 3) - 1) * 25px) / var(--voices-top-cols, 3));
    min-width: 0;
}

/* Нижний ряд: количество колонок из CSS-переменной */
.voices-section .voices-grid--bottom .voices-card {
    flex: 0 0 calc((100% - (var(--voices-bottom-cols, 3) - 1) * 25px) / var(--voices-bottom-cols, 3));
    width: calc((100% - (var(--voices-bottom-cols, 3) - 1) * 25px) / var(--voices-bottom-cols, 3));
    max-width: calc((100% - (var(--voices-bottom-cols, 3) - 1) * 25px) / var(--voices-bottom-cols, 3));
    min-width: 0;
}

.voices-section .voices-card {
    overflow: hidden;
    min-height: 460px;
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    width: auto;
}

.voices-section .voices-card__image-wrapper {
    width: 100%;
    max-width: 100%;
    height: 285px;
    min-height: 285px;
    flex: 0 0 285px;
    overflow: hidden;
    order: 0;
}

.voices-section .voices-card__image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    float: none;
    margin: 0;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.voices-section .voices-card__image--placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
}

.voices-section .voices-card:hover .voices-card__image {
    transform: scale(1.08);
}

.voices-section .voices-card__content {
    z-index: 3;
    padding: 22px 26px;
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between;
    order: 1;
    float: none !important;
}

.voices-section .voices-card__title {
    margin: 0 0 8px;
    line-height: 1.3;
    font-size: 19px;
    min-height: 50px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.voices-section .voices-card__subtitle {
    margin: 0 0 18px;
    line-height: 1.5;
    font-size: 14px;
}

.voices-section .voices-card .buttons {
    margin-top: auto;
}
@media (min-width: 768px) and (max-width: 991px) {
    .voices-section .voices-card--large,
    .voices-section .voices-card--small {
        flex: 1 1 calc(50% - 13px);
        min-width: 260px;
    }
    .voices-section .voices-card {
        min-height: 380px;
    }
    .voices-section .voices-card__image-wrapper {
        height: 230px !important;
        min-height: 230px !important;
        flex: 0 0 230px !important;
    }
}
@media (max-width: 767px) {
    .voices-section .voices-card--large,
    .voices-section .voices-card--small {
        flex: 1 1 100%;
        min-width: 0;
        max-width: 100%;
    }
    .voices-section .voices-card {
        min-height: 380px;
    }
    .voices-section .voices-card__image-wrapper {
        height: 230px !important;
        min-height: 230px !important;
        flex: 0 0 230px !important;
    }
}

@media (max-width: 576px) {
    .voices-section {
        padding: 50px 0;
    }
    .voices-section .voices-title {
        font-size: 24px;
    }
    .voices-section .voices-card {
        min-height: 320px;
    }
    .voices-section .voices-card__image-wrapper {
        height: 190px !important;
        min-height: 190px !important;
        flex: 0 0 190px !important;
    }
    .voices-section .voices-card__content {
        padding: 18px;
    }
    .voices-section .voices-card__title {
        font-size: 17px;
        min-height: auto;
    }
    .voices-section .voices-card__subtitle {
        font-size: 13px;
    }
    .voices-section .voices-card .btn {
        width: 100%;
        padding: 12px 20px;
        text-align: center;
    }
}

@keyframes voicesFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.voices-section .voices-card {
    animation: voicesFadeInUp 0.6s ease forwards;
    opacity: 0;
}

.voices-section .voices-card:nth-child(1) { animation-delay: 0.1s; }
.voices-section .voices-card:nth-child(2) { animation-delay: 0.2s; }
.voices-section .voices-card:nth-child(3) { animation-delay: 0.3s; }
.voices-section .voices-card:nth-child(4) { animation-delay: 0.4s; }
.voices-section .voices-card:nth-child(5) { animation-delay: 0.5s; }
.voices-section .voices-card:nth-child(6) { animation-delay: 0.6s; }
.voices-section .voices-card:nth-child(7) { animation-delay: 0.7s; }
.voices-section .voices-card:nth-child(8) { animation-delay: 0.8s; }
.voices-section .voices-card:nth-child(9) { animation-delay: 0.9s; }
.voices-section .voices-card:nth-child(10) { animation-delay: 1.0s; }
@media (min-width: 768px) and (max-width: 991px) {
    .voices-section .voices-grid--top .voices-card,
    .voices-section .voices-grid--bottom .voices-card {
        flex: 1 1 calc(50% - 13px);
        width: calc(50% - 13px);
        max-width: calc(50% - 13px);
        min-width: 260px;
    }
    .voices-section .voices-card {
        min-height: 380px;
    }
    .voices-section .voices-card__image-wrapper {
        height: 230px !important;
        min-height: 230px !important;
        flex: 0 0 230px !important;
    }
}
@media (max-width: 767px) {
    .voices-section .voices-grid--top .voices-card,
    .voices-section .voices-grid--bottom .voices-card {
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    .voices-section .voices-card {
        min-height: 380px;
    }
    .voices-section .voices-card__image-wrapper {
        height: 230px !important;
        min-height: 230px !important;
        flex: 0 0 230px !important;
    }
}
/* End */
/* /local/components/custom/block.banner.img/templates/.default/style.css?17915414827191 */
/* /local/components/custom/block.audio.color.text/templates/.default/style.css?179154148220920 */
/* /bitrix/templates/aspro-premier/css/chip.min.css?17915412412816 */
/* /local/components/custom/block.video/templates/.default/style.css?17915414834166 */
/* /local/components/custom/block.voiceover.main.tiles/templates/.default/style.css?17915414836767 */
