/* XMS v1.4.22 — FULL HEIGHT + FULL BLEED, no side gutters.
 * Keep the v1.4.20 viewport-measured height untouched. This final stylesheet
 * removes the remaining legacy width/contain constraints and sizes the media
 * to COVER the available banner on all screen sizes. Cropping, if needed,
 * happens inside the video frame rather than shrinking the frame itself. */
html:has(body.xms-home-study.xms-has-home-video),
body.xms-theme.xms-home-study.xms-has-home-video {
  overflow-x: clip !important;
}
body.xms-theme.xms-home-study.xms-has-home-video > main#xms-content.xms-main > section.xms-top-video {
  position: relative !important;
  display: block !important;
  grid-column: 1 / -1 !important;
  left: 0 !important;
  right: auto !important;
  transform: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  width: 100vw !important;
  min-width: 100vw !important;
  max-width: 100vw !important;
  min-height: 260px !important;
  max-height: none !important;
  /* No height declaration here: retain the viewport height from v1.4.20. */
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
}
body.xms-theme.xms-home-study.xms-has-home-video .xms-top-video > .xms-top-video-frame {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  overflow: hidden !important;
}
body.xms-theme.xms-home-study.xms-has-home-video .xms-top-video .xms-top-video-frame > video.xms-top-video-native,
body.xms-theme.xms-home-study.xms-has-home-video .xms-top-video .xms-top-video-frame > iframe.xms-top-video-embed {
  position: absolute !important;
  display: block !important;
  inset: auto !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  width: var(--xms-video-bleed-w, 100%) !important;
  height: var(--xms-video-bleed-h, 100%) !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: translate(-50%, -50%) !important;
  object-fit: cover !important;
  object-position: center center !important;
  aspect-ratio: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background-color: transparent !important;
}
body.xms-theme.xms-home-study.xms-has-home-video .xms-top-video .xms-top-video-frame .xms-top-video-fallback {
  inset: 0 !important;
  background-size: cover !important;
  background-position: center center !important;
}
/* Do not reinstate the old blurred side-extension artwork. */
body.xms-theme.xms-home-study.xms-has-home-video .xms-top-video .xms-top-video-edge-canvas {
  display: none !important;
}
