@charset "UTF-8";
/*
Theme Name: On Air Media Network
Theme URI: https://onairmedianetwork.com
Author: Janus Ideas
Author URI: https://onairmedianetwork.com
Description: A broadcast theme for On Air Media Network: live streaming, shows, episodes, on-demand video, interviews, podcasts and events. Dark by default, red on black, built for a network that leads with what is on air right now rather than with a story. No framework, no jQuery, no icon font.
Version: 1.13.0
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: on-air-media-network
Tags: entertainment, news, blog, custom-logo, custom-menu, featured-images, editor-style, translation-ready, block-styles, wide-blocks, full-width-template, threaded-comments, footer-widgets

On Air Media Network WordPress Theme, (C) 2026 Janus Ideas.
On Air Media Network is distributed under the terms of the GNU GPL version 2 or later.

This theme bundles the following third-party resources:

Tabler Icons, Copyright (c) 2020 PaweÅ‚ Kuna
License: MIT, https://opensource.org/licenses/MIT
Source: https://tabler.io/icons

The On Air Media Network logo and all photography remain the property of
On Air Media Network and are not covered by the GPL grant above.
*/

/* =========================================================================
   CONTENTS
   01  Design tokens
   02  Reset and base
   03  Typography
   04  Layout primitives
   05  Buttons, chips and badges
   06  Masthead and navigation
   07  Hero
   08  On air now
   09  Cards and grids
   10  Front page sections
   11  Article and single views
   12  Archive, search, 404
   13  Forms
   14  Footer
   15  Motion
   16  Print
   ========================================================================= */


/* ── 01  DESIGN TOKENS ────────────────────────────────────────────────────

   The design is black first. A newspaper is the other way round - light
   paper, dark ink, with a dark mode bolted on for people who prefer it. This
   is a television network, and a network is dark.

   So :root carries the dark palette and [data-theme="light"] is the override,
   which is the reverse of the usual arrangement. It matters because whichever
   one is written second is the one that gets forgotten: putting the dominant
   design in :root means the design people actually see is the one that cannot
   fall out of date.

   Red is a fill, never body text. #e11b22 on #0b0b0d is about 4.3:1, which is
   under AA for text at normal size. It is used for rules, chips, the LIVE
   badge, buttons and focus rings, and text set on top of it is white. The
   contrast checker in inc/customizer-css.php enforces the pairs and will say
   so in the admin if somebody picks a red that stops working.
   ---------------------------------------------------------------------- */

:root {
	color-scheme: dark;

	/* Brand */
	--brand-red: #e11b22;
	--brand-red-deep: #a2131a;
	--on-brand: #ffffff;
	/*
	 * Dark enough to carry white text. The first value here was #ff2d36,
	 * chosen because a live badge should read hotter than ordinary brand
	 * furniture - and it measured 3.70:1 against the white LIVE sitting on it,
	 * which is under AA. Urgency comes from the pulsing dot instead.
	 */
	--live: #d81018;

	/* Surfaces, darkest first */
	--surface: #0b0b0d;
	--surface-2: #141417;
	--surface-3: #1d1d22;
	--paper: #ffffff;
	--paper-ink: #0b0b0d;

	/* Ink */
	--ink: #f5f5f7;
	--ink-soft: #b9b9c0;
	--ink-meta: #8b8b94;
	--link: #ff5a60;

	/* Lines */
	--rule: #2a2a31;
	--rule-strong: #3d3d46;

	/* Page frame */
	--page-width: 1240px;
	--gutter: clamp(16px, 4vw, 32px);
	--radius: 4px;
	--radius-lg: 8px;

	/* Type */
	--font-display: "Archivo Black", "Helvetica Neue", Arial, sans-serif;
	--font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-body: Georgia, "Times New Roman", serif;
	--headline-weight: 800;
	--headline-tracking: -0.02em;
	--headline-transform: none;
	--body-size: 18px;
	--body-leading: 1.7;
	--measure: 68ch;

	/* Spacing, an 8px base */
	--u: 8px;
	--s-1: calc(var(--u) * 1);
	--s-2: calc(var(--u) * 2);
	--s-3: calc(var(--u) * 3);
	--s-4: calc(var(--u) * 4);
	--s-6: calc(var(--u) * 6);
	--s-8: calc(var(--u) * 8);
	--s-12: calc(var(--u) * 12);
	--s-16: calc(var(--u) * 16);

	/* Motion, named by what it is for rather than by how long it is */
	--ease: cubic-bezier(.23, 1, .32, 1);
	--ease-in-out: cubic-bezier(.77, 0, .175, 1);
	--dur-press: .12s;
	--dur-fast: .16s;
	--dur: .22s;
	--dur-panel: .3s;
	--dur-reveal: .5s;

	/* Layers */
	--z-base: 1;
	--z-sticky: 100;
	--z-header: 200;
	--z-drawer: 300;
	--z-skip: 400;

	/* Elevation */
	--shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 8px 24px rgba(0, 0, 0, .35);
	--shadow-lift: 0 2px 4px rgba(0, 0, 0, .5), 0 16px 40px rgba(0, 0, 0, .45);
}

/*
 * The light variant. Explicit choice only: a network that has decided it is
 * dark should not turn white because a phone is in light mode, so there is no
 * prefers-color-scheme block here. inc/customizer.php exposes the choice and
 * header.php writes it into the markup before first paint.
 */
:root[data-theme="light"] {
	color-scheme: light;

	--surface: #ffffff;
	--surface-2: #f4f4f6;
	--surface-3: #e8e8ec;
	--paper: #0b0b0d;
	--paper-ink: #f5f5f7;

	--ink: #101014;
	--ink-soft: #3f3f48;
	--ink-meta: #62626d;
	--link: #c2151c;

	--rule: #e0e0e5;
	--rule-strong: #c4c4cc;

	--shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 8px 24px rgba(0, 0, 0, .08);
	--shadow-lift: 0 2px 4px rgba(0, 0, 0, .08), 0 16px 40px rgba(0, 0, 0, .12);
}


/* ── 02  RESET AND BASE ─────────────────────────────────────────────────── */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	margin: 0;
	background: var(--surface);
	color: var(--ink);
	font-family: var(--font-ui);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: var(--link);
	text-decoration-thickness: 1px;
	text-underline-offset: .18em;
}

a:hover {
	color: var(--ink);
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--brand-red);
	outline-offset: 3px;
}

hr {
	border: 0;
	border-top: 1px solid var(--rule);
	margin: var(--s-6) 0;
}

/* Accessibility furniture */

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background: var(--surface-2);
	clip: auto !important;
	clip-path: none;
	color: var(--ink);
	display: block;
	height: auto;
	left: var(--s-1);
	padding: var(--s-2);
	top: var(--s-1);
	width: auto;
	z-index: var(--z-skip);
}

.skip-link {
	background: var(--brand-red);
	color: var(--on-brand);
	font-weight: 700;
	left: var(--s-2);
	padding: var(--s-2) var(--s-3);
	position: fixed;
	top: var(--s-2);
	text-decoration: none;
	transform: translateY(-160%);
	transition: transform var(--dur) var(--ease);
	z-index: var(--z-skip);
}

.skip-link:focus {
	color: var(--on-brand);
	transform: translateY(0);
}


/* ── 03  TYPOGRAPHY ─────────────────────────────────────────────────────── */

h1, h2, h3, h4, h5, h6,
.t-display, .t-xl, .t-lg, .t-md {
	font-family: var(--font-display);
	font-weight: var(--headline-weight);
	letter-spacing: var(--headline-tracking);
	text-transform: var(--headline-transform);
	line-height: 1.06;
	margin: 0 0 var(--s-2);
	text-wrap: balance;
}

.t-display {
	font-size: clamp(2.4rem, 6.2vw, 4.4rem);
}

.t-xl {
	font-size: clamp(1.9rem, 3.6vw, 2.9rem);
}

.t-lg {
	font-size: clamp(1.4rem, 2.3vw, 1.9rem);
}

.t-md {
	font-size: clamp(1.1rem, 1.5vw, 1.28rem);
	line-height: 1.2;
}

.t-sm {
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: var(--headline-tracking);
	margin: 0 0 var(--s-1);
}

.t-meta {
	color: var(--ink-meta);
	font-size: .78rem;
	letter-spacing: .04em;
	margin: 0;
}

.t-dek {
	color: var(--ink-soft);
	font-size: .95rem;
	line-height: 1.55;
	margin: 0;
}

.t-kicker {
	/*
	 * The readable red again, not the fill. A kicker is 11-12px bold, which is
	 * exactly the size at which brand red on the page background lands at
	 * 4.1:1 and fails.
	 */
	color: var(--link);
	font-family: var(--font-display);
	font-size: .74rem;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	margin: 0 0 var(--s-1);
}


/* ── 04  LAYOUT PRIMITIVES ──────────────────────────────────────────────── */

.wrap {
	margin-inline: auto;
	max-width: var(--page-width);
	padding-inline: var(--gutter);
	width: 100%;
}

.wrap--narrow {
	max-width: 860px;
}

.section {
	padding-block: var(--s-6);
}

.section--tight {
	padding-block: var(--s-4);
}

.section--band {
	background: var(--surface-2);
}

