/**
 * Modern Buddhism Podcast — archive + single (mb-podcast).
 * Self-contained (no Tailwind dependency). Design ported from
 * redesigns/kadampa.org/modern-buddhism.html. Scoped under #nkt-mb / .nkt-mb-*.
 */

/* Full-bleed: escape the GeneratePress content container so the dark sections run
   edge-to-edge. GP wraps our <main> in #page.grid-container (max-width cap) + .site-content
   (one-container: 42/40/60px padding). Both keyed on the body class so nothing else moves.
   (Same technique as nkt-podcast-landing.) */
body.nkt-mb #page.grid-container { max-width: 100%; padding: 0; }
body.nkt-mb.one-container .site-content { padding: 0; }

#nkt-mb {
	--mb-hero: #0a1628;
	--mb-body: #0a1526;            /* deeper than the hero so the archive reads as a recessed shelf */
	--mb-accent: #e8b53e;          /* antique gold — matches the podcast cover-art lockup */
	--mb-accent-soft: rgba(232, 181, 62, .85);
	--mb-yt: #ff0000;
	--mb-yt-hover: #cc0000;
	--mb-white: #fff;
	--mb-text: #cbd3de;            /* body copy on dark */
	--mb-dim: #8a94a4;             /* muted */
	--mb-faint: #5b6474;           /* faintest */
	--mb-line: rgba(255, 255, 255, .07);
	--mb-surface: rgba(255, 255, 255, .04);
	--mb-surface-2: rgba(255, 255, 255, .06);
	--mb-radius: 12px;
	--mb-serif: "Fraunces", "Playfair Display", Georgia, "Times New Roman", serif;
	--mb-wrap: 72rem;

	background: var(--mb-body);
	color: var(--mb-text);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

#nkt-mb *,
#nkt-mb *::before,
#nkt-mb *::after { box-sizing: border-box; }

/* The site force-uppercases bare h1–h5; our headings are authored in title case,
   so opt out. (Our own uppercase labels set text-transform explicitly below.) */
#nkt-mb .nkt-mb-title,
#nkt-mb .nkt-mb-single-title,
#nkt-mb .nkt-mb-h2,
#nkt-mb .nkt-mb-h3,
#nkt-mb .nkt-mb-ep-title,
#nkt-mb .nkt-mb-show-title,
#nkt-mb .nkt-mb-card-title { text-transform: none; letter-spacing: normal; }
/* Fraunces reads best with optical sizing on the display headings. */
#nkt-mb .nkt-mb-h2,
#nkt-mb .nkt-mb-h3,
#nkt-mb .nkt-mb-ep-title,
#nkt-mb .nkt-mb-show-title { font-optical-sizing: auto; }

/* The theme paints every `.site-content a` orange (0,0,1,1), which bleeds into our
   masthead links + button text. Re-assert our colours id-scoped so #nkt-mb wins. */
#nkt-mb a { color: inherit; }
#nkt-mb .nkt-mb-btn-yt,
#nkt-mb .nkt-mb-btn-ghost { color: var(--mb-white); }
#nkt-mb .nkt-mb-btn-outline { color: var(--mb-dim); }
#nkt-mb .nkt-mb-btn-outline:hover { color: var(--mb-white); }
#nkt-mb .nkt-mb-show-title a { color: var(--mb-white); }
#nkt-mb .nkt-mb-show-title a:hover { color: var(--mb-accent); }
#nkt-mb .nkt-mb-backlink a,
#nkt-mb .nkt-mb-epnav-btn,
#nkt-mb .nkt-mb-loadbtn { color: var(--mb-dim); }
#nkt-mb .nkt-mb-backlink a:hover,
#nkt-mb .nkt-mb-epnav-btn:hover,
#nkt-mb .nkt-mb-loadbtn:hover { color: var(--mb-white); }
#nkt-mb .nkt-mb-prose a { color: var(--mb-accent); }

.nkt-mb-wrap {
	max-width: var(--mb-wrap);
	margin-inline: auto;
	padding-inline: 1.5rem;
	position: relative;
	z-index: 1;
}

