/*
Theme Name: Vintage 66
Theme URI: https://vintage66.blog/
Description: A gig-poster index for a lifetime of live music. Concerts and writing share one year-by-year index; concert pages read like a poster with the story underneath. Designed for the Vintage 66 Core plugin (Concert post type) and the ActivityPub plugin. Colours, wordmark, home page index, concert pages and Fediverse text are set in Appearance › Customize › Vintage 66.
Version: 1.0.7
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.0
Author: Vintage 66
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vintage66
Tags: blog, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, two-columns
*/

/* Colour tokens — overridden from the Customizer (see inc/customizer.php). */
:root {
	--v66-accent: #2236B8;
	--v66-on-accent: #FFFFFF;
	--v66-paper: #ECEAE3;
	--v66-ink: #111111;
	--v66-muted: #4A4A47;
	--v66-line: #111111;
	--v66-soft: #C9C6BC;
	--v66-display: 'Anton', Impact, 'Arial Narrow Bold', sans-serif;
	--v66-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
	--v66-serif: 'IBM Plex Serif', Georgia, 'Times New Roman', serif;
	--v66-wrap: 1200px;
	--v66-gutter: 24px;
}
.v66-system-fonts {
	--v66-display: Impact, 'Haettenschweiler', 'Arial Narrow Bold', sans-serif;
	--v66-mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
	--v66-serif: Georgia, 'Times New Roman', serif;
}

/* Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--v66-paper);
	color: var(--v66-ink);
	font-family: var(--v66-serif);
	font-size: 18px;
	line-height: 1.6;
	text-rendering: optimizeLegibility;
}
img, video, iframe { max-width: 100%; height: auto; }
a { color: var(--v66-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover, a:focus-visible { color: var(--v66-accent); }
:focus-visible { outline: 3px solid var(--v66-accent); outline-offset: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
.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(--v66-paper); clip: auto !important; clip-path: none; display: block; height: auto;
	left: 8px; top: 8px; padding: 12px 16px; width: auto; z-index: 100000; font-family: var(--v66-mono);
}

.wrap { max-width: var(--v66-wrap); margin: 0 auto; padding-left: var(--v66-gutter); padding-right: var(--v66-gutter); }
.mono { font-family: var(--v66-mono); }
.display { font-family: var(--v66-display); font-weight: 400; text-transform: uppercase; }
.caps { text-transform: uppercase; letter-spacing: .02em; }

.btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
	padding: 10px 18px; border: 2px solid var(--v66-ink); background: transparent; color: var(--v66-ink);
	font-family: var(--v66-mono); font-size: 14px; font-weight: 600; text-transform: uppercase; text-decoration: none; cursor: pointer;
}
.btn--solid { background: var(--v66-ink); color: var(--v66-paper); }
.btn:hover, .btn:focus-visible { background: var(--v66-accent); border-color: var(--v66-accent); color: var(--v66-on-accent); }

/* Header ---------------------------------------------------------------- */
.site-header { padding-top: 24px; }
.site-header__bar {
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px;
	padding-bottom: 12px; border-bottom: 2px solid var(--v66-line);
	font-family: var(--v66-mono); font-size: 14px; text-transform: uppercase;
}
.site-header__bar--compact { padding: 20px 0; }
.site-tagline { margin: 0; }
.site-header__brand { display: grid; grid-template-columns: minmax(0, 1fr) clamp(112px, 14vw, 160px); align-items: center; gap: 8px; margin-top: 18px; }
.site-header__illustration { display: block; width: 100%; height: auto; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-weight: 600; }
.menu a { text-decoration: none; display: inline-block; padding: 6px 0; }
.menu .current-menu-item > a, .menu .current_page_item > a, .menu .current-menu-ancestor > a { color: var(--v66-accent); }
.menu .sub-menu { display: none; }
.wordmark {
	display: flex; flex-wrap: wrap; gap: 0 .14em; margin: 18px 0 0;
	font-family: var(--v66-display); font-weight: 400; text-transform: uppercase;
	font-size: clamp(72px, 17vw, 220px); line-height: .82; letter-spacing: -0.01em; text-decoration: none;
}
.wordmark__accent { color: var(--v66-accent); }
.wordmark--small { font-size: 34px; line-height: 1; margin: 0; letter-spacing: 0; }
a.wordmark:hover .wordmark__accent { color: var(--v66-ink); }
.custom-logo-link { display: inline-block; margin-top: 18px; }
.custom-logo { max-height: 180px; width: auto; }
.site-header__bar--compact .custom-logo-link { margin: 0; }
.site-header__bar--compact .custom-logo { max-height: 48px; }

