/* ============================================================
   VintageCigar — Per-Post Image Slider  (post-slider.css)
   ============================================================ */

/* ── Wrapper ─────────────────────────────────────────────── */
.vch-post-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    background: #111;
    user-select: none;
}

/* ── Aspect-ratio box (uses CSS var set inline) ──────────── */
.vch-pslider-viewport {
    position: relative;
    width: 100%;
    padding-bottom: 0px;
    overflow: hidden;
    height: 385px;
    max-height:400px;
}

/* ── Track: slides sit side by side ─────────────────────── */
.vch-pslider-track {
    /*position: absolute;*/
    inset: 0;
    display: flex;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.single-review .vch-pslider-track {
    position: absolute;
}

.single-review .vch-pslider-viewport {
    padding-bottom: 130%;
}

.single-review .vch-pslider-slide img {
   height: 100% !important; 
}

.vch-pslider-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.vch-pslider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

/* ── Arrows ──────────────────────────────────────────────── */
.vch-pslider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0,0,0,0.55);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s, background 0.2s;
    backdrop-filter: blur(4px);
}

.vch-post-slider:hover .vch-pslider-arrow {
    opacity: 1;
}

.vch-pslider-arrow:hover {
    background: rgba(201, 168, 76, 0.85);
}

.vch-pslider-prev { left: 8px; }
.vch-pslider-next { right: 8px; }

/* ── Dots ────────────────────────────────────────────────── */
.vch-pslider-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 10;
}

.vch-pslider-dot {
    width: 7px;
    height: 7px !important;
    min-height: 7px !important;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.45);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.vch-pslider-dot.active {
    background: #c9a84c;
    transform: scale(1.3);
}

/* ── Counter badge (top-right) ───────────────────────────── */
.vch-pslider-counter {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 11px;
    font-family: sans-serif;
    padding: 2px 7px;
    border-radius: 20px;
    z-index: 10;
    backdrop-filter: blur(4px);
    pointer-events: none;
}

/* ── Overlay (title / date) ──────────────────────────────── */
.vch-pslider-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 12px 10px;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    z-index: 9;
    display: flex;
    flex-direction: column;
    gap: 2px;
    pointer-events: none;
}

.vch-pslider-title {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    font-family: sans-serif;
    line-height: 1.3;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

.vch-pslider-date {
    color: rgba(255,255,255,0.75);
    font-size: 11px;
    font-family: sans-serif;
}

/* ── Touch: no text selection while swiping ──────────────── */
.vch-post-slider.is-dragging {
    cursor: grabbing;
}