.section-hero {
  padding: 0;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-slides {
  position: relative;
  aspect-ratio: 1600 / 840;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--transition-slow);
  pointer-events: none;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.hero-slide a {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: var(--z-index-overlay);
  width: var(--size-sm);
  height: var(--size-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-3xl);
  line-height: var(--line-height-tight);
  border: none;
  border-radius: var(--radius-full);
  background: var(--color-overlay-50);
  color: var(--color-white);
  cursor: pointer;
}

.hero-nav:hover {
  background: var(--color-overlay-70);
}

.hero-prev {
  left: var(--space-md);
}

.hero-next {
  right: var(--space-md);
}

.hero-controls {
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.hero-dots {
  display: flex;
  gap: var(--space-sm);
}

.hero-dot {
  display: block;
  width: var(--size-xs);
  height: var(--size-xs);
  line-height: 0;
  padding: 0;
  border-radius: var(--radius-full);
  border: none;
  background: var(--color-gray-300);
  cursor: pointer;
}

.hero-dot.is-active {
  background: var(--color-accent);
}

.hero-progress {
  height: var(--size-2xs);
  width: 100%;
  max-width: var(--size-progress-max);
  margin: 0;
  margin-top: var(--space-sm);
  background: var(--color-gray-200);
  overflow: hidden;
  border-radius: var(--radius-xs);
}

.hero-progress-bar {
  height: 100%;
  width: 0;
  background: var(--color-accent);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

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