/* Homepage media only. No section sizing, copy, spacing or scroll changes. */
#home > video.frontierHeroVideo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 55%;
  pointer-events: none;
}
#riding .rideMedia[data-frontier-ride-slideshow] > img.frontierRideSlide {
  position: absolute !important;
  inset: 0;
  display: block !important;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: none !important;
  transition: opacity 1.6s ease-in-out;
  pointer-events: none;
}
#riding .rideMedia[data-frontier-ride-slideshow] > img.frontierRideSlide.is-active {
  opacity: 1;
}
#home #frontierHeroMotion,
#riding #frontierRideMotion {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: #F2F0E9;
  font: 400 10px/1.5 Inter, Arial, sans-serif;
  cursor: pointer;
}
#home #frontierHeroMotion:focus-visible,
#riding #frontierRideMotion:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 5px;
}
#riding .frontierRideMotionControl {
  position: absolute;
  right: 7%;
  bottom: 18px;
  z-index: 5;
}
@media (prefers-reduced-motion: reduce) {
  #riding .rideMedia[data-frontier-ride-slideshow] > img.frontierRideSlide {
    transition: none;
  }
}