/* ============================== Entrance animations ============================== */
@keyframes mbFadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes mbFadeIn { from { opacity: 0; } to { opacity: 1; } }
.nkt-mb-fade-up { animation: mbFadeUp .7s cubic-bezier(.22, 1, .36, 1) both; }
.nkt-mb-fade-in { animation: mbFadeIn .7s ease both; }
@media (prefers-reduced-motion: reduce) {
	.nkt-mb-fade-up, .nkt-mb-fade-in { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ============================== Hero ============================== */
.nkt-mb-hero {
	position: relative;
	overflow: hidden;
	/* Domed vertical gradient: lifted centre-top, sinking to near-black at the base so the
	   hero has real depth and seats cleanly into the darker archive shelf below. */
	background:
		radial-gradient(125% 90% at 50% -15%, #16294a 0%, #0d1d36 40%, #0a1628 68%, #081221 100%);
	padding-top: clamp(6rem, 5rem + 6vw, 9rem);
	padding-bottom: clamp(1.5rem, 1rem + 2vw, 2.25rem);
}
.nkt-mb-hero-glow {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		/* warm amber bloom behind the title (top-left) */
		radial-gradient(34% 55% at 6% 4%, rgba(232, 181, 62, .12), transparent 62%),
		/* cool teal counter-bloom (top-right) balances the warmth */
		radial-gradient(42% 60% at 100% -4%, rgba(70, 135, 175, .13), transparent 60%),
		/* base darkening to anchor the section transition */
		radial-gradient(80% 45% at 50% 118%, rgba(4, 9, 18, .8), transparent 58%);
}
/* Subtle film grain to tame the flat navy */
.grain-texture::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: .035;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.nkt-mb-brandrow {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-bottom: 2rem;
}
@media (min-width: 640px) {
	.nkt-mb-brandrow { flex-direction: row; align-items: flex-end; justify-content: space-between; margin-bottom: 2.5rem; }
}

/* Dim-white kicker (not gold): keeps "Modern Buddhism" the only gold voice in the
   headline zone — the lockup, rule, dot and active ring carry the accent. */
.nkt-mb-kicker {
	font-size: 11px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: rgba(226, 232, 240, .55);
	font-weight: 600;
	margin: 0 0 .5rem;
}
.nkt-mb-title {
	font-family: var(--mb-serif);
	font-optical-sizing: auto;
	font-variation-settings: "SOFT" 0, "WONK" 0;
	font-weight: 600;
	color: var(--mb-white);
	line-height: .98;
	letter-spacing: -.015em;
	font-size: clamp(2.5rem, 1.7rem + 3.8vw, 4.25rem);
	margin: 0;
}
/* The brand tagline gets a voice: italic serif, near-white — a counterpoint to the
   big roman lockup above it, echoing the cover art's prominence. */
.nkt-mb-tagline {
	font-family: var(--mb-serif);
	font-optical-sizing: auto;
	font-style: italic;
	font-weight: 400;
	color: #dfe5ee;
	font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem);
	margin: 1rem 0 0;
	max-width: 36rem;
	line-height: 1.5;
}
/* Cover-art lockup: "Modern Buddhism" picked out in the show's gold. */
#nkt-mb .nkt-mb-title .nkt-mb-hl { color: var(--mb-accent); }

/* ============================== Buttons ============================== */
.nkt-mb-btn {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	padding: .6rem 1rem;
	border-radius: 9px;
	border: 1px solid transparent;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
	white-space: nowrap;
}
.nkt-mb-btn svg { width: 1rem; height: 1rem; }
.nkt-mb-yt-glyph { color: var(--mb-yt); }

/* YouTube subscribe: a fuller, branded red pill — the logo in a white lozenge, bolder
   label, and a soft red glow that grows on hover. */
.nkt-mb-btn-yt {
	background: var(--mb-yt);
	color: #fff;
	border-radius: 999px;
	padding: .5rem 1.3rem .5rem .5rem;
	gap: .6rem;
	font-weight: 600;
	font-size: 13.5px;
	letter-spacing: .005em;
	box-shadow: 0 6px 18px rgba(255, 0, 0, .28);
}
.nkt-mb-btn-yt .nkt-mb-yt-glyph {
	color: var(--mb-yt);
	width: 1.4rem;
	height: 1.4rem;
	padding: .18rem .28rem;
	background: #fff;
	border-radius: 999px;
	box-sizing: content-box;
}
.nkt-mb-btn-yt:hover {
	background: var(--mb-yt-hover);
	box-shadow: 0 9px 24px rgba(255, 0, 0, .42);
	transform: translateY(-1px);
}

.nkt-mb-btn-ghost { background: var(--mb-surface-2); color: var(--mb-white); border-color: var(--mb-line); }
.nkt-mb-btn-ghost:hover { background: rgba(255, 255, 255, .12); }

.nkt-mb-btn-outline { color: var(--mb-dim); border-color: var(--mb-line); }
.nkt-mb-btn-outline:hover { color: var(--mb-white); border-color: rgba(255, 255, 255, .2); }

/* ============================== Featured player ============================== */
.nkt-mb-nowplaying {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}
@media (min-width: 1024px) {
	.nkt-mb-nowplaying { display: grid; grid-template-columns: 3fr 2fr; gap: 1.75rem; }
}

.nkt-mb-yt {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: var(--mb-radius);
	overflow: hidden;
	background: #000;
	cursor: pointer;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}
.nkt-mb-yt:focus-visible { outline: 2px solid var(--mb-accent); outline-offset: 3px; }
.nkt-mb-yt-poster { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .5s ease; }
.nkt-mb-yt-poster[hidden] { display: none; }
.nkt-mb-yt-iframe { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; border: 0; }
.nkt-mb-yt-overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, .15);
	transition: background-color .3s ease;
}
.nkt-mb-yt-overlay[hidden] { display: none; }
.nkt-mb-yt:hover .nkt-mb-yt-overlay { background: rgba(0, 0, 0, .28); }
.nkt-mb-yt-play {
	width: 64px;
	height: 64px;
	border-radius: 999px;
	background: var(--mb-yt);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
	transition: transform .3s ease;
}
.nkt-mb-yt:hover .nkt-mb-yt-play { transform: scale(1.06); }
.nkt-mb-yt-play svg { width: 1.6rem; height: 1.6rem; color: #fff; margin-left: 2px; }

.nkt-mb-mute {
	margin-top: .5rem;
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	background: none;
	border: 0;
	color: var(--mb-dim);
	font-size: .85rem;
	cursor: pointer;
	transition: color .2s ease;
}
.nkt-mb-mute:hover { color: var(--mb-white); }
.nkt-mb-mute-i { width: 1rem; height: 1rem; }

.nkt-mb-info { display: flex; flex-direction: column; justify-content: center; }
.nkt-mb-info-box {
	background: var(--mb-surface);
	border: 1px solid var(--mb-line);
	border-radius: var(--mb-radius);
	padding: 1.75rem;
}
.nkt-mb-nowlabel {
	display: flex;
	align-items: center;
	gap: .5rem;
	font-size: 11px;
	letter-spacing: .15em;
	text-transform: uppercase;
	color: var(--mb-accent-soft);
	font-weight: 600;
	margin: 0 0 1rem;
}
.nkt-mb-dot { width: 6px; height: 6px; border-radius: 999px; background: var(--mb-accent); }
.nkt-mb-ep-title {
	font-family: var(--mb-serif);
	font-weight: 500;
	color: var(--mb-white);
	line-height: 1.3;
	font-size: clamp(1.2rem, 1rem + 1vw, 1.45rem);
	margin: 0 0 .75rem;
}
.nkt-mb-ep-desc {
	color: var(--mb-dim);
	font-size: .85rem;
	line-height: 1.65;
	margin: 0 0 1.1rem;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.nkt-mb-ep-meta {
	display: flex;
	align-items: center;
	gap: .75rem;
	font-size: 12px;
	color: var(--mb-faint);
	margin-bottom: 1.1rem;
}
.nkt-mb-ep-date { display: inline-flex; align-items: center; gap: .35rem; }
.nkt-mb-ep-meta svg { width: .85rem; height: .85rem; }

/* Single-page panel actions (Share + About jump) under the Watch button. */
.nkt-mb-panel-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.nkt-mb-panel-actions .nkt-mb-btn { padding: .55rem .9rem; }

/* ============================== Archive section ============================== */
.nkt-mb-archive { position: relative; padding-bottom: clamp(3rem, 2rem + 4vw, 5rem); background: var(--mb-body); }
.nkt-mb-archive::before {
	content: "";
	display: block;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .07), transparent);
}
/* Editorial section-opener: kicker + oversized serif heading, an amber hairline rule,
   and the count set as a tracked caption beneath — a magazine-style section masthead. */
