.gw-youtube-popup__trigger {
	position: relative;
	display: inline-block;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	line-height: 0;
}

.gw-youtube-popup__trigger img{
	aspect-ratio: 1 / 1;
	border-radius: 16px;
	object-fit: cover;
}

.gw-youtube-popup__thumbnail {
	display: block;
	width: 100%;
	height: auto;
}

.gw-youtube-popup__play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}

.gw-youtube-popup__modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.gw-youtube-popup__modal[hidden] {
	display: none;
}

.gw-youtube-popup__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.8);
}

.gw-youtube-popup__dialog {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 960px;
}

.gw-youtube-popup__close {
	position: absolute;
	top: -60px;
	right: 0;
	color: #ffffff;
	line-height: 1;
	cursor: pointer;
	padding: 0 !important;
	background: none !important;
	border: none !important;
	font-size: 40px !important;
}

.gw-youtube-popup__video-wrap {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%;
	height: 0;
	background: #000000;
}

.gw-youtube-popup__iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}