/* Confined to Premio's existing Watch Film popup. */
#elementor-popup-modal-587 {
	--premio-popup-width: 80vw;
	--premio-popup-gutter: 32px;
	--premio-video-ratio: 1.777777778;
	align-items: center;
	justify-content: center;
}

#elementor-popup-modal-587 .dialog-widget-content {
	width: min(var(--premio-popup-width), calc((100vh - 110px) * var(--premio-video-ratio)));
	width: min(var(--premio-popup-width), calc((100dvh - 110px) * var(--premio-video-ratio)));
	max-width: calc(100vw - var(--premio-popup-gutter));
	min-height: 0;
	height: auto;
	margin: 0;
	position: relative;
	overflow: visible;
}

#elementor-popup-modal-587 .dialog-message {
	width: 100%;
	height: auto;
	min-height: 0;
	max-height: none;
	padding: 0;
	overflow: visible;
}

#elementor-popup-modal-587 .premio-film-player {
	position: relative;
	width: 100%;
	height: auto;
	aspect-ratio: var(--premio-video-ratio);
	background: #000;
}

#elementor-popup-modal-587 .premio-film-player iframe {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

#elementor-popup-modal-587 .premio-film-status {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	color: #fff;
	font: 16px/1.5 sans-serif;
	text-align: center;
}

body #elementor-popup-modal-587 .dialog-close-button {
	top: -44px;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	z-index: 2;
	color: #fff;
}

#elementor-popup-modal-587 .premio-film-widget {
	width: 100%;
}

#elementor-popup-modal-587 .dialog-close-button:focus-visible {
	outline: 2px solid #fff;
	outline-offset: -4px;
}

@media (max-width: 767px) {
	#elementor-popup-modal-587 {
		--premio-popup-width: 94vw;
		--premio-popup-gutter: 16px;
	}
}
