/* Elementor ACF Video Background widget */
.acf-advanced-video-widget {
	position: relative;
	width: 100%;
	height: 100vh;
	min-height: 0;
	overflow: hidden;
	margin: 0;
	padding: 0;
	z-index: 0;
}

.acf-advanced-video-widget__video {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	min-width: 100%;
	min-height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: middle;
}

.acf-advanced-video-widget__overlay {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 1;
}

.acf-advanced-video-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100vh;
	min-height: 200px;
	background: #111;
	color: #fff;
	font-size: 14px;
	padding: 30px;
	text-align: center;
	box-sizing: border-box;
}

/* Shortcode [acf_video_background] — fills parent .acf-video-background */
.acf-video-background {
	position: relative;
	overflow: hidden;
}

.acf-video-background > .elementor-widget-shortcode,
.acf-video-background > .e-con-inner > .elementor-widget-shortcode {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	z-index: 0;
	pointer-events: none;
}

.acf-video-background .acf-advanced-video-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	pointer-events: none;
}

.acf-video-background .acf-advanced-video-bg__video {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	object-fit: contain;
	object-position: center center;
}

.acf-video-background > .elementor-element:not(.elementor-widget-shortcode),
.acf-video-background > .e-con-inner > .elementor-element:not(.elementor-widget-shortcode) {
	position: relative;
	z-index: 2;
}