/* Layout ---------------------------------------------------------------- */
.site-main { padding-top: 40px; padding-bottom: 64px; }
.layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.layout__main { flex: 999 1 600px; min-width: 0; }
.layout__side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.stack { display: flex; flex-direction: column; }
.stack > * + * { margin-top: 40px; }

.rule-head {
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px;
	padding-bottom: 12px; border-bottom: 6px solid var(--v66-line); margin: 0;
}
.rule-head h2, .rule-head h1 { margin: 0; font-family: var(--v66-display); font-weight: 400; font-size: 40px; text-transform: uppercase; line-height: 1.1; }
.legend { display: flex; gap: 16px; font-family: var(--v66-mono); font-size: 13px; text-transform: uppercase; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }

/* Index / year rows ----------------------------------------------------- */
.marker { flex: none; width: 12px; height: 12px; display: inline-block; }
.marker--concert { background: var(--v66-accent); }
.marker--post { border: 2px solid currentColor; }

.year-row {
	display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 20px;
	padding: 20px 0; border-bottom: 2px solid var(--v66-line);
}
.year-row__year { font-family: var(--v66-display); font-size: 84px; line-height: .85; text-decoration: none; align-self: start; }
.year-row__entries { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.year-row.is-highlight { background: var(--v66-ink); color: var(--v66-paper); margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
.year-row.is-highlight a { color: var(--v66-paper); }
.year-row.is-highlight a:hover { color: var(--v66-accent); }
.year-row.is-highlight .marker--concert { outline: 2px solid var(--v66-paper); }

.entry { display: flex; gap: 14px; align-items: baseline; text-decoration: none; }
.entry__body { display: flex; flex-wrap: wrap; gap: 2px 16px; align-items: baseline; min-width: 0; }
.entry__artist { font-family: var(--v66-display); font-size: 34px; line-height: 1.05; text-transform: uppercase; }
.entry__meta { font-family: var(--v66-mono); font-size: 14px; }
.entry__title { font-size: 24px; font-weight: 500; line-height: 1.3; }
.entry:hover .entry__artist, .entry:hover .entry__title { color: var(--v66-accent); }
.year-row.is-highlight .entry:hover .entry__artist, .year-row.is-highlight .entry:hover .entry__title { color: var(--v66-paper); text-decoration: underline; }

.entry--thumb { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; }
.entry--thumb .entry__body { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; }
.entry__thumb { width: 96px; height: 96px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--v66-soft); }
.entry__thumb img { width: 100%; height: 100%; object-fit: cover; }
.entry__thumb--empty { background: transparent; border: 2px solid currentColor; font-family: var(--v66-mono); font-size: 11px; text-transform: uppercase; text-align: center; padding: 4px; }

.more-link { display: inline-block; margin-top: 20px; font-family: var(--v66-mono); font-size: 15px; font-weight: 600; text-transform: uppercase; }
.home-writing { margin-top: 56px; }

/* Home side ------------------------------------------------------------- */
.feature-card {
	display: flex; flex-direction: column; justify-content: space-between; gap: 16px; min-height: 320px;
	padding: 24px; background: var(--v66-accent); color: var(--v66-on-accent); text-decoration: none;
}
.feature-card:hover, .feature-card:focus-visible { color: var(--v66-on-accent); background: var(--v66-ink); }
.feature-card__label, .feature-card__cta { font-family: var(--v66-mono); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.feature-card__title { font-family: var(--v66-display); font-size: 44px; line-height: .95; text-transform: uppercase; overflow-wrap: anywhere; }
.side-block { border-top: 6px solid var(--v66-line); padding-top: 14px; display: flex; flex-direction: column; gap: 12px; }
.side-block h2 { margin: 0; font-family: var(--v66-display); font-weight: 400; font-size: 28px; text-transform: uppercase; }
.slash-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-family: var(--v66-display); font-size: 26px; text-transform: uppercase; line-height: 1.1; }
.slash-list li:not(:last-child)::after { content: "/"; margin-left: 14px; }
.slash-list a { text-decoration: none; }
.layout__side .slash-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; font-size: 20px; line-height: 1.05; }
.layout__side .slash-list li { display: grid; grid-template-columns: 7px minmax(0, 1fr); align-items: start; gap: 7px; min-width: 0; }
.layout__side .slash-list li::before { content: ""; width: 7px; height: 7px; margin-top: .42em; background: var(--v66-accent); }
.layout__side .slash-list li::after { content: none; }
.layout__side .slash-list a { overflow-wrap: anywhere; }
.listening-block .navitracks-widget {
	--navitracks-border: var(--v66-line);
	--navitracks-muted: var(--v66-muted);
	--navitracks-bg: transparent;
	--navitracks-cover-bg: var(--v66-soft);
	--navitracks-text: var(--v66-ink);
	--navitracks-accent: var(--v66-accent);
	font-family: var(--v66-mono);
}
.listening-block .navitracks-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
.listening-block .navitracks-card {
	grid-template-columns: 60px minmax(0, 1fr);
	gap: 12px;
	min-height: 0;
	padding: 12px 0;
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--v66-line);
	border-radius: 0;
	box-shadow: none;
}
.listening-block .navitracks-cover { width: 60px; border: 2px solid var(--v66-line); border-radius: 0; }
.listening-block .navitracks-label { font-family: var(--v66-mono); font-size: 11px; letter-spacing: .05em; }
.listening-block .navitracks-title { color: var(--v66-ink); font-family: var(--v66-display); font-size: 22px; line-height: 1.05; text-transform: uppercase; }
.listening-block .navitracks-artist,
.listening-block .navitracks-time,
.listening-block .navitracks-empty { color: var(--v66-muted); font-family: var(--v66-mono); font-size: 12px; line-height: 1.35; }
.listening-block .navitracks-time { margin-top: 5px; }
.follow-box { border: 2px solid var(--v66-line); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.follow-box h2 { margin: 0; font-family: var(--v66-display); font-weight: 400; font-size: 28px; text-transform: uppercase; }
.follow-box code { font-family: var(--v66-mono); font-size: 16px; font-weight: 600; word-break: break-all; }
.follow-box__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Concert page ---------------------------------------------------------- */
.poster {
	background: var(--v66-accent); color: var(--v66-on-accent); padding: 40px;
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 32px; align-items: end;
}
.poster--ink { background: var(--v66-ink); color: var(--v66-paper); }
.poster a { color: inherit; text-decoration: none; }
.poster a:hover { text-decoration: underline; color: inherit; }
.poster__tour { font-family: var(--v66-mono); font-size: 14px; text-transform: uppercase; letter-spacing: .14em; margin: 0 0 8px; }
.poster__artist { margin: 0; font-family: var(--v66-display); font-weight: 400; font-size: clamp(80px, 16vw, 200px); line-height: .82; text-transform: uppercase; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.poster__facts { display: flex; flex-direction: column; gap: 6px; font-family: var(--v66-display); text-transform: uppercase; }
.poster__date { font-size: clamp(56px, 8vw, 96px); line-height: .85; }
.poster__place { font-size: 34px; line-height: 1; }

.artist-strip { margin-top: 48px; display: flex; flex-direction: column; gap: 10px; }
.artist-strip__label { font-family: var(--v66-mono); font-size: 13px; font-weight: 600; text-transform: uppercase; margin: 0; }
.artist-strip__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); border-top: 2px solid var(--v66-line); border-left: 2px solid var(--v66-line); }
.artist-strip__list li { border-right: 2px solid var(--v66-line); border-bottom: 2px solid var(--v66-line); }
.artist-strip__list a { display: block; padding: 16px; font-family: var(--v66-display); font-size: 36px; line-height: 1; text-decoration: none; }
.artist-strip__list a[aria-current="page"] { background: var(--v66-ink); color: var(--v66-paper); }

