.taggeo-hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: transparent;
}

.taggeo-hero-slider__viewport {
  position: relative;
  width: 100%;
  min-height: clamp(320px, 52vw, 760px);
  aspect-ratio: 16 / 7;
}

.taggeo-hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.55s ease;
  pointer-events: none;
}

.taggeo-hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.taggeo-hero-slider--single .taggeo-hero-slide {
  position: relative;
  opacity: 1;
}

.taggeo-hero-slide__picture,
.taggeo-hero-slide__link,
.taggeo-hero-slide__image {
  display: block;
  width: 100%;
  height: 100%;
}

.taggeo-hero-slide__image {
  object-fit: cover;
}

.taggeo-hero-slider__dots {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.taggeo-hero-slider__dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.taggeo-hero-slider__dot.is-active {
  background: #fff;
  transform: scale(1.08);
}

@media (max-width: 768px) {
  .taggeo-hero-slider__viewport {
    min-height: clamp(360px, 100vw, 620px);
    aspect-ratio: 4 / 5;
  }

  .taggeo-hero-slider__dots {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .taggeo-hero-slide,
  .taggeo-hero-slider__dot {
    transition: none;
  }
}
