.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 900ms ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: saturate(.82);
}

.hero-controls {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 72px;
  display: flex;
  align-items: center;
  gap: 13px;
}

.hero-controls > button {
  width: 36px;
  height: 36px;
  border: 1px solid #ffffff99;
  background: #12312a55;
  color: #fff;
  font-size: 17px;
  cursor: pointer;
}

.hero-controls > button:hover,
.hero-controls > button:focus-visible {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink);
}

.hero-dots {
  display: flex;
  gap: 7px;
}

.hero-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff8;
  cursor: pointer;
}

.hero-dots button.is-active {
  background: var(--yellow);
  transform: scale(1.35);
}

@media (max-width: 560px) {
  .hero-controls {
    right: 15px;
    bottom: 76px;
  }

  .hero-controls > button {
    width: 34px;
    height: 34px;
  }
}

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