.concert-body { margin-top: 48px; }

.spec { margin: 0; border-top: 6px solid var(--v66-line); font-family: var(--v66-mono); font-size: 14px; }
.spec__row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--v66-line); }
.spec dt { text-transform: uppercase; }
.spec dd { margin: 0; font-weight: 600; text-align: right; }
.ticket { margin: 0; border: 2px solid var(--v66-line); background: #FFFFFF; }
.ticket img { display: block; width: 100%; }
.setlist h2 { margin: 0 0 8px; font-family: var(--v66-display); font-weight: 400; font-size: 32px; text-transform: uppercase; }
.setlist ol { margin: 0; padding: 0; list-style: none; font-family: var(--v66-display); font-size: 24px; line-height: 1.35; text-transform: uppercase; counter-reset: song; }
.setlist li { display: grid; grid-template-columns: 2.2em 1fr; }
.setlist li::before { counter-increment: song; content: counter(song, decimal-leading-zero); font-family: var(--v66-mono); font-size: 13px; padding-top: .55em; }
.setlist li.is-encore-label { display: block; margin-top: 10px; font-family: var(--v66-mono); font-size: 13px; font-weight: 600; }
.setlist li.is-encore-label::before { content: none; }
.setlist__link { display: inline-block; margin-top: 10px; font-family: var(--v66-mono); font-size: 13px; text-transform: uppercase; }

.videos { display: flex; flex-direction: column; gap: 24px; margin: 32px 0; }
.video { margin: 0; }
.video__frame { position: relative; aspect-ratio: 16 / 9; background: var(--v66-ink); }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__frame > a { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--v66-paper); font-family: var(--v66-mono); }
.video figcaption, .photo-grid + p, .wp-caption-text, figcaption { font-family: var(--v66-mono); font-size: 13px; line-height: 1.5; margin-top: 8px; }

