

/* Start:/local/templates/vsestroy74-2.0/components/bitrix/news.detail/video/style.css?17963226599318*/
/* Страница ролика, вариант A (04.12.2026). Общий css/style.css Люксар не трогаем: старые .vs-vdetail*
   перекрыты здесь двойными классами (.vs-vdetail.vs-vd) — не зависим от порядка подключения файлов.
   Сетка одна, без дублей разметки:
   горизонтальный — плеер слева (до 960 px), справа заголовок и заявка, ниже «О выпуске» и «Содержание»;
   вертикальный — плеер 380 px слева, справа заголовок, текст, заявка;
   телефон — плеер → заголовок → описание → главы → заявка (у вертикального заголовок над плеером). */

.vs-vd { --accent-text: #F9A11B; }
html[data-theme=light] .vs-vd { --accent-text: #9A5600; }

.vs-vdetail.vs-vd {
    display: grid;
    grid-template-columns: minmax(0, 960px) minmax(280px, 380px);
    grid-template-areas:
        "player head"
        "player cta"
        "body   ."
        "extra  ."
        "back   .";
    grid-template-rows: auto 1fr auto auto auto;
    gap: 20px 32px;
    align-items: start;
    max-width: none;
    margin: 0 0 56px;
    padding: 0;
    background: none;
    border: 0;
}
.vs-vd__player { grid-area: player; }
.vs-vd__head { grid-area: head; }
.vs-vd__body { grid-area: body; }
.vs-vd__cta { grid-area: cta; }
.vs-vd__extra { grid-area: extra; }
.vs-vd__back { grid-area: back; justify-self: start; }

/* ---------- Плеер-фасад ---------- */
.vs-vd .vs-vd__player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 18px;
    background: #070B10;
}
.vs-vd .vs-vd__player .vs-vd__poster {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}
.vs-vd .vs-vd__player iframe {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
/* без JS iframe из <noscript> — поверх обложки */
.vs-vd .vs-vd__player iframe.vs-vd__noscript { z-index: 3; }
.vs-vd .vs-vd__play {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.vs-vd .vs-vd__play-icon {
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: rgba(249, 161, 27, .94);
    color: #131109;
    box-shadow: 0 18px 50px rgba(249, 161, 27, .45);
    transition: transform .18s ease, opacity .18s ease;
}
.vs-vd .vs-vd__play-icon svg { margin-left: 4px; }
.vs-vd .vs-vd__play:hover .vs-vd__play-icon { transform: scale(1.06); }
.vs-vd .vs-vd__play:focus-visible { outline: 3px solid var(--accent-text); outline-offset: -3px; }
.vs-vd .vs-vd__player.is-loading .vs-vd__play-icon { opacity: .55; }
.vs-vd .vs-vd__note, .vs-vd .vs-vd__fail {
    position: absolute;
    left: 16px;
    bottom: 14px;
    z-index: 2;
    max-width: calc(100% - 32px);
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(6, 10, 14, .82);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
}
.vs-vd .vs-vd__fail { z-index: 3; }
.vs-vd .vs-vd__fail[hidden] { display: none; }
.vs-vd .vs-vd__fail button, .vs-vd .vs-vd__fail a {
    padding: 0;
    border: 0;
    background: none;
    color: #fff;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}
.vs-vd .vs-vd__player.is-failed .vs-vd__note { display: none; }
/* плеер готов — обложка, кнопка и подпись уходят, клики идут в iframe */
.vs-vd .vs-vd__player.is-ready .vs-vd__poster,
.vs-vd .vs-vd__player.is-ready .vs-vd__play,
.vs-vd .vs-vd__player.is-ready .vs-vd__note {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, visibility 0s linear .25s;
}

/* ---------- Заголовок ---------- */
.vs-vd .vs-vd__head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; }
.vs-vd .vs-vd__kicker {
    color: var(--accent-text);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .2em;
    text-transform: uppercase;
}
.vs-vd h1.vs-vd__title {
    margin: 0;
    font-size: clamp(26px, 2.4vw, 34px);
    font-weight: 300;
    line-height: 1.18;
    overflow-wrap: anywhere;
}
.vs-vd .vs-vd__sub { margin: -6px 0 0; color: var(--muted); font-size: 17px; line-height: 1.4; }
.vs-vd .vs-vd__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.vs-vd .vs-vd__meta span {
    padding: 6px 11px;
    border: 1px solid var(--stroke, rgba(255, 255, 255, .12));
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    font-variant-numeric: tabular-nums;
}
.vs-vd .vs-vd__rt {
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--accent-text);
}
.vs-vd .vs-vd__rt:hover { color: var(--accent-text); }

/* ---------- Описание и главы ---------- */
.vs-vd .vs-vd__body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; max-width: 820px; }
.vs-vd .vs-vd__about { min-width: 0; font-size: 16px; line-height: 1.6; }
.vs-vd .vs-vd__about:empty { display: none; }
.vs-vd .vs-vd__about p { margin: 0 0 14px; }
.vs-vd h2.vs-vd__h2 { margin: 8px 0 14px; font-size: 22px; font-weight: 400; line-height: 1.3; }
.vs-vd .vs-vd__list { margin: 0 0 14px; padding-left: 20px; }
.vs-vd .vs-vd__list li { margin: 4px 0; }
.vs-vd .vs-vd__chapters {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--stroke, rgba(255, 255, 255, .12));
}
.vs-vd .vs-vd__chapters li { margin: 0; padding: 0; border-bottom: 1px solid var(--stroke, rgba(255, 255, 255, .12)); }
.vs-vd .vs-vd__chapters li::before { content: none; }
.vs-vd .vs-vd__chapters a {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    padding: 12px 4px;
    color: var(--text);
    font-size: 15px;
    line-height: 1.45;
    text-decoration: none;
}
.vs-vd .vs-vd__chapters b { color: var(--accent-text); font-weight: 700; font-variant-numeric: tabular-nums; }
.vs-vd .vs-vd__chapters a:hover span, .vs-vd .vs-vd__chapters a:focus-visible span { color: var(--accent-text); }

