.tv-video-wrapper {
	max-width: 100%;
	margin: 0 0 24px 0;
}

.tv-video-player {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 8px;
	background: #000;
}

.tv-video-embed {
	position: relative;
	width: 100%;
	padding-top: 56.25%; /* 16:9 */
	border-radius: 8px;
	overflow: hidden;
	background: #000;
}

.tv-video-embed iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.tv-locked-box {
	position: relative;
	width: 100%;
	min-height: 280px;
	border-radius: 8px;
	background-color: #1a1a1a;
	background-size: cover;
	background-position: center;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.tv-locked-overlay {
	position: relative;
	z-index: 2;
	width: 100%;
	height: 100%;
	min-height: 280px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 24px;
	background: rgba(0, 0, 0, 0.65);
	backdrop-filter: blur(2px);
	color: #fff;
}

.tv-lock-icon {
	font-size: 32px;
	margin-bottom: 8px;
}

.tv-locked-title {
	margin: 0 0 6px 0;
	font-size: 20px;
	color: #fff;
}

.tv-locked-desc {
	margin: 0 0 12px 0;
	opacity: 0.9;
}

.tv-locked-price {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 16px 0;
}

.tv-buy-button {
	display: inline-block;
	padding: 12px 28px;
	background: #7f54b3;
	color: #fff !important;
	text-decoration: none;
	border-radius: 4px;
	font-weight: 600;
	transition: background 0.2s ease;
}

.tv-buy-button:hover {
	background: #6a4494;
	color: #fff !important;
}

/* ------------------------------------------------------------------
   Raster-overzicht [trainingsvideos]
   ------------------------------------------------------------------ */
.tv-grid-wrapper {
	--tv-columns: 3;
	margin: 0 0 24px 0;
}

.tv-grid {
	display: grid;
	grid-template-columns: repeat(var(--tv-columns), 1fr);
	gap: 24px;
}

@media (max-width: 900px) {
	.tv-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.tv-grid {
		grid-template-columns: 1fr;
	}
}

.tv-grid-item {
	display: flex;
	flex-direction: column;
}

.tv-grid-thumb {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 16 / 9;
	background-color: #1a1a1a;
	background-size: cover;
	background-position: center;
	border-radius: 8px;
	border: 0;
	padding: 0;
	cursor: pointer;
	overflow: hidden;
	text-decoration: none;
}

.tv-grid-thumb::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.25);
	transition: background 0.2s ease;
}

.tv-grid-thumb:hover::after {
	background: rgba(0, 0, 0, 0.45);
}

.tv-grid-icon {
	position: relative;
	z-index: 2;
	font-size: 22px;
	color: #fff;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.55);
	display: flex;
	align-items: center;
	justify-content: center;
}

.tv-play-icon {
	padding-left: 4px; /* optisch centreren van het driehoekje */
}

.tv-grid-item.tv-locked .tv-grid-icon {
	background: rgba(0, 0, 0, 0.7);
}

.tv-grid-player-container {
	display: none;
	width: 100%;
}

.tv-grid-player-container.tv-active {
	display: block;
}

.tv-grid-player-container .tv-video-player,
.tv-grid-player-container .tv-video-embed {
	border-radius: 8px;
}

.tv-grid-title {
	margin-top: 10px;
	font-weight: 600;
	font-size: 15px;
	line-height: 1.3;
}

.tv-grid-price {
	margin-top: 4px;
	font-size: 14px;
	color: #555;
}

.tv-grid-buy-link {
	display: inline-block;
	margin-top: 6px;
	font-size: 13px;
	font-weight: 600;
	color: #7f54b3;
	text-decoration: none;
}

.tv-grid-buy-link:hover {
	text-decoration: underline;
}

/* ------------------------------------------------------------------
   Lege staat: nog geen video's beschikbaar
   ------------------------------------------------------------------ */
.tv-empty-state {
	text-align: center;
	padding: 48px 24px;
	background: #f6f7f7;
	border: 1px dashed #d0d0d0;
	border-radius: 8px;
}

.tv-empty-icon {
	display: block;
	font-size: 36px;
	margin-bottom: 12px;
}

.tv-empty-text {
	margin: 0;
	font-size: 16px;
	color: #555;
}