.stack > * + * {
	margin-top: var(--s-2);
}

.cluster {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-2);
}

.section-head {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-2);
	justify-content: space-between;
	margin-bottom: var(--s-3);
	position: relative;
}

/*
 * The marker is a short bar beside the title rather than a rule across the
 * page. A full width rule reads as a divider between two things; a bar tied to
 * the words reads as a label on the block underneath, which is what it is.
 */
.section-head__title::before {
	background: var(--brand-red);
	content: "";
	display: inline-block;
	height: 1em;
	margin-right: var(--s-1);
	vertical-align: -0.12em;
	width: 4px;
}

.section-head__title {
	align-items: center;
	display: flex;
	font-family: var(--font-display);
	font-size: clamp(1.05rem, 1.8vw, 1.35rem);
	font-weight: 800;
	letter-spacing: .06em;
	margin: 0;
	text-transform: uppercase;
}

.section-head__more {
	color: var(--ink-meta);
	font-size: .82rem;
	font-weight: 600;
	letter-spacing: .04em;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

.section-head__more:hover {
	color: var(--brand-red);
}

.empty-state {
	border: 1px dashed var(--rule-strong);
	border-radius: var(--radius);
	color: var(--ink-meta);
	padding: var(--s-6) var(--s-4);
	text-align: center;
}


/* ── 05  BUTTONS, CHIPS AND BADGES ──────────────────────────────────────── */

.btn {
	align-items: center;
	background: var(--surface-3);
	border: 1px solid var(--rule-strong);
	border-radius: var(--radius);
	color: var(--ink);
	cursor: pointer;
	display: inline-flex;
	font-family: var(--font-ui);
	font-size: .88rem;
	font-weight: 700;
	gap: var(--s-1);
	letter-spacing: .04em;
	line-height: 1;
	padding: var(--s-2) var(--s-3);
	text-decoration: none;
	text-transform: uppercase;
	transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), transform var(--dur-press) var(--ease);
}

.btn:hover {
	background: var(--rule);
	color: var(--ink);
}

.btn:active {
	transform: translateY(1px);
}

.btn--live,
.btn--primary {
	background: var(--brand-red);
	border-color: var(--brand-red);
	color: var(--on-brand);
}

.btn--live:hover,
.btn--primary:hover {
	background: var(--brand-red-deep);
	border-color: var(--brand-red-deep);
	color: var(--on-brand);
}

.btn--ghost {
	background: transparent;
	border-color: currentColor;
}

.btn--lg {
	font-size: 1rem;
	padding: var(--s-2) var(--s-4);
}

.btn__dot {
	background: currentColor;
	border-radius: 50%;
	flex: none;
	height: 8px;
	width: 8px;
}

.chip {
	background: var(--brand-red);
	border-radius: 2px;
	color: var(--on-brand);
	display: inline-block;
	font-family: var(--font-ui);
	font-size: .66rem;
	font-weight: 800;
	letter-spacing: .1em;
	padding: 3px 7px;
	text-decoration: none;
	text-transform: uppercase;
}

a.chip:hover {
	background: var(--brand-red-deep);
	color: var(--on-brand);
}

.chip--quiet {
	background: var(--surface-3);
	color: var(--ink-soft);
}

/*
 * The row a card's labels sit in, so a chip and a sample marker can share a
 * line without either one moving the title.
 */
