/* ── Acro Slideshow ── */
.acro-slideshow {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #f4f4f4;
}

.slides-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slide figure {
    width: 100%;
    height: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide figure img {
    width: 100%;
    height: 100%;
    /* contain = full image always visible, no cropping */
    object-fit: contain;
    display: block;
}

.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.45);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    transition: background 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slide-btn:hover { background: rgba(0,0,0,0.7); }
.slide-btn.prev { left: 12px; }
.slide-btn.next { right: 12px; }

.slide-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0,0,0,0.3);
    cursor: pointer;
    transition: background 0.25s, transform 0.25s;
}
.dot.active {
    background: #333;
    transform: scale(1.25);
}

/* ── Thumbnails ── */
.slide-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.slide-thumb {
    flex: 1;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    border-radius: 6px;
    overflow: hidden;
    border: 3px solid transparent;
    transition: border-color 0.25s, opacity 0.25s;
    opacity: 0.55;
    background: #f4f4f4;
}

.slide-thumb img {
    width: 100%;
    height: 100%;
    /* cover is fine for thumbs — small previews */
    object-fit: cover;
    display: block;
}

.slide-thumb.active {
    border-color: #333;
    opacity: 1;
}

.slide-thumb:hover {
    opacity: 0.85;
}