.photo-grid { list-style: none; margin: 32px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(var(--v66-photo-min, 160px), 100%), 1fr)); gap: 6px; }
.photo-grid a { display: block; aspect-ratio: 1; overflow: hidden; background: var(--v66-ink); }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.photo-grid a:hover img { transform: scale(1.03); }
.photos--mono .photo-grid img { filter: grayscale(1) contrast(1.15); }
.photos--duotone .photo-grid a { background: var(--v66-accent); }
.photos--duotone .photo-grid img { filter: grayscale(1) contrast(1.2); mix-blend-mode: multiply; }

/* Post page ------------------------------------------------------------- */
.post-head { border-bottom: 6px solid var(--v66-line); padding-bottom: 28px; display: flex; flex-direction: column; gap: 18px; }
.kicker { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-family: var(--v66-mono); font-size: 14px; font-weight: 600; text-transform: uppercase; }
.kicker__tag { background: var(--v66-ink); color: var(--v66-paper); padding: 6px 10px; text-decoration: none; }
a.kicker__tag:hover { background: var(--v66-accent); color: var(--v66-on-accent); }
.kicker__tag--accent { background: var(--v66-accent); color: var(--v66-on-accent); }
.post-title { margin: 0; font-family: var(--v66-display); font-weight: 400; font-size: clamp(52px, 8vw, 108px); line-height: .92; text-transform: uppercase; max-width: 14em; text-wrap: balance; overflow-wrap: anywhere; }
.standfirst { margin: 0; font-size: 24px; line-height: 1.5; max-width: 36em; }
.featured-image { margin: 40px 0 0; }
.featured-image img { display: block; width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.post-body { margin-top: 40px; }

.post-nav { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); border-top: 6px solid var(--v66-line); border-bottom: 2px solid var(--v66-line); }
.post-nav a { display: flex; flex-direction: column; gap: 6px; padding: 20px 0; text-decoration: none; }
.post-nav .nav-next a { text-align: right; align-items: flex-end; }
.post-nav__label { font-family: var(--v66-mono); font-size: 13px; text-transform: uppercase; }
.post-nav__title { font-family: var(--v66-display); font-size: 26px; text-transform: uppercase; line-height: 1.05; }

