/**
 * Block: Vergangene Streams 
 * Wird auf der Live-Seite zusaetzlich eingebunden (Cache-sicher).
 */

.live-page .archiv-streams {
	--archiv-bg: #fcf8ef;
	--archiv-card-h: 17.5rem;
	--archiv-thumb-ratio: 546 / 158;
	--archiv-gap: 1.25rem;
	--archiv-max: 105.375rem;

	width: 100%;
	max-width: 100%;
	margin-left: 0;
	background-color: var(--archiv-bg);
	padding: 6.25rem 0;
	color: #1c1623;
}

.live-page .archiv-streams a {
	text-decoration: none;
}

.live-page .archiv-streams h2,
.live-page .archiv-streams h3,
.live-page .archiv-streams p {
	color: inherit;
}

.archiv-streams,
.live-archived-streams {
	--archiv-bg: #fcf8ef;
	--archiv-card-h: 17.5rem;
	--archiv-thumb-ratio: 546 / 158;
	--archiv-gap: 1.25rem;
	--archiv-max: 105.375rem;

	width: 100%;
	max-width: 100%;
	margin-left: 0;
	background-color: var(--archiv-bg);
	padding: 6.25rem 0;
	color: #1c1623;
}

.live-archived-streams__inner {
	max-width: var(--archiv-max);
	width: calc(100% - 5rem);
	margin: 0 auto;
}

@media (min-width: 700px) {
	.live-archived-streams__inner {
		width: calc(100% - 8rem);
	}
}

.live-archived-streams__header {
	max-width: none;
	margin: 0 0 2.5rem;
	text-align: left;
}

.live-archived-streams__eyebrow {
	margin: 0 0 0.625rem;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: #89628f;
	line-height: 1.2;
}

.live-archived-streams__title {
	margin: 0;
	font-size: 2rem;
	font-weight: 600;
	color: #1c1623;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.live-archived-streams__intro {
	margin: 0.875rem 0 0;
	max-width: 34rem;
	font-size: 0.9375rem;
	line-height: 1.5;
	color: rgba(38, 26, 46, 0.6);
}

.live-archived-streams__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--archiv-gap);
	align-items: stretch;
	list-style: none;
}

.live-archived-card {
	background: #fff;
	border-radius: 1rem;
	box-shadow: 0 4px 20px rgba(28, 23, 36, 0.08);
	overflow: hidden;
	min-height: var(--archiv-card-h);
	transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.live-archived-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 32px rgba(28, 23, 36, 0.12);
}

.live-archived-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: var(--archiv-card-h);
	color: inherit;
	text-decoration: none;
}

.live-archived-card__thumb {
	position: relative;
	flex-shrink: 0;
	aspect-ratio: var(--archiv-thumb-ratio);
	background: linear-gradient(180deg, #200c23 0%, #432048 100%);
	overflow: hidden;
}

.live-archived-card__thumb::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(32, 12, 35, 0.18) 0%, rgba(67, 32, 72, 0.42) 100%);
	pointer-events: none;
	z-index: 1;
}

.live-archived-card__img,
.live-archived-card__thumb img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	display: block;
	z-index: 0;
}

.live-archived-card__play {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 2;
	transform: translate(-50%, -50%);
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 999px;
	background: #fff;
	color: #432048;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 16px rgba(28, 23, 36, 0.22);
	transition: transform 0.2s ease;
}

.live-archived-card__play-svg {
	display: block;
	margin-left: 0.12rem;
}

.live-archived-card:hover .live-archived-card__play {
	transform: translate(-50%, -50%) scale(1.06);
}

.live-archived-card__duration {
	position: absolute;
	right: 0.625rem;
	bottom: 0.5rem;
	z-index: 2;
	padding: 0.2rem 0.45rem;
	border-radius: 0.25rem;
	background: rgba(0, 0, 0, 0.65);
	color: #fff;
	font-size: 0.6875rem;
	font-weight: 600;
	line-height: 1.2;
}

.live-archived-card__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 1rem 1rem 1.125rem;
	min-height: 0;
}

.live-archived-card__title {
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.35;
	color: #1c1623;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.55rem;
}

.live-archived-card__advisor {
	margin: 0.5rem 0 0;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.3;
	color: #89628f;
}

.live-archived-card__meta {
	margin: 0.25rem 0 0;
	font-size: 0.75rem;
	line-height: 1.4;
	color: rgba(38, 26, 46, 0.45);
}

.live-archived-card__cta {
	margin: auto 0 0;
	padding-top: 0.875rem;
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #432048;
	transition: color 0.2s ease;
}

.live-archived-card__cta-arrow {
	transition: transform 0.2s ease;
}

.live-archived-card__link:hover .live-archived-card__cta {
	color: #59375e;
}

.live-archived-card__link:hover .live-archived-card__cta-arrow {
	transform: translateX(3px);
}

.live-archived-streams__empty {
	margin: 0;
	text-align: center;
	font-size: 0.9375rem;
	line-height: 1.5;
	color: rgba(38, 26, 46, 0.6);
}

.live-archived-streams__footer {
	margin-top: 3rem;
	text-align: center;
}

.live-archived-streams__all-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3rem;
	width: 12.5rem;
	max-width: 100%;
	padding: 0 1.75rem;
	border: 1.5px solid #432048;
	border-radius: 999px;
	background: #fff;
	color: #432048;
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.live-archived-streams__all-btn:hover {
	background: #432048;
	border-color: #432048;
	color: #fff;
}

@media (max-width: 1100px) {
	.live-archived-streams__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 960px) {
	.archiv-streams,
	.live-archived-streams,
	.live-page .archiv-streams {
		padding: 4.5rem 0;
	}

	.live-archived-streams__inner {
		width: calc(100% - 2.5rem);
	}

	.live-archived-streams__header {
		margin-bottom: 2rem;
		text-align: left;
	}

	.live-archived-streams__intro {
		margin-left: 0;
		margin-right: 0;
	}

	.live-archived-streams__grid {
		grid-template-columns: 1fr;
		max-width: 34.125rem;
		margin-left: auto;
		margin-right: auto;
	}

	.live-archived-card,
	.live-archived-card__link {
		min-height: 0;
	}

	.live-archived-streams__footer {
		margin-top: 2.25rem;
	}
}
