/* ---- slideshow wrapper ---- */
.slideshow-container {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  background: transparent;
}
.slideshow-container .slides {
  display: flex;
  transition: transform 0.4s ease-in-out;
  will-change: transform;
}
.slideshow-container .slide {
  flex: 0 0 100%;
  width: 100%;
  display: block;            /* not flex — avoids sizing quirks */
  background: transparent;
}
.slideshow-container .slide img {
  width: 100%;
  height: 320px;             /* fixed height so all slides match */
  display: block;
  object-fit: fill;          /* stretch to fill — no bars, no gaps */
  background: transparent;
}

/* ---- arrows (no background, hover-only) ---- */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: transparent;
  color: #fff;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  user-select: none;
  line-height: 0;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.slideshow-container:hover .arrow {
  opacity: 1;
  pointer-events: auto;
}
.arrow svg {
  display: block;
  width: 26px;
  height: 26px;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.75));
}
.arrow-left  { left: 10px; }
.arrow-right { right: 10px; }

/* loading / placeholder */
.slide-placeholder {
  padding: 3rem 1rem;
  text-align: center;
  color: #777;
}

/* mobile */
@media (max-width: 576px) {
  .slideshow-container { max-width: 100%; }
  .slideshow-container .slide img { height: 220px; }
  .arrow { width: 32px; height: 32px; }
  .arrow svg { width: 22px; height: 22px; }
}