.image-carousel {
  width: 100vw;
  aspect-ratio: 16 / 7;
  background: #000;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.carousel-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: visible;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slides {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
  background: #000;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  color: transparent;
  font-size: 0;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  padding: 12px 16px;
  font-size: 24px;
  cursor: pointer;
  border-radius: 4px;
  z-index: 10;
  transition: background 0.3s ease;
}

.carousel-nav:hover {
  background: rgba(0, 0, 0, 0.8);
}

.carousel-indicators {
  position: absolute;
  bottom: -12pt;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14pt;
  padding: 12pt 32pt;
  background: #ffffff;
  border-radius: 12pt;
  z-index: 12;
}

.carousel-dot {
  width: 6pt;
  height: 6pt;
  border-radius: 50%;
  background: #9a9a9a;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
  padding: 0;
}

.carousel-dot:hover {
  background: #4f4f4f;
}

.carousel-dot.active {
  background: #1c1c1c;
}

.carousel-separator {
  margin: 0 4px;
}

@media (max-width: 760px) {
  .image-carousel,
  .carousel-viewport {
    aspect-ratio: 4 / 3;
  }

  .carousel-indicators {
    display: none;
  }

  .carousel-nav {
    padding: 8px 12px;
    font-size: 18px;
  }

  .carousel-prev {
    left: 8px;
  }

  .carousel-next {
    right: 8px;
  }

  .carousel-counter {
    top: 8px;
    right: 8px;
    font-size: 11px;
    padding: 4px 8px;
  }
}

.carousel-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #fff;
  font-size: clamp(16px, 3vw, 20px);
  font-family: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  text-align: center;
}
