/*
 * Site chrome and page layout: base, header, footer, article frame, lists, controls.
 * Post body styles are in content.css (also loaded in the editor).
 */

/* ---------- Base ---------- */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: var(--acw-space-5);
}

body {
	margin: 0;
	background: var(--acw-bg);
	color: var(--acw-ink);
	font-family: var(--acw-sans);
	font-size: var(--acw-fs-ui);
	line-height: var(--acw-lh-ui);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	overflow-wrap: break-word;
}

img,
svg,
video,
iframe {
	max-width: 100%;
}

img,
video {
	height: auto;
}

a {
	color: var(--acw-accent);
	text-underline-offset: 0.15em;
	text-decoration-thickness: 1px;
}

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

:focus-visible {
	outline: var(--acw-focus);
	outline-offset: var(--acw-focus-offset);
}

.site-main:focus {
	outline: none;
}

/* Soft navigation (nav.js) while the next page loads; delayed so quick loads don't flicker. */
.is-navigating {
	cursor: progress;
}

.is-navigating .site-main {
	opacity: 0.55;
	transition: opacity 0.2s 0.15s;
}

.visually-hidden,
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	top: var(--acw-space-2);
	left: var(--acw-space-2);
	z-index: 100;
	padding: var(--acw-space-3) var(--acw-space-4);
	background: var(--acw-ink);
	color: var(--acw-inverse-text);
	border-radius: var(--acw-radius-md);
	transform: translateY(-200%);
}

.skip-link:focus {
	transform: none;
	color: var(--acw-inverse-text);
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* Mono labels: "ARTICLE · OCT 1, 2026", section headings like "LATEST". */
.label,
.meta-line,
.section-label {
	margin: 0;
	font-family: var(--acw-mono);
	font-size: var(--acw-fs-label);
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: var(--acw-tracking-label);
	text-transform: uppercase;
	color: var(--acw-muted);
}

.section-label {
	letter-spacing: var(--acw-tracking-section);
	padding-bottom: var(--acw-space-3);
	border-bottom: var(--acw-rule-section);
}

.meta-line {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 10px;
	align-items: center;
}

.meta-line__type {
	color: var(--acw-accent);
	font-weight: 500;
}

/* ---------- Buttons ---------- */

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--acw-space-2);
	min-height: var(--acw-tap);
	padding: 0 18px;
	border: 1px solid transparent;
	border-radius: var(--acw-radius-md);
	background: var(--acw-ink);
	color: var(--acw-inverse-text);
	font: 500 var(--acw-fs-ui-sm) / 1 var(--acw-sans);
	text-decoration: none;
	cursor: pointer;
}

.button:hover {
	color: var(--acw-inverse-text);
	background: var(--acw-text-2);
}

.button--pill {
	border-radius: var(--acw-radius-pill);
	font-size: var(--acw-fs-ui);
}

.button--accent {
	background: var(--acw-accent);
}

.button--accent:hover {
	background: var(--acw-ink);
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: var(--acw-tap);
	font-weight: 500;
	text-decoration: none;
}

.link-arrow:hover {
	text-decoration: underline;
}

.card {
	background: var(--acw-surface);
	border-radius: var(--acw-radius-lg);
	padding: var(--acw-space-5);
}

/* ---------- Header ---------- */

.site-header {
	border-bottom: var(--acw-rule-hair);
}

.site-header__inner {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-areas:
		"brand brand"
		"nav search";
	align-items: center;
	max-width: var(--acw-max);
	margin: 0 auto;
	padding: var(--acw-space-3) var(--acw-gutter) 0;
}

.wordmark {
	grid-area: brand;
	justify-self: start;
	font-family: "Libre Franklin", "Franklin Gothic Heavy", "Franklin Gothic Medium", Arial, sans-serif; /* stands in for Franklin Gothic Heavy */
	font-size: 1.5rem;
	font-weight: 900;
	letter-spacing: -0.01em;
	line-height: 1.2;
	color: var(--acw-ink);
	text-decoration: none;
}

.site-header .wordmark {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.wordmark__mark {
	flex: none;
	width: 36px;
	height: 36px;
}

.wordmark__mark--day {
	display: var(--acw-mark-day);
}

.wordmark__mark--night {
	display: var(--acw-mark-night);
}

@media (min-width: 760px) {
	.site-header .wordmark {
		gap: 8px;
	}

	.wordmark__mark {
		width: 44px;
		height: 44px;
	}
}

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

.wordmark__img {
	display: block;
	width: auto;
	max-height: 40px;
}

/* Search and the day/night switch, side by side. */
.site-header__tools {
	grid-area: search;
	display: flex;
	align-items: center;
	margin-right: calc(-1 * var(--acw-space-3));
}

.site-header__tool {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--acw-tap);
	height: var(--acw-tap);
	padding: 0;
	border: 0;
	border-radius: var(--acw-radius-pill);
	background: none;
	color: var(--acw-ink);
	cursor: pointer;
}

.site-header__tool:hover {
	background: var(--acw-surface);
	color: var(--acw-ink);
}

/* The switch (header and footer) shows the moon by day, the sun at night (tokens.css). */
[data-theme-toggle] .icon--moon {
	display: var(--acw-icon-moon);
}

[data-theme-toggle] .icon--sun {
	display: var(--acw-icon-sun);
}

.site-nav {
	grid-area: nav;
	min-width: 0;
	margin-left: calc(-1 * var(--acw-gutter));
	overflow-x: auto;
	scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
	display: none;
}

/* Right-aligned beside the day/night switch; scrolls from the left if it ever overflows. */
.site-nav__list {
	display: flex;
	gap: 20px;
	width: max-content;
	margin: 0 0 0 auto;
	padding: 0 0 0 var(--acw-gutter);
	list-style: none;
	white-space: nowrap;
}

.site-nav__link {
	display: inline-flex;
	align-items: center;
	min-height: var(--acw-tap);
	font-size: var(--acw-fs-ui-sm);
	color: var(--acw-ink);
	text-decoration: none;
}

.site-nav__link:hover {
	color: var(--acw-accent);
}

.site-nav__link[aria-current="page"] {
	box-shadow: inset 0 -2px 0 var(--acw-ink);
}

/* Small phones (320–375px): tighter, so the four links, search and the switch fit unscrolled. */
@media (max-width: 379px) {
	.site-nav__list {
		gap: 8px;
	}

	.site-nav__link {
		font-size: var(--acw-fs-caption);
	}
}

@media (max-width: 339px) {
	.site-nav__list {
		gap: 6px;
	}

	.site-header__tool {
		width: 36px;
	}
}



@media (min-width: 760px) {
	.site-header__inner {
		grid-template-columns: 1fr auto auto;
		grid-template-areas: "brand nav search";
		column-gap: var(--acw-space-4);
		padding: 18px var(--acw-gutter);
	}

	.wordmark {
		font-size: 1.875rem;
	}

	.site-nav {
		margin: 0;
		overflow: visible;
	}

	.site-nav__list {
		gap: 4px 28px;
		padding: 0;
	}

	.site-nav__link {
		font-size: var(--acw-fs-ui);
	}


	.site-header__tools {
		margin-right: 0;
	}

}

/* ---------- Footer ---------- */

.site-footer {
	margin-top: var(--acw-space-9);
	border-top: var(--acw-rule-hair);
	background: var(--acw-surface);
}

.site-footer__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--acw-space-6) var(--acw-space-7);
	align-items: start;
	max-width: var(--acw-max);
	margin: 0 auto;
	padding: 40px var(--acw-gutter);
}

/* Phones and tablets: the brand across the top, the three link columns under it. */
.site-footer__brand {
	grid-column: 1 / -1;
	min-width: 0;
}

@media (min-width: 600px) {
	.site-footer__inner {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* Wide screens: brand | Read | Listen | Follow, the brand twice as wide. */
@media (min-width: 960px) {
	.site-footer__inner {
		grid-template-columns: 2fr 1fr 1fr 1fr;
	}

	.site-footer__brand {
		grid-column: auto;
	}
}

.site-footer .wordmark {
	font-size: 1.5rem;
}

.site-footer__tagline {
	max-width: 44ch;
	margin: var(--acw-space-2) 0 0;
	font-size: var(--acw-fs-ui-sm);
	color: var(--acw-text-2);
}

.site-footer__about {
	margin: var(--acw-space-3) 0 0;
}

.site-footer__label {
	margin-bottom: var(--acw-space-2);
}

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

.site-footer__col a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	font-size: var(--acw-fs-ui-sm);
	color: var(--acw-ink);
	text-decoration: none;
}

.site-footer__col a:hover {
	color: var(--acw-accent);
	text-decoration: underline;
}

.site-footer__col .icon--external {
	margin-left: 5px;
	color: var(--acw-muted);
}

.site-footer__tools {
	display: flex;
	margin: var(--acw-space-2) 0 0 -10px;
}

.site-footer__tool {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--acw-tap);
	height: var(--acw-tap);
	padding: 0;
	border: 0;
	border-radius: var(--acw-radius-pill);
	background: none;
	color: var(--acw-text-2);
	cursor: pointer;
}

/* The footer is already the surface colour, so hover one step darker. */
.site-footer__tool:hover {
	background: var(--acw-hairline);
	color: var(--acw-ink);
}

.site-footer__tool:focus-visible {
	outline: var(--acw-focus);
	outline-offset: 1px;
}


/* /subscribe/: "New here? About the site" under the intro. */
.subscribe__about {
	margin: var(--acw-space-3) 0 0;
}

/* /about/ (about.php). */
.about .icon--external {
	margin-left: 3px;
	vertical-align: -1px;
	color: var(--acw-muted);
}

.about__counts {
	margin-top: var(--acw-space-4);
}

/* Each section is headed by its label's rule; no section rule above it as well. */
.about .hub__section {
	padding-top: 0;
	border-top: 0;
}

.about .section-label {
	margin-bottom: var(--acw-space-2);
}

/* History: year | what happened, each linking to the post that shows it. */
.milestones {
	margin: 0;
	padding: 0;
	list-style: none;
}

.milestones li {
	display: grid;
	grid-template-columns: 8ch 1fr;
	gap: var(--acw-space-4);
	align-items: baseline;
	padding: var(--acw-space-3) 0;
	border-bottom: var(--acw-rule-hair);
}

.milestones__year {
	font-family: var(--acw-mono);
	font-size: var(--acw-fs-label);
	color: var(--acw-muted);
	font-variant-numeric: tabular-nums;
}

.milestones__text {
	font-family: var(--acw-serif);
	font-size: var(--acw-fs-ui);
	line-height: 1.5;
	color: var(--acw-text-2);
}

.milestones__text a {
	color: var(--acw-ink);
}

.milestones + .link-arrow {
	margin-top: var(--acw-space-3);
}

/* ---------- Article frame ---------- */

.article,
.post-nav,
.list-page {
	max-width: var(--acw-max-article);
	margin: 0 auto;
	padding: 40px var(--acw-gutter) 0;
}

.article {
	container-type: inline-size;
}

.article__header {
	max-width: var(--acw-measure);
}