/* ---------- Заявка ---------- */
.vs-vd .vs-vd__cta {
    padding: 22px;
    border: 1px solid var(--stroke, rgba(255, 255, 255, .12));
    border-radius: 20px;
    background: rgba(255, 255, 255, .04);
}
html[data-theme=light] .vs-vd .vs-vd__cta { background: #fff; }
.vs-vd .vs-vd__cta-title { margin: 0 0 8px; font-size: 21px; line-height: 1.3; }
.vs-vd .vs-vd__cta-text { margin: 0 0 16px; color: var(--muted); font-size: 14px; line-height: 1.45; }

/* ---------- Вертикальный ролик ---------- */
.vs-vdetail.vs-vd--vertical {
    grid-template-columns: min(380px, calc(78vh * 9 / 16)) minmax(0, 1fr);
    grid-template-areas:
        "player head"
        "player body"
        "player cta"
        "extra  extra"
        "back   back";
    grid-template-rows: auto auto 1fr auto auto;
    gap: 18px 40px;
}
.vs-vd--vertical .vs-vd__player { aspect-ratio: 9 / 16; }
.vs-vd--vertical .vs-vd__cta { max-width: 520px; }

/* ---------- Планшет: одна колонка ---------- */
@media (max-width: 1100px) {
    .vs-vdetail.vs-vd {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "player" "head" "body" "cta" "extra" "back";
        grid-template-rows: none;
    }
    .vs-vd .vs-vd__cta { max-width: 640px; }
}
@media (max-width: 1100px) and (min-width: 761px) {
    /* вертикальный на планшете остаётся двухколоночным — плеер узкий */
    .vs-vdetail.vs-vd--vertical {
        grid-template-columns: min(340px, calc(78vh * 9 / 16)) minmax(0, 1fr);
        grid-template-areas:
            "player head"
            "player body"
            "player cta"
            "extra  extra"
            "back   back";
        grid-template-rows: auto auto 1fr auto auto;
    }
}

/* ---------- Телефон ---------- */
@media (max-width: 760px) {
    .vs-vdetail.vs-vd { gap: 16px; margin-bottom: 40px; }
    .vs-vd .vs-vd__player { border-radius: 14px; }
    .vs-vd .vs-vd__play-icon { width: 68px; height: 68px; }
    .vs-vd h1.vs-vd__title { font-size: 26px; }
    .vs-vd .vs-vd__sub { font-size: 16px; }
    .vs-vdetail.vs-vd--vertical {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "head" "player" "body" "cta" "extra" "back";
        grid-template-rows: none;
    }
    /* минимум Rutube — 320 px; на узком экране плеер выходит на поля контейнера, но не шире экрана */
    .vs-vd--vertical .vs-vd__player {
        justify-self: center;
        width: max(min(320px, 100vw), min(100%, calc(62vh * 9 / 16)));
    }
}

/* End */


/* Start:/local/templates/vsestroy74-2.0/components/bitrix/news.list/video/style.css?179632594711362*/
/* Видео-карточки, вариант A «Лента» (04.12.2026): обложка целиком, на кадре только длительность,
   название и «рубрика · дата» — под кадром. Общий css/style.css Люксар задаёт для .vs-vreview / .vs-short
   текст поверх кадра, градиент и увеличение при наведении — здесь это перекрыто (двойные классы — чтобы
   не зависеть от порядка подключения файлов). */

/* Токены: текстовый акцент (рубрика, наведение, «Все видео →») читается на обоих фонах. */
.vs-vreviews, .vs-shorts, .vs-offer-videos, .vs-section:has(.vs-video-card) { --accent-text: #F9A11B; }
html[data-theme=light] .vs-vreviews, html[data-theme=light] .vs-shorts,
html[data-theme=light] .vs-offer-videos, html[data-theme=light] .vs-section:has(.vs-video-card) { --accent-text: #9A5600; }
.vs-section:has(.vs-video-card) .vs-section__head .vs-more-link { color: var(--accent-text); }

/* ---------- Сетки ---------- */
.vs-vreviews.vs-vreviews, .vs-shorts.vs-shorts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: row;
    align-items: start;
    gap: 28px 20px;
    overflow: visible;
}
/* видео-блог и «Ещё видео»: 3 / 2 / 1 */
.vs-vreviews.vs-vreviews--blog { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
/* вертикальные: 5 в ряд; ровно 4 (корень видео-блога) — 4 в ряд */
.vs-shorts.vs-shorts { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px 16px; }
.vs-shorts.vs-shorts:has(> .vs-video-card:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1023px) {
    .vs-vreviews.vs-vreviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vs-vreviews.vs-vreviews--blog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vs-shorts.vs-shorts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
    .vs-vreviews.vs-vreviews--blog { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .vs-shorts.vs-shorts, .vs-shorts.vs-shorts:has(> .vs-video-card:nth-child(4):last-child) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 12px;
    }
    /* подборки на главной, технологиях, в каталоге: карусель, край следующей карточки виден */
    .vs-vreviews.vs-vreviews:not(.vs-vreviews--blog):not(.vs-vreviews--clips) {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: 80%;
        gap: 14px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        /* поля — чтобы обводка фокуса не обрезалась краем прокрутки */
        padding: 4px 4px 8px;
        scroll-padding-inline: 4px;
        scrollbar-width: none;
    }
    .vs-vreviews.vs-vreviews:not(.vs-vreviews--blog):not(.vs-vreviews--clips)::-webkit-scrollbar { display: none; }
    .vs-vreviews:not(.vs-vreviews--blog):not(.vs-vreviews--clips) > .vs-video-card { scroll-snap-align: start; }
}

/* ---------- Карточка ---------- */
.vs-video-card.vs-vreview, .vs-video-card.vs-short {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    min-width: 0;
    width: auto;
    height: auto;
    aspect-ratio: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    color: var(--text);
    text-decoration: none;
    transform: none;
}
.vs-video-card.vs-video-card::before, .vs-video-card.vs-video-card::after { content: none; }
.vs-video-card.vs-video-card:hover { transform: none; box-shadow: none; }
.vs-video-card:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 12px; }

.vs-video-card .vs-video-card__poster {
    display: block;
    position: relative;
    flex: none;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    background: #101419;
}
.vs-video-card.vs-video-card .vs-video-card__poster img {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: center;
    transform: none;
    filter: none;
    opacity: 1;
    transition: none;
}
/* без увеличения кадра при наведении */
.vs-video-card.vs-video-card:hover .vs-video-card__poster img,
.vs-video-card.vs-video-card:focus-visible .vs-video-card__poster img { transform: none; filter: none; }

/* ▶ — только при наведении и фокусе */
.vs-video-card .vs-video-card__play {
    display: grid;
    place-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 52px;
    height: 52px;
    margin: -26px 0 0 -26px;
    border-radius: 50%;
    background: #F9A11B;
    color: #131109;
    opacity: 0;
    transition: opacity .18s ease;
    pointer-events: none;
}
.vs-video-card .vs-video-card__play svg { margin-left: 3px; }
.vs-video-card:hover .vs-video-card__play, .vs-video-card:focus-visible .vs-video-card__play { opacity: 1; }

/* длительность — плашка в правом нижнем углу кадра, одинаковая в обеих темах */
.vs-video-card .vs-video-card__duration {
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 3px 7px;
    border-radius: 6px;
    background: rgba(10, 12, 15, .82);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    font-variant-numeric: tabular-nums;
    letter-spacing: .02em;
}

.vs-video-card .vs-video-card__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    padding: 0 2px;
}
.vs-video-card .vs-video-card__title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: anywhere;
    transition: color .18s ease;
}
.vs-video-card:hover .vs-video-card__title, .vs-video-card:focus-visible .vs-video-card__title { color: var(--accent-text); }
.vs-video-card .vs-video-card__sub {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
.vs-video-card .vs-video-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 6px;
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
}
.vs-video-card .vs-video-card__section { color: var(--accent-text); font-weight: 600; }
.vs-video-card .vs-video-card__section + time::before { content: "·"; margin-right: 6px; color: var(--muted); }