.card__flags {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.card__flags:empty {
	display: none;
}

/*
 * Deliberately not red and deliberately not loud. Red on this site means
 * live or means brand, and a sample story is neither. It has to be legible
 * enough that nobody mistakes an invented story for a real one, and quiet
 * enough that the page still looks like a network rather than a building
 * site. An outline in the meta ink does both.
 */
.flag-sample {
	border: 1px solid var(--rule-strong);
	border-radius: 2px;
	color: var(--ink-meta);
	display: inline-block;
	font-family: var(--font-ui);
	font-size: .62rem;
	font-weight: 700;
	letter-spacing: .12em;
	padding: 2px 6px;
	text-transform: uppercase;
}

.live-badge {
	align-items: center;
	background: var(--live);
	border-radius: 2px;
	color: var(--on-brand);
	display: inline-flex;
	font-size: .68rem;
	font-weight: 800;
	gap: 6px;
	letter-spacing: .12em;
	padding: 4px 8px;
	text-transform: uppercase;
}

.live-badge__dot {
	background: currentColor;
	border-radius: 50%;
	height: 7px;
	width: 7px;
}

.live-badge--off {
	background: var(--surface-3);
	color: var(--ink-meta);
}

.duration {
	background: rgba(0, 0, 0, .82);
	border-radius: 2px;
	bottom: var(--s-1);
	color: #fff;
	font-size: .72rem;
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	padding: 2px 6px;
	position: absolute;
	right: var(--s-1);
}

.play {
	align-items: center;
	background: rgba(225, 27, 34, .92);
	border-radius: 50%;
	display: flex;
	height: 46px;
	inset: 0;
	justify-content: center;
	margin: auto;
	position: absolute;
	transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
	width: 46px;
}

.play svg {
	fill: #fff;
	height: 18px;
	margin-left: 3px;
	width: 18px;
}

.icon-btn {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: var(--radius);
	color: inherit;
	cursor: pointer;
	display: inline-flex;
	height: 40px;
	justify-content: center;
	padding: 0;
	width: 40px;
}

.icon-btn:hover {
	background: var(--surface-3);
}


/* ── 06  MASTHEAD AND NAVIGATION ────────────────────────────────────────── */

.masthead {
	background: var(--surface);
	border-bottom: 1px solid var(--rule);
	position: sticky;
	top: 0;
	z-index: var(--z-header);
}

.masthead.is-stuck {
	box-shadow: var(--shadow);
}

.masthead__bar {
	align-items: center;
	display: flex;
	gap: var(--s-3);
	height: 72px;
}

.brand {
	align-items: center;
	color: var(--ink);
	display: inline-flex;
	flex: none;
	gap: var(--s-1);
	text-decoration: none;
}

.brand__mark {
	background: var(--brand-red);
	color: var(--on-brand);
	font-family: var(--font-display);
	font-size: 1.05rem;
	font-weight: 800;
	letter-spacing: .02em;
	padding: 5px 8px;
}

.brand__text {
	font-family: var(--font-display);
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .22em;
	text-transform: uppercase;
}

.brand img {
	max-height: 48px;
	width: auto;
}

.nav {
	flex: 1 1 auto;
	min-width: 0;
	/*
	 * The links do not wrap, so without this the list simply runs on and slides
	 * under the WATCH LIVE button - which looks fine at the width it was
	 * designed at and loses the last menu item at every other one.
	 */
	overflow: hidden;
}

.nav ul {
	display: flex;
	gap: clamp(8px, 1.1vw, 16px);
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav a {
	color: var(--ink-soft);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
	transition: color var(--dur-fast) var(--ease);
}

.nav a:hover,
.nav .current-menu-item > a {
	color: var(--ink);
}

.masthead__actions {
	align-items: center;
	display: flex;
	flex: none;
	gap: var(--s-1);
}

.masthead__toggle {
	display: none;
}

@media (max-width: 1240px) {
	.nav {
		display: none;
	}

	.masthead__toggle {
		display: inline-flex;
	}
}

/*
 * Phones. The bar has to hold a brand, a live button and a menu button inside
 * 360px, and the three of them together were 250px of buttons against a 270px
 * brand - which pushed the document wider than the screen. So the wordmark
 * drops to the red block alone, and search moves into the drawer rather than
 * keeping a button in a row that has no space for one.
 */
@media (max-width: 620px) {
	.masthead__bar {
		gap: var(--s-1);
		height: 64px;
	}

	.brand__text {
		display: none;
	}

	.brand img {
		max-height: 36px;
	}

	.masthead__actions [data-search-open] {
		display: none;
	}

	.btn--live {
		font-size: .74rem;
		padding: var(--s-1) var(--s-2);
	}
}

/* The drawer carries the search the masthead gave up. */
.drawer .search-form {
	margin-bottom: var(--s-1);
}

/* Drawer */

.drawer {
	background: var(--surface-2);
	border-left: 1px solid var(--rule);
	bottom: 0;
	display: flex;
	flex-direction: column;
	gap: var(--s-3);
	max-width: 360px;
	overflow-y: auto;
	padding: var(--s-4) var(--s-3);
	position: fixed;
	right: 0;
	top: 0;
	transform: translateX(100%);
	transition: transform var(--dur-panel) var(--ease-in-out);
	width: 88%;
	z-index: var(--z-drawer);
}

.drawer.is-open {
	transform: translateX(0);
}

/*
 * display:flex above outranks the user agent [hidden] { display: none }, so
 * without this a closed drawer keeps its box - parked one full width off to
 * the right, where it silently widens the document and gives every phone a
 * horizontal scrollbar.
 */
.drawer[hidden],
.drawer__scrim[hidden] {
	display: none;
}

.drawer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.drawer li + li {
	border-top: 1px solid var(--rule);
}

.drawer a {
	color: var(--ink);
	display: block;
	font-family: var(--font-display);
	font-size: 1.05rem;
	font-weight: 700;
	padding: var(--s-2) 0;
	text-decoration: none;
}

.drawer__scrim {
	background: rgba(0, 0, 0, .6);
	inset: 0;
	opacity: 0;
	pointer-events: none;
	position: fixed;
	transition: opacity var(--dur-panel) var(--ease);
	z-index: calc(var(--z-drawer) - 1);
}

.drawer__scrim.is-open {
	opacity: 1;
	pointer-events: auto;
}

body.is-locked {
	overflow: hidden;
}


/* ── 07  HERO ───────────────────────────────────────────────────────────── */

.hero {
	background: var(--surface-2);
	border-bottom: 1px solid var(--rule);
	overflow: hidden;
	position: relative;
}

.hero__media {
	inset: 0;
	position: absolute;
}

.hero__media img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.hero__media::after {
	background: linear-gradient(90deg, rgba(11, 11, 13, .94) 0%, rgba(11, 11, 13, .82) 45%, rgba(11, 11, 13, .45) 100%);
	content: "";
	inset: 0;
	position: absolute;
}

/*
 * Two columns on a wide screen: what the network is on the left, what it is
 * doing right now on the right.
 *
 * The live panel used to sit in a band underneath, which meant the one
 * question a television network's front page exists to answer - is anything
 * on - was below the fold on a laptop. The columns are uneven on purpose:
 * the branding needs a measure it can be read at, the panel needs enough
 * width for a programme title and a time not to wrap.
 *
 * One column until 900px. Side by side on a phone would give each half
 * about 160px, which is not a hero, it is two cramped boxes.
 */
.hero__inner {
	display: grid;
	gap: var(--s-5);
	padding-block: clamp(var(--s-7), 9vw, var(--s-12));
	position: relative;
}

@media (min-width: 900px) {
	.hero__inner {
		align-items: center;
		gap: var(--s-6);
		grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	}
}

.hero__body {
	max-width: 46ch;
}

/*
 * The panel in here is a card on top of a photograph, not a band across the
 * page, so it needs a surface of its own to stay legible over whatever the
 * picture behind it turns out to be.
 */
.hero__live {
	min-width: 0;
}

.onair--hero {
	background: color-mix(in srgb, var(--surface) 82%, transparent);
	border: 1px solid var(--rule-strong);
	border-radius: var(--radius);
	box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
	padding: var(--s-4);
}

@supports not (background: color-mix(in srgb, red 50%, transparent)) {
	.onair--hero {
		background: var(--surface);
	}
}

/*
 * Everything inside the panel goes into one column here, whatever the
 * viewport is doing.
 *
 * The panel's own breakpoints stack it at 720px and 900px, and they are
 * measuring the wrong thing. A media query asks how wide the window is; what
 * matters is how wide the panel is, and in the hero it is roughly half the
 * page. On a 1440px screen neither query fires, so a box about 600px across
 * was still splitting itself into a text column and a player column and then
 * putting a schedule beside both - which left the programme title about
 * 150px wide and clipped against the player.
 *
 * Container queries are the real answer to this and are not safe to rely on
 * across the browsers this has to work in yet, so the context the panel was
 * handed decides instead. It knows it is in the hero; it does not need to
 * infer it from the window.
 */
.onair--hero .onair__main {
	grid-template-columns: 1fr;
	padding: 0 0 var(--s-4);
}

/*
 * The live half and the schedule stay side by side - a viewer wants to see
 * what is on and what is next in one look - but they split the width evenly
 * in here rather than 1.55 to 1. The uneven split is right across a full
 * page; inside the hero it left the schedule about 215px, which is narrow
 * enough to break a programme name over three lines.
 *
 * Two class names on purpose. The plain .onair rule sets these columns
 * further down the file and would otherwise win on source order, which is
 * how an earlier version of this rule came to do nothing at all.
 */
.onair.onair--hero {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

/*
 * Stacked until 1200, not until 900 like the full-width panel.
 *
 * The hero itself splits at 900, so between the two the panel is sharing an
 * already-halved column - at 1024 that was 216px each for a live programme and
 * a schedule. Below 1200 they take the column one after the other instead, and
 * each gets the whole of it.
 */
@media (max-width: 1200px) {
	.onair.onair--hero {
		grid-template-columns: 1fr;
	}
}

.hero__title {
	color: #fff;
	font-size: clamp(2.2rem, 5.6vw, 4rem);
	margin-bottom: var(--s-2);
}

.hero__dek {
	color: rgba(255, 255, 255, .82);
	font-size: clamp(1rem, 1.5vw, 1.15rem);
	margin: 0 0 var(--s-4);
	max-width: 48ch;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-2);
}


/* ── 08  ON AIR NOW ─────────────────────────────────────────────────────── */

.onair {
	background: var(--surface-2);
	border: 1px solid var(--rule);
	border-radius: var(--radius-lg);
	display: grid;
	gap: 0;
	grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
	overflow: hidden;
}

@media (max-width: 900px) {
	.onair {
		grid-template-columns: 1fr;
	}
}

.onair__main {
	display: grid;
	gap: var(--s-4);
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	padding: var(--s-4);
}

@media (max-width: 720px) {
	.onair__main {
		grid-template-columns: 1fr;
	}
}

.onair__label {
	align-items: center;
	display: flex;
	gap: var(--s-1);
	margin-bottom: var(--s-2);
}

.onair__title {
	font-size: clamp(1.35rem, 2.4vw, 1.85rem);
	margin-bottom: var(--s-1);
}

.onair__host {
	color: var(--ink-meta);
	font-size: .84rem;
	margin: 0 0 var(--s-2);
}

.onair__desc {
	color: var(--ink-soft);
	font-size: .92rem;
	margin: 0 0 var(--s-3);
}

.onair__player {
	align-self: start;
	background: #000;
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	overflow: hidden;
	position: relative;
}

.onair__player iframe,
.onair__player video {
	aspect-ratio: 16 / 9;
	border: 0;
	display: block;
	height: auto;
	width: 100%;
}

.onair__poster {
	aspect-ratio: 16 / 9;
	position: relative;
}

.onair__poster img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

/* Upcoming programmes */

.upnext {
	background: var(--surface-3);
	border-left: 1px solid var(--rule);
	padding: var(--s-3);
}

@media (max-width: 900px) {
	.upnext {
		border-left: 0;
		border-top: 1px solid var(--rule);
	}
}

.upnext__head {
	align-items: baseline;
	display: flex;
	justify-content: space-between;
	margin-bottom: var(--s-2);
}

.upnext__title {
	font-family: var(--font-display);
	font-size: .74rem;
	font-weight: 800;
	letter-spacing: .12em;
	margin: 0;
	text-transform: uppercase;
}

.upnext__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.upnext__item {
	border-left: 3px solid var(--brand-red);
	display: grid;
	gap: 2px var(--s-2);
	grid-template-columns: 4.6rem minmax(0, 1fr);
	padding: var(--s-1) 0 var(--s-1) var(--s-2);
}

.upnext__item + .upnext__item {
	margin-top: var(--s-1);
}

.upnext__time {
	/*
	 * The lighter red, not the brand fill. Brand red as 12px text on the
	 * raised panel measures 3.50:1. This is the same rule the palette states
	 * at the top of the file: red is a fill, and where red has to be text it
	 * is the lighter one.
	 */
	color: var(--link);
	font-size: .76rem;
	font-variant-numeric: tabular-nums;
	font-weight: 800;
	letter-spacing: .02em;
}

.upnext__show {
	font-size: .86rem;
	font-weight: 700;
	line-height: 1.25;
}

.upnext__show a {
	color: inherit;
	text-decoration: none;
}

.upnext__show a:hover {
	color: var(--brand-red);
}

.upnext__format {
	color: var(--ink-meta);
	font-size: .72rem;
	grid-column: 2;
}


/* ── 09  CARDS AND GRIDS ────────────────────────────────────────────────── */

.grid {
	display: grid;
	gap: var(--s-3);
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
}

/*
 * One item leading, the rest stacked beside it. Used where the first thing
 * in a set carries the section - an interview is a person saying something,
 * and four equal thumbnails throw that away.
 *
 * Stacks on a phone, where a 5:7 split leaves neither side usable.
 */
.feature {
	display: grid;
	gap: var(--s-4);
}

@media (min-width: 860px) {
	.feature {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	}
}

.feature__rest {
	display: grid;
	align-content: start;
	gap: var(--s-3);
}

.grid--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1000px) {
	/*
 * One item leading, the rest stacked beside it. Used where the first thing
 * in a set carries the section - an interview is a person saying something,
 * and four equal thumbnails throw that away.
 *
 * Stacks on a phone, where a 5:7 split leaves neither side usable.
 */
.feature {
	display: grid;
	gap: var(--s-4);
}

@media (min-width: 860px) {
	.feature {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	}
}

.feature__rest {
	display: grid;
	align-content: start;
	gap: var(--s-3);
}

.grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.grid--3,
	.grid--2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.grid--4,
	.grid--3,
	.grid--2 {
		grid-template-columns: 1fr;
	}
}

.card {
	display: flex;
	flex-direction: column;
	gap: var(--s-1);
	min-width: 0;
	position: relative;
}

.card__media {
	aspect-ratio: 16 / 10;
	background: var(--surface-3);
	border-radius: var(--radius);
	display: block;
	overflow: hidden;
	position: relative;
}

.card__media img {
	height: 100%;
	object-fit: cover;
	transition: transform var(--dur-panel) var(--ease);
	width: 100%;
}

/*
 * Audio, which has no frame to show. Square artwork like a record sleeve
 * rather than widescreen like a still, so the section reads as listening
 * rather than watching without needing a different colour to say so.
 */
.card--audio .card__media {
	aspect-ratio: 1 / 1;
}

/*
 * A waveform, drawn rather than fetched. It is decoration and says nothing
 * about the actual audio, so it is hidden from assistive technology and
 * costs no request. The heights are a fixed pattern, not random: a shape
 * that changed on every reload would suggest it means something.
 */
.wave {
	align-items: flex-end;
	display: flex;
	gap: 2px;
	height: 22px;
	margin-top: var(--s-2);
}

.wave i {
	background: var(--rule-strong);
	border-radius: 1px;
	flex: 1 1 auto;
	min-width: 2px;
}

.wave i:nth-child(3n)   { height: 100%; background: var(--brand-red); }
.wave i:nth-child(3n+1) { height: 45%; }
.wave i:nth-child(3n+2) { height: 72%; }
.wave i:nth-child(5n)   { height: 30%; }

.card--audio:hover .wave i,
.card--audio:focus-within .wave i {
	background: var(--brand-red);
}

.card--portrait .card__media {
	aspect-ratio: 4 / 5;
}

.card--square .card__media {
	aspect-ratio: 1 / 1;
}

/*
 * No featured image. Rather than a grey rectangle, the format name is set as
 * type on a diagonal field, so a card with no picture still looks chosen.
 */
.card__media--none {
	align-items: flex-end;
	background:
		repeating-linear-gradient(135deg, var(--surface-3) 0 10px, var(--surface-2) 10px 20px);
	display: flex;
	padding: var(--s-2);
}

.card__media--none span {
	color: var(--ink-meta);
	font-family: var(--font-display);
	font-size: .82rem;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.card__title {
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: var(--headline-tracking);
	line-height: 1.22;
	margin: 0;
	text-wrap: balance;
}

.card--lg .card__title {
	font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.card__title a {
	color: var(--ink);
	text-decoration: none;
}

.card__title a:hover {
	color: var(--brand-red);
}

.card__meta {
	color: var(--ink-meta);
	font-size: .74rem;
	margin: 0;
}

.card__dek {
	color: var(--ink-soft);
	font-size: .86rem;
	line-height: 1.5;
	margin: 0;
}

.card__chip {
	align-self: flex-start;
	margin-bottom: 2px;
}

/*
 * On the light news band the label is set as red type rather than a filled
 * block. Four filled red rectangles stacked down a white band compete with the
 * headlines they are meant to be labelling.
 */
.band-news .card__chip {
	background: none;
	color: var(--brand-red);
	font-size: .68rem;
	letter-spacing: .12em;
	padding: 0;
}

.band-news a.chip:hover {
	background: none;
	color: var(--brand-red-deep);
}

/* The line under a show card: its format, then the way in. */
.card__sub {
	color: var(--ink-meta);
	font-size: .74rem;
	letter-spacing: .04em;
	margin: 0;
}

.card__action {
	align-items: center;
	/* The readable red. Brand red at this size measures 4.1:1 on the page. */
	color: var(--link);
	display: inline-flex;
	font-size: .72rem;
	font-weight: 800;
	gap: 4px;
	letter-spacing: .1em;
	margin-top: 2px;
	text-decoration: none;
	text-transform: uppercase;
}

.card__action:hover {
	color: var(--ink);
	gap: 8px;
}

.card__action span {
	transition: transform var(--dur-fast) var(--ease);
}

.card:hover .card__media img {
	transform: scale(1.035);
}

.card:hover .play {
	background: var(--brand-red);
	transform: scale(1.08);
}

/* Host cards read as portraits with the name under them. */

.card--host .card__title {
	font-size: .95rem;
}

.card--host .card__meta {
	color: var(--brand-red);
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}


/* ── 10  FRONT PAGE SECTIONS ────────────────────────────────────────────── */

.front-onair {
	margin-top: calc(var(--s-6) * -1);
	position: relative;
	z-index: var(--z-base);
}

@media (max-width: 900px) {
	.front-onair {
		margin-top: 0;
		padding-top: var(--s-4);
	}
}

/* The news block sits on a light band, as in the design. */

/*
 * The audio band. Darker than the sections around it rather than lighter,
 * which is the opposite of what the news band does - two bands that both
 * lift off the page would just read as one long interruption.
 */
.band-audio {
	background: var(--surface-2);
	border-block: 1px solid var(--rule);
}

.band-news {
	background: var(--paper);
	color: var(--paper-ink);
}

.band-news .card__title a {
	color: var(--paper-ink);
}

.band-news .card__meta,
.band-news .card__dek {
	color: color-mix(in srgb, var(--paper-ink) 62%, transparent);
}

.band-news .section-head__title {
	color: var(--paper-ink);
}

.band-news .section-head__more {
	color: color-mix(in srgb, var(--paper-ink) 68%, transparent);
}

.band-news .section-head__more:hover {
	color: var(--brand-red);
}

.band-news .card__media {
	background: color-mix(in srgb, var(--paper-ink) 10%, transparent);
}

/*
 * The no-image field on the light band. Its stripes and its label are both
 * mixed for a dark surface, and left alone the label lands at 2.73:1 on the
 * pale hatching - the one place in the design where a deliberate empty state
 * became an unreadable one.
 */
.band-news .card__media--none {
	background: repeating-linear-gradient(
		135deg,
		color-mix(in srgb, var(--paper-ink) 13%, transparent) 0 10px,
		color-mix(in srgb, var(--paper-ink) 7%, transparent) 10px 20px
	);
}

.band-news .card__media--none span {
	color: color-mix(in srgb, var(--paper-ink) 72%, transparent);
}

/* Submit CTA */

.cta {
	background: var(--brand-red-deep);
	background-image: linear-gradient(90deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .28) 100%);
	overflow: hidden;
	position: relative;
}

.cta__media {
	inset: 0;
	position: absolute;
	z-index: -1;
}

.cta__media img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.cta__inner {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-4);
	justify-content: space-between;
	padding-block: var(--s-8);
}

.cta__title {
	color: #fff;
	font-size: clamp(1.6rem, 3.2vw, 2.4rem);
	margin-bottom: var(--s-1);
}

.cta__dek {
	color: rgba(255, 255, 255, .84);
	margin: 0;
	max-width: 52ch;
}

/* Social + newsletter row */

.connect {
	align-items: center;
	background: var(--surface-2);
	border-top: 1px solid var(--rule);
	display: grid;
	gap: var(--s-4);
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	padding-block: var(--s-4);
}

@media (max-width: 820px) {
	.connect {
		grid-template-columns: 1fr;
	}
}

.social {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-1);
	list-style: none;
	margin: 0;
	padding: 0;
}

