/* Eben YouTube Channel */
.eben-yt {
	--eben-yt-gap: 12px;
	--eben-yt-radius: 12px;
	--eben-yt-accent: #0f6b5c;
	max-width: 1100px;
	margin: 0 auto;
}

.eben-yt--single {
	max-width: 900px;
}

.eben-yt__player-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #111;
	border-radius: var(--eben-yt-radius);
	overflow: hidden;
}

.eben-yt__player {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.eben-yt__title {
	margin: 12px 0 16px;
	font-size: 1.1rem;
	font-weight: 650;
	line-height: 1.35;
}

.eben-yt__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: var(--eben-yt-gap);
}

.eben-yt__thumb {
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 100%;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 10px;
	background: transparent;
	cursor: pointer;
	text-align: left;
	color: inherit;
	transition: border-color 0.15s ease, transform 0.15s ease;
}

.eben-yt__thumb:hover,
.eben-yt__thumb:focus-visible {
	border-color: rgba(15, 107, 92, 0.45);
	outline: none;
}

.eben-yt__thumb.is-active {
	border-color: var(--eben-yt-accent);
}

.eben-yt__thumb img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 8px;
	background: #e5e7eb;
}

.eben-yt__thumb-title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 0.85rem;
	line-height: 1.3;
	padding: 0 2px 4px;
}

.eben-yt-error {
	padding: 12px 14px;
	border-radius: 8px;
	background: #fef3c7;
	color: #92400e;
}

@media (max-width: 600px) {
	.eben-yt__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
