.crr-video-modal[hidden] {
	display: none !important;
}

.crr-video-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
}

.crr-video-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.82);
}

.crr-video-modal__dialog {
	position: absolute;
	top: 50%;
	left: 50%;
	width: min(960px, calc(100vw - 32px));
	transform: translate(-50%, -50%);
	background: #000;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.crr-video-modal__embed {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000;
}

.crr-video-modal__embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.crr-video-modal__close {
	position: absolute;
	top: -40px;
	right: 0;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
}

body.crr-video-modal-open {
	overflow: hidden;
}

.crr-video-popup-trigger {
	cursor: pointer;
	color: inherit;
	font: inherit;
	text-decoration: none;
}
