/* =================================================================
 * 17-episode.css — the single episode page
 *
 * Avada's dynamic CSS loads after the child theme, so colour and
 * layout overrides against it need !important. Same documented
 * pattern as 05-woo-support.css and 13-header-boxed.css.
 *
 * Built 2026-11-18. The template had never had a dark pass: prev/next
 * titles rendered at a contrast ratio of 1.09 (color7 text on the
 * color7 page ground) and were literally invisible.
 * ================================================================= */

/* --- title block ------------------------------------------------ */

/* Avada's byline read "By forumborealis | December 28, 2025 | 0
 * Comments". The author is a service account and means nothing to a
 * listener; the date repeats "Recorded" in the notes two lines below;
 * the comment count repeats the thread heading further down. Hiding
 * only the author left a stranded "BY |", so the whole row goes —
 * every field in it is said better somewhere else on the page. */
.single-episode .fusion-meta-info { display: none !important; }

.single-episode .entry-title {
	font-size: 2.1rem !important;
	line-height: 1.22 !important;
	letter-spacing: -0.01em !important;
	margin-bottom: .55rem !important;
}

/* With the meta row gone the title needs its own rule below it. */
.single-episode .entry-title {
	border-bottom: 1px solid var(--awb-color3) !important;
	padding-bottom: 1rem !important;
	margin-bottom: 1.9rem !important;
}

/* --- headline: artwork + notes ---------------------------------- */

.single-episode .ppe-headline {
	display: grid !important;
	grid-template-columns: 260px minmax(0, 1fr) !important;
	gap: 2rem !important;
	align-items: start !important;
	margin-bottom: 2.2rem !important;
}

/* 150px was the plugin's 'medium' default and read as a thumbnail
 * rather than cover art. Square here is deliberate: the 16:9 crop is
 * for cards, the square for the episode page itself. */
.single-episode .ppe-headline-art {
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 1 / 1 !important;
	object-fit: cover !important;
	border-radius: 10px !important;
	border: 1px solid var(--awb-color3) !important;
	box-shadow: 0 18px 44px rgba(0, 0, 0, .55) !important;
	display: block !important;
}

@media (max-width: 800px) {
	.single-episode .ppe-headline {
		grid-template-columns: 1fr !important;
		gap: 1.3rem !important;
	}
	.single-episode .ppe-headline-art { max-width: 320px !important; }
}

/* Notes as a definition list rather than a <br />-separated paragraph:
 * the labels line up, which matters once Runtime and a multi-series
 * "Part of" row are in there too. */