.nkt-mb-opener {
	padding-top: clamp(2.25rem, 1.75rem + 1.8vw, 3.25rem);
	margin-bottom: 1.75rem;
}
.nkt-mb-opener-top {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: flex-start;
}
@media (min-width: 640px) {
	.nkt-mb-opener-top { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.nkt-mb-opener-head .nkt-mb-kicker { margin-bottom: .35rem; }
.nkt-mb-h2 {
	font-family: var(--mb-serif);
	font-weight: 600;
	color: var(--mb-white);
	font-size: clamp(1.9rem, 1.4rem + 2vw, 2.9rem);
	line-height: 1;
	letter-spacing: -.01em;
	margin: 0;
}
.nkt-mb-opener-rule {
	height: 1px;
	margin: 1.15rem 0 .7rem;
	background: linear-gradient(90deg, rgba(232, 181, 62, .55), rgba(232, 181, 62, .12) 22%, rgba(255, 255, 255, .05) 55%, transparent);
}
.nkt-mb-counter {
	font-size: 11px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--mb-dim);
	margin: 0;
}

.nkt-mb-tools { display: flex; align-items: center; gap: .75rem; }
.nkt-mb-searchwrap { position: relative; display: flex; align-items: center; }
.nkt-mb-searchwrap svg {
	position: absolute;
	left: .8rem;
	top: 50%;
	transform: translateY(-50%);
	width: .95rem;
	height: .95rem;
	color: var(--mb-dim);
	pointer-events: none;
	z-index: 1;
}
/* id-scoped so we beat the theme's input[type=search] form styling (white bg + its own
   padding, which otherwise pushes the placeholder under the icon). */
#nkt-mb .nkt-mb-searchwrap input {
	width: 12rem;
	margin: 0;
	padding: .5rem .85rem .5rem 2.35rem;
	line-height: 1.2;
	border-radius: 9px;
	border: 1px solid rgba(255, 255, 255, .12);
	background: rgba(255, 255, 255, .06);
	color: #e6e9ee;
	font-size: 13px;
	-webkit-appearance: none;
	appearance: none;
	box-shadow: none;
	transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
@media (min-width: 640px) { #nkt-mb .nkt-mb-searchwrap input { width: 13.5rem; } }
#nkt-mb .nkt-mb-searchwrap input::placeholder { color: var(--mb-dim); opacity: 1; }
#nkt-mb .nkt-mb-searchwrap input:focus {
	outline: none;
	border-color: rgba(255, 255, 255, .28);
	background: rgba(255, 255, 255, .09);
	box-shadow: 0 0 0 3px rgba(255, 255, 255, .05);
}
#nkt-mb .nkt-mb-searchwrap input::-webkit-search-cancel-button { -webkit-appearance: none; }

#nkt-mb .nkt-mb-sortbtn {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	font-size: 13px;
	color: var(--mb-dim);
	padding: .5rem .85rem;
	border-radius: 9px;
	border: 1px solid rgba(255, 255, 255, .12);
	background: rgba(255, 255, 255, .06);
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
#nkt-mb .nkt-mb-sortbtn:hover { color: #e6e9ee; border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .09); }
.nkt-mb-sortbtn svg { width: .9rem; height: .9rem; }

/* Recessed shelf: sits darker than the section so the raised cards pop out of it. */
.nkt-mb-gridbox {
	background: rgba(0, 0, 0, .22);
	border: 1px solid rgba(255, 255, 255, .04);
	border-radius: 18px;
	padding: 1.25rem;
	box-shadow: inset 0 1px 26px rgba(0, 0, 0, .38);
}
.nkt-mb-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}
@media (min-width: 640px) { .nkt-mb-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .nkt-mb-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================== Episode card ============================== */
.nkt-mb-card {
	display: flex;
	flex-direction: column;
	text-align: left;
	width: 100%;
	padding: 0;
	border-radius: var(--mb-radius);
	overflow: hidden;
	/* Raised: top-lit gradient surface + inset top hairline + soft drop shadow so cards
	   float above the recessed shelf (the value ladder that was missing). */
	background: linear-gradient(180deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .022));
	border: 1px solid rgba(255, 255, 255, .08);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 6px 18px rgba(0, 0, 0, .3);
	color: inherit;
	cursor: pointer;
	text-decoration: none;
	transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease, border-color .35s ease, opacity .25s ease;
}
.nkt-mb-card:hover {
	transform: translateY(-4px);
	border-color: rgba(255, 255, 255, .14);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 20px 44px rgba(0, 0, 0, .5);
}
.nkt-mb-card:focus-visible { outline: 2px solid var(--mb-accent); outline-offset: 2px; }
/* Active (now-playing) episode: gold-ringed and shown in full colour, with a small gold
   dot — a clear but light highlight (no dimming, no animation weight). */