.social a {
	align-items: center;
	background: var(--surface-3);
	border-radius: 50%;
	color: var(--ink);
	display: flex;
	height: 42px;
	justify-content: center;
	text-decoration: none;
	transition: background var(--dur-fast) var(--ease);
	width: 42px;
}

.social a:hover {
	background: var(--brand-red);
	color: var(--on-brand);
}


/* ── 11  ARTICLE AND SINGLE VIEWS ───────────────────────────────────────── */

.article {
	padding-block: var(--s-6);
}

.article__head {
	margin-bottom: var(--s-4);
	max-width: var(--measure);
}

.article__title {
	font-size: clamp(1.9rem, 4vw, 3rem);
}

.article__meta {
	color: var(--ink-meta);
	font-size: .82rem;
	margin-top: var(--s-2);
}

.article__figure {
	margin: 0 0 var(--s-4);
}

.article__figure img {
	border-radius: var(--radius);
	width: 100%;
}

.article__body {
	font-family: var(--font-body);
	font-size: var(--body-size);
	line-height: var(--body-leading);
	max-width: var(--measure);
}

.article__body > * + * {
	margin-top: 1.1em;
}

.article__body h2,
.article__body h3 {
	margin-top: 1.7em;
}

.article__body img {
	border-radius: var(--radius);
}

.article__body blockquote {
	border-left: 3px solid var(--brand-red);
	color: var(--ink);
	font-family: var(--font-display);
	font-size: 1.15em;
	margin-inline: 0;
	padding-left: var(--s-3);
}

.article__body code,
.article__body pre {
	background: var(--surface-2);
	border-radius: var(--radius);
	font-size: .9em;
}

.article__body pre {
	overflow-x: auto;
	padding: var(--s-2);
}

/* The media header a show, episode, video or interview leads with. */

.media-head {
	background: #000;
	border-radius: var(--radius);
	margin-bottom: var(--s-4);
	overflow: hidden;
}

.media-head iframe,
.media-head video {
	aspect-ratio: 16 / 9;
	border: 0;
	display: block;
	width: 100%;
}

.factbar {
	border-block: 1px solid var(--rule);
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-4);
	margin-bottom: var(--s-4);
	padding-block: var(--s-2);
}

.factbar__item {
	min-width: 0;
}

