.jci-video-facade {
	--jci-video-facade-aspect-ratio: 16 / 9;
	--jci-video-facade-background: #020714;
	--jci-video-facade-overlay: rgba(4, 28, 64, 0.62);
	--jci-video-facade-play-background: transparent;
	--jci-video-facade-play-background-active: rgba(255, 255, 255, 0.12);
	--jci-video-facade-play-color: #fff;
	--jci-video-facade-focus: #fff;

	position: relative;
	width: 100%;
	aspect-ratio: var(--jci-video-facade-aspect-ratio);
	background: var(--jci-video-facade-background);
	overflow: hidden;
}

.jci-video-facade__trigger,
.jci-video-facade iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.jci-video-facade__trigger {
	position: relative;
	padding: 0;
	appearance: none;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
}

.jci-video-facade__trigger:focus-visible {
	outline: 3px solid var(--jci-video-facade-focus);
	outline-offset: -5px;
}

.jci-video-facade__poster {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.jci-video-facade__overlay {
	position: absolute;
	inset: 0;
	background: var(--jci-video-facade-overlay);
	transition: background-color 180ms ease;
}

.jci-video-facade__play {
	position: absolute;
	top: clamp(1.25rem, 2.5vw, 2.5rem);
	right: clamp(1.25rem, 2.5vw, 2.5rem);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: clamp(4rem, 9vw, 6rem);
	height: clamp(4rem, 9vw, 6rem);
	border: 4px solid currentColor;
	border-radius: 50%;
	background: var(--jci-video-facade-play-background);
	color: var(--jci-video-facade-play-color);
	box-shadow: none;
	transform: none;
	transition: background-color 180ms ease, transform 180ms ease;
}

.jci-video-facade__play-icon {
	width: 38%;
	height: 38%;
	margin-left: 5%;
	fill: currentColor;
}

.jci-video-facade__trigger:hover .jci-video-facade__play,
.jci-video-facade__trigger:focus-visible .jci-video-facade__play {
	background: var(--jci-video-facade-play-background-active);
	transform: scale(1.04);
}

.jci-video-facade__trigger:hover .jci-video-facade__overlay,
.jci-video-facade__trigger:focus-visible .jci-video-facade__overlay {
	background: rgba(4, 28, 64, 0.52);
}

.jci-video-facade.is-loading {
	cursor: progress;
}

.jci-video-facade__noscript {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	color: #fff;
	text-align: center;
}

@media (prefers-reduced-motion: reduce) {
	.jci-video-facade__overlay,
	.jci-video-facade__play {
		transition: none;
	}
}