.nkt-mb-card.is-active {
	border-color: var(--mb-accent);
	box-shadow: inset 0 0 0 1px var(--mb-accent), 0 10px 30px rgba(0, 0, 0, .45);
}
.nkt-mb-card.is-active .nkt-mb-card-thumb { filter: none; }
.nkt-mb-card.is-active .nkt-mb-card-thumb-wrap::after { opacity: 0; }
.nkt-mb-card.is-active .nkt-mb-card-thumb-wrap::before {
	content: "";
	position: absolute;
	top: .6rem;
	left: .6rem;
	z-index: 3;
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: var(--mb-accent);
	box-shadow: 0 0 0 3px rgba(232, 181, 62, .22), 0 0 10px rgba(232, 181, 62, .7);
}
.nkt-mb-card.is-active .nkt-mb-card-title { color: #fff; }

.nkt-mb-card-thumb-wrap {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #0e1a2e;
	isolation: isolate; /* contain the blend below to this thumbnail stack */
}
/* Unify the loud YouTube thumbnail art at rest: desaturate + darken so the grid reads as
   one system and the brand palette leads. The card comes alive in full colour on hover. */
.nkt-mb-card-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	filter: saturate(.5) brightness(.82) contrast(1.05);
	transition: transform .6s cubic-bezier(.22, 1, .36, 1), filter .45s ease;
}
.nkt-mb-card:hover .nkt-mb-card-thumb { transform: scale(1.05); filter: saturate(1) brightness(1) contrast(1); }
/* Navy colour-blend overlay pulls every hue toward the brand navy (duotone-ish), muting
   the yellow-highlighter clickbait art. Lifts on hover to reveal the true thumbnail. */
