* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: #f0f0f0;
  font-family: sans-serif;
}

.slideshow {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
    margin-bottom: 20px;
}

.slideshow__inner {
  position: relative;
  width: 100%;
}

.slideshow__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.slideshow__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.slideshow__slide a,
.slideshow__slide span {
  display: block;
  width: 100%;
  height: 100%;
}

.slideshow__slide a {
  cursor: pointer;
}

.slideshow__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.slideshow__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
}

.slideshow__arrow:hover { background: rgba(0, 0, 0, 0.65); }
.slideshow__arrow--prev { left: 12px; }
.slideshow__arrow--next { right: 12px; }

.slideshow__dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 20;
}

.slideshow__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.2s;
}

.slideshow__dot.is-active {
  background: #fff;
  transform: scale(1.2);
}
