/* ================================
   Slideshow container
   ================================ */
.slideshow-container {
  width: 100%;
  max-width: 900px;
  max-height: 80vh;
  margin: 40px auto 60px;
  position: relative;
  background: black;
  border: 8px solid yellow;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 3px 3px 6px rgba(0,0,0,0.6);
}

/* ================================
   Individual slides
   ================================ */
.mySlides {
  display: none;
  position: relative;
}

/* ================================
   Wrapper for image + caption
   ================================ */
.slide-inner {
  position: relative;
}

/* ================================
   Slide images
   ================================ */
.slide-inner img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  background: black;
}

/* ================================
   Caption (TOP of slideshow)
   Cross-platform Copperplate font
   ================================ */
.slide-caption {
  position: absolute !important;
  top: 8px !important;
  bottom: auto !important;
  left: 0;
  width: 100%;
  padding: 8px 12px;
  text-align: center;

  color: yellow;
  font-size: 28px;

  /* Cross-platform Copperplate stack */
  font-family:
    "Copperplate Gothic Light",
    "Copperplate Gothic",
    "Copperplate",
    "Cinzel",
    serif !important;

  text-shadow: 0 0 5px black;
  background: rgba(0,0,0,0.3);
  box-sizing: border-box;
  z-index: 10;
}

/* ================================
   Navigation arrows
   ================================ */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 16px;

  color: yellow;
  font-size: 32px;
  font-weight: bold;

  user-select: none;
  background: rgba(0,0,0,0.3);
  border-radius: 3px;
  z-index: 10;
}

.prev:hover, .next:hover {
  color: white;
  text-shadow: 0 0 10px yellow;
}

.prev { left: 10px; }
.next { right: 10px; }

/* ================================
   Mobile / Small Screens
   ================================ */
@media (max-width: 900px) {
  .slide-caption {
    font-size: 18px;
    padding: 6px 10px;
  }

  .prev, .next {
    font-size: 24px;
    padding: 12px;
  }
}
