.cc-video-modal {
	display: block;
	max-width: 100%;
}

.cc-video-modal .cc-video-modal__trigger {
	appearance: none;
	position: relative;
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	color: inherit;
	line-height: 0;
	cursor: pointer;
}

.cc-video-modal .cc-video-modal__trigger:hover,
.cc-video-modal .cc-video-modal__trigger:focus {
	background: none;
	color: inherit;
}

.cc-video-modal .cc-video-modal__trigger:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}

.cc-video-modal .cc-video-modal__trigger img {
	display: block;
	width: 100%;
	height: auto;
}

/* Play icon: centered over the thumbnail at 50% opacity. */
.cc-video-modal__play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: clamp(48px, 14%, 96px);
	transform: translate(-50%, -50%);
	opacity: 0.5;
	pointer-events: none;
}

.cc-video-modal__play svg {
	display: block;
	width: 100%;
	height: auto;
}
