.elementor-widget-ap_fullscreen_video_section,
.elementor-widget-ap_fullscreen_video_section .elementor-widget-container {
	width: 100%;
	max-width: none;
	padding: 0;
	margin: 0;
}

.ap-fvs {
	position: relative;
	width: 100%;
	min-height: 100vh;
	min-height: 100dvh;
	height: 100vh;
	height: 100dvh;
	overflow: hidden;
}

.ap-fvs--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	text-align: center;
	background: #1d2327;
	color: #f0f0f1;
	font-size: 14px;
	line-height: 1.5;
}

.ap-fvs__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.ap-fvs__poster,
.ap-fvs__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	transition: none !important;
	animation: none !important;
}

.ap-fvs .ap-fvs__poster {
	height: 100% !important;
	width: 100% !important;
	max-width: none !important;
}

/* Mobile poster: مخفي على الـdesktop */
.ap-fvs .ap-fvs__poster--mobile {
	display: none;
}

/* لما في صورة موبايل: اخفي الـdesktop على الشاشات الصغيرة */
@media (max-width: 767px) {
	.ap-fvs .ap-fvs__poster--desktop.ap-fvs__poster--has-mobile {
		display: none;
	}

	.ap-fvs .ap-fvs__poster--mobile {
		display: block;
	}
}

.ap-fvs__poster {
	z-index: 2;
	opacity: 1;
	visibility: visible;
}

.ap-fvs__poster:not(.is-visible) {
	opacity: 0;
	visibility: hidden;
	z-index: 1;
}

.ap-fvs__video {
	z-index: 1;
	opacity: 0;
	visibility: hidden;
}

.ap-fvs__video.is-visible {
	opacity: 1;
	visibility: visible;
	z-index: 2;
}
