/* ==========================================================================
   PPR Pulse — Primetime Power Radio
   Broadcast black + power gold. One family (Archivo): expanded width for
   display type, normal width for reading.
   ========================================================================== */

@font-face {
	font-family: "Archivo Variable";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	font-stretch: 62% 125%;
	src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations"), url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Archivo Variable";
	font-style: italic;
	font-display: swap;
	font-weight: 100 900;
	font-stretch: 62% 125%;
	src: url("../fonts/archivo-latin-wdth-italic.woff2") format("woff2-variations"), url("../fonts/archivo-latin-wdth-italic.woff2") format("woff2");
}

:root {
	--black: #000000;
	--gold: #f5c400;
	--gold-hi: #ffd633;
	--on-gold: #000000;
	--panel: #18181a;
	--panel-2: #222225;
	--rule: #2c2c30;
	--paper: #f3f1ea;
	--muted: #a9a7a0;
	--live: #e5322d;

	--font: "Archivo Variable", "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--wrap: 1240px;
	--measure: 70ch;
	--gutter: clamp(16px, 4vw, 40px);
	--header-h: 76px;

	/* Plugin component tokens */
	--ppr-accent: var(--gold);
	--ppr-on-accent: var(--on-gold);
	--ppr-bg: var(--black);
	--ppr-panel: var(--panel);
	--ppr-rule: var(--rule);
	--ppr-text: var(--paper);
	--ppr-muted: var(--muted);
	--ppr-live: var(--live);
	--ppr-radius: 6px;

	color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	background: var(--black);
	color: var(--paper);
	font-family: var(--font);
	font-size: 1.0625rem; /* 17px */
	line-height: 1.6;
	font-stretch: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--gold); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--gold-hi); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--on-gold); }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5em 0; }

h1, h2, h3, h4, h5, h6 { line-height: 1.15; margin: 1.6em 0 .55em; font-weight: 700; color: var(--paper); text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-stretch: 125%; font-weight: 800; letter-spacing: -.01em; line-height: 1.02; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-stretch: 118%; font-weight: 760; letter-spacing: -.005em; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.2rem; }
h5, h6 { font-size: 1rem; }
p { margin: 0 0 1.1em; }

.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 !important; word-wrap: normal !important;
}
.skip-link {
	position: absolute; left: 12px; top: -100px; z-index: 10000;
	background: var(--gold); color: var(--on-gold); padding: 10px 16px; font-weight: 700; border-radius: 4px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap--content { max-width: calc(var(--measure) + 2 * var(--gutter)); }
.site-main:focus { outline: none; }

/* ---------- buttons ---------- */
.ppr-button, .wp-block-button__link, button.ppr-button {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 48px; padding: 12px 22px;
	background: var(--gold); color: var(--on-gold);
	font: inherit; font-weight: 700; line-height: 1.2; text-decoration: none;
	border: 2px solid var(--gold); border-radius: 4px; cursor: pointer;
}
.ppr-button:hover, .wp-block-button__link:hover { background: var(--gold-hi); border-color: var(--gold-hi); color: var(--on-gold); }
.ppr-button .ppr-icon { font-size: 1.15em; }
.ppr-button--ghost, .wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent; color: var(--paper); border-color: var(--rule);
}
.ppr-button--ghost:hover, .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: transparent; color: var(--gold); border-color: var(--gold); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 9000; background: var(--black); border-bottom: 1px solid var(--rule); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; position: relative; } }