.article__title {
	margin: var(--acw-space-4) 0 0;
	font-family: var(--acw-serif);
	font-size: var(--acw-fs-display);
	font-weight: 500;
	line-height: var(--acw-lh-tight);
	letter-spacing: var(--acw-tracking-display);
	text-wrap: balance;
	overflow-wrap: anywhere;
	hyphens: manual;
}

.article--page .article__title {
	margin-top: 0;
}

.article__standfirst {
	margin: 20px 0 0;
	font-family: var(--acw-serif);
	font-size: var(--acw-fs-standfirst);
	line-height: 1.45;
	color: var(--acw-text-2);
}

.byline {
	display: flex;
	align-items: center;
	gap: var(--acw-space-4);
	margin-top: 28px;
	padding: var(--acw-space-3) 0;
	border-top: var(--acw-rule-hair);
	border-bottom: var(--acw-rule-hair);
}

.byline__author {
	flex: 1;
	margin: 0;
	font-size: var(--acw-fs-ui-sm);
}

.byline__author a {
	color: var(--acw-ink);
	font-weight: 500;
}

.byline__author a:hover {
	color: var(--acw-accent);
}

.share-button {
	display: inline-flex;
	align-items: center;
	gap: var(--acw-space-2);
	min-height: var(--acw-tap);
	padding: 0 var(--acw-space-4);
	border: 1px solid var(--acw-border);
	border-radius: var(--acw-radius-pill);
	background: var(--acw-bg);
	color: var(--acw-ink);
	font: 500 var(--acw-fs-caption) / 1 var(--acw-sans);
	cursor: pointer;
}

.share-button[hidden] {
	display: none;
}

.share-button:hover {
	border-color: var(--acw-ink);
}

.article .entry-content {
	margin-top: 36px;
}

/* Episode "Show notes | Transcript" tabs (article.js; hidden without it, and the transcript
   follows the notes) */
.episode-tabs {
	display: flex;
	gap: var(--acw-space-1);
	max-width: var(--acw-measure);
	margin-top: 36px;
	border-bottom: var(--acw-rule-hair);
}

.episode-tabs[hidden] {
	display: none;
}

/* Folder tabs: the one you're not on is a grey shape (so "Transcript" looks like something to
   click), the open one is the page itself, outlined and joined to the text below. */
.episode-tabs__tab {
	min-height: var(--acw-tap);
	margin-bottom: -1px;
	padding: 0 var(--acw-space-4);
	border: 1px solid transparent;
	border-bottom: 0;
	border-radius: var(--acw-radius-sm) var(--acw-radius-sm) 0 0;
	background: var(--acw-surface);
	color: var(--acw-text-2);
	font: 500 var(--acw-fs-ui-sm) / 1 var(--acw-sans);
	cursor: pointer;
}

.episode-tabs__tab:hover {
	color: var(--acw-ink);
}

.episode-tabs__tab[aria-selected="true"] {
	border-color: var(--acw-hairline);
	background: var(--acw-bg);
	color: var(--acw-ink);
	font-weight: 600;
}

.episode-tabs + .entry-content,
.episode-tabs ~ .transcript {
	margin-top: var(--acw-space-6);
}

.transcript {
	max-width: var(--acw-measure);
	margin-top: var(--acw-space-7);
	font-family: var(--acw-serif);
	font-size: var(--acw-fs-body);
	line-height: var(--acw-lh-body);
}

.transcript__heading {
	margin: 0 0 var(--acw-space-2);
	font-family: var(--acw-serif);
	font-size: var(--acw-fs-headline);
	font-weight: 500;
}

.transcript__note {
	margin: 0 0 var(--acw-space-5);
	font-family: var(--acw-sans);
	font-size: var(--acw-fs-caption);
	color: var(--acw-muted);
}

.transcript__turn + .transcript__turn {
	margin-top: var(--acw-space-5);
}

.transcript__who {
	display: flex;
	align-items: baseline;
	gap: var(--acw-space-3);
	margin: 0 0 var(--acw-space-1);
}

.transcript__name {
	font-family: var(--acw-sans);
	font-size: var(--acw-fs-ui-sm);
	font-weight: 600;
	color: var(--acw-ink);
}

.transcript__time {
	font-family: var(--acw-mono);
	font-size: var(--acw-fs-label);
	color: var(--acw-muted);
	text-decoration: none;
}

.transcript__time:hover {
	color: var(--acw-accent);
	text-decoration: underline;
}

.transcript__para {
	margin: 0;
	border-radius: 2px;
	transition: background-color 0.3s;
}

.transcript__para + .transcript__para {
	margin-top: var(--acw-space-3);
}

/* The paragraph being spoken, and the one a #t= link pointed at */
.transcript__para.is-current,
.transcript__para.is-target {
	background: color-mix(in srgb, var(--acw-mark) 45%, transparent);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--acw-mark) 45%, transparent);
}

.article__footer {
	max-width: var(--acw-measure);
	margin-top: var(--acw-space-7);
}

.author-box__name {
	margin: 0;
	font-family: var(--acw-serif);
	font-size: 1.625rem;
	font-weight: 500;
	line-height: var(--acw-lh-hed);
}

.author-box__years {
	margin-top: var(--acw-space-1);
}

.author-box__bio {
	margin-top: var(--acw-space-3);
	font-size: var(--acw-fs-ui-sm);
	color: var(--acw-text-2);
}

.author-box__bio p {
	margin: 0 0 var(--acw-space-2);
}

.author-box .link-arrow {
	margin-top: var(--acw-space-1);
}

.post-nav {
	display: flex;
	flex-wrap: wrap;
	gap: var(--acw-space-4) var(--acw-space-7);
	justify-content: space-between;
	margin-top: var(--acw-space-7);
	padding-top: 0;
}

.post-nav__link {
	display: flex;
	flex-direction: column;
	gap: var(--acw-space-1);
	flex: 1 1 280px;
	max-width: 460px;
	padding-top: var(--acw-space-5);
	border-top: var(--acw-rule-hair);
	text-decoration: none;
}

.post-nav__link--next {
	margin-left: auto;
	text-align: right;
}

.post-nav__title {
	font-family: var(--acw-serif);
	font-size: var(--acw-fs-small-hed);
	line-height: 1.25;
	color: var(--acw-ink);
}

.post-nav__link:hover .post-nav__title {
	color: var(--acw-accent);
	text-decoration: underline;
}

/* ---------- Lists (front page, archives, search) ---------- */

.list-page__header {
	margin-bottom: var(--acw-space-6);
}

.list-page__title {
	margin: 0;
	font-family: var(--acw-serif);
	font-size: var(--acw-fs-section);
	font-weight: 500;
	line-height: var(--acw-lh-hed);
	letter-spacing: var(--acw-tracking-hed);
}

.list {
	max-width: 760px;
}

.list-item {
	display: flex;
	gap: var(--acw-space-5);
	align-items: flex-start;
	padding: 28px 0;
	border-bottom: var(--acw-rule-hair);
}

.list-item__text {
	flex: 1;
	min-width: 0;
}

.list-item__title {
	margin: var(--acw-space-2) 0 0;
	font-family: var(--acw-serif);
	font-size: var(--acw-fs-headline);
	font-weight: 500;
	line-height: var(--acw-lh-hed);
	letter-spacing: var(--acw-tracking-hed);
	overflow-wrap: anywhere;
}

.list-item--lead .list-item__title {
	font-size: var(--acw-fs-lead);
}

.list-item__title a {
	color: var(--acw-ink);
	text-decoration: none;
}

.list-item__title a:hover {
	color: var(--acw-accent);
	text-decoration: underline;
}

.list-item__excerpt {
	max-width: 62ch;
	margin-top: var(--acw-space-3);
	font-family: var(--acw-serif);
	font-size: var(--acw-fs-excerpt);
	line-height: 1.55;
	color: var(--acw-text-2);
}

.list-item__byline {
	margin: var(--acw-space-3) 0 0;
	font-size: var(--acw-fs-caption);
	color: var(--acw-muted);
}

.list-item__byline a {
	color: var(--acw-ink);
}

.list-item__thumb {
	flex: none;
	width: 30%;
	max-width: 200px;
}

.list-item__thumb img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: var(--acw-radius-xs);
}

.pagination {
	margin-top: var(--acw-space-6);
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: var(--acw-space-2);
	align-items: center;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: var(--acw-tap);
	min-height: var(--acw-tap);
	padding: 0 var(--acw-space-2);
	font-family: var(--acw-mono);
	font-size: var(--acw-fs-caption);
	text-decoration: none;
	border-radius: var(--acw-radius-xs);
}

.pagination a.page-numbers:hover {
	background: var(--acw-surface);
}

.pagination .current {
	background: var(--acw-ink);
	color: var(--acw-inverse-text);
}

/* ---------- Search form, 404 ---------- */

.search-form {
	display: flex;
	gap: var(--acw-space-2);
	max-width: var(--acw-measure);
	margin: var(--acw-space-5) 0;
}

.search-form__input {
	flex: 1;
	min-width: 0;
	min-height: 48px;
	padding: 0 var(--acw-space-4);
	border: 1px solid var(--acw-border);
	border-radius: var(--acw-radius-md);
	background: var(--acw-bg);
	color: var(--acw-ink);
	font: var(--acw-fs-ui) / 1.4 var(--acw-sans);
}

.search-form__input:focus-visible {
	border-color: var(--acw-accent);
}

.search-form .button {
	min-height: 48px;
}

.not-found .label {
	margin-bottom: var(--acw-space-4);
}

.not-found__figure {
	max-width: 672px;  /* the photo's own width: don't upscale it */
	margin: var(--acw-space-6) 0;
}

.not-found__figure img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--acw-radius-md);
}

.not-found__figure figcaption {
	margin-top: var(--acw-space-2);
	font-size: var(--acw-fs-caption);
	color: var(--acw-muted);
}

/* ---------- Shared page pieces (milestone 2) ---------- */

.page-title,
.section-title {
	margin: 0;
	font-family: var(--acw-serif);
	font-weight: 500;
	line-height: var(--acw-lh-hed);
	letter-spacing: var(--acw-tracking-hed);
}

.page-title {
	font-size: var(--acw-fs-display);
	line-height: var(--acw-lh-tight);
	letter-spacing: var(--acw-tracking-display);
	overflow-wrap: anywhere;
}

.page-title__query {
	color: var(--acw-text-2);
}

.section-title {
	font-size: var(--acw-fs-section);
}

.page-intro {
	max-width: 60ch;
	margin: var(--acw-space-3) 0 0;
	font-family: var(--acw-serif);
	font-size: var(--acw-fs-standfirst);
	line-height: 1.45;
	color: var(--acw-text-2);
}

.label a {
	color: inherit;
}

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

.plain-list li {
	border-bottom: var(--acw-rule-hair);
}

.plain-list a {
	display: flex;
	align-items: center;
	min-height: var(--acw-tap);
	color: var(--acw-ink);
	text-decoration: none;
}

