/* 16-series.css — single series pages. Loads last.
   These are now the primary way to browse 261 episodes, so this template
   carries more weight than it used to. */

.fb-series-head {
	display: flex;
	align-items: center;
	gap: 26px;
	margin: 0 0 26px;
	padding: 26px 28px;
	border: 1px solid var(--awb-color3);
	border-radius: 14px;
	background:
		radial-gradient(90% 160% at 10% 120%, rgba(122,31,184,.30) 0%, rgba(122,31,184,0) 62%),
		radial-gradient(80% 150% at 80% 120%, rgba(56,214,240,.16) 0%, rgba(56,214,240,0) 64%),
		var(--awb-color7);
}
.fb-series-art-wrap { flex: 0 0 auto; }
.fb-series-art {
	display: block;
	width: 124px; height: 124px;
	object-fit: cover;
	border-radius: 10px;
	border: 1px solid var(--awb-color3);
}
.fb-series-meta { min-width: 0; }
.fb-series-meta .fb-eyebrow {
	margin: 0 0 6px;
	font-size: 11px; font-weight: 600;
	letter-spacing: .22em; text-transform: uppercase;
	color: var(--awb-color6);
}
.fb-series-title {
	margin: 0 0 10px !important;
	font-size: clamp(1.4rem, 3.2vw, 2rem) !important;
	line-height: 1.15 !important;
	letter-spacing: .01em !important;
	color: var(--awb-color1) !important;
}
.fb-series-stats { margin: 0; color: var(--awb-color6); font-size: .94rem; }
.fb-series-stats strong { color: var(--awb-color1); font-variant-numeric: tabular-nums; }
.fb-series-stats .fb-dot { opacity: .5; margin: 0 4px; }

/* ---- order toggle ---------------------------------------------------- */
/* Plain links with a query arg rather than JS: the plugin's filters.js is
   not enqueued on this template, so a client-side sort would simply not
   work here. */
.fb-series-order {
	display: flex;
	gap: 8px;
	margin: 0 0 14px;
	justify-content: flex-end;
}
.fb-series-order a {
	padding: 5px 13px;
	border: 1px solid var(--awb-color3);
	border-radius: 999px;
	font-size: .78rem;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--awb-color6) !important;
	text-decoration: none;
	transition: border-color .12s ease, color .12s ease, background .12s ease;
}
.fb-series-order a:hover { border-color: var(--awb-color5); color: var(--awb-color5) !important; }
.fb-series-order a.is-on {
	background: var(--awb-color4);
	border-color: var(--awb-color4);
	color: #fff !important;
}

/* ---- the Series column is redundant on a series page ---------------- */
/* Header and rows share one track list, so both are edited together or the
   columns drift. This is the 5-track form: thumb, title, date, parts, media.
   (The episode-number track was already dropped site-wide in 15-home.css.) */
.single-ppe_series .ppe-row-link,
.single-ppe_series .ppe-head-cols {
	grid-template-columns: 56px minmax(0,1fr) 6.8em 3.2em 2.6em !important;
}
.single-ppe_series .ppe-series,
.single-ppe_series .ppe-head-cols button[data-sort="sname"] { display: none !important; }

@media (max-width: 640px) {
	.fb-series-head { flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px; }
	.fb-series-art { width: 92px; height: 92px; }
	.fb-series-order { justify-content: flex-start; }
}

/* Avada prints its own entry title above the content, so the series name
   appeared twice: once as Avada's h1 and once in the header card, which
   also carries the artwork and the counts. The card is the better of the
   two, so Avada's is suppressed here rather than the card being stripped
   back to match it. Scoped to this post type only. */
.single-ppe_series .fusion-post-title,
.single-ppe_series h1.entry-title.fusion-post-title,
.single-ppe_series .fusion-page-title-bar { display: none !important; }
