/*
 * Optional Webstudio hero background video.
 * The existing hero copy, button layout, navigation and theme modes stay intact.
 */
.hero--has-video .hero-background { overflow: hidden; background: #142B4C; }
.hero--has-video .hero-background::after {
  background: linear-gradient(120deg, #0b203a 0%, #142B4C 55%, #1a4676 100%);
}
.hero--has-video .hero-video-poster,
.hero--has-video .hero-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero--has-video .hero-video-poster {
  z-index: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero--has-video .hero-video {
  z-index: 1;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transition: opacity .45s ease;
}
.hero--has-video .hero-video.is-playing { opacity: 1; }
.hero--has-video .hero-tint {
  z-index: 2;
  background: linear-gradient(90deg,
    rgba(10, 26, 47, .88) 0%,
    rgba(15, 37, 65, .76) 48%,
    rgba(15, 37, 65, .47) 100%);
}

/* Do not load or display moving video on small screens, or for visitors
 * who request reduced motion. The poster/gradient stays visible. */
@media (max-width: 760px), (prefers-reduced-motion: reduce) {
  .hero--has-video .hero-video { display: none !important; }
  .hero--has-video .hero-video { transition: none; }
}
