/* ============================================================
   AVWJ — Apologetics investigation slideshow
   ============================================================ */
.avwj-investigation-slideshow {
    width: 100%;
    max-width: 300px;
    margin: 0 auto 24px;
    text-align: center;
    box-sizing: border-box;
}

.avwj-slideshow-heading {
    margin: 0 0 12px;
    color: #7a1f2b;
    font-size: 1.05rem;
    font-weight: 700;
}

.avwj-slideshow-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 500 / 555;
    overflow: hidden;
    background: #f2f0ed;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .16);
}

.avwj-slideshow-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 650ms ease-in-out;
}

.avwj-slideshow-image.is-visible {
    opacity: 1;
}

.avwj-slideshow-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
}

.avwj-slideshow-controls button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 34px;
    padding: 0;
    border: 1px solid #d9cdd0;
    border-radius: 6px;
    background: #fff;
    color: #7a1f2b;
    cursor: pointer;
    font: inherit;
}

.avwj-slideshow-controls button:hover,
.avwj-slideshow-controls button:focus-visible {
    background: #f5ebed;
    outline-offset: 2px;
}

.avwj-slideshow-count {
    min-width: 72px;
    font-size: .83rem;
    color: #555;
    font-variant-numeric: tabular-nums;
}

.avwj-slideshow-progress {
    height: 4px;
    margin-top: 11px;
    overflow: hidden;
    border-radius: 5px;
    background: #e7e2e3;
}

.avwj-slideshow-progress-bar {
    height: 100%;
    width: 5.5556%;
    background: #7a1f2b;
    transition: width 300ms ease;
}

.avwj-slideshow-enlarge {
    display: inline-block;
    margin-top: 12px;
    font-size: .88rem;
    font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
    .avwj-slideshow-image,
    .avwj-slideshow-progress-bar {
        transition: none;
    }
}