/* Each link fills its row; the row highlights like the author lists. */
.plain-list a:hover {
	background: var(--acw-surface);
	box-shadow: -8px 0 0 var(--acw-surface), 8px 0 0 var(--acw-surface);
	color: var(--acw-accent);
	text-decoration: underline;
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: var(--acw-space-2);
	margin: 0;
	padding: 0;
	list-style: none;
}

.chip {
	display: inline-flex;
	align-items: center;
	min-height: var(--acw-tap);
	padding: 0 var(--acw-space-4);
	border: 1px solid var(--acw-border);
	border-radius: var(--acw-radius-pill);
	background: var(--acw-bg);
	color: var(--acw-ink);
	font-size: var(--acw-fs-caption);
	text-decoration: none;
}

.chip:hover {
	border-color: var(--acw-ink);
	color: var(--acw-ink);
}

/* A filled chip for the one call to action in a row (Patreon). */
.chip--support {
	border-color: var(--acw-accent);
	background: var(--acw-accent);
	color: var(--acw-inverse-text);
}

.chip--support:hover {
	border-color: var(--acw-ink);
	background: var(--acw-ink);
	color: var(--acw-inverse-text);
}

mark {
	background: var(--acw-mark);
	color: inherit;
	padding: 0 0.1em;
	border-radius: 2px;
}

/* Tiles: years and months. */
.year-grid,
.month-grid {
	display: grid;
	gap: var(--acw-space-2);
	margin: 0;
	padding: 0;
	list-style: none;
}

.year-grid {
	grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
}

.month-grid,
.year-grid--counts {
	grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
}

.year-grid--counts {
	max-width: 860px;
}

.tile {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--acw-space-2);
	min-height: var(--acw-tap);
	padding: 0 var(--acw-space-3);
	border-radius: var(--acw-radius-xs);
	background: var(--acw-surface);
	color: var(--acw-ink);
	font-family: var(--acw-mono);
	font-size: var(--acw-fs-caption);
	text-decoration: none;
}

a.tile:hover {
	background: var(--acw-hairline);
	color: var(--acw-ink);
}

.tile[aria-current="page"] {
	background: var(--acw-ink);
	color: var(--acw-inverse-text);
}

.tile--more {
	color: var(--acw-accent);
	background: none;
}

.tile--month {
	justify-content: space-between;
}

.tile__count {
	color: var(--acw-muted);
}

.tile[aria-current="page"] .tile__count {
	color: var(--acw-inverse-muted);
}

.tile--empty {
	color: var(--acw-muted);
	background: none;
	border: 1px dashed var(--acw-hairline);
}

/* Email signup (Jetpack's form, restyled). */
.signup__title {
	padding-bottom: var(--acw-space-3);
	border-bottom: var(--acw-rule-hair);
	margin-bottom: var(--acw-space-4);
}

.signup__form form,
.signup__form .wp-block-jetpack-subscriptions__form {
	display: flex;
	flex-direction: column;
	gap: var(--acw-space-2);
	margin: 0;
}

.signup__form p {
	margin: 0;
}

.signup__form input[type="email"],
.signup__form input[type="text"] {
	width: 100% !important;
	min-height: 48px;
	padding: 0 var(--acw-space-4) !important;
	border: 1px solid var(--acw-border) !important;
	border-radius: var(--acw-radius-md) !important;
	background: var(--acw-bg) !important;
	color: var(--acw-ink) !important;
	font: var(--acw-fs-ui) / 1.4 var(--acw-sans) !important;
	box-shadow: none !important;
}

.signup__form button,
.signup__form input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: var(--acw-tap);
	margin: 0 !important;
	padding: 0 18px !important;
	border: 0 !important;
	border-radius: var(--acw-radius-md) !important;
	background: var(--acw-ink) !important;
	color: var(--acw-inverse-text) !important;
	font: 500 var(--acw-fs-ui-sm) / 1 var(--acw-sans) !important;
	cursor: pointer;
	align-self: flex-start;
}

.signup__form button:hover,
.signup__form input[type="submit"]:hover {
	background: var(--acw-text-2) !important;
}

/* Explore band. */
.explore {
	max-width: var(--acw-max);
	margin: var(--acw-space-9) auto 0;
	padding: 0 var(--acw-gutter);
}

.explore > * {
	border-top: var(--acw-rule-section);
}

.explore__head {
	display: flex;
	flex-wrap: wrap;
	gap: var(--acw-space-5) var(--acw-space-7);
	justify-content: space-between;
	align-items: flex-end;
	padding-top: var(--acw-space-6);
}

.explore__intro {
	margin: var(--acw-space-2) 0 0;
	font-family: var(--acw-serif);
	font-size: var(--acw-fs-standfirst);
	color: var(--acw-text-2);
}

.explore__search {
	flex: 1 1 360px;
	min-width: 0; /* else the input's natural width overflows a 320px phone */
	max-width: 560px;
	margin: 0;
}

.explore__cols {
	display: grid;
	gap: var(--acw-space-6) var(--acw-space-7);
	margin-top: var(--acw-space-6);
	padding-top: 0;
	border-top: 0;
}

@media (min-width: 760px) {
	.explore__cols {
		grid-template-columns: 1fr 1fr;
	}
}

.explore__label {
	padding-bottom: var(--acw-space-3);
	border-bottom: var(--acw-rule-hair);
	margin-bottom: 0;
}

/* "Related to the latest post, <title>", under the Background reading list
   where the other columns have their footer link, so the three lists start level. */
.explore__for {
	margin: 0;
	line-height: 1.45;
	font-size: var(--acw-fs-caption);
	color: var(--acw-muted);
}

.explore__for a {
	color: var(--acw-text-2);
}

/* A short list of posts, each with its year: Background reading, On this day. */
.dated-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.dated-list li {
	border-bottom: var(--acw-rule-hair);
}

.dated-list a {
	display: grid;
	grid-template-columns: 5ch 1fr;
	gap: var(--acw-space-3);
	align-items: baseline;
	padding: var(--acw-space-3) 0;
	color: var(--acw-ink);
	text-decoration: none;
}

.dated-list a:hover {
	background: var(--acw-surface);
	box-shadow: -8px 0 0 var(--acw-surface), 8px 0 0 var(--acw-surface);
}

.dated-list a:hover .dated-list__title {
	color: var(--acw-accent);
	text-decoration: underline;
}

.dated-list__year {
	font-family: var(--acw-mono);
	font-size: var(--acw-fs-label);
	color: var(--acw-muted);
	font-variant-numeric: tabular-nums;
}

.dated-list__title {
	line-height: 1.35;
}

.explore .year-grid {
	margin-top: var(--acw-space-4);
	grid-template-columns: repeat(4, 1fr);
}

/* Each column's last line (its link, or "Related to …") sits at the column's foot, so the three
   line up whatever the lists above them hold; the caption takes a link's height, centred, so
   its text is level with the links'. */
.explore__cols > div {
	display: flex;
	flex-direction: column;
}

.explore__cols > div > :last-child {
	margin-top: auto;
}

.explore__cols .dated-list,
.explore__cols .plain-list {
	margin-bottom: var(--acw-space-2);
}

.explore .link-arrow {
	align-self: flex-start;
}

/* Collections' rows built like the dated lists' beside them (padding, 1.35 line height), so
   the three columns' rows are the same height. */
.explore__cols .plain-list a {
	min-height: 0;
	padding: var(--acw-space-3) 0;
	line-height: 1.35;
}

.explore__cols .explore__for {
	padding: calc((var(--acw-tap) - 1.45em) / 2) 0; /* one line centred in a link's height */
}

/* ---------- Archive hub, search, date, author pages ---------- */

.hub {
	max-width: var(--acw-max);
	margin: 0 auto;
	padding: 40px var(--acw-gutter) 0;
}

.hub__header {
	margin-bottom: var(--acw-space-6);
}

.hub__header .label {
	margin-bottom: var(--acw-space-3);
}

.hub__section {
	margin-top: var(--acw-space-8);
	padding-top: var(--acw-space-5);
	border-top: var(--acw-rule-section);
}

.hub__section--first {
	margin-top: 0;
}

.hub__section .section-title {
	margin-bottom: var(--acw-space-5);
}

.search-panel {
	display: flex;
	flex-direction: column;
	gap: var(--acw-space-4);
}

.search-panel__row {
	display: flex;
	gap: var(--acw-space-2);
}

.search-panel__row .button {
	min-height: 48px;
}

.search-panel__filters {
	display: flex;
	flex-wrap: wrap;
	gap: var(--acw-space-3) var(--acw-space-5);
	align-items: center;
}

.segmented {
	display: inline-flex;
	margin: 0;
	padding: 3px;
	border: 0;
	border-radius: var(--acw-radius-md);
	background: var(--acw-hairline);
}

.segmented__option {
	position: relative;
}

.segmented__option input {
	position: absolute;
	opacity: 0;
	inset: 0;
	margin: 0;
	cursor: pointer;
}

.segmented__option span {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 0 14px;
	border-radius: 8px;
	font-size: var(--acw-fs-caption);
	font-weight: 500;
	color: var(--acw-text-2);
}

.segmented__option input:checked + span {
	background: var(--acw-bg);
	color: var(--acw-ink);
	box-shadow: 0 1px 2px var(--acw-shadow);
}

.segmented__option input:focus-visible + span {
	outline: var(--acw-focus);
	outline-offset: 1px;
}

.filter {
	display: inline-flex;
	align-items: center;
	gap: var(--acw-space-2);
	font-size: var(--acw-fs-caption);
	color: var(--acw-text-2);
}