.factbar__label {
	color: var(--ink-meta);
	display: block;
	font-size: .68rem;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.factbar__value {
	font-weight: 700;
}

.factbar__value a {
	color: inherit;
	text-decoration: none;
}

.factbar__value a:hover {
	color: var(--brand-red);
}

/* Episode list on a show page */

.episodes {
	list-style: none;
	margin: 0;
	padding: 0;
}

.episodes__item {
	border-bottom: 1px solid var(--rule);
	display: grid;
	gap: var(--s-2);
	grid-template-columns: 132px minmax(0, 1fr);
	padding-block: var(--s-2);
}

@media (max-width: 620px) {
	.episodes__item {
		grid-template-columns: 96px minmax(0, 1fr);
	}
}

.episodes__media {
	aspect-ratio: 16 / 10;
	background: var(--surface-3);
	border-radius: var(--radius);
	overflow: hidden;
	position: relative;
}

.episodes__media img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}


/* ── 12  ARCHIVE, SEARCH, 404 ───────────────────────────────────────────── */

.page-head {
	border-bottom: 1px solid var(--rule);
	padding-block: var(--s-6) var(--s-4);
}

.page-head__title {
	font-size: clamp(1.8rem, 3.6vw, 2.7rem);
	margin-bottom: var(--s-1);
}

.page-head__dek {
	color: var(--ink-soft);
	margin: 0;
	max-width: 60ch;
}

.crumbs {
	color: var(--ink-meta);
	font-size: .76rem;
	margin-bottom: var(--s-2);
}

.crumbs a {
	color: inherit;
	text-decoration: none;
}

.crumbs a:hover {
	color: var(--brand-red);
}

.pagination {
	border-top: 1px solid var(--rule);
	margin-top: var(--s-6);
	padding-top: var(--s-3);
}

.pagination .page-numbers {
	color: var(--ink-soft);
	display: inline-block;
	padding: var(--s-1) var(--s-2);
	text-decoration: none;
}

.pagination .current {
	background: var(--brand-red);
	color: var(--on-brand);
}

.filters {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-1);
	margin-bottom: var(--s-4);
}


/* ── 13  FORMS ──────────────────────────────────────────────────────────── */

label {
	display: block;
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .04em;
	margin-bottom: 4px;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="time"],
select,
textarea {
	background: var(--surface-2);
	border: 1px solid var(--rule-strong);
	border-radius: var(--radius);
	color: var(--ink);
	padding: var(--s-1) var(--s-2);
	width: 100%;
}

textarea {
	min-height: 8rem;
	resize: vertical;
}

.field + .field {
	margin-top: var(--s-2);
}

.newsletter__form {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-1);
}

.newsletter__form input[type="email"] {
	flex: 1 1 14rem;
}

.search-form {
	display: flex;
	gap: var(--s-1);
}

.comment-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.comment-list li {
	border-top: 1px solid var(--rule);
	padding-block: var(--s-2);
}


/* ── 14  FOOTER ─────────────────────────────────────────────────────────── */

.footer {
	background: var(--surface-2);
	border-top: 3px solid var(--brand-red);
	margin-top: var(--s-8);
	padding-block: var(--s-6) var(--s-4);
}

.footer__cols {
	display: grid;
	gap: var(--s-4);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}

.footer h2,
.widget__title {
	font-family: var(--font-display);
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .12em;
	margin: 0 0 var(--s-2);
	text-transform: uppercase;
}

.footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

/*
 * Spacing for a list that runs down the page - which is all of them in the
 * footer columns.
 */
.footer li + li {
	margin-top: 6px;
}

/*
 * Except the legal links, which run across it. A top margin on every item
 * after the first is how a column is spaced; in a flex row it drops each
 * following item six pixels below the one before it, so Terms of Service
 * sat lower than Privacy Policy and the line looked broken. The row spaces
 * itself with a gap, which works in either direction.
 */
.footer__legal {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-2);
}

/*
 * The same applies to any list in the footer that runs across rather than
 * down. The social row was left out of this when the legal links were
 * fixed, so its first icon sat six pixels above every other one - close
 * enough to look like a wobble and far enough to see.
 */
.footer__legal li + li,
.footer .social li + li {
	margin-top: 0;
}

/* And the icons line up on their centres, whatever size they are. */
.social {
	align-items: center;
}

.footer a {
	color: var(--ink-soft);
	font-size: .88rem;
	text-decoration: none;
}

.footer a:hover {
	color: var(--brand-red);
}

.footer__base {
	align-items: center;
	border-top: 1px solid var(--rule);
	color: var(--ink-meta);
	display: flex;
	flex-wrap: wrap;
	font-size: .78rem;
	gap: var(--s-2);
	justify-content: space-between;
	margin-top: var(--s-4);
	padding-top: var(--s-3);
}

.widget + .widget {
	margin-top: var(--s-4);
}

.widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.widget li + li {
	border-top: 1px solid var(--rule);
	margin-top: var(--s-1);
	padding-top: var(--s-1);
}

/* Sidebar layout */

.with-sidebar {
	display: grid;
	gap: var(--s-6);
	grid-template-columns: minmax(0, 1fr) 320px;
}

@media (max-width: 1000px) {
	.with-sidebar {
		grid-template-columns: 1fr;
	}
}


/* ── 15  MOTION ─────────────────────────────────────────────────────────────

   Motion is opt-in, not opt-out. The static state is what everybody gets and
   the animation is added only where a preference for it has been expressed,
   so a device asking for less motion is never relying on an override landing.
   ---------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
	.reveal {
		opacity: 0;
		transform: translateY(16px);
		transition: opacity var(--dur-reveal) var(--ease), transform var(--dur-reveal) var(--ease);
		transition-delay: calc(var(--i, 0) * 60ms);
	}

	.reveal.is-in {
		opacity: 1;
		transform: none;
	}

	.live-badge__dot,
	.btn--live .btn__dot {
		animation: oa-pulse 1.9s var(--ease-in-out) infinite;
	}
}

@keyframes oa-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: .35; }
}

/* If JavaScript never runs, everything must still be visible. */
.no-js .reveal {
	opacity: 1;
	transform: none;
}

.no-js .drawer {
	display: none;
}


/* ── 16  PRINT ──────────────────────────────────────────────────────────── */

@media print {
	.masthead,
	.drawer,
	.drawer__scrim,
	.footer,
	.cta,
	.connect,
	.onair__player,
	.play,
	.skip-link {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
	}

	.article__body {
		font-size: 11pt;
		max-width: none;
	}

	a[href^="http"]::after {
		content: " (" attr(href) ")";
		font-size: 9pt;
	}
}


/* ── 17  WORDPRESS CORE CLASSES ─────────────────────────────────────────────

   The classes WordPress itself emits, which no template in this theme writes
   and every editor depends on. Without them an author who floats an image left
   in the editor gets a full width image on the front of the site, and the
   difference never shows up in a template review because no template mentions
   them.
   ---------------------------------------------------------------------- */

.alignleft {
	float: left;
	margin: .3em var(--s-3) var(--s-2) 0;
}

.alignright {
	float: right;
	margin: .3em 0 var(--s-2) var(--s-3);
}

.aligncenter {
	clear: both;
	display: block;
	margin-inline: auto;
}

.alignwide {
	max-width: 1120px;
	margin-inline: auto;
}

.alignfull {
	margin-inline: calc(50% - 50vw);
	max-width: 100vw;
	width: 100vw;
}

.wp-caption {
	margin-bottom: var(--s-2);
	max-width: 100%;
}

.wp-caption img {
	border-radius: var(--radius);
}

.wp-caption-text,
.gallery-caption,
figcaption {
	color: var(--ink-meta);
	font-family: var(--font-ui);
	font-size: .78rem;
	line-height: 1.45;
	margin-top: 6px;
}

.band-news .wp-caption-text,
.band-news figcaption {
	color: color-mix(in srgb, var(--paper-ink) 68%, transparent);
}

/*
 * A stuck post. The rail is the only marker: a badge would compete with the
 * format chip that is already on the card.
 */
.sticky {
	border-left: 3px solid var(--brand-red);
	padding-left: var(--s-2);
}

/* An author replying under their own piece, which is worth distinguishing. */
.bypostauthor > .comment-body .fn::after {
	color: var(--brand-red);
	content: " ●";
	font-size: .7em;
	vertical-align: middle;
}

.screen-reader-shortcut:focus {
	clip: auto !important;
	clip-path: none;
	height: auto;
	width: auto;
}

.post-password-form input[type="password"] {
	max-width: 20rem;
}


/* ── 18  THE BRAND LOCKUP ───────────────────────────────────────────────────

   Two lines: the name in a red block, the word NETWORK spaced out beneath it.
   Built from type rather than shipped as an image so it stays sharp at every
   density and recolours with the palette. A real logo uploaded under Site
   Identity replaces the whole thing.
   ---------------------------------------------------------------------- */

.brand {
	align-items: flex-start;
	flex-direction: column;
	gap: 2px;
	line-height: 1;
}

.brand__mark {
	background: var(--brand-red);
	color: var(--on-brand);
	display: block;
	font-family: var(--font-display);
	font-size: 1.02rem;
	font-weight: 800;
	letter-spacing: .01em;
	padding: 4px 7px;
	text-transform: uppercase;
	white-space: nowrap;
}

