/* Keep the native background span as the clip. Never clip the section's menus,
   move its text, or change Divi's responsive/hover video visibility rules. */
.et_pb_section > .et-pb-background-video.dicm-video-parallax-active {
	overflow: hidden;
	pointer-events: none;
}

/* MediaElement writes inline sizes on load/resize; these scoped overrides keep
   the moving media covering the clip without fighting its playback engine. */
.dicm-video-parallax-active > .mejs-container,
.dicm-video-parallax-active > video {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: var(--dicm-vp-height) !important;
	min-width: 0 !important;
	max-width: none !important;
	margin: 0 !important;
	transform: translate3d(0, var(--dicm-vp-y), 0) !important;
	will-change: transform;
}
.dicm-video-parallax-active .mejs-inner,
.dicm-video-parallax-active .mejs-mediaelement,
.dicm-video-parallax-active .mejs-container video {
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
}
.dicm-video-parallax-active video {
	object-fit: cover;
	object-position: center;
}