.filter select {
	min-height: var(--acw-tap);
	padding: 0 30px 0 12px;
	border: 1px solid var(--acw-border);
	border-radius: var(--acw-radius-md);
	background: var(--acw-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2316181D' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 10px center;
	color: var(--acw-ink);
	font: var(--acw-fs-ui) / 1.2 var(--acw-sans); /* 16px: smaller and iOS zooms in on focus */
	appearance: none;
	max-width: 14em;
}

@media (min-width: 960px) {
	.filter--sort {
		margin-left: auto;
	}
}

.results {
	margin-top: var(--acw-space-6);
}

.results .list {
	max-width: 860px;
}

.search-note {
	margin: 0 0 var(--acw-space-4);
	font-size: var(--acw-fs-ui-sm);
	color: var(--acw-text-2);
}

.results__count {
	margin: 0;
	padding-bottom: var(--acw-space-3);
	border-bottom: var(--acw-rule-hair);
	font-family: var(--acw-sans);
	font-size: var(--acw-fs-caption);
	font-weight: 400;
	color: var(--acw-muted);
}

.empty-state {
	padding: var(--acw-space-6) 0;
	font-family: var(--acw-serif);
	font-size: var(--acw-fs-excerpt);
	color: var(--acw-text-2);
}

.list-item .list-item__excerpt mark {
	color: var(--acw-ink);
}

/* A search result found in an episode's transcript: "22:42 Jeffrey: …" (the time plays from there) */
.list-item__at {
	font-family: var(--acw-mono);
	font-size: var(--acw-fs-label);
	color: var(--acw-accent);
}

.list-item__who {
	font-family: var(--acw-sans);
	font-size: var(--acw-fs-caption);
	font-weight: 600;
	color: var(--acw-ink);
}

.date-nav {
	margin-bottom: var(--acw-space-5);
}

.date-nav__years {
	display: flex;
	gap: var(--acw-space-5);
	margin: var(--acw-space-4) 0 0;
	font-family: var(--acw-mono);
	font-size: var(--acw-fs-caption);
}

.date-nav__years a {
	display: inline-flex;
	align-items: center;
	min-height: var(--acw-tap);
}

.author-header__meta {
	margin: var(--acw-space-3) 0 0;
	font-family: var(--acw-mono);
	font-size: var(--acw-fs-label);
	letter-spacing: var(--acw-tracking-label);
	text-transform: uppercase;
	color: var(--acw-muted);
}

/* The bio in the same card as the author box after an article. */
.author-header__bio {
	max-width: var(--acw-measure);
	margin-top: var(--acw-space-5);
}

.author-header__bio .author-box__bio {
	margin-top: 0;
}

.author-header__bio .author-box__bio p:last-child {
	margin-bottom: 0;
}

.author-list {
	margin: 0;
	padding: 0;
	list-style: none;
	max-width: 760px;
}

.author-list__label {
	padding-bottom: var(--acw-space-3);
	border-bottom: var(--acw-rule-hair);
}

.author-list__item {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0 var(--acw-space-4);
	padding: var(--acw-space-2) 0;
	border-bottom: var(--acw-rule-hair);
}

.author-list__name {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	color: var(--acw-ink);
	font-size: var(--acw-fs-ui);
	text-decoration: none;
}

/* The whole row is the link: the name's link stretches over it. */
.author-list__name::after {
	content: "";
	position: absolute;
	inset: 0;
}

.author-list__item:hover .author-list__name {
	color: var(--acw-accent);
	text-decoration: underline;
}

.author-list__item:hover {
	background: var(--acw-surface);
	box-shadow: -8px 0 0 var(--acw-surface), 8px 0 0 var(--acw-surface);
}

.author-list__name:focus-visible {
	outline: none;
}

.author-list__item:has(.author-list__name:focus-visible) {
	outline: var(--acw-focus);
	outline-offset: 2px;
}

/* Years, count and unit in fixed mono columns so they line up down the list:
   "2004–2026  2,091 posts" / "2006–2006      3 posts". */
.author-list__meta {
	display: inline-grid;
	grid-template-columns: 9ch 5ch 5ch;
	column-gap: 1ch;
	font-family: var(--acw-mono);
	font-size: var(--acw-fs-label);
	color: var(--acw-muted);
	white-space: nowrap;
}

.author-list__years {
	margin-right: 1ch;
}

.author-list__count {
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.author-list__bio {
	flex-basis: 100%;
	margin: 0 0 var(--acw-space-2);
	font-size: var(--acw-fs-caption);
	color: var(--acw-text-2);
}

/* /authors/: everything below the title in two of the podcast page's three columns, so the
   page has one right edge and its rules stop with the lists. */
@media (min-width: 1180px) {
	.hub--authors .author-section {
		max-width: calc((100% - 2 * var(--acw-space-7)) * 2 / 3 + var(--acw-space-7));
	}
}

/* "Writing now": one compact column, the first of the section's two (a third of the page on
   wide screens); the section rule above still spans both. */
@media (min-width: 760px) {
	.author-section--now > * {
		max-width: calc((100% - var(--acw-space-7)) / 2);
	}
}

/* "Writing now" in two columns, read down then across (not used at the moment). */
@media (min-width: 760px) {
	.author-list--two {
		columns: 2;
		column-gap: var(--acw-space-7);
	}

	.author-list--two .author-list__item {
		break-inside: avoid;
	}
}

/* "Everyone" (parts/author-timeline.php): name and years | active years as a bar on a shared
   2004-to-now axis | post count. Hairline grid at the axis labels; the bar is the one mark. */
.timeline {
	--who: 11rem;
	--count: 11ch;
	--gap: var(--acw-space-4);
	position: relative;
	margin-top: var(--acw-space-5);
}

.timeline__axis,
.timeline__grid,
.timeline__row {
	display: grid;
	grid-template-columns: var(--who) 1fr var(--count);
	gap: var(--gap);
	align-items: center;
}

.timeline__axis {
	padding-bottom: var(--acw-space-2);
	border-bottom: var(--acw-rule-hair);
	font-family: var(--acw-mono);
	font-size: var(--acw-fs-label);
	color: var(--acw-muted);
}

.timeline__axis-track {
	position: relative;
	grid-column: 2;
	height: 1.4em;
}

.timeline__tick {
	position: absolute;
	top: 0;
	white-space: nowrap;
}

.timeline__tick--now {
	right: 0;
}

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

.timeline__row {
	position: relative;
	padding: var(--acw-space-2) 0;
	border-bottom: var(--acw-rule-hair);
}

.timeline__row[hidden] {
	display: none;
}

.timeline__who {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.timeline__name {
	color: var(--acw-ink);
	font-size: var(--acw-fs-ui);
	line-height: 1.3;
	text-decoration: none;
}

/* The whole row is the link. */
.timeline__name::after {
	content: "";
	position: absolute;
	inset: 0;
}

.timeline__row:hover {
	background: var(--acw-surface);
	box-shadow: -8px 0 0 var(--acw-surface), 8px 0 0 var(--acw-surface);
}

.timeline__row:hover .timeline__name {
	color: var(--acw-accent);
	text-decoration: underline;
}

.timeline__name:focus-visible {
	outline: none;
}

.timeline__row:has(.timeline__name:focus-visible) {
	outline: var(--acw-focus);
	outline-offset: 2px;
}

.timeline__years,
.timeline__count {
	font-family: var(--acw-mono);
	font-size: var(--acw-fs-label);
	color: var(--acw-muted);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.timeline__count {
	text-align: right;
}

/* Hairline grid lines at the axis labels, behind the rows (same columns, full height). */
.timeline__grid {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.timeline__grid-track {
	position: relative;
	grid-column: 2;
	height: 100%;
}

.timeline__line {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 1px;
	background: var(--acw-hairline);
}

.timeline__track {
	position: relative;
	height: 100%;
	min-height: 24px;
	pointer-events: none; /* positioned, so it would sit over the row's link and swallow clicks */
}

.timeline__bar {
	position: absolute;
	top: 50%;
	height: 6px;
	min-width: 6px;
	margin-top: -3px;
	border-radius: 3px;
	background: var(--acw-muted);
}

.timeline__row--now .timeline__bar {
	background: var(--acw-accent);
}

/* Phones: name and count on one line, the bar full width under them. */
@media (max-width: 599px) {
	.timeline__axis,
	.timeline__row {
		grid-template-columns: 1fr auto;
		row-gap: var(--acw-space-1);
	}

	/* No grid lines on phones: the bar sits on its own line under the name. */
	.timeline__grid {
		display: none;
	}

	.timeline__axis-track,
	.timeline__track {
		grid-column: 1 / -1;
		grid-row: 2;
	}

	.timeline__axis-track {
		grid-row: 1;
	}

	.timeline__who {
		flex-direction: row;
		align-items: baseline;
		gap: var(--acw-space-3);
	}

	.timeline__track {
		min-height: 12px;
	}
}

.author-list__item[hidden] {
	display: none;
}

/* List controls (/authors/, /podcast/episodes/; list-tools.js): a quiet, compact filter (tinted pill, no button), deliberately unlike the
   boxed site search with its accent button, plus a sort toggle. */
.list-tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--acw-space-3) var(--acw-space-5);
	margin-bottom: var(--acw-space-3);
}

.list-tools[hidden] {
	display: none;
}

.name-filter {
	display: inline-flex;
	align-items: center;
	gap: var(--acw-space-2);
	flex: 0 1 18rem;
	min-height: 40px;
	padding: 0 14px;
	border: 1px solid transparent;
	border-radius: var(--acw-radius-pill);
	background: var(--acw-surface);
	color: var(--acw-muted);
}

.name-filter:focus-within {
	border-color: var(--acw-accent);
	background: var(--acw-bg);
	outline: var(--acw-focus);
	outline-offset: var(--acw-focus-offset);
}

.list-tools__filter {
	flex: 1;
	min-width: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--acw-ink);
	font: var(--acw-fs-ui) / 1.4 var(--acw-sans); /* 16px: smaller and iOS zooms in on focus */
	outline: none;
}

.list-tools__filter::placeholder {
	color: var(--acw-muted);
}

.sort-toggle {
	display: inline-flex;
	align-items: center;
	gap: 2px;
}

.sort-toggle .filter__label {
	margin-right: var(--acw-space-2);
	font-size: var(--acw-fs-caption);
	color: var(--acw-text-2);
}

.sort-toggle button {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-height: 36px;
	padding: 0 10px;
	border: 0;
	border-radius: var(--acw-radius-sm);
	background: none;
	color: var(--acw-text-2);
	font: 500 var(--acw-fs-caption) / 1 var(--acw-sans);
	cursor: pointer;
}

.sort-toggle button:hover {
	color: var(--acw-ink);
}

.sort-toggle button[aria-pressed="true"] {
	background: var(--acw-hairline);
	color: var(--acw-ink);
}

.sort-toggle button:focus-visible {
	outline: var(--acw-focus);
	outline-offset: 1px;
}

.list-tools__status {
	margin: 0 0 var(--acw-space-2);
	font-family: var(--acw-mono);
	font-size: var(--acw-fs-label);
	color: var(--acw-muted);
}

.list-tools__status:empty {
	display: none;
}

/* Subscribe page. */
.subscribe__grid {
	display: grid;
	gap: var(--acw-space-5) var(--acw-space-7);
}

@media (min-width: 760px) {
	.subscribe__grid {
		grid-template-columns: 1fr 1fr;
	}
}

.subscribe__grid h2 {
	margin: 0 0 var(--acw-space-2);
	font-family: var(--acw-serif);
	font-size: 1.5rem;
	font-weight: 500;
	line-height: 1.2;
}

.subscribe__grid p {
	margin: 0 0 var(--acw-space-3);
	font-size: var(--acw-fs-ui-sm);
	color: var(--acw-text-2);
}

.subscribe__grid .chips {
	margin-bottom: var(--acw-space-3);
}

.subscribe__grid .plain-list li:last-child {
	border-bottom: 0;
}

@media (max-width: 599px) {
	.search-panel {
		padding: var(--acw-space-4);
	}

	.filter select {
		max-width: 11em;
	}
}

.subscribe__grid .plain-list a {
	color: var(--acw-accent);
}

.subscribe__grid .signup__form p {
	margin: 0;
}


/* ---------- Front page: one main column (articles, then episodes) + sidebar ---------- */

.front {
	display: grid;
	gap: var(--acw-space-7);
	max-width: var(--acw-max);
	margin: 0 auto;
	padding: 40px var(--acw-gutter) 0;
}

@media (min-width: 960px) {
	.front {
		grid-template-columns: minmax(0, 1fr) 300px;
		gap: var(--acw-space-8);
	}

	/* The podcast card starts level with the rule under "Latest articles" (the label's line and
	   padding above it), not at the top of the column. */
	.front__side {
		padding-top: calc(var(--acw-fs-label) * 1.4 + var(--acw-space-3));
	}

	/* ...and its artwork level with the first article's picture: the rule (2px) plus a list
	   item's top padding (28px); the same below, to match. */
	.front__side .podcast-box {
		padding-top: 30px;
		padding-bottom: 30px;
	}
}

.front__main {
	min-width: 0;
}

.front .list {
	max-width: none;
}

.front .list-item--lead .list-item__title {
	font-size: var(--acw-fs-lead);
}

.front__more {
	margin-top: var(--acw-space-4);
}


.front__side {
	display: flex;
	flex-direction: column;
	gap: var(--acw-space-6);
	min-width: 0;
}

.podcast-art {
	flex: none;
	border-radius: var(--acw-radius-sm);
	box-shadow: 0 0 0 1px var(--acw-hairline);
}

.podcast-box {
	display: flex;
	flex-direction: column;
	gap: var(--acw-space-3);
}

.podcast-box__show {
	display: flex;
	align-items: center;
	gap: var(--acw-space-4);
	color: var(--acw-ink);
	text-decoration: none;
}

.podcast-box__show .label {
	display: block;
}

.podcast-box__show:hover .label {
	color: var(--acw-accent);
}

.podcast-box__hosts {
	display: block;
	margin-top: 2px;
	font-size: var(--acw-fs-caption);
	color: var(--acw-text-2);
}

.podcast-box__new {
	margin-top: var(--acw-space-2);
}

.podcast-box__title {
	margin: 0;
	font-family: var(--acw-serif);
	font-size: 1.5rem;
	font-weight: 500;
	line-height: 1.2;
}

.podcast-box__title a {
	color: var(--acw-ink);
	text-decoration: none;
}

.podcast-box__title a:hover {
	color: var(--acw-accent);
	text-decoration: underline;
}

.podcast-box .player-card {
	margin: 0;
	padding: 0;
	background: none;
}

.podcast-box__listen {
	margin: var(--acw-space-2) 0 0;
	font-size: var(--acw-fs-caption);
	color: var(--acw-text-2);
}

.mini-list__more {
	margin: var(--acw-space-3) 0 0;
}

/* ---------- Play buttons, player card, sticky bar ---------- */

.play-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--acw-space-2);
	flex: none;
	border: 1px solid var(--acw-ink);
	background: var(--acw-bg);
	color: var(--acw-ink);
	font: 500 var(--acw-fs-ui-sm) / 1 var(--acw-sans);
	cursor: pointer;
}