.nkt-mb-card-thumb-wrap::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: #0f2340;
	mix-blend-mode: color;
	opacity: .42;
	transition: opacity .45s ease;
	z-index: 1;
}
.nkt-mb-card:hover .nkt-mb-card-thumb-wrap::after { opacity: 0; }
.nkt-mb-card-vignette {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 2;
	/* navy scrim top + bottom: tints the edges to brand and seats the date/title band */
	background: linear-gradient(180deg, rgba(9, 20, 38, .5) 0%, rgba(9, 20, 38, 0) 40%, rgba(6, 13, 26, .78) 100%);
	transition: opacity .45s ease;
}
.nkt-mb-card:hover .nkt-mb-card-vignette { opacity: .55; }
.nkt-mb-card-play {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 3;
	width: 40px;
	height: 40px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .92);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 20px rgba(0, 0, 0, .3);
	opacity: 0;
	transform: translate(-50%, -50%) scale(.85);
	transition: opacity .25s ease, transform .25s cubic-bezier(.22, 1, .36, 1);
}
.nkt-mb-card:hover .nkt-mb-card-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.nkt-mb-card-play svg { width: 1rem; height: 1rem; color: #111827; margin-left: 2px; }

.nkt-mb-card-info { padding: .85rem 1rem 1rem; display: block; }
.nkt-mb-card-date { font-size: 11px; color: var(--mb-faint); letter-spacing: .02em; }
.nkt-mb-card-title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-top: .25rem;
	font-size: 14px;
	font-weight: 500;
	color: #e6e9ee;
	line-height: 1.35;
}

