/*
 * Podcast-Werbefeld - Cover, Text, aktuelle Folge, Wege (E2f).
 *
 * Das gezeichnete Cover steht auf der dunklen Skala; die Wellen in Ember sind
 * Fläche, kein Text (ADR-009). Der Player ersetzt nach dem Klick die Zeile der
 * Folge.
 *
 * Nur Rollen, keine Markenfarbe (Projektregel 8).
 *
 * @FEAT:EVENT.DETAIL
 * @FEAT:ELEMENTOR.WIDGETS
 */

.uc-podcast {
	display: grid;
	grid-template-columns: minmax( 0, var( --uc-pc-cover-breite, 300px ) ) minmax( 0, 1fr );
	align-items: center;
	gap: clamp( 24px, 4vw, 56px );
	padding: var( --uc-pc-panel-innen, clamp( 24px, 4vw, 48px ) );
	border-radius: var( --uc-pc-panel-radius, var( --uc-radius-gross, 28px ) );
	background: var( --uc-pc-panel-flaeche, var( --uc-flaeche-getoent, #e8e0d2 ) );
	color: var( --uc-text, #1c2b4a );
	box-sizing: border-box;
}

.uc-podcast *,
.uc-podcast *::before,
.uc-podcast *::after {
	box-sizing: border-box;
}

.uc-podcast__bild {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: var( --uc-radius, 20px );
}

.uc-podcast__cover {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 6px;
	aspect-ratio: 1;
	padding: var( --uc-pc-cover-innen, 26px );
	border-radius: var( --uc-pc-cover-radius, var( --uc-radius, 20px ) );
	background: var( --uc-pc-cover-flaeche, var( --uc-flaeche, #1c2b4a ) );
	color: var( --uc-text, #f2ede4 );
	overflow: hidden;
}

.uc-podcast__name {
	color: var( --uc-pc-name-farbe, var( --uc-text, #f2ede4 ) );
	font-size: clamp( 22px, 2.2vw, 30px );
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.05;
	overflow-wrap: break-word;
	hyphens: auto;
}

.uc-podcast__cover small {
	color: var( --uc-text-leise, #9aa8c0 );
	font-weight: 600;
}

.uc-podcast__wellen {
	position: absolute;
	top: 28px;
	left: 26px;
	display: flex;
	align-items: center;
	gap: 6px;
	height: 70px;
}

.uc-podcast__wellen i {
	width: 8px;
	border-radius: 4px;
	background: var( --uc-pc-wellen, var( --uc-akzent, #e85d3a ) );
}

.uc-podcast__wellen i:nth-child( 1 ) { height: 30%; }
.uc-podcast__wellen i:nth-child( 2 ) { height: 70%; }
.uc-podcast__wellen i:nth-child( 3 ) { height: 100%; }
.uc-podcast__wellen i:nth-child( 4 ) { height: 55%; }
.uc-podcast__wellen i:nth-child( 5 ) { height: 85%; }
.uc-podcast__wellen i:nth-child( 6 ) { height: 40%; }
.uc-podcast__wellen i:nth-child( 7 ) { height: 20%; }

.uc-podcast .uc-podcast__titel {
	margin: 0 0 var( --uc-pc-titel-abstand, 0 );
	color: var( --uc-pc-titel-farbe, var( --uc-text, #1c2b4a ) );
	font-size: clamp( 2rem, 3.6vw, 3rem );
	font-weight: 800;
	letter-spacing: var( --uc-spationierung-titel, -0.03em );
	line-height: 1.04;
}

.uc-podcast .uc-podcast__text {
	margin: 12px 0 var( --uc-pc-text-abstand, 0 );
	color: var( --uc-pc-text-farbe, var( --uc-text-leise, #4c5c76 ) );
	font-size: 18px;
	line-height: 1.55;
}

.uc-podcast__folge {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 16px;
	margin-top: 22px;
	padding: var( --uc-pc-folge-innen, 14px 18px 14px 14px );
	border-radius: var( --uc-pc-folge-radius, var( --uc-radius, 20px ) );
	background: var( --uc-pc-folge-flaeche, var( --uc-flaeche-hoch, #ffffff ) );
}

.uc-podcast__folge > div {
	min-width: 0;
}

.uc-podcast__folge-titel {
	display: block;
	color: var( --uc-pc-folge-titel-farbe, var( --uc-text, #1c2b4a ) );
	line-height: 1.3;
}

.uc-podcast__folge-unter {
	display: block;
	color: var( --uc-text-leise, #4c5c76 );
	font-size: 14px;
}

/* Nach dem Klick: der Player über die ganze Breite */
.uc-podcast__folge--player {
	grid-template-columns: 1fr;
	padding: 0;
	overflow: hidden;
}

.uc-podcast__folge iframe {
	display: block;
	width: 100%;
	min-height: 180px;
	border: 0;
}

.uc-podcast .uc-podcast__abspielen {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var( --uc-pc-abspielen-flaeche, var( --uc-aktion, #1c2b4a ) );
	color: var( --uc-pc-abspielen-zeichen, var( --uc-auf-aktion, #f2ede4 ) );
	cursor: pointer;
}

.uc-podcast .uc-podcast__abspielen:hover {
	background: var( --uc-pc-abspielen-flaeche-hover, var( --uc-aktion-druck, #142039 ) );
}

.uc-podcast .uc-podcast__abspielen:active {
	background: var( --uc-pc-abspielen-flaeche-druck, var( --uc-aktion-druck, #142039 ) );
	transform: scale( 0.94 );
}

.uc-podcast .uc-podcast__abspielen:focus-visible {
	outline: 2px solid var( --uc-pc-fokus, var( --uc-akzent-druck, #c94726 ) );
	outline-offset: 2px;
}

.uc-podcast__dreieck {
	width: 20px;
	height: 20px;
}

.uc-podcast .uc-podcast__hinweis {
	margin: 10px 0 var( --uc-pc-hinweis-abstand, 0 );
	color: var( --uc-pc-hinweis-farbe, var( --uc-text-leise, #4c5c76 ) );
	font-size: 13px;
}

.uc-podcast__wege {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 24px;
	margin-top: 18px;
}

@media ( max-width: 720px ) {
	.uc-podcast {
		grid-template-columns: 1fr;
	}

	.uc-podcast__cover,
	.uc-podcast__bild {
		aspect-ratio: 16 / 9;
	}
}
