/*
 * I Already Won Fitness: Hero Mobile Video  (v1.0.0)
 * Owner revisions 2026-10-22 (CUSTOM-AVADA-ELEMENT v5.6).
 * Styles [iawf_hero_mobile_video] only. Root: .iawf-hmv.
 *
 * Hidden at every size until the script moves it into the Hero Container
 * (.iawf-hero) and marks it is-on, which only happens at 640px and below
 * (Avada Small). It then fills the container behind the hero shade
 * (.iawf-hero::after, z-index 0, painted after it) and the Hero Content
 * Column (z-index 1). The container's own background video is hidden there.
 */

.iawf-hmv {
	display: none;
}

@media (max-width: 640px) {
	.iawf-hero > .iawf-hmv.is-on {
		display: block;
		position: absolute;
		inset: 0;
		z-index: 0;
		overflow: hidden;
		pointer-events: none;
		background: var(--awb-color1, #000);
	}

	.iawf-hero > .iawf-hmv.is-on .iawf-hmv__video {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: 50% 50%;
	}

	.iawf-hero.iawf-hmv-active .fusion-background-video-wrapper,
	.iawf-hero.iawf-hmv-active > video {
		display: none !important;
	}
}