.brand__text {
	display: block;
	font-family: var(--font-display);
	font-size: .56rem;
	font-weight: 800;
	letter-spacing: .44em;
	padding-left: 1px;
	text-transform: uppercase;
	white-space: nowrap;
}

.brand--lg .brand__mark {
	font-size: 1.7rem;
	padding: 7px 12px;
}

.brand--lg .brand__text {
	font-size: .82rem;
	letter-spacing: .52em;
}


/* ── 19  ON AIR NOW, THE REST OF IT ─────────────────────────────────────── */

.onair__when {
	color: var(--ink-soft);
	font-size: .8rem;
	font-variant-numeric: tabular-nums;
	margin: 0 0 var(--s-2);
}

.onair__player {
	align-self: stretch;
}

/* The LIVE flag sits on the picture, as it does on a broadcast. */
.onair__flag {
	position: absolute;
	right: var(--s-1);
	top: var(--s-1);
	z-index: 2;
}

.upnext__more {
	color: var(--ink-meta);
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

.upnext__more:hover {
	color: var(--brand-red);
}


/* ── 20  PAGE HEROES ────────────────────────────────────────────────────────

   Every section page opens with the same band: a kicker, a title, a sentence,
   and optionally a picture behind it. One component rather than eleven, so the
   inner pages read as one site rather than as eleven separate builds.
   ---------------------------------------------------------------------- */

.phero {
	background: var(--surface-2);
	border-bottom: 1px solid var(--rule);
	overflow: hidden;
	position: relative;
}

.phero__media {
	inset: 0;
	position: absolute;
}

.phero__media img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.phero__media::after {
	background: linear-gradient(90deg, rgba(11, 11, 13, .95) 0%, rgba(11, 11, 13, .78) 55%, rgba(11, 11, 13, .5) 100%);
	content: "";
	inset: 0;
	position: absolute;
}

.phero__inner {
	padding-block: clamp(var(--s-6), 7vw, var(--s-12));
	position: relative;
}

.phero__title {
	color: #fff;
	font-size: clamp(1.9rem, 4.4vw, 3.2rem);
	margin-bottom: var(--s-1);
}

.phero__dek {
	color: rgba(255, 255, 255, .84);
	margin: 0;
	max-width: 58ch;
}

.phero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-2);
	margin-top: var(--s-3);
}


/* ── 21  THE WATCH PLAYER ───────────────────────────────────────────────── */

.player {
	background: #000;
	border: 1px solid var(--rule);
	border-radius: var(--radius-lg);
	overflow: hidden;
	position: relative;
}

.player iframe,
.player video {
	aspect-ratio: 16 / 9;
	border: 0;
	display: block;
	width: 100%;
}

.player__poster {
	aspect-ratio: 16 / 9;
	display: block;
	position: relative;
}

.player__poster img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.player__bar {
	align-items: center;
	background: var(--surface-2);
	border-top: 1px solid var(--rule);
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-2);
	justify-content: space-between;
	padding: var(--s-2) var(--s-3);
}

.watch-grid {
	display: grid;
	gap: var(--s-4);
	grid-template-columns: minmax(0, 1fr) 340px;
}

@media (max-width: 1000px) {
	.watch-grid {
		grid-template-columns: 1fr;
	}
}

/* Format filters, used on every directory page. */
.filters a {
	background: var(--surface-2);
	border: 1px solid var(--rule);
	border-radius: 100px;
	color: var(--ink-soft);
	font-size: .76rem;
	font-weight: 700;
	letter-spacing: .05em;
	padding: 6px 13px;
	text-decoration: none;
	text-transform: uppercase;
	transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}

.filters a:hover,
.filters a[aria-current="page"] {
	background: var(--brand-red);
	border-color: var(--brand-red);
	color: var(--on-brand);
}


/* ── 22  FOOTER, SOCIAL AND NEWSLETTER ──────────────────────────────────── */

.connect {
	align-items: center;
	background: var(--surface-2);
	border: 1px solid var(--rule);
	border-radius: var(--radius-lg);
	display: grid;
	gap: var(--s-4);
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
	margin-bottom: var(--s-6);
	padding: var(--s-4);
}

@media (max-width: 820px) {
	.connect {
		grid-template-columns: 1fr;
	}
}

/*
 * Social icons in each network's own colour. A row of identical grey circles
 * is slower to scan than the colours people already recognise, and this is the
 * one place on the page where being recognisable beats being consistent.
 */
