.ndv-video-player {
	box-sizing: border-box;
	width: 100%;
	margin: 1.5rem auto;
}

.ndv-video-player *,
.ndv-video-player *::before,
.ndv-video-player *::after {
	box-sizing: inherit;
}

.ndv-video-player .ndv-video-title {
	display: block;
	width: 100%;
	margin: 0 0 1rem;
	padding: 0;
	text-align: center;
	font-size: clamp(1.5rem, 2.4vw, 2.1rem);
	font-weight: 800;
	line-height: 1.3;
	color: inherit;
	text-wrap: balance;
}

.ndv-video-frame {
	position: relative;
	width: 100%;
	overflow: hidden;
	border-radius: 12px;
	background: #000;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.ndv-video-fixed-ratio .ndv-video-frame {
	aspect-ratio: var(--ndv-video-ratio, 16 / 9);
}

.ndv-video-element {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 0;
	background: #000;
}

.ndv-video-fixed-ratio .ndv-video-element {
	height: 100%;
	object-fit: contain;
}

.ndv-video-original-ratio .ndv-video-element {
	height: auto;
}

@media (max-width: 782px) {
	.ndv-video-player {
		margin: 1rem auto;
	}

	.ndv-video-player .ndv-video-title {
		margin-bottom: 0.8rem;
		font-size: 1.35rem;
	}

	.ndv-video-frame {
		border-radius: 8px;
	}
}