.related-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.related-list .entry__artist { font-size: 24px; }
.related-list .entry__body { flex-direction: column; gap: 0; }

/* Long-form content ----------------------------------------------------- */
.prose { font-size: 21px; line-height: 1.75; max-width: 720px; }
.prose > * { margin-top: 0; margin-bottom: 24px; }
.prose > :first-child { margin-top: 0; }
.prose--lead > p:first-of-type { font-size: 28px; line-height: 1.45; font-weight: 500; }
.prose h2, .prose h3, .prose h4 { font-family: var(--v66-display); font-weight: 400; text-transform: uppercase; line-height: 1; margin-top: 40px; }
.prose h2 { font-size: 36px; } .prose h3 { font-size: 28px; } .prose h4 { font-size: 22px; }
.prose blockquote { margin: 32px 0; padding: 0; border: 0; font-family: var(--v66-display); font-size: 40px; line-height: 1.05; text-transform: uppercase; color: var(--v66-accent); }
.prose blockquote p { margin: 0; }
.prose blockquote cite, .prose blockquote footer { display: block; margin-top: 12px; font-family: var(--v66-mono); font-size: 14px; color: var(--v66-ink); text-transform: none; font-style: normal; }
.prose .wp-block-pullquote { border-top: 6px solid var(--v66-line); border-bottom: 2px solid var(--v66-line); padding: 24px 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose figure { margin-left: 0; margin-right: 0; }
.prose img { display: block; }
.prose hr { border: 0; border-top: 2px solid var(--v66-line); margin: 40px 0; }
.prose code, .prose pre { font-family: var(--v66-mono); font-size: .8em; }
.prose pre { background: var(--v66-ink); color: var(--v66-paper); padding: 20px; overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 17px; }
.prose th, .prose td { border-bottom: 1px solid var(--v66-line); padding: 8px; text-align: left; }
.prose .wp-block-embed iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; }
.prose .alignleft { float: left; margin: 6px 24px 16px 0; max-width: 50%; }
.prose .alignright { float: right; margin: 6px 0 16px 24px; max-width: 50%; }
.prose .aligncenter { margin-left: auto; margin-right: auto; }
.prose .wp-block-gallery { gap: 6px; }
.prose::after { content: ""; display: table; clear: both; }
.page-links { font-family: var(--v66-mono); }

/* Archives -------------------------------------------------------------- */
.archive-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.archive-title { margin: 0; font-family: var(--v66-display); font-weight: 400; font-size: clamp(64px, 13vw, 180px); line-height: .82; text-transform: uppercase; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.archive-desc { font-size: 20px; line-height: 1.6; max-width: 40em; }
.archive-desc p { margin: 0 0 12px; }
.browse-nav ul { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-wrap: wrap; border-top: 2px solid var(--v66-line); border-left: 2px solid var(--v66-line); font-family: var(--v66-mono); font-size: 14px; font-weight: 600; text-transform: uppercase; }
.browse-nav li { border-right: 2px solid var(--v66-line); border-bottom: 2px solid var(--v66-line); }
.browse-nav a { display: block; padding: 12px 18px; text-decoration: none; min-height: 44px; }
.browse-nav a[aria-current="page"] { background: var(--v66-ink); color: var(--v66-paper); }
.entries-block { border-top: 6px solid var(--v66-line); }
.archive-writing { margin-top: 56px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; font-family: var(--v66-mono); font-size: 15px; font-weight: 600; }
.nav-links .page-numbers { min-width: 44px; min-height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--v66-line); text-decoration: none; text-transform: uppercase; }
.nav-links .page-numbers.current { background: var(--v66-ink); color: var(--v66-paper); }
.nav-links .page-numbers.dots { border-color: transparent; }

