/* ==============================
   SLIDESHOW CORE (ALL GALLERIES)
   ============================== */

.courtroom-stage {
  padding-left: 0;
}

.slide-single img {
  display: block;
  height: 90vh;
  width: auto;
  max-width: 100%;
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

.slide-single img.is-fading {
  opacity: 0;
}

body.thumbs-on .slide-single img {
  height: 82vh;
}

/* ==============================
   CAPTION
   ============================== */

.slide-meta {
  margin-top: 8px;
  width: 100%;
}

.slide-caption {
  max-width: 960px;
  margin: 8px 0 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #e0e0e0;
  text-align: left;
}

/* ==============================
   CONTROLS
   ============================== */

.slideshow-controls-row {
  margin-top: 4px;
}

.slideshow-controls {
  display: flex;
  gap: 16px;
  padding: 0 20px;
  align-items: center;
}

.slideshow-controls button {
  background: none;
  border: none;
  color: #cccccc;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0;
}

.slideshow-controls button:hover,
#toggleAutoplay.is-active {
  color: #999966;
}

/* ==============================
   THUMB STRIP (ANIMATED)
   ============================== */

.thumb-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;

  max-height: 0;
  opacity: 0;
  transform: translateY(8px);

  transition:
    max-height 0.6s ease,
    opacity 0.4s ease,
    transform 0.6s ease;

  padding: 0;
  margin: 0;
}

body.thumbs-on .thumb-strip {
  max-height: 90px;
  opacity: 1;
  transform: translateY(0);
  padding: 6px 0 4px;
}

/* HARD LOCK THUMB SIZE — FINAL */

.thumb-strip img {
  height: 56px !important;
  width: auto !important;
  max-height: 56px !important;
  flex-shrink: 0;
  cursor: pointer;
  opacity: 0.7;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

.thumb-strip img:hover,
.thumb-strip img.active {
  opacity: 1;
  outline: 2px solid #999966;
}
