/* ---------- video lightbox ---------- */
.mcdp-lightbox {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 4vmin;
	background: rgba(5, 13, 20, 0.86);
	opacity: 0;
	transition: opacity 0.25s ease;
}
.mcdp-lightbox.is-open {
	opacity: 1;
}
.mcdp-lightbox__inner {
	position: relative;
	/* Preserve 16:9 while fitting short landscape screens as well as portrait. */
	width: min(1200px, 100%, calc((100vh - 8vmin) * 16 / 9));
	width: min(1200px, 100%, calc((100dvh - 8vmin) * 16 / 9));
	aspect-ratio: 16 / 9;
	background: #000;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.mcdp-lightbox__inner iframe,
.mcdp-lightbox__inner video {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.mcdp-lightbox__close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 3;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.4);
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	font-size: 22px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}
@media (max-width: 900px) {
	.mcdp-lightbox__close {
		top: 8px;
		right: 8px;
	}
}