.fb-ep-notes {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.fb-ep-notes li {
	display: grid !important;
	grid-template-columns: 7.2em minmax(0, 1fr) !important;
	gap: .9rem !important;
	padding: .5rem 0 !important;
	border-bottom: 1px solid rgba(255, 255, 255, .07) !important;
	align-items: baseline !important;
}

.fb-ep-notes li:last-child { border-bottom: 0 !important; }

.fb-ep-label {
	font-size: .72rem !important;
	font-weight: 600 !important;
	letter-spacing: .14em !important;
	text-transform: uppercase !important;
	color: var(--awb-color6) !important;
}

.fb-ep-value { color: var(--awb-color2) !important; }

.fb-ep-value a,
a.fb-ep-guest,
a.fb-ep-series {
	color: var(--awb-color5) !important;
	text-decoration: none !important;
	border-bottom: 1px solid rgba(56, 214, 240, .3) !important;
}

.fb-ep-value a:hover,
a.fb-ep-guest:hover,
a.fb-ep-series:hover {
	color: #8BE8F8 !important;
	border-bottom-color: rgba(139, 232, 248, .7) !important;
}

/* --- player region ---------------------------------------------- */

.single-episode .ppe-parts {
	background: rgba(255, 255, 255, .035) !important;
	border: 1px solid var(--awb-color3) !important;
	border-radius: 12px !important;
	padding: 1.4rem 1.5rem !important;
	margin: 0 0 1.8rem !important;
}

.single-episode .ppe-audio { margin: 0 !important; }

/* The native audio element cannot be restyled, so give it a frame
 * that belongs to the page instead of leaving it floating on the
 * ground. */
.single-episode .ppe-audio .mejs-container,
.single-episode .ppe-audio audio {
	width: 100% !important;
	border-radius: 8px !important;
	overflow: hidden !important;
}

.single-episode .ppe-dl { margin: .9rem 0 0 !important; }

.single-episode .ppe-dl-link {
	color: var(--awb-color6) !important;
	font-size: .85rem !important;
	letter-spacing: .03em !important;
	text-decoration: none !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: .4rem !important;
}

.single-episode .ppe-dl-link:hover { color: var(--awb-color5) !important; }

/* Mark-as-listened: a quiet outline button, not a primary action. */
.single-episode .ppe-mark { margin: 0 0 1.2rem !important; }

.single-episode .ppe-watch {
	background: transparent !important;
	border: 1px solid var(--awb-color3) !important;
	border-radius: 999px !important;
	color: var(--awb-color6) !important;
	padding: .5rem 1.1rem !important;
	font-size: .72rem !important;
	letter-spacing: .14em !important;
	text-transform: uppercase !important;
	transition: border-color .18s ease, color .18s ease !important;
}

.single-episode .ppe-watch:hover {
	border-color: var(--awb-color5) !important;
	color: var(--awb-color5) !important;
}

.single-episode .ppe-watch-label { color: inherit !important; }

/* Premium lock on the episode page itself. */
.single-episode .ppe-locked {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: .7rem !important;
	background: rgba(122, 31, 184, .14) !important;
	border: 1px solid rgba(122, 31, 184, .45) !important;
	border-radius: 12px !important;
	padding: 1.5rem !important;
	color: #E6DCF5 !important;
	text-decoration: none !important;
	font-size: .95rem !important;
}

.single-episode .ppe-locked:hover {
	background: rgba(122, 31, 184, .22) !important;
	border-color: rgba(122, 31, 184, .7) !important;
}

/* --- series-scoped prev / next ----------------------------------- */

.fb-epnav {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
	gap: 1rem !important;
	margin: 2.4rem 0 1rem !important;
}

.fb-epnav-slot {
	display: block !important;
	padding: 1rem 1.2rem !important;
	border: 1px solid var(--awb-color3) !important;
	border-radius: 10px !important;
	background: rgba(255, 255, 255, .025) !important;
	text-decoration: none !important;
	transition: border-color .18s ease, background .18s ease !important;
}

.fb-epnav-slot:hover {
	border-color: rgba(56, 214, 240, .55) !important;
	background: rgba(56, 214, 240, .06) !important;
}

.fb-epnav-next { text-align: right !important; }

.fb-epnav-dir {
	display: block !important;
	font-size: .68rem !important;
	font-weight: 600 !important;
	letter-spacing: .16em !important;
	text-transform: uppercase !important;
	color: var(--awb-color6) !important;
	margin-bottom: .35rem !important;
}

.fb-epnav-prev .fb-epnav-dir::before { content: "\2190\00a0"; }
.fb-epnav-next .fb-epnav-dir::after  { content: "\00a0\2192"; }

/* The defect this file exists for: the plugin's equivalent of this
 * line computed to 1.09 against the page. */
.fb-epnav-title {
	display: block !important;
	color: var(--awb-color1) !important;
	font-size: 1rem !important;
	line-height: 1.35 !important;
}

.fb-epnav-slot:hover .fb-epnav-title { color: #FFFFFF !important; }

.fb-epnav-backwrap {
	margin: 0 0 2.4rem !important;
	text-align: center !important;
}

.fb-epnav-back {
	color: var(--awb-color6) !important;
	font-size: .76rem !important;
	letter-spacing: .14em !important;
	text-transform: uppercase !important;
	text-decoration: none !important;
	border-bottom: 1px solid rgba(154, 163, 186, .35) !important;
	padding-bottom: 2px !important;
}

.fb-epnav-back:hover {
	color: var(--awb-color5) !important;
	border-bottom-color: rgba(56, 214, 240, .7) !important;
}

/* Belt and braces: if the plugin's global-sequence nav ever survives
 * the filter, it must not render invisible text. */
.ppe-nav-title { color: var(--awb-color1) !important; }
.ppe-nav-empty { display: none !important; }
