/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* Header backdrop-filter traps the fixed off-canvas at header height, so the overlay never covers the page. */
.elementor-location-header .elementor-widget-off-canvas > .e-off-canvas {
	height: 100vh;
	height: 100dvh;
}

.yt-facade {
	position: relative;
	display: block;
	width: 100%;
	cursor: pointer;
}

.yt-facade img,
.elementor-widget-video .yt-facade img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	background: #000;
}

.yt-facade:hover .elementor-custom-embed-play svg {
	opacity: 1;
}

.yt-facade:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.yt-facade__player {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0;
}

div[style*="height: 0"] > .yt-facade,
div[style*="height:0"] > .yt-facade {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

div[style*="height: 0"] > .yt-facade img,
div[style*="height:0"] > .yt-facade img {
	width: 100%;
	height: 100%;
}

.wp-embed-responsive .wp-has-aspect-ratio .wp-block-embed__wrapper:has(.yt-facade)::before {
	content: none;
	display: none;
	padding: 0;
}
