/* ── VRS Public Styles v8.0.0 — EVO3x Web Design ──────────────────────── */

.vrs-wrapper {
    --vrs-gap:     16px;
    --vrs-speed:   400ms;
    --vrs-meta-bg: #f1f1f1;
    --vrs-text:    #1a1a1a;
    --vrs-sub:     #555;
    --vrs-btn-bg:  rgba(0,0,0,.65);
    --vrs-btn-hover: rgba(0,0,0,.85);
    width: 100%;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    position: relative; /* needed for button positioning */
}

/* ── Slider outer row ── */
.vrs-slider-outer {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;   /* centres the btn+mask+btn group when mask has a max-width */
    gap: 8px;
}

/* ── Prev / Next buttons — hidden until hover ── */
.vrs-btn {
    flex-shrink: 0;
    background: var(--vrs-btn-bg);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    user-select: none;
    z-index: 2;

    /* Faded by default, fade in on wrapper hover */
    opacity: 0;
    transition: opacity .25s ease, background .2s, transform .15s;
}

/* Show buttons when the whole slider is hovered */
.vrs-wrapper:hover .vrs-btn,
.vrs-slider-outer:focus-within .vrs-btn { opacity: 1; }

.vrs-btn:hover    { background: var(--vrs-btn-hover); transform: scale(1.08); }
.vrs-btn:disabled { opacity: .2 !important; cursor: default; transform: none; }

/* ── Track ── */
.vrs-track-mask { flex: 1; overflow: hidden; }
.vrs-track {
    display: flex;
    gap: var(--vrs-gap);
    transition: transform var(--vrs-speed) cubic-bezier(.4,0,.2,1);
    will-change: transform;
}

/* ── Card base ── */
.vrs-card {
    --vrs-card-radius: 4px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--vrs-card-radius);
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    cursor: default;
    /* Shadow OFF by default */
    box-shadow: none;
}

/* Shadow ON */
.vrs-card:not(.vrs-no-shadow) { box-shadow: 0 2px 12px rgba(0,0,0,.10); }

/* Shadow forced OFF */
.vrs-card.vrs-no-shadow               { box-shadow: none !important; }
.vrs-card.vrs-no-shadow:hover         { box-shadow: none !important; }

/* Hover lift ON (opt-in) */
.vrs-card:not(.vrs-no-hover):hover    { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(0,0,0,.15); }
.vrs-card.vrs-no-shadow:not(.vrs-no-hover):hover { transform: translateY(-3px); box-shadow: none !important; }

/* Hover lift OFF */
.vrs-card.vrs-no-hover:hover          { transform: none !important; }
.vrs-card.vrs-no-shadow.vrs-no-hover:hover { transform: none !important; box-shadow: none !important; }

/* ── Text positions & radius ── */
.vrs-card .vrs-video-wrap { border-radius: var(--vrs-card-radius) var(--vrs-card-radius) 0 0; }
.vrs-card .vrs-meta       { border-radius: 0 0 var(--vrs-card-radius) var(--vrs-card-radius); }

.vrs-card.vrs-text-top                { flex-direction: column-reverse; }
.vrs-card.vrs-text-top .vrs-video-wrap{ border-radius: 0 0 var(--vrs-card-radius) var(--vrs-card-radius); }
.vrs-card.vrs-text-top .vrs-meta      { border-radius: var(--vrs-card-radius) var(--vrs-card-radius) 0 0; }

.vrs-card .vrs-video-wrap:only-child  { border-radius: var(--vrs-card-radius) !important; }

/* ── Text-only card ── */
.vrs-card.vrs-text-only .vrs-video-wrap { display: none; }
.vrs-card.vrs-text-only .vrs-meta       { border-radius: var(--vrs-card-radius) !important; }

/* ── Video wrap ── */
.vrs-video-wrap {
    position: relative; overflow: hidden;
    background: #000; flex-shrink: 0;
}

/* ── Thumbnail ── */
.vrs-thumbnail { position: absolute; inset: 0; cursor: pointer; }
.vrs-thumbnail img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform .35s;
}

/* Thumbnail zoom ON by default is OFF — opt-in */
.vrs-thumbnail:hover img               { transform: none; }
.vrs-wrapper:not(.vrs-no-zoom) .vrs-thumbnail:hover img { transform: scale(1.03); }
/* When zoom class explicitly off */
.vrs-no-zoom .vrs-thumbnail:hover img  { transform: none !important; }

/* ── Play button — always has hover ── */
.vrs-play-btn {
    position: absolute; inset: 0; margin: auto;
    width: 60px; height: 60px;
    background: none; border: none; cursor: pointer; padding: 0;
    transition: transform .2s;
}
.vrs-play-btn:hover { transform: scale(1.12); }
.vrs-play-btn svg   { width: 100%; height: 100%; }

/* ── Iframe ── */
.vrs-video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ── Meta text ── */
.vrs-meta { padding: 12px 4px 14px; background: var(--vrs-meta-bg); flex-shrink: 0; }
.vrs-reviewer {
    display: block; font-weight: 700; font-size: .9rem;
    color: var(--vrs-text); margin-bottom: 4px;
}
.vrs-review-text {
    margin: 0; font-size: .82rem; color: var(--vrs-sub); line-height: 1.45;
    display: -webkit-box; -webkit-line-clamp: 3;
    -webkit-box-orient: vertical; overflow: hidden;
}

/* ── Stars ── */
.vrs-stars { display: flex; gap: 1px; margin: 3px 0 5px; }
.vrs-star           { font-size: 1.05rem; line-height: 1; }
.vrs-star--filled   { color: #f5c518; }
.vrs-star--empty    { color: #ddd; }

/* ── Dots — faded until slider is hovered ── */
.vrs-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;

    opacity: 0;
    transition: opacity .25s ease;
}
.vrs-wrapper:hover .vrs-dots { opacity: 1; }
.vrs-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #ccc; cursor: pointer;
    transition: background .2s, transform .15s;
    border: none; padding: 0;
}
.vrs-dot.active { background: #333; transform: scale(1.3); }

/* ── Empty ── */
.vrs-empty { color: #888; font-style: italic; text-align: center; padding: 20px; }

/* ── Responsive ── */
@media (max-width: 640px) { .vrs-btn { width: 32px; height: 32px; font-size: 1.1rem; } }
