.aw-lite-youtube {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	min-height: 220px;
	border: 0;
	border-radius: 0;
	padding: 0;
	background-color: #000;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	cursor: pointer;
	overflow: hidden;
	aspect-ratio: 16 / 9;
}

/* Responsive video boxes only position iframe children; lite buttons need the same fill. */
.youtube-container .aw-lite-youtube,
.video-wrapper .aw-lite-youtube,
.video-embed .aw-lite-youtube,
.aw-lite-youtube.main-youtube {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	min-height: 0;
	aspect-ratio: auto;
}

.aw-lite-youtube::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.45));
}

.aw-lite-youtube .aw-lite-youtube__play {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	display: inline-flex;
	width: 72px;
	height: 50px;
	transform: translate(-50%, -50%);
	border-radius: 12px;
	background: rgba(0, 0, 0, 0.75);
	align-items: center;
	justify-content: center;
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.aw-lite-youtube .aw-lite-youtube__play::before {
	content: "";
	display: block;
	width: 0;
	height: 0;
	margin-left: 4px;
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	border-left: 17px solid #fff;
}

.aw-lite-youtube:hover .aw-lite-youtube__play,
.aw-lite-youtube:focus-visible .aw-lite-youtube__play {
	transform: translate(-50%, -50%) scale(1.05);
	background: #ff0033;
}

.aw-lite-youtube:focus-visible {
	outline: 2px solid #1b8aff;
	outline-offset: 2px;
}

@media (max-width: 768px) {
	.aw-lite-youtube {
		min-height: 180px;
	}
}
