.hero-slides {
  position: absolute;
  inset: 0;
  background: #080d24;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.15s ease, transform 6s linear;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1.04);
}

.hero-slide:first-child {
  opacity: 1;
}

.js .hero-slide:first-child:not(.active) {
  opacity: 0;
}

.hero-slide-dots {
  position: absolute;
  z-index: 4;
  right: 28px;
  bottom: 29px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-slide-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 50%;
  background: rgba(10, 16, 44, .45);
  cursor: pointer;
  transition: width .25s, background .25s, border-color .25s;
}

.hero-slide-dot.active {
  width: 26px;
  border-radius: 999px;
  border-color: var(--gold);
  background: var(--gold);
}

.hero-slide-toggle {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-left: 5px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 50%;
  background: rgba(10, 16, 44, .55);
  color: #fff;
  font: 700 12px/1 var(--body);
  cursor: pointer;
}

.hero-slide-toggle:hover,
.hero-slide-toggle:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}

@media (max-width: 620px) {
  .hero-slide-dots {
    right: 14px;
    bottom: 17px;
  }
}

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

  .hero-slide:not(.active) {
    display: none;
  }
}