.social a {
	background: var(--surface-3);
	color: #fff;
	transition: filter var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

.social a[data-net="facebook"] { background: #1877f2; }
.social a[data-net="instagram"] {
	background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}
.social a[data-net="youtube"] { background: #ff0000; }
.social a[data-net="tiktok"]  { background: #010101; border: 1px solid var(--rule-strong); }
.social a[data-net="x"]       { background: #000; border: 1px solid var(--rule-strong); }

.social a:hover {
	filter: brightness(1.18);
	transform: translateY(-2px);
}


/*
 * The standing note at the top of the News page, above the stories. Kept to
 * a reading measure and separated by a rule, so it reads as a note about the
 * section rather than as the first item in it.
 */
.newsintro {
	border-bottom: 1px solid var(--rule);
	color: var(--ink-soft);
	max-width: 62ch;
	padding-bottom: var(--s-4);
}

.newsintro > :first-child {
	margin-top: 0;
}

.newsintro > :last-child {
	margin-bottom: 0;
}

/*
 * The audio player on a podcast episode. Full width and left to the browser
 * to draw: a bespoke audio player is a lot of JavaScript to reimplement
 * keyboard control, buffering and playback rate worse than the one already
 * in the browser, which also knows how to hand off to a car stereo.
 */
.onair-audio {
	display: block;
	min-height: 44px;
	width: 100%;
}

/*
 * The week, as a viewer sees it. A column per day on a wide screen and a
 * stack on a phone - not a seven-column table squeezed down, which is how a
 * schedule becomes unreadable on the device most people check it on.
 *
 * Today is marked rather than moved to the top by CSS: the order is decided
 * in the template, so the markup reads in the same order it is displayed and
 * a screen reader gets today first too.
 */
.week {
	display: grid;
	gap: var(--s-4);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.week__day {
	border-top: 2px solid var(--rule-strong);
	padding-top: var(--s-2);
}

.week__day--today {
	border-top-color: var(--brand-red);
}

.week__name {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	font-family: var(--font-display);
	font-size: .82rem;
	gap: 8px;
	letter-spacing: .12em;
	margin: 0 0 var(--s-2);
	text-transform: uppercase;
}

.week__today {
	background: var(--brand-red);
	border-radius: 2px;
	color: var(--on-brand);
	font-size: .62rem;
	padding: 2px 6px;
}

.week__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.week__slot {
	border-bottom: 1px solid var(--rule);
	display: grid;
	gap: 2px;
	padding: 10px 0;
}

.week__slot--on {
	border-left: 3px solid var(--brand-red);
	padding-left: var(--s-2);
}

.week__time {
	color: var(--ink-meta);
	font-size: .78rem;
	font-variant-numeric: tabular-nums;
}

.week__show {
	font-weight: 600;
}

.week__show a {
	color: inherit;
	text-decoration: none;
}

.week__show a:hover {
	color: var(--brand-red);
}

.week__none {
	color: var(--ink-meta);
	font-size: .86rem;
}


/* ── 22c  TAP TARGETS ───────────────────────────────────────────────────────

   WCAG 2.2 asks that anything you tap is at least 24 by 24 CSS pixels,
   unless it sits inline inside a sentence. A scan found most of the small
   controls on this site between 17 and 22 pixels tall - readable, and
   fiddly to hit on a phone held in one hand on a bus.

   The fix is padding rather than type size wherever possible. A chip that
   grows its text to reach 24px becomes a different chip; one that keeps its
   type and gains two pixels of padding looks the same and can be hit.

   axe does not test this rule, which is why every one of these passed the
   accessibility suite while being awkward to use.
   ---------------------------------------------------------------------- */

a.chip,
.section-head__more,
.upnext__more,
.card__action {
	align-items: center;
	display: inline-flex;
	min-height: 24px;
}

/*
 * Footer and drawer menus. A column of links six pixels apart at nineteen
 * pixels tall is a column of near-misses; the padding closes the gaps and
 * makes each row its own target.
 */
/*
 * Every link in the masthead and the footer, not only the ones inside a nav
 * element. The first pass at this scoped to nav and missed two whole menus:
 * the primary navigation, which is a nav but a different one, and the On the
 * network column, which is a plain list. Both were fifteen pixels tall.
 */
.masthead nav a,
.footer a,
.drawer nav a {
	align-items: center;
	display: inline-flex;
	min-height: 24px;
}

/*
 * A card headline is the main way somebody opens a story, and a single-line
 * one was seventeen pixels tall. inline-block rather than inline-flex so a
 * long headline still wraps the way text should.
 */
.card__title a {
	display: inline-block;
	min-height: 24px;
}

/* The brand mark is a link too, and must not be stretched by that. */
.footer .brand {
	display: inline-block;
	min-height: 0;
}

/*
 * The breadcrumb trail is the exception the rule allows: these are words in
 * a line of text, and padding them to 24px would space out a sentence. They
 * get a wider gap instead, so the two are not adjacent.
 */
.crumbs a {
	padding-block: 2px;
}

/*
 * A floor under the smallest labels. These are uppercase and tracked, which
 * reads smaller than the number suggests, and 9.9px on a phone is below
 * what anybody should have to squint at.
 */
.flag-sample,
.ad__label,
.adtable thead th {
	font-size: .7rem;
}

.chip,
.live-badge,
.factbar__label {
	font-size: .7rem;
}


/*
 * The category bar on the news index. A way into a subject rather than a
 * filter: each one goes to that category's archive, so the browser's back
 * button behaves and a link to a section can be shared.
 *
 * It scrolls sideways rather than wrapping to three rows on a phone. A network
 * publishing across ten desks has ten of these, and ten wrapped chips push the
 * lead story off the screen entirely.
 */
.catbar {
	margin-bottom: var(--s-4);
}

.catbar ul {
	display: flex;
	gap: 8px;
	list-style: none;
	margin: 0;
	overflow-x: auto;
	padding: 0 0 4px;
	scrollbar-width: none;
}

.catbar ul::-webkit-scrollbar {
	display: none;
}

.catbar li {
	flex: none;
}

.catbar .chip {
	align-items: center;
	display: inline-flex;
	gap: 6px;
}

.catbar .chip:hover,
.catbar .chip:focus-visible {
	background: var(--brand-red);
	color: var(--on-brand);
}

.catbar__count {
	opacity: .65;
}

/* The stack of secondary stories beside the lead. */
.feature__stack {
	display: grid;
	gap: var(--s-3);
}

.feature__stack .card {
	border-bottom: 1px solid var(--rule);
	padding-bottom: var(--s-3);
}

.feature__stack .card:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

/*
 * A heading for a block inside a section, which must not compete with the
 * section's own. Same family, smaller, no rule.
 */
.sec__title--sm {
	font-size: .82rem;
	margin-bottom: var(--s-2);
}

/*
 * Reading time, after the date. Separated by a middot drawn in CSS rather than
 * typed into the string, so a translation cannot lose it and a screen reader
 * does not read a stray character between two facts.
 */
.card__read::before {
	content: "\00b7";
	margin: 0 6px;
}


/*
 * Advertisements.
 *
 * The label is the part that matters, and it is styled to be read rather than
 * to be got out of the way: a reader has to be able to tell which part of the
 * page was paid for without being told. It sits above the creative, in the meta
 * ink, at a size that is small but not decorative.
 *
 * The slot has no minimum height. Nothing renders when nothing is booked, so
 * there is no gap to fill, and reserving space for an advert that may not exist
 * would turn a quiet week into a page full of holes.
 */
.ad {
	margin-block: var(--s-5);
	margin-inline: auto;
	max-width: 100%;
}

.ad__label {
	color: var(--ink-meta);
	font-family: var(--font-ui);
	font-size: .64rem;
	font-weight: 700;
	letter-spacing: .14em;
	margin: 0 0 6px;
	text-transform: uppercase;
}

.ad__link {
	display: block;
}

/*
 * The creative keeps the ratio the placement was sold at, so a booking made to
 * spec does not shift the page as it loads, and one made slightly off spec is
 * fitted rather than refused.
 */
.ad__img {
	aspect-ratio: var(--ad-ratio, auto);
	border-radius: var(--radius);
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

/* The two wide strips sit inside the page gutter like everything else. */
.ad--header,
.ad--footer,
.ad--home-top,
.ad--home-mid,
.ad--news-top,
.ad--article {
	max-width: var(--page-width);
	padding-inline: var(--gutter);
}

.ad--header {
	margin-top: var(--s-4);
}

.ad--sidebar {
	margin-block: var(--s-4);
}

.ad__link:focus-visible {
	outline: 2px solid var(--brand-red);
	outline-offset: 3px;
}

/* ── 22b  FORMS ─────────────────────────────────────────────────────────── */

   The contact form, which the plugin renders and this styles. The plugin
   ships no CSS of its own on purpose: a form that carries its own styling
   looks like a form somebody bolted on, and this one has to look like the
   rest of the network.

   Errors are not signalled by colour alone. A red outline is invisible to a
   reader who cannot separate red from grey, so every bad field also gets a
   line of text under it and a bar down its edge.
   ---------------------------------------------------------------------- */

.oaform {
	margin-block: var(--s-5);
	max-width: 42rem;
}

.oaform__row {
	display: grid;
	gap: 6px;
	margin: 0 0 var(--s-4);
}

.oaform__label {
	font-family: var(--font-ui);
	font-size: .84rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.oaform__req {
	color: var(--brand-red);
}

.oaform__help,
.oaform__small {
	color: var(--ink-meta);
	font-size: .82rem;
}

.oaform input[type="text"],
.oaform input[type="email"],
.oaform select,
.oaform textarea {
	background: var(--surface-2);
	border: 1px solid var(--rule-strong);
	border-radius: var(--radius);
	color: var(--ink);
	font: inherit;
	padding: 12px 14px;
	width: 100%;
}

.oaform textarea {
	line-height: 1.6;
	resize: vertical;
}

.oaform input:focus-visible,
.oaform select:focus-visible,
.oaform textarea:focus-visible {
	border-color: var(--brand-red);
	outline: 2px solid var(--brand-red);
	outline-offset: 2px;
}

/* A bad field is marked three ways, only one of which is a colour. */
.oaform__row.is-bad {
	border-left: 3px solid var(--brand-red);
	padding-left: var(--s-2);
}

.oaform__error {
	color: var(--ink);
	font-size: .84rem;
	font-weight: 600;
}

/*
 * The advertising positions table.
 *
 * It scrolls sideways inside its own box rather than shrinking the type or
 * wrapping a size onto two lines. Four columns of numbers is a table, and a
 * table that has been squeezed into 360px is no longer readable as one - a
 * media buyer checking whether their artwork fits needs the figures legible
 * more than they need the whole width on screen at once.
 */
.adtable__scroll {
	margin-block: var(--s-4);
	overflow-x: auto;
}

.adtable {
	border-collapse: collapse;
	min-width: 34rem;
	width: 100%;
}

.adtable th,
.adtable td {
	border-bottom: 1px solid var(--rule);
	padding: var(--s-2);
	text-align: left;
	vertical-align: top;
}

.adtable thead th {
	background: var(--surface-3);
	border-bottom: 2px solid var(--rule-strong);
	font-family: var(--font-ui);
	font-size: .68rem;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	white-space: nowrap;
}

.adtable tbody th {
	font-weight: 400;
	max-width: 22rem;
}

.adtable__note {
	color: var(--ink-meta);
	display: block;
	font-size: .82rem;
	margin-top: 4px;
}

.adtable td {
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

/*
 * A section of a long form. The legend is the part doing the work: a form
 * broken into three named stretches tells somebody how much is left, which is
 * most of what makes a long one feel finishable.
 *
 * A real fieldset and legend rather than a heading and a div, so the grouping
 * is announced to somebody who cannot see the rule under it.
 */
.oaform__group {
	border: 0;
	margin: 0 0 var(--s-5);
	padding: 0;
}

.oaform__legend {
	border-bottom: 1px solid var(--rule-strong);
	color: var(--ink-meta);
	font-family: var(--font-ui);
	font-size: .7rem;
	font-weight: 800;
	letter-spacing: .16em;
	margin-bottom: var(--s-3);
	padding-bottom: 6px;
	text-transform: uppercase;
	width: 100%;
}

/*
 * The safety notice on the story form. Set apart from the prose above it so
 * it is not read as more of the same, and placed before the first field so it
 * is read before anybody starts typing rather than after they have sent.
 */
.oaform__warn {
	background: var(--surface-3);
	border-left: 3px solid var(--brand-red);
	border-radius: var(--radius);
	color: var(--ink-soft);
	font-size: .88rem;
	margin: 0 0 var(--s-4);
	padding: var(--s-3);
}

/*
 * A consent box. The label wraps the input so the whole line is the target -
 * a 16px box is a poor thing to ask somebody to hit on a phone, and the words
 * are the part they are agreeing to.
 */
.oaform__check {
	align-items: flex-start;
	cursor: pointer;
	display: flex;
	gap: 10px;
	line-height: 1.5;
}

.oaform__check input {
	flex: none;
	/* 24px is the smallest a control may be under WCAG 2.2, and this is the
	   one control on the form that decides whether it can be sent at all. */
	height: 24px;
	margin-top: 0;
	width: 24px;
}

.oaform input[type="file"],
.oaform input[type="url"],
.oaform input[type="date"] {
	background: var(--surface-2);
	border: 1px solid var(--rule-strong);
	border-radius: var(--radius);
	color: var(--ink);
	font: inherit;
	padding: 12px 14px;
	width: 100%;
}

.oaform input[type="file"]::file-selector-button {
	background: var(--surface-3);
	border: 1px solid var(--rule-strong);
	border-radius: 3px;
	color: var(--ink);
	cursor: pointer;
	font: inherit;
	margin-right: 10px;
	padding: 6px 12px;
}

.oaform__note {
	border: 1px solid var(--rule-strong);
	border-left-width: 4px;
	border-radius: var(--radius);
	margin-bottom: var(--s-4);
	padding: var(--s-3);
}

.oaform__note p {
	margin: 0 0 6px;
}

.oaform__note p:last-child,
.oaform__note ul {
	margin-bottom: 0;
}

.oaform__note--ok {
	border-left-color: var(--live);
}

.oaform__note--bad {
	border-left-color: var(--brand-red);
}

.oaform__note:focus-visible {
	outline: 2px solid var(--brand-red);
	outline-offset: 2px;
}

/*
 * The honeypot. Taken out of the page rather than hidden with display:none,
 * because some automated fillers skip anything that is display:none - and
 * the whole point is that they fill it in.
 */
.oaform__hp {
	height: 0;
	left: -9999px;
	overflow: hidden;
	position: absolute;
	width: 0;
}


/* ── 23  APP MODE ───────────────────────────────────────────────────────────

   What the site becomes on a phone.

   The things that make something feel like an application are mostly not
   visual: navigation that stays where a thumb is, chrome that does not scroll
   away and come back, targets big enough to hit one-handed, and the option to
   keep it on a home screen and open it without a browser around it.

   Every fixed element here is padded with env(safe-area-inset-*) rather than a
   guessed number, because the iOS status bar setting this theme asks for puts
   the page underneath the notch.
   ---------------------------------------------------------------------- */

.appbar {
	backdrop-filter: saturate(150%) blur(12px);
	background: color-mix(in srgb, var(--surface) 92%, transparent);
	border-top: 1px solid var(--rule);
	bottom: 0;
	display: none;
	left: 0;
	padding-bottom: env(safe-area-inset-bottom, 0px);
	position: fixed;
	right: 0;
	z-index: var(--z-sticky);
}

.appbar__row {
	display: grid;
	grid-auto-columns: 1fr;
	grid-auto-flow: column;
}

.appbar__tab {
	align-items: center;
	background: none;
	border: 0;
	color: var(--ink-meta);
	cursor: pointer;
	display: flex;
	flex-direction: column;
	font-family: var(--font-ui);
	/* Was .62rem, which computes to under 10px - too small for the label on
	   the primary navigation of a phone. */
	font-size: .7rem;
	font-weight: 700;
	gap: 3px;
	justify-content: center;
	letter-spacing: .04em;
	/* 56px is the smallest a tab can be and still be hit while walking. */
	min-height: 56px;
	padding: 6px 2px;
	position: relative;
	text-decoration: none;
	text-transform: uppercase;
}

.appbar__tab[aria-current="page"],
.appbar__tab.is-on {
	color: var(--brand-red);
}

.appbar__tab svg {
	height: 21px;
	width: 21px;
}

/*
 * The live tab is the one always worth a tap, so it is the one that looks
 * different. A dot rather than a changed label, because the label still has to
 * say what the tab is.
 */
.appbar__tab--live {
	color: var(--brand-red);
}

.appbar__live-dot {
	background: var(--live);
	border-radius: 50%;
	height: 6px;
	left: 50%;
	margin-left: 10px;
	position: absolute;
	top: 8px;
	width: 6px;
}

@media (max-width: 860px) {
	.has-appbar .appbar {
		display: block;
	}

	/*
	 * Room for the bar, or it covers the last thing on every page. This is the
	 * half of the feature people forget, and forgetting it is worse than not
	 * having the bar at all.
	 */
	.has-appbar .footer {
		padding-bottom: calc(var(--s-8) + env(safe-area-inset-bottom, 0px));
	}

	.has-appbar .drawer {
		padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
	}
}

/* Launched from a home screen: no address bar, so the masthead earns its keep. */
.is-standalone .masthead {
	padding-top: env(safe-area-inset-top, 0px);
}

@media (prefers-reduced-motion: no-preference) {
	.appbar__live-dot {
		animation: oa-pulse 1.9s var(--ease-in-out) infinite;
	}
}

/* The offline page. */
.offline {
	margin-inline: auto;
	max-width: 44rem;
	padding-block: var(--s-12);
	text-align: center;
}


/* ── 24  PHONE POLISH ───────────────────────────────────────────────────────

   Touch targets, and the places where a desktop layout stops working rather
   than merely stops looking its best.
   ---------------------------------------------------------------------- */

@media (max-width: 620px) {
	.section {
		padding-block: var(--s-4);
	}

	.hero__inner {
		padding-block: var(--s-8);
	}

	.hero__title {
		font-size: clamp(1.9rem, 9vw, 2.6rem);
	}

	/*
	 * The player leads on a phone: it is the reason somebody opened the page,
	 * and on a narrow screen whatever comes first is what gets seen.
	 */
	.onair__main {
		display: flex;
		flex-direction: column-reverse;
		gap: var(--s-3);
		padding: var(--s-3);
	}

	.btn,
	.filters a {
		min-height: 44px;
	}

	.icon-btn {
		height: 44px;
		width: 44px;
	}

	.footer__cols {
		gap: var(--s-3);
	}

	.footer__base {
		align-items: flex-start;
		flex-direction: column;
	}

	.card__title {
		font-size: 1.05rem;
	}
}

/*
 * Horizontal card rails on a phone. A four-across grid stacked into a single
 * column turns the homepage into a very long scroll; a snapping rail keeps
 * each block about one screen tall and is the pattern every media application
 * uses for exactly this reason.
 */
@media (max-width: 720px) {
	.grid--rail {
		grid-auto-columns: 74%;
		grid-auto-flow: column;
		grid-template-columns: none;
		margin-inline: calc(var(--gutter) * -1);
		overflow-x: auto;
		padding-inline: var(--gutter);
		scroll-padding-inline: var(--gutter);
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.grid--rail::-webkit-scrollbar {
		display: none;
	}

	.grid--rail > .card {
		scroll-snap-align: start;
	}
}


/* ── 25  THE LOGO IN CONTENT ────────────────────────────────────────────────

   The mark appears three times: in the masthead, over the hero, and in the
   submit band. Only the masthead one is a link; the other two are decoration
   sitting on top of a photograph, so they get a shadow to hold their edges
   against whatever the picture behind them turns out to be.
   ---------------------------------------------------------------------- */

.onair-logo {
	display: block;
	height: auto;
	max-width: 100%;
}

/*
 * The network's name above the headline, set as type. It replaced a second
 * copy of the logo: the masthead is already showing the mark a few pixels
 * higher, and the same image twice in one eyeful reads as a mistake.
 *
 * It keeps the shadow the logo had, for the same reason the logo needed one
 * - it sits on a photograph and has to hold its edges against whatever
 * turns out to be behind it.
 */
.hero__name {
	color: #fff;
	font-family: var(--font-display);
	font-size: clamp(.78rem, 1.4vw, .95rem);
	font-weight: 800;
	letter-spacing: .22em;
	margin: 0 0 var(--s-3);
	text-shadow: 0 2px 12px rgba(0, 0, 0, .7);
	text-transform: uppercase;
}

.hero__name::after {
	background: var(--brand-red);
	content: "";
	display: block;
	height: 3px;
	margin-top: var(--s-2);
	width: 56px;
}

.cta__logo {
	filter: drop-shadow(0 2px 12px rgba(0, 0, 0, .6));
	flex: none;
}

@media (max-width: 620px) {
	.hero__name {
		letter-spacing: .16em;
		margin-bottom: var(--s-2);
	}

	/*
	 * The band stacks on a phone and the mark goes first, which leaves the
	 * heading competing with it for the top of the screen. It is already in
	 * the masthead two hundred pixels above, so it stands down here.
	 */
	.cta__logo {
		display: none;
	}
}


/* ── 26  THE WORDPRESS ADMIN BAR ────────────────────────────────────────────

   Signed in, WordPress puts a fixed 32px bar across the top of the front end
   and pushes the document down with `html { margin-top: 32px !important }`.
   A sticky header pinned to `top: 0` sticks to the top of the *viewport*,
   which is behind that bar — so the first 32px of the masthead, logo included,
   is hidden under it the moment the page scrolls.

   It only happens to people who are signed in, which is why it survives a
   normal review: the visitor's view is correct and the owner's is not, and the
   owner assumes the site is simply built that way.

   The three widths are WordPress's own, not invented here:
     wider than 782px   the bar is 32px and fixed
     601 to 782px       the bar is 46px and still fixed
     600px and under    the bar is 46px but scrolls away with the page, so a
                        sticky header must go back to the very top or it
                        floats 46px down over nothing
   ---------------------------------------------------------------------- */

.admin-bar .masthead {
	top: 32px;
}

.admin-bar .drawer,
.admin-bar .drawer__scrim {
	top: 32px;
}

.admin-bar .skip-link {
	top: calc(32px + var(--s-2));
}

@media screen and (max-width: 782px) {
	.admin-bar .masthead,
	.admin-bar .drawer,
	.admin-bar .drawer__scrim {
		top: 46px;
	}

	.admin-bar .skip-link {
		top: calc(46px + var(--s-2));
	}
}

@media screen and (max-width: 600px) {
	.admin-bar .masthead,
	.admin-bar .drawer,
	.admin-bar .drawer__scrim {
		top: 0;
	}

	.admin-bar .skip-link {
		top: var(--s-2);
	}
}