.nkt-mb-loadwrap { text-align: center; margin-top: 2rem; }
.nkt-mb-loadbtn {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	font-size: 13px;
	font-weight: 500;
	color: var(--mb-dim);
	padding: .7rem 1.2rem;
	border-radius: 9px;
	border: 1px solid var(--mb-line);
	background: rgba(255, 255, 255, .05);
	cursor: pointer;
	text-decoration: none;
	transition: color .2s ease, border-color .2s ease;
}
.nkt-mb-loadbtn:hover { color: var(--mb-white); border-color: rgba(255, 255, 255, .15); }
.nkt-mb-loadbtn svg { width: .9rem; height: .9rem; }

.nkt-mb-noresults { text-align: center; padding: 3rem 0; color: var(--mb-dim); }

/* ============================== About strip ============================== */
.nkt-mb-about { background: var(--mb-body); border-top: 1px solid var(--mb-line); padding: clamp(3rem, 2rem + 3vw, 4rem) 0; }
.nkt-mb-about-inner { display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 768px) { .nkt-mb-about-inner { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 3rem; } }
.nkt-mb-about-text { max-width: 42rem; }
.nkt-mb-h3 { font-family: var(--mb-serif); font-weight: 500; color: var(--mb-white); font-size: clamp(1.25rem, 1.1rem + .8vw, 1.5rem); margin: 0 0 .75rem; }
.nkt-mb-about-text p { color: var(--mb-dim); font-size: .95rem; line-height: 1.7; margin: 0; }
.nkt-mb-about-cta { display: flex; flex-direction: column; gap: .75rem; flex-shrink: 0; }
.nkt-mb-about-cta .nkt-mb-btn { padding: .7rem 1.2rem; justify-content: center; }

/* ============================== Single: masthead + nav ============================== */
.nkt-mb-masthead {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-bottom: 2rem;
}
@media (min-width: 640px) { .nkt-mb-masthead { flex-direction: row; align-items: flex-end; justify-content: space-between; margin-bottom: 2.5rem; } }
.nkt-mb-show-title { font-family: var(--mb-serif); font-size: 1.15rem; font-weight: 500; margin: .15rem 0 .4rem; }
.nkt-mb-show-title a { color: var(--mb-white); text-decoration: none; }
.nkt-mb-show-title a:hover { color: var(--mb-accent); }
.nkt-mb-backlink { margin: 0; }
.nkt-mb-backlink a { display: inline-flex; align-items: center; gap: .3rem; color: var(--mb-dim); font-size: 13px; text-decoration: none; transition: color .2s ease; }
.nkt-mb-backlink a:hover { color: var(--mb-white); }
.nkt-mb-backlink svg { width: .8rem; height: .8rem; }