.site-header__bar { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.site-header__brand { flex: none; display: flex; align-items: center; }
.site-header__brand img { display: block; max-height: 52px; width: auto; }
.site-header__brand a { color: var(--paper); font-weight: 800; font-stretch: 125%; text-decoration: none; font-size: 1.15rem; }
.custom-logo-link { display: block; }

.primary-nav { flex: 1; display: flex; align-items: center; justify-content: flex-end; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-nav > ul, .primary-nav > div > ul { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.primary-nav li { position: relative; display: flex; align-items: center; }
.primary-nav a {
	display: block; padding: 10px 12px; color: var(--paper); text-decoration: none;
	font-size: .95rem; font-weight: 600; border-radius: 4px; white-space: nowrap;
}
.primary-nav a:hover { color: var(--gold); }
.primary-nav .current-menu-item > a, .primary-nav .current_page_item > a, .primary-nav .current-menu-ancestor > a {
	color: var(--gold); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0;
}
.primary-nav__social { display: none; }

/* dropdowns */
.submenu-toggle {
	width: 28px; height: 28px; margin-left: -8px; background: none; border: 0; color: var(--muted); cursor: pointer; border-radius: 4px;
	display: inline-grid; place-items: center;
}
.submenu-toggle span { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.submenu-toggle[aria-expanded="true"] span { transform: translateY(1px) rotate(-135deg); }
.primary-nav .sub-menu, .primary-nav .children {
	position: absolute; top: 100%; left: 0; min-width: 260px; padding: 8px;
	background: var(--panel); border: 1px solid var(--rule); border-top: 2px solid var(--gold); border-radius: 0 0 6px 6px;
	display: none; flex-direction: column; z-index: 20;
}
.primary-nav .sub-menu a, .primary-nav .children a { white-space: normal; }
@media (min-width: 1181px) {
	.primary-nav li:hover > .sub-menu, .primary-nav li:hover > .children,
	.primary-nav li:focus-within > .sub-menu, .primary-nav li:focus-within > .children,
	.primary-nav li.is-open > .sub-menu, .primary-nav li.is-open > .children { display: flex; }
}

.site-header__actions { flex: none; display: flex; align-items: center; gap: 8px; }
.btn-live {
	display: inline-flex; align-items: center; gap: 2px;
	min-height: 42px; padding: 8px 16px; border-radius: 999px;
	background: transparent; color: var(--paper); border: 2px solid var(--gold);
	font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer;
}
.btn-live:hover { background: var(--gold); color: var(--on-gold); }
html[data-ppr-state="playing"] .btn-live { background: var(--gold); color: var(--on-gold); }
html[data-ppr-state="playing"] .btn-live .ppr-live-dot { background: var(--live); box-shadow: 0 0 0 3px rgba(229, 50, 45, .3); }

.menu-toggle { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--rule); border-radius: 4px; color: var(--paper); cursor: pointer; padding: 0; }
.menu-toggle__bars { display: grid; gap: 5px; width: 20px; margin: 0 auto; }
.menu-toggle__bars i { display: block; height: 2px; background: currentColor; border-radius: 1px; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1180px) {
	.menu-toggle { display: inline-block; }
	.site-header__bar { gap: 12px; justify-content: space-between; }
	.site-header__brand img { max-height: 42px; }
	.primary-nav {
		display: none; position: fixed; left: 0; right: 0; top: var(--nav-top, var(--header-h)); bottom: 0;
		background: var(--black); overflow-y: auto; padding: 16px var(--gutter) 120px;
		flex-direction: column; align-items: stretch; justify-content: flex-start; border-top: 1px solid var(--rule);
	}
	.primary-nav.is-open { display: flex; }
	.primary-nav > ul, .primary-nav > div > ul { flex-direction: column; align-items: stretch; gap: 0; }
	.primary-nav li { flex-wrap: wrap; border-bottom: 1px solid var(--rule); }
	.primary-nav a { flex: 1; font-size: 1.15rem; padding: 14px 4px; font-stretch: 112%; }
	.primary-nav .current-menu-item > a, .primary-nav .current_page_item > a { box-shadow: none; }
	.submenu-toggle { width: 44px; height: 44px; margin: 0; }
	.primary-nav .sub-menu, .primary-nav .children { position: static; width: 100%; min-width: 0; border: 0; padding: 0 0 8px 12px; background: transparent; }
	.primary-nav li.is-open > .sub-menu, .primary-nav li.is-open > .children { display: flex; }
	.primary-nav .sub-menu li, .primary-nav .children li { border: 0; }
	.primary-nav .sub-menu a, .primary-nav .children a { font-size: 1rem; padding: 10px 4px; }
	.primary-nav__social { display: block; padding-top: 24px; }
	body.menu-open { overflow: hidden; }
	.admin-bar .primary-nav { --nav-top: calc(var(--header-h) + 46px); }
}
@media (max-width: 420px) {
	.btn-live { padding: 8px 12px; font-size: .9rem; }
}

/* ---------- ticker ---------- */
.ticker { background: var(--panel); border-top: 1px solid var(--rule); font-size: .9rem; }
.ticker__inner { display: flex; align-items: center; gap: 12px; min-height: 40px; }
.ticker__list { list-style: none; margin: 0; padding: 0; flex: 1; position: relative; min-height: 1.5em; }
.ticker__item { display: none; color: var(--muted); }
.ticker__item.is-active { display: block; animation: ticker-in .35s ease both; }
.ticker__item a { color: var(--paper); text-decoration: none; }
.ticker__item a:hover { color: var(--gold); text-decoration: underline; }
.ticker__next { flex: none; width: 32px; height: 32px; border: 0; border-radius: 4px; background: transparent; color: var(--muted); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.ticker__next:hover { color: var(--gold); }
@keyframes ticker-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Homepage
   ========================================================================== */
.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(48px, 7vw, 96px); border-bottom: 1px solid var(--rule); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title {
	margin: 0 0 28px;
	font-size: clamp(2.6rem, 6.4vw, 5.4rem);
	font-stretch: 125%; font-weight: 820; line-height: .98; letter-spacing: -.015em;
}
.hero__lead { display: block; font-weight: 400; font-stretch: 100%; font-size: .42em; letter-spacing: 0; line-height: 1.2; margin-bottom: .35em; color: var(--muted); }
.hero__line { display: block; }
.hero__intro { font-size: 1.2rem; line-height: 1.55; max-width: 46ch; color: var(--paper); margin: 0; }

/* the studio console */
.console {
	background: var(--panel); border-radius: 8px; border-top: 4px solid var(--gold);
	padding: clamp(20px, 3vw, 32px); display: grid; gap: 22px;
}
.console__top { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; color: var(--muted); }
.console__listeners { color: var(--paper); }
.console__deck { display: flex; align-items: center; gap: 20px; }
.console__deck .ppr-play { --size: clamp(84px, 9vw, 104px); }
.console__deck .ppr-vol { display: none; }
.console__meter { flex: 1; height: 64px; gap: 4px; margin: 0; }
.console__meter i { flex: 1; width: auto; border-radius: 2px; height: 14%; }
.console__now { display: flex; gap: 14px; align-items: center; padding-top: 18px; border-top: 1px solid var(--rule); }
.console__art { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; background: var(--black); flex: none; }
.console__track { min-width: 0; }
.console__label { display: block; font-size: .85rem; color: var(--muted); }
.console__title { margin: 0; font-size: 1.2rem; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.console .ppr-onair { grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 18px; border-top: 1px solid var(--rule); }
.console .ppr-onair__next { border-top: 0; padding-top: 0; border-left: 1px solid var(--rule); padding-left: 16px; }
.console__foot { margin: 0; font-size: .9rem; }
.console__foot a { color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.console__foot a:hover { color: var(--gold); }

@media (max-width: 900px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero__title { font-size: clamp(2.4rem, 11vw, 4rem); }
}
@media (max-width: 420px) {
	.console .ppr-onair { grid-template-columns: 1fr; }
	.console .ppr-onair__next { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 12px; }
}

/* section bands */
.band { padding: clamp(48px, 7vw, 88px) 0; border-bottom: 1px solid var(--rule); }
.band--flush { padding: 48px 0 0; border: 0; }
.band__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 28px; }
.band__head .section-title { margin: 0; }
.section-title { margin: 0 0 20px; font-size: clamp(1.6rem, 3vw, 2.25rem); font-stretch: 118%; font-weight: 780; }

/* upcoming live show */
.band--live { background: var(--panel); }
.live { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.live__flyer { margin: 0; }
.live__flyer img { display: block; width: 100%; border-radius: 6px; }
.live__show { font-size: 1.35rem; font-weight: 700; margin: 0 0 6px; line-height: 1.3; }
.live__note { color: var(--muted); }
.live .ppr-countdown { margin: 18px 0 24px; max-width: 460px; }
.live .ppr-countdown__show { font-weight: 400; margin-bottom: 12px; }
.live .ppr-countdown__clock span { background: var(--black); }
.live__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 800px) { .live { grid-template-columns: 1fr; } .live__flyer { max-width: 420px; } }

/* apps */
.apps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.apps__copy p { color: var(--muted); max-width: 48ch; margin: 0; }
.apps .ppr-platforms { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.apps .ppr-platforms a { min-height: 88px; background: var(--panel); }
@media (max-width: 800px) { .apps { grid-template-columns: 1fr; } }

/* split CTA */
.split { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--rule); }
.split__panel { padding: clamp(48px, 7vw, 96px) var(--gutter); display: flex; }
.split__panel--gold { background: var(--gold); color: var(--on-gold); justify-content: flex-end; }
.split__panel--dark { background: var(--black); justify-content: flex-start; }
.split__inner { max-width: 540px; width: 100%; }
.split__panel--gold .split__inner { margin-right: clamp(0px, 3vw, 40px); }
.split__panel--dark .split__inner { margin-left: clamp(0px, 3vw, 40px); }
.split__icon { font-size: 40px; margin-bottom: 18px; }
.split__panel--dark .split__icon { color: var(--gold); }
.split__title { margin: 0 0 14px; font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-stretch: 125%; font-weight: 800; line-height: 1.05; color: inherit; }
.split__panel p { font-size: 1.1rem; margin-bottom: 26px; max-width: 44ch; }
.split__panel--dark p { color: var(--muted); }
.split__link { font-weight: 800; font-size: 1.15rem; color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .25em; }
.split__panel--gold .split__link:hover { color: var(--on-gold); text-decoration-thickness: 4px; }
.split__panel--dark .split__link { color: var(--gold); }
@media (max-width: 800px) {
	.split { grid-template-columns: 1fr; }
	.split__panel { justify-content: flex-start !important; }
	.split__inner { margin: 0 !important; }
}

/* posts */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 40px 32px; }
.post-grid--list { grid-template-columns: 1fr; gap: 0; }
.card { border-top: 2px solid var(--rule); padding-top: 18px; }
.card:hover { border-top-color: var(--gold); }
.card__media { display: block; margin-bottom: 16px; overflow: hidden; border-radius: 4px; }
.card__media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card__title { font-size: 1.3rem; margin: 0 0 8px; font-stretch: 108%; }
.card__title a { color: var(--paper); text-decoration: none; }
.card__title a:hover { color: var(--gold); }
.card__excerpt { color: var(--muted); }
.card__excerpt p { margin: 0; }
.post-grid--list .card { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 28px 0; }
.post-grid--list .card:not(:has(.card__media)) { grid-template-columns: 1fr; }
.post-grid--list .card__media { margin: 0; }
@media (max-width: 640px) { .post-grid--list .card { grid-template-columns: 1fr; } }
.entry-meta { font-size: .9rem; color: var(--muted); margin: 0 0 6px; }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-head { padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--rule); }
.page-head__title { margin: 0; max-width: 22ch; }
.page-head__sub { margin: 14px 0 0; color: var(--muted); font-size: 1.15rem; max-width: 60ch; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); padding-top: 48px; padding-bottom: 72px; align-items: start; }
.layout__main { min-width: 0; }
.layout__main--full { padding-top: 48px; padding-bottom: 72px; }
body:not(.has-sidebar) .layout { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 1000px) { .layout { grid-template-columns: minmax(0, 1fr); } }

.entry-hero { margin: 0 0 32px; }
.entry-hero img { display: block; width: 100%; border-radius: 6px; }

/* readable content, including legacy content from the old theme */
.entry-content { max-width: var(--measure); overflow-wrap: break-word; }
.entry-content--wide { max-width: none; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); }
.entry-content h3 { font-size: 1.3rem; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.entry-content li { margin-bottom: .35em; }
.entry-content li::marker { color: var(--gold); }
.entry-content blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold); font-size: 1.15rem; }
.entry-content img { border-radius: 4px; }
.entry-content figure { margin: 1.6em 0; }
.entry-content figcaption, .wp-caption-text { font-size: .9rem; color: var(--muted); margin-top: 8px; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.entry-content th { color: var(--gold); }
.entry-content iframe { display: block; border: 0; }
.entry-content strong, .entry-content b { color: #fff; }
.entry-content .alignwide { max-width: min(1100px, 100vw - 2 * var(--gutter)); }
.entry-content .alignfull { max-width: none; width: 100vw; margin-left: calc(50% - 50vw); }
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.embed-wrap { position: relative; aspect-ratio: 16 / 9; margin: 1.5em 0; }
.embed-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 600px) { .alignleft, .alignright { float: none; margin: 1em 0; } }

/* Text pasted with inline black/dark colours (common from older themes) would vanish on black. */
.entry-content [style*="color: #000"], .entry-content [style*="color:#000"],
.entry-content [style*="color: rgb(0, 0, 0)"], .entry-content [style*="color: black"],
.entry-content [style*="color: #333"], .entry-content [style*="color:#333"],
.entry-content [style*="color: #222"], .entry-content [style*="color:#222"],
.entry-content [style*="color: #111"], .entry-content [style*="color:#111"],
.entry-content font[color="#000000"], .entry-content font[color="black"] { color: inherit !important; }
.entry-content [style*="background-color: #fff"], .entry-content [style*="background-color: rgb(255, 255, 255)"],
.entry-content [style*="background: #fff"] { background: transparent !important; }

/* Old-theme layout shortcodes (fallbacks from inc/compat.php) */
.legacy-col { margin-bottom: 1.2em; }
@media (min-width: 720px) {
	.legacy-col { float: left; margin-right: 4%; }
	.legacy-col--one_half { width: 48%; }
	.legacy-col--one_third { width: 30.66%; }
	.legacy-col--two_third, .legacy-col--two_thirds { width: 65.33%; }
	.legacy-col--one_fourth { width: 22%; }
	.legacy-col--three_fourth { width: 74%; }
	.legacy-col--one_fifth { width: 16.8%; }
	.legacy-col--full_width { width: 100%; }
	.legacy-col.is-last { margin-right: 0; }
}
.legacy-clear, .legacy-row::after { clear: both; display: block; content: ""; }
.legacy-box { background: var(--panel); border-left: 3px solid var(--gold); padding: 18px 20px; border-radius: 4px; margin: 1.5em 0; }
.legacy-highlight { display: inline; background: var(--gold); color: var(--on-gold); padding: 0 .2em; }

/* page links / pagination / post navigation */
.page-links, .pagination .nav-links, .post-navigation .nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.pagination .page-numbers, .page-links a, .page-links > span {
	display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 14px;
	border: 1px solid var(--rule); border-radius: 4px; color: var(--paper); text-decoration: none;
}
.pagination .page-numbers.current { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
.pagination a.page-numbers:hover { border-color: var(--gold); color: var(--gold); }
.post-navigation { margin-top: 48px; border-top: 1px solid var(--rule); padding-top: 24px; }
.post-navigation .nav-links { justify-content: space-between; }
.post-navigation a { color: var(--paper); text-decoration: none; font-weight: 600; }
.post-navigation .nav-label { display: block; font-size: .85rem; color: var(--muted); font-weight: 400; }

/* sidebar */
.sidebar .widget { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--rule); }
.sidebar .widget:last-child { border-bottom: 0; }
.widget-title { margin: 0 0 14px; font-size: 1.1rem; font-stretch: 112%; font-weight: 760; }
.widget ul:not([class]) { list-style: none; margin: 0; padding: 0; }
.widget ul:not([class]) li { padding: 6px 0; border-bottom: 1px solid var(--rule); }
.widget-more { margin: 12px 0 0; font-size: .95rem; }
.widget--online { color: var(--muted); font-size: .95rem; }
.widget--player .ppr-console { padding: 14px; }
.layout__side { position: relative; }

/* search form */
.search-form { display: flex; gap: 8px; max-width: 520px; }
.search-form input[type=search] { flex: 1; min-width: 0; }

/* generic form controls (CF7, comments, search) */
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=search], input[type=number], input[type=password], input[type=date], select, textarea {
	font: inherit; color: var(--paper); background: rgba(255, 255, 255, .04);
	border: 1px solid var(--rule); border-radius: 4px; padding: 11px 12px; min-height: 46px; max-width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
select option { color: #000; }
input[type=submit], button[type=submit]:not(.ppr-button):not(.menu-toggle) {
	font: inherit; font-weight: 700; background: var(--gold); color: var(--on-gold); border: 0; border-radius: 4px; padding: 12px 22px; min-height: 46px; cursor: pointer;
}
.wpcf7-form p { margin-bottom: 16px; }
.wpcf7-form label { display: block; font-weight: 600; font-size: .95rem; }
.wpcf7-form input:not([type=submit]):not([type=checkbox]):not([type=radio]), .wpcf7-form select, .wpcf7-form textarea { width: 100%; margin-top: 6px; }
.wpcf7-not-valid-tip { color: #ff8a80; font-size: .9rem; }
.wpcf7 form .wpcf7-response-output { border-color: var(--gold); border-radius: 4px; margin: 16px 0 0; }

/* comments */
.comments { margin-top: 56px; border-top: 1px solid var(--rule); padding-top: 32px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-body { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.comment-meta { font-size: .9rem; color: var(--muted); }
.comment-meta img { border-radius: 50%; vertical-align: middle; margin-right: 8px; }
.comment-form label { display: block; font-weight: 600; margin-bottom: 4px; }
.comment-form input:not([type=checkbox]):not([type=submit]), .comment-form textarea { width: 100%; }

/* show pages */
.show-head { padding: clamp(40px, 6vw, 80px) 0; border-bottom: 1px solid var(--rule); }
.show-head__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(28px, 5vw, 64px); align-items: center; }
.show-head__slot { color: var(--muted); margin: 0 0 12px; }
.show-head__slot .ppr-badge { margin: 0 8px 0 0; }
.show-head__title { margin: 0 0 14px; }
.show-head__hosts { font-size: 1.2rem; margin: 0 0 24px; }
.show-head__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.show-head__art { margin: 0; }
.show-head__art img { display: block; width: 100%; border-radius: 6px; }
@media (max-width: 860px) { .show-head__grid { grid-template-columns: 1fr; } }

/* 404 / empty */
.notfound { padding-top: 40px; padding-bottom: 80px; display: grid; gap: 28px; }
.empty { padding: 24px 0; color: var(--muted); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 2px solid var(--gold); background: var(--black); padding-top: 64px; font-size: .95rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.site-footer__name { font-size: 1.5rem; font-weight: 800; font-stretch: 125%; line-height: 1.1; margin: 0 0 8px; }
.site-footer__tagline { color: var(--muted); max-width: 32ch; }
.site-footer__title, .site-footer .widget-title { font-size: 1rem; font-stretch: 112%; margin: 0 0 14px; color: var(--paper); }
.site-footer ul.menu, .site-footer__contact { list-style: none; margin: 0; padding: 0; }
.site-footer ul.menu li { margin-bottom: 8px; }
.site-footer ul.menu a { color: var(--muted); text-decoration: none; }
.site-footer ul.menu a:hover { color: var(--gold); }
.site-footer__contact li { margin-bottom: 10px; overflow-wrap: anywhere; }
.site-footer__contact span { display: block; font-size: .85rem; color: var(--muted); }
.site-footer__contact a { color: var(--paper); text-decoration: none; }
.site-footer__contact a:hover { color: var(--gold); }
.site-footer__bottom { border-top: 1px solid var(--rule); padding-top: 22px; padding-bottom: 28px; color: var(--muted); font-size: .85rem; }
.site-footer__bottom p { margin: 0 0 6px; }
.site-footer__bottom a { color: var(--paper); }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Third-party plugins on the existing site
   ========================================================================== */
/* My Calendar (the /my-calendar/ schedule page and mc-events) */
.mc-main, .mc-main * { --primary-dark: var(--panel); --primary-light: var(--panel-2); --secondary-light: var(--black); --secondary-dark: var(--gold); --highlight-dark: var(--gold); --highlight-light: var(--panel-2); }
.mc-main { color: var(--paper); }
.mc-main a { color: var(--gold); }
.mc-main table, .mc-main th, .mc-main td { background: transparent !important; border-color: var(--rule) !important; color: var(--paper); }
.mc-main th { color: var(--gold) !important; }
.mc-main .current-day, .mc-main .current-day .mc-date { background: var(--panel-2) !important; }
.mc-main .my-calendar-header button, .mc-main .my-calendar-footer button, .mc-main .mc-print a, .mc-main .my-calendar-nav a, .mc-main .mc-time .month, .mc-main .mc-time a {
	background: var(--panel) !important; color: var(--paper) !important; border: 1px solid var(--rule) !important; border-radius: 4px;
}
.mc-main .details, .mc-main .calendar-event .details { background: var(--panel) !important; color: var(--paper) !important; border-color: var(--rule) !important; }
.mc-main .event-title, .mc-main h3 { color: var(--paper) !important; }
.mc-main input, .mc-main select { color: var(--paper); }
.mc-event .mc-title, .single-mc-events .page-head__title { color: var(--paper); }

/* WP-UserOnline / generic widgets */
.useronline, #useronline-count { color: var(--muted); }

/* ==========================================================================
   Plugin components fine-tuning
   ========================================================================== */
.ppr-bar { font-family: var(--font); }
.ppr-bar__title { font-stretch: 105%; }
.ppr-countdown__clock b { font-stretch: 112%; }
body.ppr-popout { font-family: var(--font); }
.ppr-popout .ppr-console__title { font-stretch: 110%; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; }
	.ticker__item.is-active { animation: none; }
}

@media print {
	.site-header, .site-footer, .ppr-bar, .sidebar, .ticker, .console { display: none !important; }
	body { background: #fff; color: #000; }
	a { color: #000; }
}

/* Editor palette classes */
.has-gold-color { color: var(--gold) !important; } .has-gold-background-color { background-color: var(--gold) !important; color: var(--on-gold); }
.has-black-color { color: var(--black) !important; } .has-black-background-color { background-color: var(--black) !important; }
.has-panel-color { color: var(--panel) !important; } .has-panel-background-color { background-color: var(--panel) !important; }
.has-paper-color { color: var(--paper) !important; } .has-paper-background-color { background-color: var(--paper) !important; color: var(--black); }
.has-live-color { color: var(--live) !important; } .has-live-background-color { background-color: var(--live) !important; color: #fff; }
.has-background { padding: 1.25em 1.5em; border-radius: 4px; }

/* Station lists inside article content keep their own layout. */
.entry-content .ppr-taken, .entry-content .ppr-upcoming, .entry-content .ppr-platforms,
.entry-content .ppr-sponsors, .entry-content .ppr-social, .entry-content .ppr-schedule ul { padding-left: 0; }
.entry-content .ppr-taken li::marker { content: none; }
input[type=radio], input[type=checkbox] { accent-color: var(--gold); width: 18px; height: 18px; }
