/* Shared page hero. Existing Divi copy remains editable in each page. */
#main-content .cs-video-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 440px;
  display: flex;
  align-items: center;
  background: var(--cs-sapphire);
  padding: clamp(64px, 7vw, 96px) 0 !important;
}
#main-content .cs-video-hero::after { display: none; }
.cs-hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.cs-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(14, 34, 64, 0.66);
}
.cs-hero-poster,
.cs-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
.cs-hero-copy {
  width: min(90%, var(--cs-content));
  margin: 0 auto;
}
#main-content .cs-video-hero :is(h1,h2,h3,p) { color: var(--cs-white); }
#main-content .cs-video-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.08;
}
#main-content .cs-video-hero .cs-tagline { color: var(--cs-glacier); }
#main-content .cs-video-hero > .et_pb_row { margin: 0 auto; }
#main-content .cs-video-hero .cs-hero-motion {
  position: absolute;
  right: max(5%, calc((100% - var(--cs-content)) / 2));
  bottom: 20px;
  z-index: 3;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--cs-white);
  border-radius: var(--cs-radius-sm);
  background: var(--cs-sapphire);
  color: var(--cs-white);
  font-size: 0.8rem;
  line-height: 1.3;
  font-weight: 600;
  cursor: pointer;
  transform: none;
}
#main-content .cs-video-hero .cs-hero-motion:hover,
#main-content .cs-video-hero .cs-hero-motion:focus-visible {
  background: var(--cs-glacier);
  color: var(--cs-sapphire);
  border-color: var(--cs-glacier);
}
.cs-hero-motion[hidden] { display: none !important; }
.cs-standard-page-content { width: min(90%, var(--cs-content)); margin: 0 auto; }
.cs-standard-page-content:not(:empty) { padding: 32px 0; }
@media (max-width: 767px) {
  #main-content .cs-video-hero { min-height: 400px; padding: 56px 0 88px !important; }
  #main-content .cs-video-hero h1 { overflow-wrap: break-word; }
}
@media (prefers-reduced-motion: reduce) {
  .cs-hero-video:not([data-user-play]) { visibility: hidden; }
}
@media print {
  .cs-hero-video, .cs-hero-motion { display: none !important; }
}

