.hero-carousel {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.hero-slides,
.hero-carousel .hero-slide {
  position: absolute;
  inset: 0;
}

.hero-carousel .hero-slide {
  display: block;
  z-index: 0;
  padding: 0;
  background: #fff;
  color: inherit;
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.65s ease;
  pointer-events: none;
}

.hero-carousel .hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-carousel .hero-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-carousel .hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-carousel .hero-copy {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.hero-carousel .hero-copy a {
  pointer-events: auto;
}

.hero-dots {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 15px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.hero-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  background: #ffffff66;
  box-shadow: 0 1px 3px #0005;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dots button.is-active {
  width: 20px;
  border-radius: 5px;
  background: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-dots button {
    transition: none;
  }
}
