.youtube-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.youtube-popup-inner {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.youtube-popup-inner iframe {
	aspect-ratio: 16 / 9;
	width: 70vw;
	height: auto;
}

.youtube-popup-wrapper{
	background-color:var(--wp--custom--dark--1);
    position: relative;
    display: inline-block;
}

.youtube-popup-trigger{
	display:flex;
}

.youtube-popup-image {
    cursor: pointer;
    max-width: 100%;
    display: block;
	aspect-ratio: 2 / 1;
	opacity:.8;
	object-fit:cover;
	transition: all 300ms ease-in-out;
}

.youtube-popup-trigger:hover .youtube-popup-image,
.youtube-popup-trigger:focus-visible .youtube-popup-image{opacity:1;}

.youtube-popup-wrapper::after {
    content: "\f144";
    font-family: 'Font Awesome 6 Pro';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5.625em;
    pointer-events: none;
	color:var(--wp--custom--primary--main);
}