/* ==========================================================================
   VIDEO FEATURE — full viewport background video with a centered headline
   container. Reused verbatim for the two video sections in the brief
   (mark-up is identical, only the video src / copy changes per instance).
   ========================================================================== */

.video-feature {
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-feature__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.video-feature__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity var(--dur-xslow) ease;
}

.video-feature__media video.is-loaded { opacity: 1; }

.video-feature__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 8, 0.42);
}

.video-feature__panel {
  position: relative;
  z-index: 2;
  width: 40%;
  min-width: 340px;
  text-align: center;
  color: var(--color-white);
}

.video-feature__panel h2 {
  font-size: var(--fs-h1);
}

.video-feature__panel p {
  margin-top: var(--sp-3);
  color: rgba(255,255,255,0.85);
}

@media (max-width: 860px) {
  .video-feature { align-items: flex-start; justify-content: flex-start; }

  .video-feature__panel {
    width: 90%;
    min-width: 0;
    text-align: left;
    margin-top: var(--sp-7);
    margin-left: var(--sp-3);
  }
}
