/*
Theme Name: Hooniverse FM
Theme URI: https://hooniverse.com
Author: Bare Minimum Media
Author URI: https://bareminimum.media
Description: Custom retro theme for Hooniverse. Warm dark ground, sunset stripes, TV-framed lead story, cream story cards and a cassette-style podcast block.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hoonfm
*/

/* ---------- fonts (self-hosted; licences in assets/fonts) ---------- */
@font-face {
	font-family: 'Bowlby One';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(assets/fonts/bowlby-one-400-latin.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'DM Mono';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(assets/fonts/dm-mono-400-latin-ext.woff2) format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'DM Mono';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(assets/fonts/dm-mono-400-latin.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'DM Mono';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url(assets/fonts/dm-mono-500-latin-ext.woff2) format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'DM Mono';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url(assets/fonts/dm-mono-500-latin.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Work Sans';
	font-style: italic;
	font-weight: 400 700;
	font-display: swap;
	src: url(assets/fonts/work-sans-400-700-italic-latin-ext.woff2) format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Work Sans';
	font-style: italic;
	font-weight: 400 700;
	font-display: swap;
	src: url(assets/fonts/work-sans-400-700-italic-latin.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Work Sans';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url(assets/fonts/work-sans-400-700-latin-ext.woff2) format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Work Sans';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url(assets/fonts/work-sans-400-700-latin.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- tokens ---------- */
:root {
	--bg: #16100c;
	--bg-2: #1f1712;
	--bg-3: #241a14;
	--line: #4a3a2e;
	--cream: #f3e6cf;
	--cream-dim: #d8c8ae;
	--muted: #b9a88f;
	--ink: #16100c;
	--ink-soft: #5c4a3a;
	--amber: #f2a541;
	--orange: #e8612c;
	--red: #c2412d;
	--plum: #7a2e3a;
	--rust: #9a3a22;
	--accent: var(--amber);
	--font-display: "Bowlby One", "Arial Black", Impact, sans-serif;
	--font-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
	--font-body: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--stripes: linear-gradient(180deg, var(--amber) 0 25%, var(--orange) 25% 50%, var(--red) 50% 75%, var(--plum) 75% 100%);
	--vstripes: linear-gradient(90deg, var(--amber) 0 25%, var(--orange) 25% 50%, var(--red) 50% 75%, var(--plum) 75% 100%);
	--wrap: 1320px;
	--gutter: 40px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--cream);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, video, iframe, embed, object { max-width: 100%; }
img { height: auto; }
a { color: var(--cream); text-decoration: none; }
a:hover { color: var(--amber); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: .005em; }
p { margin: 0 0 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--amber); color: var(--ink); }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; word-wrap: normal !important;
}
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--cream); color: var(--ink); padding: 12px 18px; border-radius: 999px; font-family: var(--font-mono); }
.skip-link:focus { left: 8px; color: var(--ink); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 840px; }
.wrap--mid { max-width: 1100px; }
.mono { font-family: var(--font-mono); letter-spacing: .06em; text-transform: uppercase; font-size: 12px; }
.stripes { background: var(--stripes); }
.vstripes { background: var(--vstripes); }

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
	font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
	background: var(--accent); color: var(--ink);
}
.btn:hover { background: var(--cream); color: var(--ink); }
.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark:hover { background: var(--rust); color: var(--cream); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--cream); }
.btn--ghost:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.btn--ghost-dark { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost-dark:hover { background: var(--ink); color: var(--cream); }

/* ---------- header ---------- */
.top-stripe { height: 6px; background: var(--vstripes); }
.site-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding-top: 26px; padding-bottom: 26px; }
.site-logo { display: block; flex: 0 1 460px; min-width: 180px; }
.site-logo img { display: block; width: 100%; height: auto; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.pill-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-nav a {
	display: block; padding: 12px 18px; border-radius: 999px; border: 1.5px solid var(--line);
	font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
}
.pill-nav a:hover { border-color: var(--cream); color: var(--cream); }
.pill-nav .current-menu-item > a,
.pill-nav .current_page_item > a,
.pill-nav .current-menu-parent > a { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.icon-btn {
	width: 46px; height: 46px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
	border-radius: 50%; border: 1.5px solid var(--line); background: transparent; color: var(--cream); cursor: pointer;
}
.icon-btn:hover { border-color: var(--cream); }
.nav-toggle { display: none; }
.site-search { border-top: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); background: var(--bg-2); padding: 20px 0; }
.site-search[hidden] { display: none; }

.search-form { display: flex; gap: 10px; flex-wrap: wrap; }
.search-form label { flex: 1 1 240px; }
.search-field, .field {
	width: 100%; height: 54px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--line);
	background: var(--bg); color: var(--cream); font-family: var(--font-mono); font-size: 16px;
}
.search-field::placeholder, .field::placeholder { color: #9c8b74; }
.search-submit { min-height: 54px; }

/* ---------- hero ---------- */
.hero { position: relative; }
.hero__band { position: absolute; left: 0; right: 0; top: 50%; height: 220px; transform: translateY(-50%); background: var(--stripes); }
.hero__wrap { position: relative; padding-top: 36px; padding-bottom: 64px; }
.hero__slides { display: grid; }
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero__slide { grid-area: 1 / 1; }
[data-hero] .hero__slide { transition: opacity .6s ease, visibility 0s linear .6s; }
[data-hero] .hero__slide:not(.is-active) { visibility: hidden; opacity: 0; }
[data-hero] .hero__slide.is-active { transition: opacity .6s ease, visibility 0s; }
/* Transport buttons: one set, laid over the TV's bottom edge. The overlay shares the
   slides' grid cell and columns, and .hero__frame copies the TV's 16:9 screen and frame,
   so it lines up with whichever story is showing. */
.hero__controls { grid-area: 1 / 1; z-index: 3; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; align-items: center; pointer-events: none; }
.hero__controls[hidden] { display: none; }
.hero__frame { position: relative; box-sizing: content-box; aspect-ratio: 16 / 9; border: 10px solid transparent; }
.hero__deck { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; pointer-events: auto; }
.hero__ctl {
	display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0;
	border-radius: 50%; border: 1.5px solid rgba(243, 230, 207, .35); background: rgba(22, 16, 12, .78); color: var(--cream); cursor: pointer;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
}
.hero__ctl svg { width: 20px; height: 20px; fill: currentColor; }
.hero__ctl--main { width: 60px; height: 60px; background: var(--accent); border-color: var(--accent); color: var(--ink); }
.hero__ctl:not(.hero__ctl--main):hover { background: var(--bg); }
.hero__ctl--main svg { width: 24px; height: 24px; }
.hero__ctl:hover { border-color: var(--cream); }
.hero__ctl--main:hover { background: var(--cream); border-color: var(--cream); }
.hero__ctl:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }
.hero__icon-play, .hero__pause.is-paused .hero__icon-pause { display: none; }
.hero__pause.is-paused .hero__icon-play { display: block; }
.tv { min-width: 0; border: 10px solid var(--cream); border-radius: 36px; background: var(--cream); box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.tv__screen { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 26px; overflow: hidden; background: radial-gradient(ellipse at 50% 45%, #3a2a20 0%, #1e1612 70%); }
.tv__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tv__screen::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background:
		repeating-linear-gradient(0deg, rgba(0, 0, 0, .16) 0 2px, transparent 2px 4px),
		radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, .45) 100%);
}
.tv__screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tv__screen--player::after { display: none; }
.tv__tag { position: absolute; z-index: 2; padding: 6px 10px; border-radius: 6px; background: rgba(22, 16, 12, .78); }
.tv__tag--tl { left: 18px; top: 16px; color: var(--amber); }
.tv__tag--br { right: 18px; bottom: 16px; color: var(--cream-dim); }
.play {
	position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%);
	width: 96px; height: 96px; border-radius: 50%; background: var(--accent);
	display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 8px rgba(243, 230, 207, .18);
}
.play svg { width: 38px; height: 38px; fill: var(--ink); margin-left: 4px; }
.play--sm { width: 52px; height: 52px; box-shadow: 0 0 0 5px rgba(243, 230, 207, .18); }
.play--sm svg { width: 20px; height: 20px; margin-left: 2px; }
.hero__card { min-width: 0; background: var(--bg); border: 1.5px solid var(--line); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.hero__kicker { color: var(--accent); font-size: 13px; }
.hero__kicker:hover { color: var(--cream); }
.hero__title { font-size: clamp(28px, 2.75vw, 40px); line-height: 1.06; text-wrap: balance; overflow-wrap: break-word; }
.hero__dek { margin: 0; font-size: 17px; line-height: 1.55; color: var(--cream-dim); }
.hero__meta { color: var(--muted); }

/* ---------- channels ---------- */
.channels { padding-bottom: 72px; }
.channels__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.channel { display: flex; flex-direction: column; gap: 22px; padding: 18px 20px; border-radius: 20px; border: 1.5px solid var(--line); background: var(--bg-2); min-height: 108px; justify-content: space-between; }
.channel:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.channel__ch { color: var(--muted); }
.channel:hover .channel__ch { color: var(--rust); }
.channel__name { font-family: var(--font-display); font-size: 23px; line-height: 1; }

/* ---------- section heads ---------- */
.section { padding-bottom: 88px; }
.section-head { display: flex; align-items: center; gap: 20px; margin-bottom: 32px; }
.section-head__title { font-size: clamp(40px, 5vw, 72px); line-height: 1; }
.section-head__title--sm { font-size: clamp(30px, 3.4vw, 48px); }
.section-head__bar { flex: 1; height: 16px; border-radius: 999px; background: var(--vstripes); min-width: 40px; }
.section-head__rule { flex: 1; height: 1.5px; background: var(--line); min-width: 40px; }
.section-head__link { font-size: 13px; white-space: nowrap; }

/* ---------- cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 28px; }
.card { position: relative; display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: var(--cream); color: var(--ink); transition: transform .15s ease; }
.card:hover { transform: translateY(-4px); }
.card__media { position: relative; display: block; aspect-ratio: 16 / 9; background: radial-gradient(ellipse at 50% 45%, #3a2a20 0%, #1e1612 70%); overflow: hidden; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__media--empty { background: var(--bg-3); }
.card__media--empty .play--sm { left: auto; right: 14px; top: 14px; transform: none; }
.card__media--empty::before { content: ""; position: absolute; inset: 0 0 22% 0; background: url(assets/img/logo-icon-card.svg) center / auto 62% no-repeat; }
.card__media--empty::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: var(--stripes); }
.card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__cat { position: relative; z-index: 2; align-self: flex-start; color: var(--rust); font-size: 11px; }
.card__cat:hover { color: var(--ink); text-decoration: underline; }
.card__title { font-size: 22px; line-height: 1.12; }
.card__title a { color: var(--ink); }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__title a:hover { color: var(--rust); }
.card__meta { margin-top: auto; padding-top: 4px; color: var(--ink-soft); font-size: 11px; }

/* ---------- podcast ---------- */
.radio { background: var(--cream); color: var(--ink); }
.radio__inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: stretch; padding-top: 72px; padding-bottom: 72px; }
.radio__copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.radio__kicker { color: var(--rust); font-size: 13px; }
.radio__title { font-size: clamp(56px, 7vw, 96px); line-height: .95; }
.radio__desc { margin: 0; font-size: 19px; line-height: 1.55; max-width: 520px; }
.dial { border-radius: 18px; background: var(--ink); padding: 22px 24px; color: var(--cream); }
.dial__nums { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; }
.dial__ticks { position: relative; height: 36px; margin-top: 8px; background: repeating-linear-gradient(90deg, #6b5848 0 1.5px, transparent 1.5px 12px); }
.dial__needle { position: absolute; left: 62%; top: -6px; bottom: -6px; width: 4px; border-radius: 2px; background: var(--accent); }
.radio__links { display: flex; flex-wrap: wrap; gap: 10px; }
.tape { flex: 1 1 480px; min-width: 0; border-radius: 28px; background: var(--ink); color: var(--cream); padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.tape__label { border-radius: 14px; padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; background: var(--stripes); color: var(--ink); }
.tape__side { font-family: var(--font-display); font-size: 22px; }
.tape__reels { display: flex; justify-content: center; gap: 72px; padding: 6px 0; }
.tape__reel { width: 72px; height: 72px; border-radius: 50%; border: 10px solid #3a2c22; background: var(--cream); }
.tape__list { list-style: none; margin: 0; padding: 0; }
.tape__list a { display: flex; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid #3a2c22; color: var(--cream); }
.tape__list a:hover { color: var(--amber); }
.tape__n { color: var(--amber); width: 34px; flex: 0 0 auto; }
.tape__t { flex: 1; font-size: 16px; font-weight: 500; line-height: 1.35; }
.tape__d { color: var(--muted); white-space: nowrap; }

/* ---------- definition ---------- */
.define { padding-top: 96px; padding-bottom: 96px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.define__kicker { color: var(--accent); font-size: 13px; }
.define__text { font-family: var(--font-display); font-size: clamp(40px, 5.6vw, 80px); line-height: 1; max-width: 1000px; }
.define__bar { width: 240px; height: 12px; border-radius: 999px; background: var(--vstripes); margin-top: 8px; }

/* ---------- banners (merch / newsletter) ---------- */
.banner { border-radius: 32px; overflow: hidden; display: flex; flex-wrap: wrap; background: var(--bg-3); }
.banner__stripes { flex: 1 1 200px; min-height: 120px; background: var(--stripes); }
.banner__body { flex: 999 1 520px; padding: 44px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.banner__title { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.05; }
.banner__text { margin: 0; color: var(--cream-dim); font-size: 17px; max-width: 620px; }
.banner__fine { margin: 0; color: var(--muted); font-size: 14px; }
.banner__fine a { text-decoration: underline; }
.nlform { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; max-width: 620px; }
.nlform .field { flex: 1 1 240px; width: auto; min-width: 0; }
.nlform[hidden], .nldone[hidden] { display: none; }
.nldone { display: flex; flex-direction: column; gap: 8px; }
.nldone__title { margin: 0; font-family: var(--font-display); font-size: 24px; line-height: 1.1; }
.banner--cream { background: var(--cream); color: var(--ink); }
.banner--cream .banner__text { color: var(--ink-soft); }

/* ---------- footer ---------- */
.site-footer { border-top: 1.5px solid var(--line); margin-top: 8px; }
.site-footer__inner { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; }
.site-footer__logo img { display: block; width: 300px; max-width: 100%; height: auto; }
.footer-nav, .footer-social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 24px; }
.footer-nav a, .footer-social a { display: inline-block; padding: 10px 0; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.site-footer__copy { color: var(--muted); font-size: 11px; width: 100%; }

/* ---------- archive / list pages ---------- */
.page-head { padding-top: 24px; padding-bottom: 40px; }
.page-head__kicker { color: var(--accent); font-size: 13px; margin-bottom: 14px; }
.page-head__row { display: flex; align-items: center; gap: 20px; }
.page-head__title { font-size: clamp(40px, 6vw, 84px); line-height: 1; overflow-wrap: anywhere; }
.page-head__desc { margin-top: 18px; max-width: 760px; color: var(--cream-dim); font-size: 18px; }
.page-head__desc p:last-child { margin-bottom: 0; }

.pagination { margin-top: 56px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers {
	min-width: 48px; height: 48px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center;
	border-radius: 999px; border: 1.5px solid var(--line); font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
}
.pagination .page-numbers.current { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.pagination a.page-numbers:hover { border-color: var(--cream); color: var(--cream); }
.pagination .dots { border-color: transparent; }

.load-more { display: flex; justify-content: center; margin-top: 56px; }
.load-more__btn { min-width: 220px; min-height: 56px; font-size: 14px; }
.load-more__btn[disabled] { opacity: .6; cursor: progress; }
.pagination.has-load-more { margin-top: 20px; }
.entry-content .wp-block-query-pagination.has-load-more { margin-top: 20px; }
.entry-content .load-more { margin-top: 16px; }

.empty { padding: 40px; border: 1.5px solid var(--line); border-radius: 28px; background: var(--bg-2); display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }

/* ---------- single ---------- */
.entry-header { padding-top: 32px; padding-bottom: 36px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.entry-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.entry-cats a { padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.entry-cats a:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.entry-title { font-size: clamp(36px, 5.2vw, 68px); line-height: 1.02; overflow-wrap: anywhere; }
.entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; color: var(--muted); }
.entry-meta img { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--cream); display: block; }
.entry-meta a { color: var(--cream); }
.entry-meta a:hover { color: var(--amber); }
.entry-figure { margin: 0 auto 48px; }
.entry-figure__frame { border: 8px solid var(--cream); border-radius: 30px; overflow: hidden; background: var(--cream); box-shadow: 0 24px 50px rgba(0, 0, 0, .4); }
.entry-figure img { display: block; width: 100%; height: auto; border-radius: 22px; }
.entry-figure figcaption { margin-top: 12px; color: var(--muted); font-family: var(--font-mono); font-size: 12px; text-align: center; }

.entry-content { font-size: 19px; line-height: 1.72; color: #efe2cb; padding: 0 var(--gutter); overflow-wrap: break-word; }
.entry-content > * { max-width: 720px; margin-left: auto; margin-right: auto; }
.entry-content > .alignwide,
.entry-content > .wp-block-query,
.entry-content > .wp-block-columns,
.entry-content > .wp-block-gallery,
.entry-content > .wp-block-embed.is-type-video,
.entry-content > .wp-block-cover,
.entry-content > .epyt-gallery,
.entry-content > .wp-block-table { max-width: 1100px; }
.entry-content > .alignfull { max-width: none; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); }
.entry-content p, .entry-content ul, .entry-content ol, .entry-content figure, .entry-content blockquote, .entry-content pre, .entry-content table { margin-top: 0; margin-bottom: 1.4em; }
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 1.6em; margin-bottom: .6em; color: var(--cream); }
.entry-content h1, .entry-content h2 { font-size: clamp(28px, 3vw, 38px); }
.entry-content h3 { font-size: 26px; }
.entry-content h4 { font-size: 21px; }
.entry-content h5, .entry-content h6 { font-family: var(--font-mono); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin: 1.6em auto .6em; color: var(--amber); }
.entry-content a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.entry-content a:hover { color: var(--cream); }
.entry-content img { border-radius: 16px; }
.entry-content figcaption, .entry-content .wp-caption-text, .entry-content .wp-element-caption { margin-top: 10px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); text-align: center; line-height: 1.5; }
.entry-content .wp-caption { max-width: 100%; }
.entry-content iframe { border-radius: 16px; }
.entry-content blockquote { padding: 26px 30px; border-radius: 22px; background: var(--cream); color: var(--ink); font-size: 20px; }
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content blockquote a { color: var(--rust); }
.entry-content blockquote cite { display: block; margin-top: 12px; font-family: var(--font-mono); font-size: 12px; font-style: normal; text-transform: uppercase; letter-spacing: .06em; }
.entry-content hr { border: 0; height: 10px; border-radius: 999px; background: var(--vstripes); max-width: 200px; margin-top: 2.4em; margin-bottom: 2.4em; }
.entry-content pre, .entry-content code { font-family: var(--font-mono); font-size: .85em; background: var(--bg-3); border-radius: 8px; }
.entry-content code { padding: 2px 6px; }
.entry-content pre { padding: 20px; overflow-x: auto; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.entry-content th, .entry-content td { padding: 10px 14px; border: 1px solid var(--line); text-align: left; }
.entry-content th { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--amber); }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content .alignleft { float: left; margin: .4em 1.6em 1em 0; max-width: 50%; }
.entry-content .alignright { float: right; margin: .4em 0 1em 1.6em; max-width: 50%; }
.entry-content .aligncenter { display: block; margin-left: auto; margin-right: auto; text-align: center; }
.entry-content::after { content: ""; display: table; clear: both; }
.entry-content .wp-block-button__link, .entry-content .wp-element-button, .entry-content input[type="submit"] {
	display: inline-flex; align-items: center; min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 0; cursor: pointer;
	background: var(--accent); color: var(--ink); text-decoration: none; font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
}
.entry-content .wp-block-button__link:hover, .entry-content .wp-element-button:hover, .entry-content input[type="submit"]:hover { background: var(--cream); color: var(--ink); }
.entry-content input[type="text"], .entry-content input[type="email"], .entry-content input[type="url"], .entry-content input[type="tel"], .entry-content textarea, .entry-content select,
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 14px 18px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--bg-2); color: var(--cream); font-size: 16px;
}
.entry-content .wp-block-cover { border-radius: 24px; overflow: hidden; }
/* light boxes placed inside dark pages keep dark, readable text */
.entry-content .has-white-background-color { background-color: var(--cream) !important; color: var(--ink); border-radius: 22px; }
.entry-content .has-white-background-color h1, .entry-content .has-white-background-color h2, .entry-content .has-white-background-color h3, .entry-content .has-white-background-color h4,
.entry-content .wp-block-cover.is-light h1, .entry-content .wp-block-cover.is-light h2, .entry-content .wp-block-cover.is-light h3, .entry-content .wp-block-cover.is-light h4 { color: inherit; }
.entry-content .has-white-background-color a, .entry-content .wp-block-cover.is-light a { color: var(--rust); }
.entry-content .has-white-background-color h2:first-child { margin-top: 0; }

/* query-loop blocks used on the Articles / Podcasts pages */
.entry-content .wp-block-post-template { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 32px 24px; margin-bottom: 2em; }
.entry-content .wp-block-post-template > li { margin: 0; width: auto !important; min-width: 0; }
.entry-content .wp-block-post-featured-image { margin: 0 0 14px; width: 100% !important; height: auto !important; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: var(--bg-3); }
.entry-content .wp-block-post-featured-image a, .entry-content .wp-block-post-featured-image img { display: block; width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 0; }
.entry-content .wp-block-post-title { font-size: 20px; line-height: 1.15; margin: 0 0 8px; }
.entry-content .wp-block-post-title a { color: var(--cream); text-decoration: none; }
.entry-content .wp-block-post-title a:hover { color: var(--amber); }
.entry-content .wp-block-post-template .wp-block-group { font-family: var(--font-mono); font-size: 11px !important; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); gap: 6px; }
.entry-content .wp-block-post-template .wp-block-group p { margin: 0; }
.entry-content .wp-block-post-excerpt { font-size: 15px; line-height: 1.5; color: var(--cream-dim); margin-top: 10px; }
.entry-content .wp-block-post-excerpt p { margin-bottom: .5em; }
.entry-content .wp-block-query-pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; font-family: var(--font-mono); font-size: 13px; text-transform: uppercase; }
.entry-content .wp-block-query-pagination a, .entry-content .wp-block-query-pagination .page-numbers { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--cream); text-decoration: none; margin: 0; }
.entry-content .wp-block-query-pagination .current { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.entry-content .wp-block-query-pagination-numbers { display: flex; flex-wrap: wrap; gap: 8px; }

/* Jetpack like / share widgets */
.entry-content div.sharedaddy { margin-top: 2.4em; }
.entry-content div.sharedaddy h3.sd-title {
	display: block; margin: 0 0 12px; color: var(--muted);
	font-family: var(--font-mono); font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase;
}
.entry-content div.sharedaddy h3.sd-title::before { border-top: 1.5px solid var(--line); margin-bottom: 18px; }

.entry-footer { padding-top: 40px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 28px; }
.entry-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.entry-tags a { padding: 6px 12px; border-radius: 999px; background: var(--bg-3); font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--cream-dim); }
.entry-tags a:hover { background: var(--cream); color: var(--ink); }
.author-box { display: flex; gap: 22px; padding: 28px; border-radius: 26px; background: var(--cream); color: var(--ink); }
.author-box img { width: 84px; height: 84px; border-radius: 50%; flex: 0 0 auto; border: 3px solid var(--ink); }
.author-box__label { color: var(--rust); }
.author-box__name { font-family: var(--font-display); font-size: 24px; margin: 4px 0 8px; }
.author-box__name a { color: var(--ink); }
.author-box__bio { margin: 0; font-size: 16px; line-height: 1.55; }

/* ---------- comments ---------- */
.comments-area { padding-bottom: 88px; }
.comments-title, .comment-reply-title { font-size: clamp(28px, 3vw, 40px); margin-bottom: 24px; }
.comment-list, .comment-list .children { list-style: none; margin: 0; padding: 0; }
.comment-list .children { margin-left: clamp(14px, 3vw, 36px); }
.comment-body { padding: 20px 22px; border-radius: 20px; background: var(--bg-2); border: 1.5px solid var(--line); margin-bottom: 12px; font-size: 16px; }
.comment-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; margin-bottom: 10px; }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.comment-author .avatar { width: 36px; height: 36px; border-radius: 50%; }
.comment-author .says { display: none; }
.comment-metadata, .comment-metadata a, .reply a, .logged-in-as, .comment-notes, .comment-form-cookies-consent { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.comment-content { overflow-wrap: anywhere; }
.comment-content a { color: var(--amber); text-decoration: underline; }
.comment-content p:last-child { margin-bottom: 0; }
.comment-content img { border-radius: 12px; }
.reply { margin-top: 10px; }
.reply a:hover, .comment-metadata a:hover { color: var(--amber); }
.bypostauthor > .comment-body { border-color: var(--amber); }
.comment-respond { margin-top: 36px; padding: 28px; border-radius: 26px; background: var(--bg-3); }
.comment-form { display: flex; flex-direction: column; gap: 14px; }
.comment-form p { margin: 0; }
.comment-form label { display: block; margin-bottom: 6px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; }
.comment-form-cookies-consent label { margin: 0; }
.comment-form .submit { min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 0; background: var(--accent); color: var(--ink); font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.comment-form .submit:hover { background: var(--cream); }
.comment-navigation { display: flex; justify-content: space-between; margin: 20px 0; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; }

/* ---------- 404 ---------- */
.lost { padding-top: 56px; padding-bottom: 96px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.lost__code { font-family: var(--font-display); font-size: clamp(120px, 24vw, 300px); line-height: .85; background: var(--stripes); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lost__title { font-size: clamp(28px, 4vw, 48px); }
.lost .search-form { width: 100%; max-width: 560px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
	.nav-toggle { display: inline-flex; }
	.site-header__inner { flex-wrap: nowrap; }
	.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 20; flex-direction: column; align-items: stretch; padding: 16px var(--gutter) 24px; background: var(--bg-2); border-top: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); }
	.site-header { position: relative; }
	.site-logo { flex-basis: 400px; }
	.site-nav.is-open { display: flex; }
	.pill-nav { flex-direction: column; }
	.pill-nav a { text-align: center; }
	.site-nav .search-toggle { display: none; }
	.site-nav .nav-search { display: block; margin-top: 8px; }
}
@media (max-width: 1000px) {
	.hero__inner, .hero__controls { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.hero__slide, .hero__controls { align-self: start; }
	.hero__band { top: 28%; }
	.hero__title { font-size: clamp(30px, 6vw, 44px); }
}
@media (min-width: 1001px) {
	.site-nav .nav-search { display: none; }
	/* keep logo and menu on one row: the logo gives up width first */
	.site-header__inner { flex-wrap: nowrap; }
	.site-nav { flex: 0 0 auto; }
	.pill-nav { justify-content: flex-end; }
}
@media (max-width: 720px) {
	:root { --gutter: 16px; }
	body { font-size: 16px; }
	.site-header__inner { padding-top: 18px; padding-bottom: 18px; }
	.site-logo { flex-basis: 260px; }
	.hero__inner { gap: 24px; }
	.hero__wrap { padding-top: 16px; padding-bottom: 48px; }
	.hero__frame { border-width: 7px; }
	.hero__deck { bottom: 12px; gap: 10px; }
	.hero__ctl { width: 42px; height: 42px; }
	.hero__ctl svg { width: 18px; height: 18px; }
	.hero__ctl--main { width: 52px; height: 52px; }
	.hero__band { top: 26%; height: 150px; }
	.tv { border-width: 7px; border-radius: 26px; }
	.tv__screen { border-radius: 19px; }
	.play { width: 72px; height: 72px; }
	.play svg { width: 28px; height: 28px; }
	.hero__card { padding: 24px; border-radius: 22px; }
	.channels { padding-bottom: 56px; }
	.home .channels { display: none; } /* phones: homepage skips the category tiles (the Articles page keeps them) */
	.channels__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.channel { min-height: 92px; padding: 14px 16px; }
	.channel__name { font-size: 19px; }
	.section { padding-bottom: 64px; }
	.section-head { gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
	.radio__inner { padding-top: 56px; padding-bottom: 56px; gap: 32px; }
	.tape { padding: 20px; border-radius: 22px; }
	.tape__reels { gap: 48px; }
	.tape__d { display: none; }
	.define { padding-top: 64px; padding-bottom: 64px; }
	.banner__body { padding: 28px 24px; }
	.banner__stripes { min-height: 64px; flex-basis: 100%; }
	.entry-content { font-size: 18px; }
	.entry-content .alignleft, .entry-content .alignright { float: none; max-width: 100%; margin: 0 0 1.4em; }
	.entry-figure__frame { border-width: 6px; border-radius: 22px; }
	.entry-figure img { border-radius: 16px; }
	.author-box { flex-direction: column; padding: 22px; }
	.site-footer__inner { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.card { transition: none; }
	.card:hover { transform: none; }
	[data-hero] .hero__slide, [data-hero] .hero__slide.is-active { transition: none; }
}
