/**
 * Porto Carousel + Elementor Video
 * Ensures video (iframe) displays correctly inside Porto Additional Settings > Carousel.
 * Owl Carousel and theme styles can override Elementor video widget; these rules restore it.
 */

/* Slide item: full width and allow height from content (aspect-ratio) */
.porto-carousel.owl-carousel .owl-item .elementor-widget-video {
	width: 100%;
	max-width: 100%;
}

.porto-carousel.owl-carousel .owl-item .elementor-widget-video .elementor-widget-container {
	width: 100%;
}

/* Video wrapper: keep aspect-ratio and full width so iframe gets correct size */
.porto-carousel.owl-carousel .owl-item .elementor-widget-video .elementor-wrapper {
	width: 100%;
	max-width: 100%;
}

/* Ensure iframe/video fill the wrapper (override theme/owl rules) */
.porto-carousel.owl-carousel .owl-item .elementor-widget-video .elementor-wrapper iframe,
.porto-carousel.owl-carousel .owl-item .elementor-widget-video .elementor-wrapper video {
	width: 100% !important;
	height: 100% !important;
	max-width: 100%;
	display: block;
}

/* Default aspect ratio for embed if not set by Elementor */
.porto-carousel.owl-carousel .owl-item .elementor-widget-video .elementor-wrapper {
	--video-aspect-ratio: 16 / 9;
}