.play-button .icon {
	width: 16px;
	height: 16px;
}

.play-button .icon--pause,
.play-button.is-playing .icon--play,
.player-bar.is-playing .icon--play {
	display: none;
}

.play-button.is-playing .icon--pause,
.player-bar.is-playing .icon--pause {
	display: block;
}

.play-button--pill {
	min-height: var(--acw-tap);
	padding: 0 18px 0 14px;
	border-radius: var(--acw-radius-pill);
}

.play-button--pill:hover {
	background: var(--acw-ink);
	color: var(--acw-inverse-text);
}

.play-button--round,
.play-button--small,
.play-button--bar {
	border-radius: 50%;
	border: 0;
	background: var(--acw-accent);
	color: var(--acw-inverse-text);
}

.play-button--round {
	width: 56px;
	height: 56px;
}

.play-button--round .icon {
	width: 22px;
	height: 22px;
}

.play-button--small {
	width: var(--acw-tap);
	height: var(--acw-tap);
}

.play-button--round:hover,
.play-button--small:hover {
	background: var(--acw-ink);
}

.list-item__play {
	flex: none;
	padding-top: 2px;
}

.player-card {
	display: flex;
	align-items: center;
	gap: var(--acw-space-4);
	margin-top: var(--acw-space-5);
	padding: var(--acw-space-4) var(--acw-space-5);
	border-radius: var(--acw-radius-lg);
	background: var(--acw-surface);
}

/* "Watch the video" under an episode's player card; the YouTube player opens in its place. */
.episode-video {
	margin: var(--acw-space-3) 0 0;
	font-size: var(--acw-fs-label);
}

.episode-video__link {
	display: inline-flex;
	align-items: center;
	gap: var(--acw-space-2);
	color: var(--acw-muted);
}

.episode-video__link:hover,
.episode-video__link:focus-visible {
	color: var(--acw-ink);
}

.episode-video--open,
.episode-video--poster {
	margin-top: var(--acw-space-4);
}

/* The thumbnail at the player's size, a play button on it, "Watch the video" in the corner. */
.episode-video__poster {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	border-radius: var(--acw-radius-lg);
	background: var(--acw-surface);
	color: var(--acw-inverse-text);
	text-decoration: none;
}

.episode-video__poster img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover; /* smaller thumbnails are 4:3 with black bars */
}

.episode-video__play {
	position: absolute;
	top: 50%;
	left: 50%;
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	margin: -36px 0 0 -36px;
	border-radius: 50%;
	background: var(--acw-accent);
	box-shadow: 0 2px 12px rgb(0 0 0 / 0.3);
	transition: transform 0.15s, background-color 0.15s;
}

.episode-video__play svg {
	margin-left: 3px; /* optical centre */
}

.episode-video__poster:hover .episode-video__play,
.episode-video__poster:focus-visible .episode-video__play {
	transform: scale(1.08);
	background: var(--acw-ink);
}

.episode-video__label {
	position: absolute;
	bottom: var(--acw-space-3);
	left: var(--acw-space-3);
	padding: var(--acw-space-1) var(--acw-space-3);
	border-radius: 999px;
	background: rgb(0 0 0 / 0.65);
	font-size: var(--acw-fs-label);
	color: #fff;
}

@media (prefers-reduced-motion: reduce) {
	.episode-video__play {
		transition: none;
	}
}

.episode-video--open iframe {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	border: 0;
	border-radius: var(--acw-radius-lg);
}

.player-card__main {
	flex: 1;
	min-width: 0;
}

.player-card__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--acw-space-2);
	margin-top: var(--acw-space-1);
}

.player-card__controls {
	display: flex;
	gap: var(--acw-space-1);
}

.player-time {
	font-family: var(--acw-mono);
	font-size: var(--acw-fs-label);
	color: var(--acw-muted);
	white-space: nowrap;
}

.player-ctl {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: var(--acw-tap);
	min-height: var(--acw-tap);
	padding: 0 var(--acw-space-2);
	border: 0;
	border-radius: var(--acw-radius-sm);
	background: none;
	color: var(--acw-ink);
	font: 500 var(--acw-fs-caption) / 1 var(--acw-mono);
	cursor: pointer;
}

.player-ctl:hover {
	background: var(--acw-hairline);
}

/* Range slider with a filled track (--progress is set by player.js). */
.player-seek {
	width: 100%;
	height: var(--acw-tap);
	margin: 0;
	background: transparent;
	appearance: none;
	cursor: pointer;
}

.player-seek::-webkit-slider-runnable-track {
	height: 4px;
	border-radius: 2px;
	background: linear-gradient(to right, var(--acw-accent) var(--progress, 0%), var(--acw-placeholder) var(--progress, 0%));
}

.player-seek::-moz-range-track {
	height: 4px;
	border-radius: 2px;
	background: linear-gradient(to right, var(--acw-accent) var(--progress, 0%), var(--acw-placeholder) var(--progress, 0%));
}

.player-seek::-webkit-slider-thumb {
	width: 14px;
	height: 14px;
	margin-top: -5px;
	border: 0;
	border-radius: 50%;
	background: var(--acw-accent);
	appearance: none;
}

.player-seek::-moz-range-thumb {
	width: 14px;
	height: 14px;
	border: 0;
	border-radius: 50%;
	background: var(--acw-accent);
}

.player-seek:disabled {
	cursor: default;
	opacity: 0.6;
}

.player-bar {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 50;
	display: flex;
	align-items: center;
	gap: var(--acw-space-3);
	padding: var(--acw-space-2) var(--acw-gutter);
	padding-bottom: max(var(--acw-space-2), env(safe-area-inset-bottom));
	background: var(--acw-panel-bg);
	color: var(--acw-panel-text);
	box-shadow: 0 -4px 16px var(--acw-shadow);
}

.player-bar[hidden] {
	display: none;
}

body.has-player-bar {
	padding-bottom: 76px;
}

.play-button--bar {
	width: var(--acw-tap);
	height: var(--acw-tap);
	background: var(--acw-panel-text);
	color: var(--acw-panel-bg);
}

.player-bar__info {
	flex: 1 1 160px;
	min-width: 0;
}

.player-bar__label {
	display: block;
	font-family: var(--acw-mono);
	font-size: 11px;
	letter-spacing: var(--acw-tracking-section);
	text-transform: uppercase;
	color: var(--acw-panel-muted);
}