/* ---------- Короткие (вертикальные) ---------- */
.vs-video-card.vs-video-card--vertical .vs-video-card__poster { aspect-ratio: 9 / 16; }
.vs-video-card.vs-video-card--vertical .vs-video-card__poster img { object-fit: cover; }
.vs-video-card--vertical .vs-video-card__title { font-size: 14px; line-height: 1.35; }
/* горизонтальная обложка короткого ролика: кадр целиком на размытой копии */
.vs-video-card .vs-video-card__backdrop {
    position: absolute;
    inset: -24px;
    background-position: center;
    background-size: cover;
    filter: blur(18px) brightness(.55);
}
.vs-video-card.vs-video-card--widecover .vs-video-card__poster img { object-fit: contain; }

/* ---------- Спецпредложения: полные выпуски и короткие видео ---------- */
.vs-offer-videos { display: grid; gap: 28px; }
.vs-offer-videos__group { min-width: 0; }
.vs-offer-videos h3.vs-offer-videos__heading {
    margin: 0 0 14px;
    font: inherit;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 600;
    color: var(--muted);
}
.vs-vreviews.vs-vreviews--clips { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 16px; }
@media (min-width: 1024px) {
    .vs-offer-videos--mixed {
        grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
        gap: clamp(26px, 3vw, 48px);
    }
    .vs-offer-videos--mixed .vs-offer-videos__group--episodes .vs-vreviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vs-offer-videos--mixed .vs-offer-videos__group--clips {
        padding-left: clamp(18px, 2vw, 30px);
        border-left: 1px solid var(--stroke);
    }
    .vs-offer-videos--mixed .vs-vreviews.vs-vreviews--clips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
    .vs-vreviews.vs-vreviews--clips { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
}

/* ---------- Раздел видео-блога /about/video/ (итерация 3) ----------
   Только внутри .vs-videos-page (list.php), общий css/style.css Люксар не меняется. Тройные классы — чтобы
   перебить правила Люксар без !important независимо от порядка подключения. */

/* Телефон: hero низкий (≤ ~220 px вместо min-height 380), чтобы первый ролик был ближе к первому экрану. */
@media (max-width: 760px) {
    .vs-videos-page .vs-svc-hero.vs-art-hero {
        position: relative;
        overflow: hidden;
        min-height: 0;
        height: auto;
        padding: 0;
    }
    /* картинка и вуаль — фоном, высоту задаёт текст */
    .vs-videos-page .vs-svc-hero.vs-art-hero .vs-svc-hero__img,
    .vs-videos-page .vs-svc-hero.vs-art-hero .vs-svc-hero__veil {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }
    .vs-videos-page .vs-svc-hero.vs-art-hero .vs-svc-hero__img { object-fit: cover; }
    .vs-videos-page .vs-svc-hero.vs-art-hero .vs-svc-hero__inner {
        position: relative;
        z-index: 1;
        min-height: 0;
        height: auto;
        padding: 20px 18px;
        gap: 14px;
        justify-content: flex-end;
    }
    .vs-videos-page .vs-svc-hero.vs-art-hero .vs-svc-hero__title {
        margin: 0;
        font-size: 30px;
        line-height: 1.1;
    }
    .vs-videos-page .vs-svc-hero.vs-art-hero .vs-svc-hero__lead {
        margin: 6px 0 0;
        font-size: 14px;
        line-height: 1.4;
    }
    .vs-videos-page .vs-svc-hero.vs-art-hero .vs-btn-accent {
        width: auto;
        min-height: 40px;
        padding: 10px 18px;
        font-size: 12px;
    }
}

/* Плашка «Мы на Rutube»: картинка убрана — текст и кнопка на всю ширину, без пустой колонки. */
.vs-videos-page .vs-section.vs-rutube {
    display: block;
    min-height: 0;
}
.vs-videos-page .vs-section.vs-rutube .vs-rutube__text { max-width: 720px; }

/* End */
/* /local/templates/vsestroy74-2.0/components/bitrix/news.detail/video/style.css?17963226599318 */
/* /local/templates/vsestroy74-2.0/components/bitrix/news.list/video/style.css?179632594711362 */