.terms-index { list-style: none; margin: 0; padding: 0; columns: 3 260px; column-gap: 40px; }
.terms-index li { break-inside: avoid; padding: 10px 0; border-bottom: 2px solid var(--v66-line); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.terms-index a { font-family: var(--v66-display); font-size: 30px; line-height: 1.05; text-transform: uppercase; text-decoration: none; }
.terms-index .count { font-family: var(--v66-mono); font-size: 13px; }

.search-form { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; }
.search-form label { flex: 1 1 260px; }
.search-field { width: 100%; min-height: 48px; padding: 10px 14px; border: 2px solid var(--v66-line); background: #FFFFFF; font-family: var(--v66-mono); }
.search-submit { min-height: 48px; }

.empty-state { padding: 32px 0; font-size: 20px; }

/* Replies (comments + ActivityPub) -------------------------------------- */
.replies { margin-top: 56px; border-top: 6px solid var(--v66-line); padding-top: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px 48px; }
.replies__intro h2 { margin: 0 0 10px; font-family: var(--v66-display); font-weight: 400; font-size: 40px; text-transform: uppercase; line-height: 1; }
.replies__intro p { margin: 0; font-size: 18px; }
.replies__intro code { font-family: var(--v66-mono); font-weight: 600; word-break: break-all; }
.comment-list, .comment-list .children { list-style: none; margin: 0; padding: 0; }
.comment-list .children { margin-left: 28px; }
.reply { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--v66-line); }
.reply img.avatar { width: 44px; height: 44px; display: block; background: var(--v66-soft); }
.reply__meta { font-family: var(--v66-mono); font-size: 13px; font-weight: 600; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.reply__meta a { text-decoration: none; }
.reply__via { font-weight: 400; }
.reply__text { font-size: 17px; line-height: 1.55; }
.reply__text p { margin: 6px 0 0; }
.reply__actions { font-family: var(--v66-mono); font-size: 12px; text-transform: uppercase; margin-top: 6px; }
.comment-respond { margin-top: 24px; }
.comment-respond h3 { font-family: var(--v66-display); font-weight: 400; font-size: 24px; text-transform: uppercase; margin: 0 0 12px; }
.comment-form label { display: block; font-family: var(--v66-mono); font-size: 13px; font-weight: 600; text-transform: uppercase; margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 10px; border: 2px solid var(--v66-line); background: #FFFFFF; }
.comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; }
.comment-form-cookies-consent label { display: inline; font-family: var(--v66-serif); font-size: 15px; font-weight: 400; text-transform: none; }
.comment-form-cookies-consent input { margin-top: 5px; width: 18px; height: 18px; flex: none; }
.comment-form .submit { min-height: 44px; padding: 10px 18px; border: 0; background: var(--v66-ink); color: var(--v66-paper); font-family: var(--v66-mono); font-weight: 600; text-transform: uppercase; cursor: pointer; }
.comment-form .submit:hover { background: var(--v66-accent); color: var(--v66-on-accent); }

/* Footer ---------------------------------------------------------------- */
.site-footer { background: var(--v66-ink); color: var(--v66-paper); }
.site-footer a { color: var(--v66-paper); }
.site-footer a:hover { color: var(--v66-paper); text-decoration-thickness: 2px; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 28px; padding-bottom: 28px; font-family: var(--v66-mono); font-size: 13px; text-transform: uppercase; }
.site-footer .menu { font-weight: 400; gap: 8px 16px; }

/* Small screens --------------------------------------------------------- */
@media (max-width: 640px) {
	body { font-size: 17px; }
	.year-row { grid-template-columns: 1fr; gap: 10px; }
	.year-row__year { font-size: 64px; }
	.entry__artist { font-size: 28px; }
	.poster { padding: 24px; }
	.poster__place { font-size: 26px; }
	.prose { font-size: 19px; }
	.prose--lead > p:first-of-type { font-size: 23px; }
	.prose blockquote { font-size: 30px; }
	.feature-card { min-height: 300px; }
	.feature-card__title { font-size: 44px; }
	.site-header__bar { flex-direction: column; align-items: flex-start; }
	.site-header__brand { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.site-header__illustration { width: 96px; justify-self: end; }
}

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; }
}

/* Required WordPress classes ------------------------------------------- */
.sticky, .gallery-caption, .bypostauthor { }
.wp-caption { max-width: 100%; }
.alignnone { margin: 0; }