.nkt-mb-epnav { display: flex; gap: .5rem; flex-shrink: 0; max-width: 100%; }
.nkt-mb-epnav-btn {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	max-width: 13rem;
	padding: .5rem .8rem;
	border-radius: 9px;
	border: 1px solid var(--mb-line);
	background: rgba(255, 255, 255, .05);
	color: var(--mb-dim);
	font-size: 12px;
	text-decoration: none;
	transition: color .2s ease, border-color .2s ease;
}
.nkt-mb-epnav-btn:hover { color: var(--mb-white); border-color: rgba(255, 255, 255, .18); }
.nkt-mb-epnav-btn svg { width: .85rem; height: .85rem; flex-shrink: 0; }
.nkt-mb-epnav-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nkt-mb-epnav-btn--next { text-align: right; }

/* ============================== Single: episode headline ============================== */
/* The masthead is a slim breadcrumb bar; the episode title carries the hero. Tighten the
   gap so the headline sits right under it instead of stranding an empty navy band. */
.nkt-mb-single-main .nkt-mb-masthead { margin-bottom: 1.25rem; }
@media (min-width: 640px) { .nkt-mb-single-main .nkt-mb-masthead { margin-bottom: 1.5rem; } }

.nkt-mb-single-head { max-width: 54rem; margin: 0 0 clamp(1.75rem, 1.25rem + 2vw, 2.5rem); }
/* Commanding serif headline — echoes the archive hero's .nkt-mb-title lockup, a notch
   smaller so long episode titles still land in two tidy lines. */
.nkt-mb-single-title {
	font-family: var(--mb-serif);
	font-optical-sizing: auto;
	font-variation-settings: "SOFT" 0, "WONK" 0;
	font-weight: 600;
	color: var(--mb-white);
	line-height: 1.06;
	/* tracking left at normal — the #nkt-mb-scoped uppercase opt-out resets it, same as the
	   archive .nkt-mb-title, so the two hero headlines match. */
	font-size: clamp(1.9rem, 1.25rem + 2.7vw, 3.15rem);
	margin: 0;
}
/* Lead: the episode blurb set as an editorial standfirst — near-white, roomy, a step
   above the muted meta so the hero has body between the title and the player. */
.nkt-mb-single-lead {
	color: #c3ccd9;
	font-size: clamp(1.02rem, .96rem + .35vw, 1.2rem);
	line-height: 1.6;
	max-width: 46rem;
	margin: 1.1rem 0 0;
}

/* ============================== Single: description body ============================== */
/* "About this episode" — left-aligned under the hero (not a floating centred column),
   opened by a heading + gold hairline so it reads as a continuation, not an island. */
.nkt-mb-body { background: var(--mb-body); padding: clamp(1.75rem, 1.25rem + 2vw, 2.75rem) 0 clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.nkt-mb-body-inner { max-width: 46rem; }
.nkt-mb-body-heading {
	font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem);
	margin: 0 0 1.1rem;
	padding-bottom: .85rem;
	position: relative;
}
.nkt-mb-body-heading::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 3rem;
	height: 2px;
	border-radius: 2px;
	background: var(--mb-accent);
}
.nkt-mb-prose { color: var(--mb-text); font-size: 1.05rem; line-height: 1.8; }
.nkt-mb-prose p { margin: 0 0 1.25rem; }
.nkt-mb-prose a { color: var(--mb-accent); text-decoration: underline; text-underline-offset: 2px; }
.nkt-mb-prose h2, .nkt-mb-prose h3 { font-family: var(--mb-serif); color: var(--mb-white); font-weight: 500; margin: 2rem 0 .75rem; }
.nkt-mb-prose ul, .nkt-mb-prose ol { margin: 0 0 1.25rem 1.25rem; }
.nkt-mb-prose img { max-width: 100%; height: auto; border-radius: 8px; }

.nkt-mb-more { padding-bottom: clamp(3rem, 2rem + 4vw, 5rem); }
.nkt-mb-more .nkt-mb-h2 { padding-top: clamp(2rem, 1.5rem + 2vw, 3rem); margin-bottom: 1.5rem; }
.nkt-mb-more.nkt-mb-archive::before { display: none; }
