.slideshow {
  position: relative;
  height: clamp(280px, 52vw, 620px);
  overflow: hidden;
  border-radius: 6px;
  background: #163d2a;
  box-shadow: 0 16px 36px rgba(21, 52, 35, .16);
}

.slideshow-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity .28s ease;
}

.slideshow-image.is-changing { opacity: .28; }

.season-slideshow {
  position: relative;
  width: min(390px, 100%);
  height: 250px;
  flex: 0 0 390px;
  border-radius: 6px;
  overflow: hidden;
  background: #163d2a;
  box-shadow: 0 12px 30px rgba(21, 52, 35, .15);
}

.season-slideshow img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .28s ease;
}

.season-slideshow img.is-changing { opacity: .28; }

.season-caption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  margin: 0;
  padding: 8px 11px;
  border-radius: 3px;
  background: rgba(16, 39, 28, .86);
  color: #fff;
  font-size: .88rem;
  line-height: 1.35;
  pointer-events: none;
}

.slideshow-controls {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(16, 39, 28, .78);
  color: #fff;
  backdrop-filter: blur(6px);
}

.slideshow-button {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--forest, #24553d);
  font: inherit;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.slideshow-button:hover,
.slideshow-button:focus-visible { background: #dcebdc; }

.slideshow-count {
  min-width: 46px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-size: .85rem;
}

@media (max-width: 600px) {
  .slideshow { height: 310px; }
  .slideshow-controls { right: 10px; bottom: 10px; }
  .season-slideshow { width: 100%; height: 205px; flex-basis: auto; }
}
