/* Deliberate differences from the WordPress site (README: "Deliberate differences from live"). */

/* Background videos: sized like Divi's et_pb_resize_section_video_bg (section-wide at 16:9, the bottom cut off; if that's
   shorter than the section, section-tall and centred across), but in CSS, so they're the right size from the first
   paint instead of jumping when a script runs (layout shift). Live's 1920px uploads filled most screens at natural size;
   the re-encoded copies are 960-1280px. */
.et_pb_section_video_bg {
  container-type: size;
}
.et_pb_section_video_bg video {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: max(100cqw, 100cqh * 16 / 9);
  height: auto;
  aspect-ratio: 16 / 9;
  max-width: none;
  margin: 0;
}
