

/* Start:/bitrix/templates/new_template/components/bitrix/news.list/video/style.css?179083458211877*/
/* =============================================
   Slider Video Reviews
   ============================================= */

/* ─── Секция ─────────────────────────────────── */
.vr-section {
    background: var(--color-bg-second, #E5F9FF);
}
.vr-section__subtitle {
    color: var(--text-gray-color, #969ba5);
    font-size: 16px;
    margin-top: 4px;
}

/* ─── Обёртка слайдера ── */
.vr-swiper-wrapper {
    padding-bottom: 40px;
    position: relative;
}

/* ─── Карточка ───────────────────────────────── */
.vr-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--border-radius-25px, 25px);
    overflow: hidden;
    box-shadow: 0 4px 18px var(--box-shadow-color, rgba(0, 136, 204, 0.2));
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    height: 100%;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    width: 100%;
}
.vr-card:hover,
.vr-card:focus-visible {
    box-shadow: 0 8px 32px rgba(0, 58, 104, 0.22);
    transform: translateY(-4px);
}
.vr-card:focus-visible {
    outline: 3px solid var(--color-secondary, #0088CC);
    outline-offset: 2px;
}

/* ─── Превью — вертикальное 9:16 ────────────── */
.vr-card__thumb {
    position: relative;
    width: 100%;
    padding-top: 177.77%;
    background: #1a1a2e;
    overflow: hidden;
    flex-shrink: 0;
}
.vr-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.vr-card:hover .vr-card__img,
.vr-card:focus-visible .vr-card__img {
    transform: scale(1.04);
}
.vr-card__no-preview {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #0a3d62 100%);
    color: rgba(255, 255, 255, 0.25);
}
.vr-card__no-preview svg {
    width: 64px;
    height: 64px;
}

/* Кнопка Play */
.vr-card__play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vr-card__play-btn svg {
    width: 56px;
    height: 56px;
    fill: #fff;
    filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.55));
    background: rgba(255, 74, 74, 0.85);
    border-radius: 12px;
    padding: 12px;
    transition: background 0.25s ease, transform 0.25s ease;
}
.vr-card:hover .vr-card__play-btn svg,
.vr-card:focus-visible .vr-card__play-btn svg {
    background: var(--color-secondary, #0088CC);
    transform: scale(1.12);
}

/* Длительность */
.vr-card__duration {
    position: absolute;
    bottom: 8px;
    right: 10px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 6px;
    letter-spacing: 0.02em;
    pointer-events: none;
}

/* ─── Информация под превью ───────────────────── */
.vr-card__info {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}
.vr-card__client {
    display: flex;
    align-items: center;
    gap: 10px;
}
.vr-card__avatar {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-bg-second, #E5F9FF) 0%, rgba(1, 46, 205, 0.07) 100%);
    color: var(--color-secondary, #0088CC);
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    user-select: none;
}
.vr-card__name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color, #171717);
    line-height: 1.3;
}

/* ─── Теги ───────────────────────────────────── */
.vr-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.vr-card__tag {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 4px;
    line-height: 1.4;
    white-space: nowrap;
    border: 1px solid transparent;
}
.vr-card__tag--car_make  { background: #f0f2f5; color: #3a3a3a; border-color: #d0d4da; }
.vr-card__tag--car_model { background: #f0f2f5; color: #3a3a3a; border-color: #d0d4da; }
.vr-card__tag--mileage   { background: #f5f5f5; color: #555555; border-color: #d6d6d6; }
.vr-card__tag--service   { background: #eef1f6; color: #2c3e6b; border-color: #c8d0e0; }
.vr-card__tag--city      { background: #f5f5f5; color: #555555; border-color: #d6d6d6; }

/* ─── Swiper ─────────────────────────────────── */
.vr-swiper {
    overflow: visible !important;
}
.vr-swiper .swiper-slide {
    height: auto;
    display: flex;
}

/* Навигация */
.vr-swiper .vr-swiper__prev,
.vr-swiper .vr-swiper__next {
    width: 45px;
    height: 45px;
    text-align: center;
    line-height: 56px;
    font-weight: 800;
    color: var(--text-color, #171717);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    opacity: 1;
    background: white;
    border-radius: 100px;
    border: 1px solid var(--href-color-light, #0088CC);
    transition: background 0.25s, color 0.25s;
    top: -55px;
    transform: none;
}
.vr-swiper .vr-swiper__prev {
    right: 60px;
    left: auto;
}
.vr-swiper .vr-swiper__next {
    right: 0;
    left: auto;
}
.vr-swiper .vr-swiper__prev:hover,
.vr-swiper .vr-swiper__next:hover {
    background: linear-gradient(344deg, var(--color-primary, #012ECD) 0%, var(--color-secondary, #0088CC) 70%);
    color: white;
    border-color: transparent;
}
.vr-swiper .vr-swiper__prev::after,
.vr-swiper .vr-swiper__next::after {
    font-size: var(--swiper-navigation-size, 20px);
    font-weight: 800;
}
.vr-swiper .swiper-button-disabled {
    opacity: 0.2 !important;
    pointer-events: none;
}

/* Пагинация */
.vr-swiper__pagination {
    position: relative !important;
    bottom: auto !important;
    margin-top: 24px;
    text-align: center;
    display: block;
}
.vr-swiper__pagination .swiper-pagination-bullet-active {
    background: var(--color-secondary, #0088CC);
}

/* ─── Модальное окно ─────────────────────────── */
.vr-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.vr-modal--open {
    pointer-events: all;
    opacity: 1;
}
.vr-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 15, 30, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.vr-modal__content {
    position: relative;
    z-index: 1;
    width: auto;
    max-width: 380px;
    width: 100%;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
    transform: scale(0.93);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}
.vr-modal--open .vr-modal__content {
    transform: scale(1);
}

/* Видео в модалке — 9:16 */
.vr-modal__video-wrap {
    position: relative;
    width: 100%;
    padding-top: 177.77%;
    background: #000;
    flex-shrink: 0;
}
.vr-modal__video-wrap iframe,
.vr-modal__video-wrap video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}
.vr-modal__no-video {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 15px;
}

/* Информация в модалке */
.vr-modal__info {
    padding: 14px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #fff;
}
.vr-modal__client-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.vr-modal__avatar {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 17px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-secondary, #0088CC), var(--color-primary, #012ECD));
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}
.vr-modal__client-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color, #171717);
}
.vr-modal__tags {
    margin-top: 2px;
}

/* Кнопка закрытия */
.vr-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.92);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a2e;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
    transition: background 0.2s, transform 0.2s;
    padding: 0;
}
.vr-modal__close:hover {
    background: #fff;
    transform: scale(1.1);
}
.vr-modal__close svg {
    width: 17px;
    height: 17px;
    pointer-events: none;
}

/* Запрет прокрутки body */
body.vr-no-scroll {
    overflow: hidden;
}

/* ─── visible-hand ───────────────────────────── */
.vr-visible-hand {
    display: none;
    justify-content: center;
    align-items: center;
    transition: opacity 0.4s ease;
    margin-bottom: -60px;
    z-index: 20;
    position: relative;
}
.vr-visible-hand.visible-hand--hidden {
    opacity: 0;
    pointer-events: none;
}

/* =============================================
   Сетка карточек на детальной странице видео
   ============================================= */
.vr-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

/* Ссылка «Смотреть ...» под карточкой */
.vr-card__link {
    display: inline-block;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--href-color-light, #0088cc);
    text-decoration: none;
    transition: color 0.2s ease;
    word-break: break-word;
}
.vr-card__link:hover {
    color: var(--color-primary, #012ECD);
    text-decoration: underline;
}

/* ─── Адаптив ────────────────────────────────── */
@media (max-width: 1199px) {
    .vr-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 991px) {
    .vr-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
    .vr-modal__content {
        max-width: 320px;
    }
}

@media (max-width: 767px) {
    .vr-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .vr-visible-hand {
        display: flex;
    }
    .vr-swiper .vr-swiper__prev,
    .vr-swiper .vr-swiper__next {
        display: none !important;
    }
    .vr-modal {
        padding: 0;
        align-items: flex-end;
    }
    .vr-modal__content {
        max-width: 100%;
        border-radius: 20px 20px 0 0;
        max-height: 96vh;
        overflow-y: auto;
    }
}

@media (max-width: 500px) {
    .visible-hand__circle { width: 60px; height: 60px; }
    .visible-hand__svg    { width: 28px; height: 28px; }
}

@media (max-width: 420px) {
    .vr-grid {
        grid-template-columns: 1fr;
    }
}


/* End */
/* /bitrix/templates/new_template/components/bitrix/news.list/video/style.css?179083458211877 */