.player-bar__title {
	display: block;
	overflow: hidden;
	color: var(--acw-panel-text);
	font-size: var(--acw-fs-ui-sm);
	font-weight: 500;
	text-decoration: none;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.player-bar__title:hover {
	color: var(--acw-panel-text);
	text-decoration: underline;
}

.player-bar__progress {
	display: none;
	flex: 2 1 300px;
	align-items: center;
	gap: var(--acw-space-3);
}

.player-bar .player-time {
	color: var(--acw-panel-muted);
}

.player-bar .player-seek::-webkit-slider-runnable-track {
	background: linear-gradient(to right, var(--acw-panel-text) var(--progress, 0%), var(--acw-panel-border) var(--progress, 0%));
}

.player-bar .player-seek::-moz-range-track {
	background: linear-gradient(to right, var(--acw-panel-text) var(--progress, 0%), var(--acw-panel-border) var(--progress, 0%));
}

.player-bar .player-seek::-webkit-slider-thumb {
	background: var(--acw-panel-text);
}

.player-bar .player-seek::-moz-range-thumb {
	background: var(--acw-panel-text);
}

.player-bar .player-ctl {
	color: var(--acw-panel-text);
}

.player-bar .player-ctl:hover {
	background: var(--acw-panel-border);
}

.player-bar .player-ctl--speed {
	border: 1px solid var(--acw-panel-border);
}

@media (min-width: 760px) {
	.player-bar__progress {
		display: flex;
	}
}

/* On phones the bar is a slim progress line along its top edge. */
@media (max-width: 759px) {
	.player-bar::before {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		height: 2px;
		width: var(--bar-progress, 0%);
		background: var(--acw-panel-text);
	}
}

/* ---------- Podcast page ---------- */

.podcast-hero {
	background: var(--acw-panel-bg);
	color: var(--acw-panel-text);
}

.podcast-hero__inner {
	display: grid;
	gap: var(--acw-space-6);
	align-items: start;
	max-width: var(--acw-max);
	margin: 0 auto;
	padding: var(--acw-space-7) var(--acw-gutter);
}

@media (min-width: 760px) {
	.podcast-hero__inner {
		grid-template-columns: 200px 1fr;
		gap: var(--acw-space-7);
		padding-block: var(--acw-space-8);
	}
}

/* Wide screens only: on phones the artwork pushes the title below the fold. */
.podcast-hero__art {
	display: none;
	width: 200px;
	height: auto;
	border-radius: var(--acw-radius-md);
}

@media (min-width: 760px) {
	.podcast-hero__art {
		display: block;
	}
}

.podcast-hero .label {
	color: var(--acw-panel-muted);
}

.podcast-hero__title {
	margin: var(--acw-space-3) 0 0;
	font-family: var(--acw-serif);
	font-size: clamp(2.25rem, 1.6rem + 2.8vw, 3.75rem);
	font-weight: 500;
	line-height: var(--acw-lh-tight);
	letter-spacing: var(--acw-tracking-display);
}

.podcast-hero__desc {
	max-width: 52ch;
	margin: var(--acw-space-4) 0 0;
	font-family: var(--acw-serif);
	font-size: var(--acw-fs-standfirst);
	line-height: 1.45;
	color: var(--acw-panel-text);
}

.podcast-hero__people {
	margin: var(--acw-space-3) 0 var(--acw-space-5);
	font-size: var(--acw-fs-ui-sm);
	color: var(--acw-panel-muted);
}

.podcast-hero__people a {
	color: var(--acw-panel-text);
	text-decoration: underline;
	text-decoration-color: var(--acw-panel-border);
	text-underline-offset: 3px;
}

.podcast-hero__people a:hover {
	text-decoration-color: currentColor;
}

.chips--inverse .chip {
	border-color: var(--acw-panel-border);
	background: transparent;
	color: var(--acw-panel-text);
	font-family: var(--acw-sans);
	cursor: pointer;
}

.chips--inverse .chip:hover {
	border-color: var(--acw-panel-text);
	color: var(--acw-panel-text);
}

.podcast-hero__support {
	display: flex;
	flex-wrap: wrap;
	gap: var(--acw-space-3) var(--acw-space-4);
	align-items: center;
	margin: var(--acw-space-5) 0 0;
	font-size: var(--acw-fs-caption);
	color: var(--acw-panel-muted);
}

.button--light {
	background: var(--acw-panel-text);
	color: var(--acw-panel-bg);
}

.button--light:hover {
	background: var(--acw-panel-hover);
	color: var(--acw-panel-bg);
}

.podcast-page__body {
	max-width: var(--acw-max);
	margin: 0 auto;
	padding: var(--acw-space-7) var(--acw-gutter) 0;
}

/* The latest episode across two of three columns, "New to Wonk?" beside it; on tablets the
   latest across the top, then "New to Wonk?"; one column on phones. */
.podcast-row {
	display: grid;
	gap: var(--acw-space-7);
	align-items: start;
}

@media (min-width: 1180px) {
	.podcast-row {
		grid-template-columns: repeat(3, 1fr);
	}

	.podcast-latest {
		grid-column: span 2;
	}
}

/* All topics: the threads as an index (parts/podcast-browse.php). */
.thread-index {
	margin: 0 0 var(--acw-space-6);
	padding: 0;
	list-style: none;
}

/* Down each column, then across, so neighbouring threads (the two on North Korea) stack. */
@media (min-width: 640px) {
	.thread-index {
		columns: 2;
		column-gap: var(--acw-space-7);
	}
}

@media (min-width: 1180px) {
	.thread-index {
		columns: 3;
	}
}

.thread-index li {
	break-inside: avoid;
}

.thread-index a {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: var(--acw-space-1) var(--acw-space-3);
	align-items: baseline;
	padding: var(--acw-space-4) 0;
	border-bottom: var(--acw-rule-hair);
	color: var(--acw-ink);
	text-decoration: none;
}

.thread-index__name {
	font-family: var(--acw-serif);
	font-size: var(--acw-fs-small-hed);
	font-weight: 500;
	line-height: 1.25;
}

.thread-index a:hover .thread-index__name {
	color: var(--acw-accent);
	text-decoration: underline;
}

.thread-index__count {
	font-family: var(--acw-mono);
	font-size: var(--acw-fs-label);
	color: var(--acw-muted);
}

.thread-index__desc {
	grid-column: 1 / -1;
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	font-size: var(--acw-fs-caption);
	line-height: 1.45;
	color: var(--acw-text-2);
}

/* Phones: names and counts only (each thread page has its description). */
@media (max-width: 639px) {
	.thread-index__desc {
		display: none;
	}
}

/* "If you like ACW, you might also like": the hosts' other shows, after all topics. Small art
   beside the name, four across on wide screens, two on tablets, a list on phones. */
.podcast-also__label {
	margin-top: var(--acw-space-8);
}

.podcast-also {
	display: grid;
	gap: 0 var(--acw-space-7);
	margin: 0 0 var(--acw-space-6);
	padding: 0;
	list-style: none;
}

@media (min-width: 640px) {
	.podcast-also {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1180px) {
	.podcast-also {
		grid-template-columns: repeat(4, 1fr);
	}
}

.podcast-also li {
	display: flex;
}

.podcast-also a {
	flex: 1;
	display: grid;
	grid-template-columns: 80px 1fr;
	grid-template-rows: auto 1fr;
	gap: var(--acw-space-1) var(--acw-space-4);
	padding: var(--acw-space-4) 0;
	border-bottom: var(--acw-rule-hair);
	color: var(--acw-ink);
	text-decoration: none;
}

.podcast-also__art {
	grid-row: 1 / 3;
	width: 80px;
	height: 80px;
	border-radius: var(--acw-radius-xs);
	outline: 1px solid var(--acw-hairline);
	outline-offset: -1px;
}

.podcast-also__name {
	font-family: var(--acw-serif);
	font-size: var(--acw-fs-ui);
	font-weight: 500;
	line-height: 1.25;
}

.podcast-also a:hover .podcast-also__name {
	color: var(--acw-accent);
	text-decoration: underline;
}

.podcast-also__what {
	font-size: var(--acw-fs-caption);
	line-height: 1.45;
	color: var(--acw-text-2);
}

/* Browse: the usual suspects, guests and the latest video side by side, then all topics. */
.podcast-browse {
	margin-top: var(--acw-space-8);
}

.podcast-browse__quick {
	display: grid;
	gap: var(--acw-space-7);
	align-items: start;
	margin-bottom: var(--acw-space-8);
}

@media (min-width: 760px) {
	.podcast-browse__quick {
		grid-template-columns: repeat(3, 1fr);
	}
}

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

.browse-list a {
	display: flex;
	gap: var(--acw-space-3);
	justify-content: space-between;
	align-items: baseline;
	min-height: var(--acw-tap);
	padding: var(--acw-space-3) 0;
	border-bottom: var(--acw-rule-hair);
	font-family: var(--acw-serif);
	font-size: var(--acw-fs-ui);
	line-height: 1.3;
	color: var(--acw-ink);
	text-decoration: none;
}

.browse-list a:hover span:first-child {
	color: var(--acw-accent);
	text-decoration: underline;
}

.browse-list__count {
	font-family: var(--acw-mono);
	font-size: var(--acw-fs-label);
	color: var(--acw-muted);
	white-space: nowrap;
}

.browse-list__note {
	margin: var(--acw-space-3) 0 0;
	font-size: var(--acw-fs-caption);
	color: var(--acw-muted);
}

.browse-list__more {
	margin-top: var(--acw-space-4);
}

/* "Visual learner?": the latest video's thumbnail on a panel, and a link to all of them. */
.video-panel {
	display: grid;
	gap: var(--acw-space-2);
	margin-top: var(--acw-space-4);
	padding: var(--acw-space-4);
	border-radius: var(--acw-radius-lg);
	background: var(--acw-surface);
}

.video-panel__thumb {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	margin-bottom: var(--acw-space-2);
	overflow: hidden;
	border-radius: var(--acw-radius-sm);
	background: var(--acw-hairline);
}

.video-panel__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.video-panel__play {
	position: absolute;
	top: 50%;
	left: 50%;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin: -24px 0 0 -24px;
	border-radius: 50%;
	background: var(--acw-accent);
	color: var(--acw-inverse-text);
}

.video-panel__play svg {
	margin-left: 3px;
}

.video-panel__thumb:hover .video-panel__play {
	background: var(--acw-ink);
}

.video-panel__title {
	font-family: var(--acw-serif);
	font-size: var(--acw-fs-small-hed);
	font-weight: 500;
	line-height: 1.25;
	color: var(--acw-ink);
	text-decoration: none;
}

.video-panel__title:hover {
	color: var(--acw-accent);
	text-decoration: underline;
}

.video-panel__meta {
	margin: 0;
	font-family: var(--acw-mono);
	font-size: var(--acw-fs-label);
	color: var(--acw-muted);
}

.video-panel__all {
	margin-top: var(--acw-space-3);
}

/* "The usual suspects": a thread-list row with a descriptor under the name. */
.subject-list__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

/* Underline the name only (beats .thread-list a:hover span:first-child). */
.thread-list.subject-list a:hover span.subject-list__text {
	text-decoration: none;
}

.thread-list.subject-list a:hover .subject-list__name {
	text-decoration: underline;
}

.subject-list__what {
	font-family: var(--acw-sans);
	font-size: var(--acw-fs-caption);
	line-height: 1.4;
	color: var(--acw-muted);
}

.podcast-latest .player-card {
	margin-top: var(--acw-space-4);
}

.podcast-latest .meta-line {
	margin-top: var(--acw-space-5);
}

.podcast-latest__title {
	margin: var(--acw-space-2) 0 0;
	font-family: var(--acw-serif);
	font-size: var(--acw-fs-headline);
	font-weight: 500;
	line-height: var(--acw-lh-hed);
	letter-spacing: var(--acw-tracking-hed);
}

.podcast-latest__title a {
	color: var(--acw-ink);
	text-decoration: none;
}

.podcast-latest__title a:hover {
	color: var(--acw-accent);
	text-decoration: underline;
}

.podcast-latest__summary {
	margin: var(--acw-space-4) 0 var(--acw-space-2);
	font-family: var(--acw-serif);
	font-size: var(--acw-fs-ui);
	line-height: 1.55;
	color: var(--acw-text-2);
}

/* "New to Wonk?" (parts/podcast-start.php). */
.start-list {
	display: grid;
	margin: 0;
	padding: 0;
	list-style: none;
}

.start-item {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: var(--acw-space-3);
	align-items: start;
	padding: var(--acw-space-4) 0;
	border-bottom: var(--acw-rule-hair);
}

.start-item__title {
	font-family: var(--acw-serif);
	font-size: var(--acw-fs-small-hed);
	font-weight: 500;
	line-height: 1.25;
	color: var(--acw-ink);
	text-decoration: none;
}

.start-item__title:hover {
	color: var(--acw-accent);
	text-decoration: underline;
}

.start-item__meta {
	display: flex;
	gap: var(--acw-space-3);
	margin: var(--acw-space-1) 0 0;
	font-family: var(--acw-mono);
	font-size: var(--acw-fs-label);
	color: var(--acw-muted);
}

.podcast-start__all {
	margin-top: var(--acw-space-5);
}

/* Thread lists (a thread page's "Other threads", subject pages). */
.thread-list {
	display: grid;
	margin: 0;
	padding: 0;
	list-style: none;
}

.thread-list a {
	display: flex;
	gap: var(--acw-space-3);
	justify-content: space-between;
	align-items: baseline;
	min-height: var(--acw-tap);
	padding: var(--acw-space-3) 0;
	border-bottom: var(--acw-rule-hair);
	font-family: var(--acw-serif);
	font-size: 1.125rem;
	line-height: 1.3;
	color: var(--acw-ink);
	text-decoration: none;
}

.thread-list a:hover {
	color: var(--acw-accent);
}

.thread-list a:hover span:first-child {
	text-decoration: underline;
}

.thread-list__count {
	font-family: var(--acw-mono);
	font-size: var(--acw-fs-label);
	color: var(--acw-muted);
}

/* Two columns where they have the page's width (a thread page's "Other threads"); one in the
   podcast page's row of three. */
@media (min-width: 640px) {
	.hub__section .thread-list {
		grid-template-columns: 1fr 1fr;
		column-gap: var(--acw-space-7);
	}
}

/* Pages whose content spans two of the three grid columns, the third empty (Subscribe, 404). */
/* Below the three-column switch these stay at about the width they have above it (720px)
   instead of going full width, so nothing widens as the screen narrows. */
.hub--two > :not(.hub__header) {
	max-width: 720px;
}

@media (min-width: 1180px) {
	.hub--two > :not(.hub__header) {
		max-width: calc((100% - 2 * var(--acw-space-7)) * 2 / 3 + var(--acw-space-7));
	}
}

/* Year indexes: /articles/ (page-articles.php, one line an article) and /podcast/episodes/
   (podcast-episodes.php, episode rows), under year headings. Wide screens: the list across two
   of the three columns, the years in the third, kept in view; narrower, the years as a row
   above the list, both capped at 720px (like .hub--two). year-index.js: the filter. */
.year-index__years ul {
	display: flex;
	flex-wrap: wrap;
	gap: var(--acw-space-2) var(--acw-space-5);
	margin: 0 0 var(--acw-space-6);
	padding: 0;
	list-style: none;
	font-size: var(--acw-fs-caption);
}

.year-index__years a {
	color: var(--acw-text-2);
	text-decoration: none;
}

.year-index__years a:hover {
	color: var(--acw-accent);
	text-decoration: underline;
}

.year-index__years,
.year-index__list {
	max-width: 720px;
}

.year-index__year {
	scroll-margin-top: var(--acw-space-5);
	/* /articles/' ~3,700 rows: lay out only the years on screen (measured: a slow phone's load
	   and clearing the filter take a third as long). The size is a guess until a year is drawn. */
	content-visibility: auto;
	contain-intrinsic-size: auto 4000px;
}

.year-index__year + .year-index__year {
	margin-top: var(--acw-space-7);
}

.year-index__year-head {
	display: flex;
	align-items: baseline;
	gap: var(--acw-space-4);
	margin: 0 0 var(--acw-space-2);
	padding-bottom: var(--acw-space-2);
	border-bottom: var(--acw-rule-section);
}

.year-index__year-title {
	margin: 0 auto 0 0;
	font-family: var(--acw-serif);
	font-size: var(--acw-fs-headline);
	font-weight: 500;
	line-height: var(--acw-lh-hed);
}

.year-index__count,
.year-index__to-years {
	font-family: var(--acw-mono);
	font-size: var(--acw-fs-label);
	letter-spacing: var(--acw-tracking-label);
	text-transform: uppercase;
	color: var(--acw-muted);
}

.year-index__to-years {
	text-decoration: none;
}

.year-index__to-years:hover {
	color: var(--acw-accent);
	text-decoration: underline;
}

.year-index__years {
	scroll-margin-top: var(--acw-space-5);
}

/* The episodes page's lists fill the list column (.hub--thread caps them otherwise). */
.hub .year-index .episode-list {
	max-width: none;
}

.year-index__year ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

.year-index li[hidden] {
	display: none;
}

/* /articles/: a row is date | title | author; on phones the author goes under the title. */
.article-index .year-index__year li {
	display: grid;
	grid-template-columns: 4.25rem minmax(0, 1fr) auto;
	gap: 0 var(--acw-space-4);
	align-items: baseline;
	padding: 6px 0;
	border-bottom: var(--acw-rule-hair);
}

.year-index__tools,
.year-index__list .list-tools__status {
	margin-bottom: var(--acw-space-6);
}

.article-index .year-index__year time {
	font-family: var(--acw-mono);
	font-size: var(--acw-fs-label);
	letter-spacing: var(--acw-tracking-label);
	text-transform: uppercase;
	color: var(--acw-muted);
	white-space: nowrap;
}

.article-index__title {
	font-family: var(--acw-serif);
	font-size: var(--acw-fs-ui);
	line-height: 1.35;
	color: var(--acw-ink);
	text-decoration: none;
}

.article-index__author {
	font-size: var(--acw-fs-caption);
	color: var(--acw-muted);
	text-decoration: none;
	white-space: nowrap;
}

.article-index__title:hover,
.article-index__author:hover {
	color: var(--acw-accent);
	text-decoration: underline;
}

@media (max-width: 599px) {
	.article-index .year-index__year li {
		grid-template-columns: 3.75rem minmax(0, 1fr);
	}

	.article-index__author {
		grid-column: 2;
	}
}

@media (min-width: 1180px) {
	.year-index {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0 var(--acw-space-7);
		align-items: start;
	}

	.year-index__list {
		grid-column: 1 / 3;
		grid-row: 1;
		max-width: none;
	}

	/* The years stay in view here: no need for the way back. */
	.year-index__to-years {
		display: none;
	}

	.year-index__years {
		grid-column: 3;
		grid-row: 1;
		position: sticky;
		top: var(--acw-space-5);
		max-width: none;
	}

	.year-index__years ul {
		display: grid;
		grid-template-columns: repeat(3, auto);
		justify-content: start;
		gap: var(--acw-space-2) var(--acw-space-6);
	}
}

/* The 404 photo stays at its own width (672px) inside the two columns. */
.hub--two .not-found__figure {
	max-width: 672px;
}

/* Thread, "usual suspects" and all-episodes pages: the podcast and authors pages' three-column
   grid, with the lists across two columns and the third empty on wide screens; below that,
   capped at 720px rather than full width (see .hub--two). The two-column "Other threads" list
   lines up with the same columns. */
.hub--thread .episode-list,
.hub--thread .thread-jump,
.hub--thread .thread-section__title,
.hub--thread .list-tools,
.hub--thread .hub__more,
.hub--thread .hub__section .section-label,
.hub--thread .hub__section .thread-list,
.hub--guest .author-box,
.hub--guests .guest-list {
	max-width: 720px;
}

@media (min-width: 1180px) {
	.hub--thread .episode-list,
	.hub--thread .thread-jump,
	.hub--thread .thread-section__title,
	.hub--thread .list-tools,
	.hub--thread .hub__more,
	.hub--thread .hub__section .section-label,
	.hub--thread .hub__section .thread-list,
	.hub--guest .author-box,
	.hub--guests .guest-list {
		max-width: calc((100% - 2 * var(--acw-space-7)) * 2 / 3 + var(--acw-space-7));
	}
}

/* "26 episodes", as /authors/ shows "161 posts"; neither it nor "2014–2019" breaks. */
.guest-list .thread-list__count,
.guest-list__years {
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

/* Podcast list pages (threads, usual suspects, guests): no full-width rule above a section
   after the list ("Other threads", "Also writes for…"); its label's own rule, at the list's
   width, marks it. */
.hub--thread .hub__section {
	padding-top: 0;
	border-top: 0;
}

/* "Also writes for Arms Control Wonk": the author box is its own panel, so the label needs no
   rule under it (the rule stays where a list follows a label). */
.guest-writing .section-label {
	border-bottom: 0;
}

/* The row highlight of /authors/ (.timeline__row:hover): a band past the text on both sides. */
.guest-list a:hover {
	background: var(--acw-surface);
	box-shadow: -8px 0 0 var(--acw-surface), 8px 0 0 var(--acw-surface);
}

/* Only the name underlines (beats .thread-list a:hover span:first-child). */
.thread-list.guest-list a:hover span.guest-list__years {
	text-decoration: none;
}

/* /podcast/guests/ has the /authors/ page's geometry: full width below 1180px (not capped at
   720px like the other thread pages), two of three columns above. */
@media (max-width: 1179px) {
	.hub--guests .list-tools,
	.hub--guests .guest-list {
		max-width: none;
	}
}

.hub--thread .hub__header .meta-line {
	margin-top: var(--acw-space-3);
}

.podcast-recent__all {
	margin-top: var(--acw-space-5);
}

.hub__more {
	margin-top: var(--acw-space-6);
}

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

.episode-row {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: var(--acw-space-2) var(--acw-space-4);
	align-items: start;
	padding: var(--acw-space-4) 0;
	border-bottom: var(--acw-rule-hair);
}

.episode-row__title {
	margin: 0;
	font-family: var(--acw-serif);
	font-size: var(--acw-fs-small-hed);
	font-weight: 500;
	line-height: 1.25;
}

.episode-row__title a {
	color: var(--acw-ink);
	text-decoration: none;
}

.episode-row__title a:hover {
	color: var(--acw-accent);
	text-decoration: underline;
}

.episode-row__summary {
	margin: var(--acw-space-1) 0 0;
	font-size: var(--acw-fs-caption);
	line-height: 1.5;
	color: var(--acw-text-2);
}

.episode-row__meta {
	grid-column: 2;
	display: flex;
	gap: var(--acw-space-3);
	margin: 0;
	font-family: var(--acw-mono);
	font-size: var(--acw-fs-label);
	color: var(--acw-muted);
	white-space: nowrap;
}

/* A long thread's sections (acw_thread_sections()): a quiet jump list under the header, then
   each section under a label with its count. */
.thread-jump {
	display: flex;
	flex-wrap: wrap;
	gap: var(--acw-space-2) var(--acw-space-5);
	margin: 0 0 var(--acw-space-6);
	font-size: var(--acw-fs-caption);
}

.thread-jump a {
	color: var(--acw-text-2);
	text-decoration: none;
}

.thread-jump a:hover {
	color: var(--acw-accent);
	text-decoration: underline;
}

.thread-jump span,
.thread-section__count {
	font-family: var(--acw-mono);
	font-size: var(--acw-fs-label);
	color: var(--acw-muted);
}

.thread-section + .thread-section {
	margin-top: var(--acw-space-7);
}

.thread-section {
	scroll-margin-top: var(--acw-space-5);
}

.thread-section__title {
	display: flex;
	justify-content: space-between;
	gap: var(--acw-space-3);
}

/* A recurring series on a thread page, folded into one row (taxonomy-acw_thread.php): a
   chevron where the play button would be; opens to its episodes, oldest first, indented. */
.episode-series {
	border-bottom: var(--acw-rule-hair);
}

.episode-series summary {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: var(--acw-space-2) var(--acw-space-4);
	align-items: start;
	padding: var(--acw-space-4) 0;
	cursor: pointer;
	list-style: none;
}

.episode-series summary::-webkit-details-marker {
	display: none;
}

.episode-series__mark {
	display: grid;
	place-items: center;
	width: var(--acw-tap);
	height: var(--acw-tap);
	border: 1px solid var(--acw-border);
	border-radius: 50%;
	color: var(--acw-ink);
}

.episode-series__mark .icon {
	transition: transform 0.15s;
}

@media (prefers-reduced-motion: reduce) {
	.episode-series__mark .icon {
		transition: none;
	}
}

.episode-series details[open] .episode-series__mark .icon {
	transform: rotate(90deg);
}

.episode-series summary:hover .episode-series__mark {
	border-color: var(--acw-ink);
}

.episode-series__name {
	display: block;
	font-family: var(--acw-serif);
	font-size: var(--acw-fs-small-hed);
	font-weight: 500;
	line-height: 1.25;
	color: var(--acw-ink);
}

.episode-series summary:hover .episode-series__name {
	color: var(--acw-accent);
	text-decoration: underline;
}

.episode-series__what {
	display: block;
	margin-top: var(--acw-space-1);
	font-size: var(--acw-fs-caption);
	line-height: 1.5;
	color: var(--acw-text-2);
}

.episode-series__meta {
	grid-column: 2;
	display: flex;
	gap: var(--acw-space-3);
	white-space: nowrap;
	font-family: var(--acw-mono);
	font-size: var(--acw-fs-label);
	color: var(--acw-muted);
}

.hub--thread .episode-series__list {
	max-width: none; /* inside the thread's list, which is already capped */
	margin-left: calc(var(--acw-tap) + var(--acw-space-4));
	border-top: var(--acw-rule-hair);
}

.episode-series__list .episode-row:last-child {
	border-bottom: 0;
}

/* /podcast/video/: a thumbnail in place of the play button, linking to the episode. */
.episode-row__thumb {
	position: relative;
	display: block;
	width: 112px;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--acw-radius-xs);
	background: var(--acw-surface);
}

.episode-row__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.episode-row__thumb-play {
	position: absolute;
	top: 50%;
	left: 50%;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	margin: -16px 0 0 -16px;
	border-radius: 50%;
	background: var(--acw-accent);
	color: var(--acw-inverse-text);
}

.episode-row__thumb-play svg {
	margin-left: 2px;
}

.episode-row__thumb:hover .episode-row__thumb-play {
	background: var(--acw-ink);
}

@media (min-width: 760px) {
	.episode-row__thumb {
		width: 160px;
	}
}

@media (min-width: 760px) {
	.episode-row,
	.episode-series summary {
		grid-template-columns: auto 1fr auto;
	}

	.episode-row__meta,
	.episode-series__meta {
		grid-column: auto;
		flex-direction: column;
		align-items: flex-end;
		gap: 2px;
		padding-top: 4px;
	}
}

/* After an episode. */
.podcast-follow__show {
	display: flex;
	align-items: center;
	gap: var(--acw-space-4);
}

.podcast-follow__name {
	margin: 0;
	font-family: var(--acw-serif);
	font-size: 1.375rem;
	font-weight: 500;
	line-height: 1.2;
}

.podcast-follow__hosts {
	margin: 2px 0 0;
	font-size: var(--acw-fs-caption);
	color: var(--acw-text-2);
}

/* As the author box's bio. */
.podcast-follow__description {
	margin: var(--acw-space-3) 0 0;
	font-size: var(--acw-fs-ui-sm);
	color: var(--acw-text-2);
}

.podcast-follow__links {
	display: flex;
	flex-wrap: wrap;
	gap: var(--acw-space-2) var(--acw-space-5);
	align-items: center;
	margin: var(--acw-space-3) 0 0;
	font-size: var(--acw-fs-ui-sm);
}

/* On phones an episode's Play button goes under its text instead of squeezing it. */
@media (max-width: 599px) {
	.list-item:has(.list-item__play) {
		flex-wrap: wrap;
	}

	.list-item__play {
		order: 2;
		flex-basis: 100%;
		padding-top: 0;
	}
}

/* ---------- Discovery (milestone 4) ---------- */

.older-notice {
	display: flex;
	gap: var(--acw-space-3);
	align-items: flex-start;
	max-width: var(--acw-measure);
	margin-bottom: var(--acw-space-6);
	padding: 14px 18px;
	border-radius: var(--acw-radius-md);
	background: var(--acw-surface);
	font-size: var(--acw-fs-ui-sm);
	line-height: 1.5;
	color: var(--acw-text-2);
}

.older-notice svg {
	flex: none;
	margin-top: 1px;
}

.older-notice p {
	margin: 0;
}

.older-notice strong {
	color: var(--acw-ink);
	font-weight: 600;
}

.related {
	display: grid;
	gap: var(--acw-space-6) var(--acw-space-7);
	max-width: var(--acw-max-article);
	margin: var(--acw-space-8) auto 0;
	padding: var(--acw-space-5) var(--acw-gutter) 0;
}

.related::before {
	content: "";
	grid-column: 1 / -1;
	border-top: var(--acw-rule-section);
	margin-top: calc(-1 * var(--acw-space-5));
}

@media (min-width: 760px) {
	.related {
		grid-template-columns: 1fr 1fr;
	}
}

.related__label {
	padding-bottom: var(--acw-space-3);
	border-bottom: var(--acw-rule-hair);
}

/* An episode's group heading links to the group's page. */
.related__label a {
	color: inherit;
	text-decoration: none;
}

.related__label a:hover {
	color: var(--acw-accent);
	text-decoration: underline;
}

.related__all {
	display: inline-flex;
	margin-top: var(--acw-space-3);
	font-size: var(--acw-fs-ui-sm);
}

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

.related__list li {
	padding: var(--acw-space-3) 0;
	border-bottom: var(--acw-rule-hair);
}

.related__title {
	display: block;
	font-family: var(--acw-serif);
	font-size: var(--acw-fs-small-hed);
	line-height: 1.25;
	color: var(--acw-ink);
	text-decoration: none;
}

.related__title:hover {
	color: var(--acw-accent);
	text-decoration: underline;
}

.related__meta {
	display: block;
	margin-top: var(--acw-space-1);
	font-family: var(--acw-mono);
	font-size: 12px;
	color: var(--acw-muted);
}

.related__type {
	color: var(--acw-accent);
}

.on-this-day__title,
.mini-list__title {
	padding-bottom: var(--acw-space-3);
	border-bottom: var(--acw-rule-hair);
}

.on-this-day__list,
.mini-list__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.on-this-day__list li,
.mini-list__list li {
	display: grid;
	grid-template-columns: 3.2em 1fr;
	gap: var(--acw-space-3);
	padding: var(--acw-space-3) 0;
	border-bottom: var(--acw-rule-hair);
}

.on-this-day__year,
.mini-list__when {
	padding-top: 3px;
	font-family: var(--acw-mono);
	font-size: var(--acw-fs-label);
	color: var(--acw-muted);
}

.on-this-day__list a,
.mini-list__list a {
	font-family: var(--acw-serif);
	font-size: 1.1875rem;
	line-height: 1.3;
	color: var(--acw-ink);
	text-decoration: none;
}

.on-this-day__list a:hover,
.mini-list__list a:hover {
	color: var(--acw-accent);
	text-decoration: underline;
}

.collection-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: var(--acw-space-4);
	margin: 0 0 var(--acw-space-4);
	padding: 0;
	list-style: none;
}

.collection-card {
	display: flex;
	flex-direction: column;
	gap: var(--acw-space-2);
	height: 100%;
	color: var(--acw-ink);
	text-decoration: none;
}

.collection-card:hover {
	background: var(--acw-hairline);
	color: var(--acw-ink);
}

.collection-card__title {
	font-family: var(--acw-serif);
	font-size: 1.375rem;
	font-weight: 500;
	line-height: 1.2;
}

.collection-card__desc {
	font-size: var(--acw-fs-caption);
	color: var(--acw-text-2);
}

.collection-card__count {
	margin-top: auto;
	font-family: var(--acw-mono);
	font-size: var(--acw-fs-label);
	color: var(--acw-muted);
}

/* Podcast threads on /collections/: dark cards, after the podcast page's hero. */
.collection-cards--dark .collection-card {
	border: 1px solid var(--acw-panel-border);
	background: var(--acw-panel-card-bg);
	color: var(--acw-panel-text);
}

.collection-cards--dark .collection-card:hover {
	background: var(--acw-panel-card-bg);
	border-color: var(--acw-panel-muted);
	color: var(--acw-panel-text);
}

.collection-cards--dark .collection-card:hover .collection-card__title {
	color: var(--acw-panel-hover);
}

.collection-cards--dark .collection-card__desc,
.collection-cards--dark .collection-card__count {
	color: var(--acw-panel-muted);
}

/* "Show all 16" under a collapsed row of cards (collections.js). */
button.collapse-toggle {
	font-family: var(--acw-sans);
	cursor: pointer;
}

/* .chip sets display, which would override [hidden]: a section with nothing to hide has no button. */
button.collapse-toggle[hidden] {
	display: none;
}

.collection-cards > li[hidden] {
	display: none;
}

.hub__section-intro {
	margin: calc(-1 * var(--acw-space-3)) 0 var(--acw-space-5);
	font-size: var(--acw-fs-ui-sm);
	color: var(--acw-text-2);
}

.hub--collection .list {
	max-width: 860px;
}

/* The description as a standfirst, under a short accent rule: sets it apart from the
   excerpts below, which share its serif, without the left bar that marks a blockquote. */
.collection-intro {
	margin-top: var(--acw-space-5);
}

.collection-intro::before {
	content: "";
	display: block;
	width: 40px;
	height: 3px;
	margin-bottom: var(--acw-space-4);
	background: var(--acw-accent);
}

/* "12 posts" heads the list, over the section rule, so the header visibly ends here. */
.collection-count {
	max-width: 860px;
	margin-top: var(--acw-space-7);
}

.collection-count + .list .list-item:first-child {
	padding-top: var(--acw-space-5);
}

@media (min-width: 960px) {
	.explore__cols {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: 1fr;
	}
}

.mini-list__list li {
	grid-template-columns: 4.2em 1fr;
}

/* Thumbnail, title, date on the right. */
.mini-list--episodes .mini-list__list li {
	grid-template-columns: 40px 1fr auto;
	align-items: start;
}

.mini-list--episodes .mini-list__when {
	text-align: right;
	white-space: nowrap;
}

/* Phones: a small thumbnail, so the excerpt keeps a readable width. */
@media (max-width: 599px) {
	.list-item {
		gap: var(--acw-space-4);
	}

	.list-item__thumb {
		width: 88px;
	}

	.list-item__thumb img {
		aspect-ratio: 1;
	}
}
