/* =====================================================
   Slideshow Thumbnails for Elementor
   slideshow-thumbs.css
   ===================================================== */

/* ── Strip wrapper — no background, no padding, just the thumbs ── */
.sst-strip {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 22px;
    align-items: center;
    overflow-x: auto;
    overflow-y: visible;            /* let the outline breathe */
    scrollbar-width: none;          /* hide scrollbar Firefox */
    background: none;
    padding: 0px 7px;                 /* 5px offset + 2px wiggle so outline isn't clipped */
    margin: 0;
    min-height: calc( var( --sst-thumb-h, 50px ) + 14px );
}

.sst-strip::-webkit-scrollbar { display: none; }

/* ── Individual thumbnail ── */
.sst-strip .sst-thumb {
    flex: 0 0 var( --sst-thumb-w, 80px ) !important;
    width:  var( --sst-thumb-w, 80px ) !important;
    height: var( --sst-thumb-h, 50px ) !important;
    position: relative !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 28px !important;
    overflow: hidden !important;
    cursor: pointer !important;
    outline: 1.5px solid transparent !important;
    outline-offset: 5px !important;
    background-color: #bbb !important;
    background-size: cover !important;
    background-position: center !important;
    box-shadow: none !important;
    display: block !important;
    transition:
        outline-color .18s ease,
        opacity       .18s ease,
        transform     .15s ease !important;
    opacity: .55 !important;
}

.sst-strip .sst-thumb:hover {
    opacity: .8 !important;
}

.sst-strip .sst-thumb:focus-visible {
    outline: 1.5px solid rgba(0, 100, 255, .7) !important;
    outline-offset: 5px !important;
    opacity: .9 !important;
}

/* ── Active state ── */
.sst-strip .sst-thumb--active {
    outline: 1.5px solid #333 !important;
    outline-offset: 5px !important;
    opacity: 1 !important;
    box-shadow: none !important;
}

/* Remove the old bar element — not used in this design */
.sst-thumb__bar { display: none; }

/* ── Numbered fallback (no image available) ── */
.sst-strip .sst-thumb--numbered {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #555 !important;
    background-image: none !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    font-family: inherit !important;
}

.sst-strip .sst-thumb--numbered.sst-thumb--active {
    background-color: #222 !important;
}

/* ── Accent variant ──
   [slideshow_thumbs select="slideshow-bg-1" class="sst-strip--accent"]
── */
.sst-strip--accent .sst-thumb--active {
    outline-color: #0073e6;
}

/* ── Responsive ── */
@media ( max-width: 480px ) {
    .sst-strip {
        --sst-thumb-w: 60px;
        --sst-thumb-h: 40px;
    }
}
