/* ============ Slideshow container ============ */
.container {
  max-width: 1000px;
  margin: 0 auto;
}

/* The visible slide area (wraps all .mySlides + arrows) */
.slides {
  position: relative;         /* anchors arrows & number text */
  background: #000;           /* letterbox sides for landscape images */
  text-align: center;
}

/* Each slide (JS toggles display) */
.mySlides { 
  display: none; 
}

/* Scale images; keep height reasonable */
.mySlides img {
  display: block;
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  margin: 0 auto;
}

/* "1 / N" counter */
.numbertext {
  position: absolute;
  top: 8px;
  left: 8px;
  color: #fff;
  font-size: 14px;
  z-index: 2;
}

/* ============ Prev / Next arrows ============ */
.prev,
.next {
  position: absolute;
  /* JS sets the exact 'top' in px; translate keeps the button centered */
  transform: translateY(-50%);
  padding: 12px 14px;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  text-decoration: none;
  user-select: none;
  z-index: 3;
  background: rgba(0,0,0,.35);
  border-radius: 3px;
  cursor: pointer;
}
.prev { left: 12px; }
.next { right: 12px; }

.prev:hover,
.next:hover { 
  background: rgba(0,0,0,.6); 
}

/* ============ Caption under slides ============ */
.caption-container {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 10px 12px;
}





