/* Slideshow container */
.slideshow {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 1.4rem auto 0;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* Each slide */
.slide {
  display: none;
  width: 100%;
  animation: fadeSlide 0.5s ease;
}

.slide.active {
  display: block;
}

/* Show FULL image, no cropping */
.slide img {
  display: block;
  max-width: 100%;
  max-height: 70vh;      /* keep it from getting taller than the viewport */
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;   /* fit whole image inside the box */
  border-radius: 14px;
  background: #000;      /* optional: black “letterbox” behind transparent areas */
}


/* Fade animation */
@keyframes fadeSlide {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

/* Navigation arrows */
.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 0.6rem 1rem;
  background: rgba(0,0,0,0.45);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
  transition: 0.2s ease;
}

.slide-btn:hover {
  background: rgba(0,0,0,0.75);
}

.prev { left: 0.75rem; }
.next { right: 0.75rem; }
