.hero-home .hero-media.oi-home-hero-slider {
  background: #171512;
}

.hero-home .hero-media.oi-home-hero-slider .oi-home-hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 900ms ease, visibility 0s linear 900ms;
}

.hero-home .hero-media.oi-home-hero-slider .oi-home-hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.hero-home .hero-media.oi-home-hero-slider .oi-home-hero-slide img {
  transform: scale(1.015);
  transition: transform 7s ease;
}

.hero-home .hero-media.oi-home-hero-slider .oi-home-hero-slide.is-active img {
  transform: scale(1);
}

.hero-home .hero-shade {
  z-index: 2;
}

.hero-home .hero-content {
  z-index: 3;
}

.oi-home-hero-controls {
  position: absolute;
  z-index: 4;
  /* Keep the slider controls clear of the fixed language switcher. */
  right: max(112px, calc((100vw - 1360px) / 2 + 88px));
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(12, 11, 9, 0.46);
  backdrop-filter: blur(8px);
}

.oi-home-hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: width 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.oi-home-hero-dot.is-active {
  width: 28px;
  border-color: #d5a536;
  background: #d5a536;
}

.oi-home-hero-dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .oi-home-hero-controls {
    right: 50%;
    bottom: 18px;
    transform: translateX(50%);
  }
}

/* The owner requested the hero cross-fade to remain active on every device. */
@media (prefers-reduced-motion: reduce) {
  .hero-home .hero-media.oi-home-hero-slider .oi-home-hero-slide {
    transition: opacity 900ms ease, visibility 0s linear 900ms !important;
  }

  .hero-home .hero-media.oi-home-hero-slider .oi-home-hero-slide.is-active {
    transition-delay: 0s !important;
  }

  .hero-home .hero-media.oi-home-hero-slider .oi-home-hero-slide img {
    transition: transform 7s ease !important;
  }

  .oi-home-hero-dot {
    transition: width 220ms ease, background-color 220ms ease, border-color 220ms ease !important;
  }
}
