/* XMS v1.4.21 — edge-to-edge homepage video with unchanged v1.4.20 height.
 * Native MP4 fills the banner without stretching. YouTube iframes are sized
 * by the companion resize script for the same 16:9 cover treatment.
 * Scoped only to the homepage's top video section. */
body.xms-theme.xms-home-study.xms-has-home-video > main#xms-content.xms-main > .xms-top-video {
  /* Keep v1.4.20 viewport-based height and the flush header/video seam. */
  width: 100vw !important;
  max-width: 100vw !important;
  min-width: 100vw !important;
  overflow: hidden !important;
}
body.xms-theme.xms-home-study.xms-has-home-video .xms-top-video-frame {
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
}
body.xms-theme.xms-home-study.xms-has-home-video .xms-top-video-frame video.xms-top-video-native {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  transform: none !important;
  object-fit: cover !important;
  object-position: 50% 50% !important;
  background: transparent !important;
}
body.xms-theme.xms-home-study.xms-has-home-video .xms-top-video-frame iframe.xms-top-video-embed {
  position: absolute !important;
  display: block !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  width: var(--xms-video-cover-width, 100vw) !important;
  min-width: 100% !important;
  max-width: none !important;
  height: var(--xms-video-cover-height, 100%) !important;
  min-height: 100% !important;
  max-height: none !important;
  aspect-ratio: 16 / 9 !important;
  margin: 0 !important;
  transform: translate(-50%, -50%) !important;
  border: 0 !important;
}
body.xms-theme.xms-home-study.xms-has-home-video .xms-top-video-fallback {
  background-size: cover !important;
  background-position: center center !important;
}
