/*
 * GeoCities of Brass ’96: this site's own layer for the ’96 look. Loaded after site.css, only while the
 * ’96 look is switched on (see the look switch in base.njk). The ’96 design system keeps the main system's
 * class names, so its components.css takes over SiteNav, PostHeader, ArticleIndex, Button and the footer
 * band; this file maps the main system's token names onto ’96 colours (so site.css keeps working) and
 * dresses the parts that exist only on this site: the parchment page, home cards, calendar, zine covers,
 * menu search, editorial layouts and filters.
 */

/* Token names site.css uses, pointed at the ’96 palette. */
:root {
	/* from the Brasslands sites: their goldenrod, and Brasslands II's five-gem divider in our own gems */
	--goldenrod: #daa520;
	--gem-rule:
		url(/assets/theme/img/96/gem-white.svg) calc(50% - 60px) 50% / 20px 20px no-repeat,
		url(/assets/theme/img/96/gem-blue.svg) calc(50% - 30px) 50% / 20px 20px no-repeat,
		url(/assets/theme/img/96/gem-black.svg) 50% 50% / 20px 20px no-repeat,
		url(/assets/theme/img/96/gem-red.svg) calc(50% + 30px) 50% / 20px 20px no-repeat,
		url(/assets/theme/img/96/gem-green.svg) calc(50% + 60px) 50% / 20px 20px no-repeat,
		linear-gradient(var(--goldenrod), var(--goldenrod)) 50% 50% / min(100%, 420px) 2px no-repeat;
	--ink-muted: var(--ink-soft);
	/* MedievalSharp belongs to the Wordmark alone; the type sheet (type.css) repoints --font-medieval */
	--font-wordmark: "MedievalSharp", "Merriweather", Georgia, serif;
	/* a speckled grain like the printing on a 90s Magic marquee: fine brown noise, multiplied over gold */
	--marquee-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.45 0 0 0 0 0.27 0 0 0 0 0 0 0 0 1.6 -0.55'/%3E%3C/filter%3E%3Crect width='96' height='96' filter='url(%23g)'/%3E%3C/svg%3E");
	--border-black: #000000;
	--edge: #000000;
	--rule: #c8a070;
	--surface: var(--cell);
	/* the bundle's lemon table-cell yellow sat badly on the parchment: cells are warm ivory instead */
	--cell: #fff6e9;
	--paper: var(--panel);
	--brass: var(--gold);
	--sand: #debe96; /* tan: hover and pressed card tint, as in today's look */
	--vellum: var(--night-ink);
	--font-serif: var(--font-times);
	--font-code: var(--font-courier);
	--radius-art: 6px; /* pictures: today's 6px corners */
	--radius-control: 0;
	--tex-grain-light: none;
	--tex-mottle-light: none;
	--shadow-bevel: inset 2px 2px 0 var(--white), inset -2px -2px 0 var(--bevel-dark);
	--shadow-window: inset 2px 2px 0 var(--bevel-dark), inset -2px -2px 0 var(--white);
}

/* Every page sits on one parchment page floating on the starfield, with no border: the parchment's own edge
   is enough (the system's .article panel, applied to the whole of <main> so the home page gets one too). */
.site-main {
	box-sizing: border-box;
	width: calc(100% - 2 * var(--gutter));
	max-width: calc(var(--wide-width) + 2 * var(--gutter));
	margin: var(--space-6) auto var(--space-7);
	background-color: var(--panel);
	border: 0;
	color: var(--ink);
	--focus-ring: var(--focus);
}
@media (max-width: 767px) {
	.site-main {
		width: calc(100% - 2 * var(--space-2));
	}
}
/* the Articles page's own panel would nest inside it */
.site-main .article {
	max-width: none;
	margin: 0;
	padding-block: 0;
	background: none;
	border: 0;
}

/* 1996 type: Times does bold; rules are the gem rule. */
strong,
b {
	font-weight: bold;
	font-style: normal;
}
hr,
.entry-content hr,
.entry-content--editorial hr {
	width: auto;
	max-width: none;
	height: 20px;
	border: 0;
	margin: var(--space-6) 0;
	background: var(--gem-rule);
}
.entry-content h1,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	font-family: var(--font-medieval);
}

/* Home: the welcome line between two gold bars. Readability: a paragraph this long is set in Times italic,
   not the medieval display face, and with no drop shadow, which blurred the letters. */
.welcome {
	position: relative;
	font-family: var(--font-times);
	font-style: italic;
	line-height: 1.4;
	color: var(--heading);
	border-top: 0;
	border-bottom: 0;
	padding-block: calc(var(--space-5) + 24px);
}
/* the two bars are set like the lettering of a 90s Magic marquee: gold with a speckled grain, a black edge,
   and a solid 6px black extrusion, stepping down and right under the top bar and up and right over the
   bottom one, so the black faces the text */
.welcome::before,
.welcome::after,
.entry-content .boreal-card::before,
.entry-content .boreal-card::after {
	content: "";
	position: absolute;
	left: 0;
	right: 7px;
	height: 12px;
	background-color: var(--gold);
	background-image: var(--marquee-grain);
	background-blend-mode: multiply;
	box-shadow:
		0 0 0 1px var(--ink),
		1px 1px 0 1px var(--ink),
		2px 2px 0 1px var(--ink),
		3px 3px 0 1px var(--ink),
		4px 4px 0 1px var(--ink),
		5px 5px 0 1px var(--ink),
		6px 6px 0 1px var(--ink);
}
.welcome::before,
.entry-content .boreal-card::before {
	top: 1px;
}
.welcome::after,
.entry-content .boreal-card::after {
	bottom: 1px;
	box-shadow:
		0 0 0 1px var(--ink),
		1px -1px 0 1px var(--ink),
		2px -2px 0 1px var(--ink),
		3px -3px 0 1px var(--ink),
		4px -4px 0 1px var(--ink),
		5px -5px 0 1px var(--ink),
		6px -6px 0 1px var(--ink);
}
.site-hero__credit,
.site-hero__credit a,
.site-hero__credit a:visited {
	font-family: var(--font-times);
	color: var(--white);
	/* a one-pixel black outline keeps it legible over both the bright sky and the dark wings */
	text-shadow: 1px 1px 0 #000, -1px 1px 0 #000, 1px -1px 0 #000, -1px -1px 0 #000;
}

/* Home: Latest from the City. Pictures in a silver ridge, titles as bold blue links like the tiles. */
.latest__head,
.feature__head {
	border-bottom: 3px groove var(--panel-border);
}
.latest-card__media {
	border: 4px ridge var(--silver);
	background-color: var(--cell);
}
.latest-card__media--plain {
	border-top: 4px ridge var(--silver);
}
.latest-card__title {
	font-family: var(--font-times);
	font-weight: bold;
	font-size: 28px;
	line-height: 1.2;
}
.latest-card__title a {
	color: var(--link);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
.latest-card__title a:visited {
	color: var(--link-visited);
}
.latest-card__title a:hover {
	color: var(--link-hover);
}
/* Dates and page counts: Times italic. Courier New's hairline strokes break up below 18px. */
.latest-card__meta,
.zine-cover__meta,
.article-tile__foot {
	font-family: var(--font-times);
	font-style: italic;
	font-size: 16px;
	color: var(--ink-soft);
}
.latest-card__type,
.article-tile__tags {
	font-size: 16px;
}
/* The NEW! burst sits on the date line, so it never breaks a title in the middle. */
.latest-card:first-child .latest-card__meta:after {
	content: "";
	display: inline-block;
	width: 44px;
	height: 26px;
	margin-left: var(--space-2);
	vertical-align: middle;
	background: url(/assets/theme/img/96/new-burst.svg) center / contain no-repeat;
}
@media (max-width: 767px) {
	.latest-card__title {
		font-size: 24px;
	}
}

/* Home: calendar, zine and playtest sections. */
.feature__subhead {
	font-family: var(--font-medieval);
	color: var(--heading);
}
.feature__calendar,
.feature__media {
	border: 4px ridge var(--silver);
}
.zine-cover a,
.zine-cover a:visited {
	color: var(--link);
}
.zine-cover img {
	border: 2px solid #000000;
	box-shadow: var(--tile-shadow) var(--tile-shadow) 0 var(--purple);
}
.zine-cover__label {
	font-weight: bold;
	text-decoration-color: currentColor;
}

/* Menu search: the list item sits without the link separators (its look is today's, see "Search: exactly as
   in today's look" near the end). */
.site-nav li.site-nav__search {
	border-left: 0;
	margin-left: var(--space-3);
}
.site-nav .nav-search__list li + li {
	border-left: 0;
}


/* Post header tags, and the article text's editorial touches. */
.post-header__tags .tag {
	font-family: var(--font-times);
	color: var(--link);
	text-decoration: underline;
}
.entry-content--editorial .has-dropcap::first-letter {
	font-family: var(--font-medieval);
	color: var(--heading);
}
.entry-content .ed-figure img,
.figure.breakout img {
	border: 4px ridge var(--silver);
}
/* every picture takes today's look's 6px rounded corners (radius-art); the silver ridge follows them */
.figure img,
.entry-content img {
	border-radius: var(--radius-art);
}
.entry-content blockquote {
	border-left: 4px ridge var(--gold);
}

/* Footer: the strip becomes the hit-counter band; Courier set bold and larger so its strokes hold up. */
.site-footer--band-only {
	border-top: 3px groove var(--gold);
	margin-top: 0;
}
.site-footer--band-only .site-footer__band {
	font-size: 16px;
	font-weight: bold;
	line-height: 1.5;
}

/* Every link button sits centred on its line. */
.site-main p:has(> .button),
.latest__more {
	text-align: center;
}
.feature__actions {
	justify-content: center;
}

/* Menu-bar links: today's Merriweather, slightly spaced, in gold, white on hover and for the
   current page, whichever type sheet is on. */
.site-nav ul a,
.site-nav ul a:visited {
	font-family: "Merriweather", Georgia, serif;
	font-weight: 400;
	letter-spacing: 0.04em;
	color: var(--gold);
}
.site-nav ul a:hover,
.site-nav ul a[aria-current="page"] {
	color: var(--white);
}

/* Wordmark (design system: Wordmark): the site's name in medieval gold with a stepped shadow, two red steps
   then two black, each 1/30 of the size, on a purple plate. The menu bar uses it bare, on the band.
   Text shadows: the wordmark is the only type with one; everything else is set flat. */
.wordmark,
.wordmark:visited {
	display: inline-block;
	padding: 0.3em 0.55em 0.35em;
	background-color: var(--purple);
	font-family: var(--font-wordmark);
	font-size: 30px;
	font-weight: 400;
	line-height: 1.1;
	color: var(--gold);
	text-shadow:
		0.0334em 0.0334em 0 var(--wordmark-red),
		0.0667em 0.0667em 0 var(--wordmark-red),
		0.1em 0.1em 0 var(--ink),
		0.1334em 0.1334em 0 var(--ink);
	text-decoration: none;
	white-space: nowrap;
	--focus-ring: var(--focus-inverse);
}
a.wordmark:hover {
	color: var(--yellow);
	text-decoration: none;
}
.wordmark--small {
	font-size: 22px;
}
.wordmark--large {
	font-size: 48px;
}
.wordmark--framed {
	border-block: var(--nav-rule) ridge var(--gold);
}
.wordmark--bare {
	padding: 0;
	background-color: transparent;
}
@media (max-width: 767px) {
	.site-nav__brand.wordmark {
		font-size: 22px;
	}
}
.site-main h1,
.site-main h2,
.site-main h3,
.site-main h4,
.post-header__title,
.article-index__title,
.feature__subhead,
.welcome,
.entry-content--editorial .has-dropcap::first-letter {
	text-shadow: none;
}

/* --- Home page layout (design audit) ------------------------------------- */
/* 1. No dead band at the top of the parchment: the welcome starts near the panel's edge. */
.site-main > .column:first-child .welcome {
	margin-top: 0;
}
/* 2. Sections are split by the system's gem rule, centred above each heading, not by blank space alone. */
.feature {
	margin-top: var(--space-7);
}
.feature:before {
	content: "";
	display: block;
	height: 20px;
	margin: 0 auto var(--space-6);
	background: var(--gem-rule);
}
.latest__more {
	margin-top: var(--space-6);
}
/* 3. One text size through the feature sections: no larger "lead" beside smaller paragraphs. */
.feature__text p,
.feature__lead {
	font-size: 20px;
	line-height: 1.5;
}
@media (max-width: 767px) {
	.feature__text p,
	.feature__lead {
		font-size: 18px;
	}
}
/* 4. Stacked on tablets and phones, a feature's photo is capped so it never fills two screens. */
@media (max-width: 1023px) {
	.feature__media {
		max-width: 560px;
		margin-inline: auto;
	}
}
/* 6. Room under the footer's credit line, so the fixed look switch never covers it. */
.site-footer--band-only .site-footer__band {
	text-align: center;
}
/* the credit is two centred lines; on phones the type shrinks so each line still fits */
@media (max-width: 767px) {
	.site-footer--band-only .site-footer__band {
		font-size: 12px;
		padding-inline: var(--space-2);
	}
}

/* --- Post and page reading (design audit) --------------------------------- */
/* Times at 20px across the whole 1200px panel ran to ~130 characters a line. Posts and pages read in a
   ~75-character column centred on the parchment; photos, photo rows and floats scale with it. The 404 and
   search pages use the same column, so their titles line up with every other page's. */
.site-main > article.entry.column,
.site-main > .column--reading {
	max-width: 860px;
}
/* Pasted text (code blocks: e-mails, lists copied in): the system's "pasted text file", a sunken white box. */
.entry-content pre {
	clear: both;
	background-color: var(--white);
	border: 2px inset var(--silver);
	border-radius: 0;
	color: var(--ink);
	font-size: 17px;
	line-height: 1.65;
	padding: var(--space-4) var(--space-5);
}
.entry-content pre code {
	font-size: inherit;
	background: none;
}
@media (max-width: 767px) {
	.entry-content pre {
		font-size: 15px;
		padding: var(--space-3);
	}
}

/* --- From the Brasslands sites ------------------------------------------- */
/* Home section headings (Latest from the City, Calendar …): no box and no rule, straight on the parchment;
   the "All …" link in the usual link colour. */
.latest__head,
.feature__head {
	align-items: baseline;
	padding: 0;
	background: none;
	border: 0;
}
.latest__title,
.feature__title {
	color: var(--heading);
}
.latest__all,
.feature__more {
	color: var(--link);
}
.latest__all:visited,
.feature__more:visited {
	color: var(--link-visited);
}
.latest__all:hover,
.feature__more:hover {
	color: var(--link-hover);
}
/* Main headings inside posts (and decklist titles): like the home section headings, no box, the '95
   heading red on the parchment over a brass rule. */
.entry-content h2 {
	display: block;
	padding: 0 0 var(--space-2);
	background: none;
	border: 0;
	border-bottom: 3px solid #c99765;
	color: var(--heading);
}
.entry-content h2 a,
.entry-content h2 a:visited {
	color: var(--heading);
}
.article-index__title {
	display: table; /* shrink to the word, centred on its own line above the search */
	margin-left: auto;
	margin-right: auto;
}
/* Tables in posts: goldenrod with 4px ridged cells, the Brasslands event table. Decklists keep their own. */
.entry-content table:not(.mtg_deck) {
	background-color: var(--goldenrod);
	border-collapse: separate;
	border-spacing: 0;
	border: 4px ridge #b8860b;
	color: #000000;
}
.entry-content table:not(.mtg_deck) th,
.entry-content table:not(.mtg_deck) td {
	border: 4px ridge #b8860b;
	padding: var(--space-2) var(--space-3);
}
.entry-content table:not(.mtg_deck) td:first-child {
	font-weight: bold;
	white-space: nowrap;
}
.entry-content table:not(.mtg_deck) a,
.entry-content table:not(.mtg_deck) a:visited {
	color: var(--link);
}

/* --- Pictures stay on the parchment -------------------------------------------- */
/* In today's look, photos, galleries, tables and embeds break out of the text column to the window's width.
   Here the page is a bordered parchment panel narrower than the window, so the same breakout pushed them
   past its edge onto the starfield. In this look they span the column and no wider. */
.breakout,
.entry-content > .gallery,
.entry-content > figure:not([class]),
.entry-content > .table,
.entry-content > table:not(.mtg_deck),
.entry-content > .embed,
.entry-content > .video,
.entry-content > table.mtg_deck,
.entry-content > h3.mtg_deck_title,
.entry-content--wide {
	width: 100%;
	margin-left: 0 !important;
	transform: none;
}
.site-main img,
.site-main video,
.site-main iframe {
	max-width: 100%;
}
/* captioned videos and embeds size to their content, capped at the window in today's look: cap them at the column */
.entry-content > figure:not([class]):has(> figcaption),
.entry-content > figure.video:has(> figcaption):not(.align-left):not(.align-right),
.entry-content > figure.embed:has(> figcaption):not(.align-left):not(.align-right) {
	max-width: 100% !important;
}

/* --- Cards: today's rounded corners and tan hover --------------------------------- */
/* The article tiles take today's look's rounded corners (radius-control, 4px) and its tan (sand, #debe96)
   when hovered and while pressed; the home cards' pictures take its 6px picture corners. Black on tan 13:1,
   link blue on tan 6.2:1. */
.article-tile {
	border-radius: 4px;
	/* resting: warm ivory, a lighter step of the parchment (the bundle's lemon "cell" sat badly on it);
	   hover and press deepen it to tan */
	background-color: #fff6e9;
}
.article-tile:hover,
.article-tile:active,
.article-tile:has(a:active) {
	background-color: #debe96;
}
.latest-card__media,
.zine-cover img {
	border-radius: 6px;
}
.latest-card {
	border-radius: 6px;
}

/* --- Meta lines: type line, date line and tags ------------------------------------ */
/* On posts and on the Articles and home cards alike: Times italic at 16px, with every link in them the
   same underlined '95 blue. (The Articles title is the medieval display face, from the '96 bundle.) */
.post-header__type,
.post-header__meta,
.post-header__tags,
.post-header__tags .tag,
.article-tile__type,
.article-tile__tags,
.article-tile__foot,
.latest-card__type,
.latest-card__meta {
	font-family: var(--font-times);
	font-size: 16px;
	font-style: italic;
	font-weight: normal;
	line-height: 1.5;
	color: var(--ink-soft);
}
.post-header__meta a,
.post-header__tags a,
.post-header__tags .tag {
	color: var(--link);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
.post-header__meta a:visited,
.post-header__tags a:visited {
	color: var(--link-visited);
}
.post-header__meta a:hover,
.post-header__tags a:hover {
	color: var(--link-hover);
}
.post-header__tags {
	gap: 0 var(--space-4);
}

/* Post and page titles: black medieval type straight on the parchment, no bar, no border. */
.post-header__title,
.post-header__title a,
.post-header__title a:visited {
	color: #000000;
}
.post-header__title {
	display: block;
	padding: 0;
	background: none;
	border: 0;
}

/* --- Title and meta text is black ------------------------------------------------------- */
/* The Articles and About titles, and the type lines, tags and dates on posts and cards. Black text cannot
   sit in the black title bar, so those titles drop the bar and border, like the post title. */
.article-index__title,
.post-header__type,
.post-header__meta,
.post-header__meta a,
.post-header__meta a:visited,
.post-header__tags,
.post-header__tags .tag,
.article-tile__type,
.article-tile__tags,
.article-tile__foot,
.latest-card__type,
.latest-card__meta {
	color: #000000;
}
.article-index__title {
	background: none;
	border: 0;
	padding: 0;
}

/* --- Card titles match the post title -------------------------------------------- */
/* The Articles tiles and home cards take the post title's treatment: black medieval type on the card, no
   underline. Hover turns them the links' deep red; the whole card is the link, and keyboard focus rings it. */
.article-tile__title,
.latest-card__title {
	font-family: var(--font-medieval);
	font-weight: normal;
	-webkit-font-smoothing: auto;
}
.article-tile__title {
	font-size: 26px;
	line-height: 1.15;
}
.latest-card__title {
	font-size: 30px;
	line-height: 1.15;
}
@media (max-width: 767px) {
	.article-tile__title {
		font-size: 24px;
	}
	.latest-card__title {
		font-size: 24px;
	}
}

/* No underline under title links anywhere: post and page titles, card titles, zine issue labels and the
   menu search's result titles. */
.post-header__title a,
.post-header__title a:visited,
.post-header__title a:hover,
.article-tile__title a,
.article-tile__title a:visited,
.article-tile__title a:hover,
.latest-card__title a,
.latest-card__title a:visited,
.latest-card__title a:hover {
	color: var(--link);
	text-decoration: none;
}
/* title links are the link purple like every other link; hover and press turn them the link red */
.article-tile__title a:hover,
.latest-card__title a:hover,
.article-tile:hover .article-tile__title a,
.latest-card:hover .latest-card__title a,
.article-tile:active .article-tile__title a,
.article-tile:has(a:active) .article-tile__title a,
.latest-card:active .latest-card__title a,
.latest-card:has(a:active) .latest-card__title a {
	color: var(--link-hover);
}
.zine-cover__label,
.zine-cover a:hover .zine-cover__label,
.nav-search__title,
.nav-search__list a:hover .nav-search__title {
	text-decoration: none;
}

/* The star bullet marks only the current menu item; the ’96 bundle's star before every h2 (and on footer
   lists) is turned off. */
h2:before,
.entry-content h2:before {
	content: none;
}
.site-footer__list li {
	padding-left: 0;
	background: none;
}


/* Phones: the black section-heading bars stay one or two lines, with the "All …" link under the title. */
@media (max-width: 767px) {
	.latest__head,
	.feature__head {
		flex-wrap: wrap;
		gap: var(--space-1) var(--space-4);
	}
	.latest__title,
	.feature__title {
		font-size: 26px;
		line-height: 1.15;
	}
}

/* --- Events page in the '95 dress -------------------------------------------------- */
.events-intro {
	font-family: var(--font-times);
}
.event-card {
	background-color: #fff6e9;
	border: 2px solid #000000;
	border-radius: 4px;
	box-shadow: var(--tile-shadow) var(--tile-shadow) 0 var(--purple);
}
.event-card__name {
	font-family: var(--font-medieval);
	font-weight: normal;
}
.event-card__name a,
.event-card__name a:visited {
	color: #000000;
	text-decoration: none;
}
.event-card__name a:hover {
	color: var(--purple);
}
.events-none {
	background-color: #fff6e9;
	border: 2px dashed #c99765;
}
/* past-event banners: the medieval face and the tiles' hard purple shadow */
.event-banner {
	border-radius: 4px;
	box-shadow: var(--tile-shadow, 4px) var(--tile-shadow, 4px) 0 var(--purple, #5a2d82);
}
.event-banner__name {
	font-family: var(--font-medieval);
}
.event-banner--terminal .event-banner__name {
	font-family: "Courier New", Courier, monospace;
}
.event-banner__year {
	font-family: var(--font-times);
	font-weight: bold;
}
.events-coc li::marker {
	font-family: var(--font-medieval);
	color: var(--heading);
}

/* --- Titles: exactly as in today's look -------------------------------------------- */
/* Post and page titles and the Articles title take today's treatment whichever type sheet is on: Sorts Mill
   Merriweather, regular weight, near-black ink, no shadow or tracking, at today's sizes (post titles 48px, 42px on
   tablets, 34px on phones; the Articles title 64px, 56px, 44px). The :root[data-type] prefix outranks the
   type sheets. */
:root[data-type] .post-header__title,
:root[data-type] .article-index__title {
	font-family: "Merriweather", Georgia, serif;
	font-weight: 400;
	font-style: normal;
	letter-spacing: normal;
	text-transform: none;
	text-shadow: none;
	color: #181510;
}
:root[data-type] .post-header__title a,
:root[data-type] .post-header__title a:visited {
	color: #181510;
	text-decoration: none;
}
:root[data-type] .post-header__title a:hover {
	text-decoration: underline;
}
:root[data-type] .post-header__title {
	font-size: 48px;
	line-height: 1.08;
}
:root[data-type] .article-index__title {
	font-size: 64px;
	line-height: 0.95;
}
@media (max-width: 1439px) {
	:root[data-type] .post-header__title {
		font-size: 42px;
	}
	:root[data-type] .article-index__title {
		font-size: 56px;
	}
}
@media (max-width: 767px) {
	:root[data-type] .post-header__title {
		font-size: 34px;
	}
	:root[data-type] .article-index__title {
		font-size: 44px;
	}
}

/* --- Articles tiles: gems at the right, a picture box under them ------------------------- */
/* Each tile shows a photo from its post (tileImage in eleventy.config.js picks one that is not advertising and
   suits a landscape box) in a 3:2 frame with a black edge and 6px corners, cropped to fill. A post without a
   suitable photo shows the starfield in the same frame, so every tile keeps the same shape. The tiles drop
   the fixed card proportion to fit it; each row still lines up, as the grid stretches its tiles. */
.article-tile {
	aspect-ratio: auto;
}
.article-tile__bar {
	justify-content: flex-end;
}
.article-tile__media {
	aspect-ratio: 3 / 2;
	margin: 0 0 var(--space-1);
	overflow: hidden;
	border: 2px solid var(--ink);
	border-radius: 6px;
	background-color: var(--night);
}
.article-tile__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 35%;
	border: 0;
	border-radius: 0;
}
.article-tile__media--empty {
	background-image: var(--tile-stars);
}
.article-tile__title {
	margin: 0;
	padding-block: var(--space-3) var(--space-4);
}
/* the date stays pinned to the foot of every tile, so it lines up across each row whatever the title's length
   or whether the post has tags; the tags follow the title */
.article-tile__tags {
	margin-top: 0;
}
.article-tile__foot {
	margin-top: auto;
}

/* --- No rules under headings ------------------------------------------------------------- */
/* Headings sit straight on the parchment with no line under them: section headings in posts and on the
   Events page, page titles, and the post title's meta line and tags. The gem dividers between home sections stay. */
.entry-content h2,
.post-header__title--page,
.post-header__meta,
.post-header__tags,
.article-index__year-title {
	padding-bottom: 0;
	border-bottom: 0;
}

/* --- Card titles (home cards and Articles tiles): today's Merriweather ------------------------------------------------- */
:root[data-type] .latest-card__title,
:root[data-type] .latest-card__title a,
:root[data-type] .article-tile__title,
:root[data-type] .article-tile__title a {
	font-family: "Merriweather", Georgia, serif;
	font-weight: 400;
	letter-spacing: normal;
}

/* --- Post header meta: type sheet 3's treatment in every sheet --------------------------- */
/* The "Posted … by …" line under post and page titles is set as in type sheet 3 whichever sheet is on:
   Courier Prime, upright, a little smaller, in near-black (#2e2e2e, 12.4:1 on the parchment). */
:root[data-type] .post-header__meta,
:root[data-type] .post-header__meta a,
:root[data-type] .post-header__meta a:visited {
	font-family: "Courier Prime", "Courier New", Courier, monospace;
	font-style: normal;
	font-variant: normal;
	letter-spacing: normal;
	text-transform: none;
	color: #2e2e2e;
}
:root[data-type] .post-header__meta {
	font-size: 0.85em;
}

/* --- Search: exactly as in today's look ------------------------------------------------ */
/* The menu-bar search (field, results panel), the Articles search field and the search page take today's
   look whole: Merriweather, a cream field (#f2ede4) with a brass edge in the menu bar or a grey edge and
   sunken bevel elsewhere, 4px corners, results on cream with brown titles and grey excerpts, matches on tan.
   Today's values are written out because its tokens are not loaded in this look. */
.nav-search input,
.nav-search input:focus {
	width: 9em;
	font-family: "Merriweather", Georgia, serif;
	font-size: 17px;
	color: #181510;
	background-color: #f2ede4;
	border: 1px solid #c99765;
	border-right: 0;
	border-radius: 4px 0 0 4px;
	box-shadow: none;
	padding: 4px 8px;
	min-height: 32px;
}
.nav-search input::placeholder {
	color: #534d50;
	font-style: normal;
}
.nav-search input:focus-visible,
.nav-search button:focus-visible {
	outline: 2px solid #7fa1b8;
	outline-offset: 1px;
}
.nav-search__panel {
	background-color: #f2ede4;
	color: #181510;
	border-top: 0;
	border-bottom: 2px solid #181510;
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
	font-family: "Merriweather", Georgia, serif;
	--focus-ring: #3f6262;
}
.nav-search__status {
	font-family: "Merriweather", Georgia, serif;
	color: #534d50;
}
.site-nav .nav-search__list {
	border-top: 1px solid #6e6d67;
}
.nav-search__list li {
	border-bottom: 1px solid #6e6d67;
}
.site-nav .nav-search__list a,
.site-nav .nav-search__list a:visited,
.site-nav .nav-search__list a:hover {
	font-family: "Merriweather", Georgia, serif;
	font-weight: 400;
	letter-spacing: normal;
	color: #181510;
	text-decoration: none;
}
.site-nav .nav-search__list a:focus-visible {
	outline-color: #3f6262;
}
.nav-search__title,
.nav-search__list a:hover .nav-search__title {
	font-weight: 400;
	color: #7b462d;
	text-decoration: none;
}
.nav-search__excerpt {
	color: #534d50;
}
.site-nav .nav-search__excerpt mark,
.site-main .site-search mark {
	background-color: #debe96;
	color: #181510;
}
@media (max-width: 767px) {
	.nav-search input,
	.nav-search input:focus {
		width: 7em;
		font-size: 16px;
		min-height: 28px;
	}
}
/* the search buttons keep today's Merriweather whichever type sheet is on */
:root[data-type] .nav-search button,
:root[data-type] .nav-search__close,
:root[data-type] .nav-search__more,
:root[data-type] .article-search button,
:root[data-type] .site-main .site-search .pagefind-ui__button {
	font-family: "Merriweather", Georgia, serif;
	letter-spacing: 0.5px;
	text-transform: none;
}
/* the Articles page search field */
.article-search input {
	font-family: "Merriweather", Georgia, serif;
	font-size: 20px;
	color: #181510;
	background-color: #f2ede4;
	border: 1px solid #6e6d67;
	border-radius: 4px;
	box-shadow: inset 2px 2px 0 rgba(0, 0, 0, 0.45), inset -2px -2px 0 rgba(255, 255, 255, 0.3);
	padding: 8px 12px;
}
.article-search input::placeholder {
	color: #534d50;
	font-style: italic;
}
.article-search input:focus {
	outline: 2px solid #3f6262;
	outline-offset: 2px;
}
/* the search page (Pagefind) */
.site-search {
	--pagefind-ui-primary: #7b462d;
	--pagefind-ui-text: #181510;
	--pagefind-ui-background: #dcdad0;
	--pagefind-ui-border: #6e6d67;
	--pagefind-ui-tag: #dcdad0;
	--pagefind-ui-border-width: 1px;
	--pagefind-ui-border-radius: 4px;
	--pagefind-ui-font: "Merriweather", Georgia, serif;
}
.site-main .site-search input.pagefind-ui__search-input {
	font-family: "Merriweather", Georgia, serif;
	font-weight: 400;
	color: #181510;
	background-color: #dcdad0;
	border: 1px solid #6e6d67;
	border-radius: 4px;
	box-shadow: inset 2px 2px 0 rgba(0, 0, 0, 0.45), inset -2px -2px 0 rgba(255, 255, 255, 0.3);
}
.site-main .site-search .pagefind-ui__result-link,
.site-main .site-search .pagefind-ui__result-link:visited {
	color: #7b462d;
}
.site-main .site-search .pagefind-ui__result-title {
	font-family: "Merriweather", Georgia, serif;
	font-weight: 400;
	font-size: 24px;
}
.site-main .site-search .pagefind-ui__result-excerpt {
	color: #181510;
}

/* --- Buttons: exactly as in today's look --------------------------------------------- */
/* Every button and the category filters use today's look's design: Merriweather in bold with labels in title case, brass with a soft grain,
   a 2px dark edge, 4px corners and a light bevel that presses in; tan on hover; stone-grey secondary buttons
   and unselected filters, the selected filter in brass and pressed in. The values are today's tokens written
   out, because today's stylesheet (which defines them) is not loaded in this look. */
:root {
	--btn-font: "Merriweather", Georgia, serif;
	--btn-grain: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='f' color-interpolation-filters='sRGB'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/><feComponentTransfer><feFuncR type='table' tableValues='.5 .5 .58 .68'/><feFuncG type='table' tableValues='.5 .5 .58 .68'/><feFuncB type='table' tableValues='.5 .5 .58 .68'/><feFuncA type='table' tableValues='1 1'/></feComponentTransfer></filter><rect width='420' height='420' filter='url(%23f)'/></svg>");
	--btn-bevel: inset 2px 2px 0 rgba(255, 255, 255, 0.35), inset -2px -2px 0 rgba(0, 0, 0, 0.35);
	--btn-pressed: inset 2px 2px 0 rgba(0, 0, 0, 0.45), inset -2px -2px 0 rgba(255, 255, 255, 0.3);
}
.button,
.button:visited,
button,
.site-main .site-search .pagefind-ui__button {
	display: inline-block;
	font-family: var(--btn-font);
	font-size: 18px;
	font-weight: bold;
	line-height: 1;
	letter-spacing: 0.5px;
	color: #181510;
	background-color: #c99765;
	background-image: var(--btn-grain);
	background-blend-mode: soft-light;
	border: 2px solid #181510;
	border-radius: 4px;
	box-shadow: var(--btn-bevel);
	padding: 11px 22px 12px;
	cursor: pointer;
	text-decoration: none;
	transition: background-color 0.2s;
}
.button:hover,
button:hover,
.site-main .site-search .pagefind-ui__button:hover {
	color: #181510;
	background-color: #debe96;
	text-decoration: none;
}
.button:active,
button:active {
	box-shadow: var(--btn-pressed);
	padding: 11px 22px 12px;
}
.button--quiet,
.button--quiet:hover,
button.button--quiet {
	color: #181510;
	background-color: #dcdad0;
	border-color: #181510;
}
/* category filters */
.filter-chip,
.filter-chip:hover {
	min-height: var(--target-min);
	font-family: var(--btn-font);
	font-weight: bold;
	font-size: 16px;
	letter-spacing: 0;
	padding: 6px 12px 7px;
	color: #181510;
	background-color: #dcdad0;
	background-image: var(--btn-grain);
	border: 1px solid #181510;
	border-radius: 4px;
	box-shadow: var(--btn-bevel);
}
.filter-chip:hover {
	background-color: #debe96;
}
.filter-chip[aria-pressed="true"] {
	color: #181510;
	background-color: #c99765;
	border-color: #181510;
	box-shadow: var(--btn-pressed);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}
@media (max-width: 767px) {
	.filter-chip,
	.filter-chip:hover {
		font-size: 15px;
		padding: 5px 10px 6px;
	}
}
/* the menu-bar search button: brass, joined to the field on its left */
.nav-search button {
	display: flex;
	align-items: center;
	padding: 0 8px;
	border-width: 1px;
	border-color: #c99765;
	border-radius: 0 4px 4px 0;
	box-shadow: none;
}
.nav-search button:active {
	padding: 0 8px;
}

/* Menu-bar dropdown (header.njk .site-nav__menu, from site.json menu[].children): a small ▾ button after the
   link; the list drops below as a slice of the purple band with gold ridges, opened by hover, keyboard focus
   or the button. */
.site-nav__menu {
	position: relative;
	display: flex;
	align-items: center;
}
.site-nav ul .site-nav__menu > a {
	padding-right: 2px;
}
.site-nav__toggle {
	min-height: var(--target-min);
	margin: 0;
	padding: 0 var(--space-2) 0 2px;
	border: 0;
	background: none;
	box-shadow: none;
	font: inherit;
	font-size: 15px;
	line-height: 1;
	color: var(--gold);
	cursor: pointer;
}
.site-nav__toggle:hover,
.site-nav__menu.is-open .site-nav__toggle {
	color: var(--white);
	background: none;
}
.site-nav ul.site-nav__sub {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 30;
	min-width: 11em;
	padding: var(--space-1) 0;
	flex-direction: column;
	background-color: var(--purple);
	border: var(--nav-rule) ridge var(--gold);
	box-shadow: 4px 4px 0 var(--ink);
}
.site-nav__menu:hover:not(.is-shut) > .site-nav__sub,
.site-nav__menu:focus-within:not(.is-shut) > .site-nav__sub,
.site-nav__menu.is-open > .site-nav__sub {
	display: flex;
}
.site-nav .site-nav__sub li + li {
	border-left: 0;
	border-top: 1px dotted var(--lavender);
}
.site-nav .site-nav__sub a {
	display: block;
	padding: var(--space-1) var(--space-4);
	white-space: nowrap;
}
/* hovering a dropdown item turns it white, like the menu bar's own links (no fill behind it) */
.site-nav .site-nav__sub a:hover,
.site-nav .site-nav__sub a:focus-visible {
	background-color: transparent;
	color: var(--white);
}
@media (max-width: 767px) {
	.site-nav ul.site-nav__sub {
		left: 50%;
		translate: -50% 0;
	}
}

/* Gallery (lib/editorial.js .ed-gallery: three or more pictures together): even square tiles across the column,
   three or four a row (two on phones, three when there are just three), each in the pictures' silver ridge.
   A tile opens the picture full size in the lightbox below (assets/js/gallery.js). */
.entry-content .ed-gallery {
	display: grid;
	grid-template-columns: repeat(var(--cols, 3), minmax(0, var(--tile-max, 1fr)));
	justify-content: center;
	gap: var(--space-3);
	width: 100%;
	margin: var(--space-5) 0 var(--space-6);
	clear: both;
}
.entry-content .ed-gallery__item {
	display: flex;
	flex-direction: column;
	gap: var(--space-1);
	margin: 0;
}
.entry-content .ed-gallery__link {
	display: block;
	aspect-ratio: 1;
	text-decoration: none;
}
.entry-content .ed-gallery__link img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border: 4px ridge var(--silver);
	background-color: var(--ink);
}
.entry-content .ed-gallery__link:hover img {
	border-color: var(--gold);
}
.entry-content .ed-gallery__item figcaption,
.entry-content .ed-gallery__caption {
	font-size: 16px;
	line-height: 1.35;
	text-align: center;
}
.entry-content .ed-gallery__caption {
	grid-column: 1 / -1;
}
@media (max-width: 599px) {
	.entry-content .ed-gallery {
		grid-template-columns: repeat(var(--cols-phone, 2), minmax(0, var(--tile-max, 1fr)));
		gap: var(--space-2);
	}
}

/* The lightbox: the picture as large as the screen allows over a darkened page, a counter and caption beneath,
   a close × in the corner and arrows either side. */
.gallery-viewer {
	width: 100vw;
	height: 100dvh;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #f2f2f2;
	overflow: hidden;
	--focus-ring: var(--focus-inverse);
}
.gallery-viewer[open] {
	display: flex;
	align-items: center;
	justify-content: center;
}
.gallery-viewer::backdrop {
	background-color: rgb(0 0 0 / 0.9);
}
.gallery-viewer__stage {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-2);
	margin: 0;
	padding: 0 72px;
	max-width: 100%;
	max-height: 100%;
}
.gallery-viewer__img {
	display: block;
	max-width: 100%;
	max-height: calc(100dvh - 110px);
	width: auto;
	height: auto;
	object-fit: contain;
	border: 0;
	border-radius: 0;
	box-shadow: 0 6px 30px rgb(0 0 0 / 0.6);
}
.gallery-viewer__stage figcaption {
	font-family: "Courier Prime", var(--font-courier);
	font-size: 16px;
	line-height: 1.4;
	text-align: center;
	color: #d9d9d9;
}
.gallery-viewer__title {
	opacity: 0.75;
	margin-right: var(--space-2);
}
.gallery-viewer button,
.gallery-viewer button:hover,
.gallery-viewer button:active {
	position: absolute;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 400;
	line-height: 1;
	color: #f2f2f2;
	opacity: 0.75;
	cursor: pointer;
}
.gallery-viewer button:hover,
.gallery-viewer button:focus-visible {
	opacity: 1;
}
.gallery-viewer__close {
	top: 10px;
	right: 14px;
	width: 44px;
	height: 44px;
	font-size: 40px;
}
.gallery-viewer__prev,
.gallery-viewer__next {
	top: 50%;
	width: 56px;
	height: 96px;
	translate: 0 -50%;
	font-size: 72px;
}
.gallery-viewer__prev {
	left: 8px;
}
.gallery-viewer__next {
	right: 8px;
}
.gallery-viewer button[hidden] {
	display: none;
}
@media (max-width: 599px) {
	.gallery-viewer__stage {
		padding: 0 8px;
	}
	/* on phones the arrows sit low at the sides, over the dark below the picture; a swipe also steps */
	.gallery-viewer__prev,
	.gallery-viewer__next {
		top: auto;
		bottom: 12px;
		translate: none;
		height: 56px;
		font-size: 56px;
	}
	.gallery-viewer__img {
		max-height: calc(100dvh - 160px);
	}
}
/* every picture in a post opens in the lightbox */
.entry-content a[data-gallery-full] {
	cursor: zoom-in;
}
/* a gallery of cards: card-shaped tiles (63 × 88), so whole cards show */
.entry-content .ed-gallery--cards .ed-gallery__link {
	aspect-ratio: 63 / 88;
}
/* a picture already shown at (nearly) its full size doesn't open in the lightbox (gallery.js) */
.entry-content a[data-gallery-full].is-full-size {
	cursor: default;
}
/* Scores in running text (lib/scores.js .score: "went 2-0", "(1-2, 0-1)"): bold in the type sheet's typewriter face,
   like a result pencilled on a tally sheet, kept on one line. Headings, links and captions are left as they are. */
.score {
	font-family: var(--type-meta, "Courier Prime", "Courier New", monospace);
	font-weight: 700;
	font-size: 0.92em;
	letter-spacing: -0.02em;
	white-space: nowrap;
	color: var(--ink);
}

/* --- Boreal Format: the reference card ------------------------------------------------------------------- */
/* The legal sets, banned (with the four-ofs) and restricted cards in three plain columns on the parchment,
   under small typewriter headings with a rule; the restricted list runs in two columns. No box around it. */
.entry-content .boreal-card {
	display: grid;
	grid-template-columns: 1fr 1fr 1.6fr;
	gap: var(--space-5);
	margin: var(--space-5) 0 var(--space-6);
	/* the home page welcome's gold marquee bars above and below (shared with .welcome::before/::after) */
	position: relative;
	padding-block: calc(var(--space-5) + 24px);
}
.entry-content .boreal-card__head {
	margin: var(--space-4) 0 var(--space-1) !important;
	padding-bottom: 2px;
	border-bottom: 2px solid var(--ink);
	font-family: var(--type-meta, "Courier Prime", monospace) !important;
	font-size: 15px !important;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.entry-content .boreal-card__col > .boreal-card__head:first-child {
	margin-top: 0 !important;
}
.entry-content .boreal-card ul {
	list-style: none;
	margin: 0;
	padding: 0;
	line-height: 1.45;
}
.entry-content .boreal-card li {
	margin: 0;
	break-inside: avoid;
}
.entry-content .boreal-card__two {
	columns: 2;
	column-gap: var(--space-4);
}
@media (max-width: 767px) {
	.entry-content .boreal-card {
		grid-template-columns: 1fr;
		gap: 0;
	}
	.entry-content .boreal-card__col + .boreal-card__col {
		margin-top: var(--space-4);
	}
}
/* Boreal: the "Yes" format chart (Boreal's column in gold) */
.entry-content .format-compare {
	margin: var(--space-3) 0 var(--space-6);
	overflow-x: auto;
}
.entry-content .format-compare table {
	width: 100%;
	border-collapse: collapse;
	background-color: #f2ede4;
	border: 2px solid var(--ink);
	font-size: 17px;
}
.entry-content .format-compare th,
.entry-content .format-compare td {
	padding: 6px 10px;
	border: 1px solid rgb(0 0 0 / 0.3);
	text-align: center;
}
.entry-content .format-compare thead th {
	background-color: var(--purple);
	color: var(--white);
	font-family: var(--type-meta, "Courier Prime", monospace);
	letter-spacing: 0.05em;
}
.entry-content .format-compare abbr {
	text-decoration: none;
}
.entry-content .format-compare tbody th {
	text-align: left;
	font-weight: 700;
	white-space: nowrap;
}
.entry-content .format-compare td {
	font-family: var(--type-meta, "Courier Prime", monospace);
	font-weight: 700;
}
.entry-content .format-compare .is-one,
.entry-content .format-compare .is-no {
	color: var(--white);
	background-color: #7a6a58;
}
.entry-content .format-compare .is-boreal {
	background-color: var(--gold);
	color: var(--ink);
}
.entry-content .format-compare thead th.is-boreal {
	background-color: var(--gold);
	color: var(--ink);
}
.entry-content .format-compare figcaption {
	margin-top: var(--space-2);
	font-size: 15px;
	font-style: italic;
	text-align: left;
}
@media (max-width: 599px) {
	.entry-content .format-compare table {
		font-size: 14px;
	}
	.entry-content .format-compare th,
	.entry-content .format-compare td {
		padding: 4px 3px;
	}
	.entry-content .format-compare tbody th {
		white-space: normal;
		font-size: 13px;
		line-height: 1.2;
	}
}
@media (max-width: 599px) {
	/* five rule sets and a label column share the phone's width exactly */
	.entry-content .format-compare table {
		table-layout: fixed;
	}
	.entry-content .format-compare thead th:first-child {
		width: 30%;
	}
	.entry-content .format-compare th,
	.entry-content .format-compare td {
		min-width: 0 !important;
		letter-spacing: 0;
		overflow-wrap: anywhere;
	}
}
/* the chart keeps its own tight cells (the general table padding is too wide for six columns) */
.entry-content .format-compare table th,
.entry-content .format-compare table td {
	padding: 6px 10px;
}
@media (max-width: 599px) {
	.entry-content .format-compare table th,
	.entry-content .format-compare table td {
		padding: 5px 2px;
		overflow-wrap: normal;
	}
}

/* Menu bar: the current section's star sits inside its link's left padding instead of adding width, so the
   bar is the same size on every page (an added 20px used to wrap the links onto a second line on some pages). */
.site-nav ul > li > a {
	position: relative;
}
.site-nav ul > li > a[aria-current="page"]:before {
	position: absolute;
	left: 0;
	top: 50%;
	width: 11px;
	height: 11px;
	margin: 0;
	transform: translateY(-50%);
}
/* no star inside a dropdown list; the current page there is white */
.site-nav ul.site-nav__sub a[aria-current="page"]:before {
	content: none;
}
/* the scrollbar's room is kept on short pages too, so nothing on the page (the menu bar above all) shifts sideways
   between a long page and a short one */
html {
	scrollbar-gutter: stable;
}
/* home calendar: the copyable feed address under the subscribe buttons, small, and free to wrap anywhere */
.feature .cal-copy {
	margin-top: var(--space-2);
	font-size: 15px;
	line-height: 1.4;
	text-align: center;
	overflow-wrap: anywhere;
}

/* Add to Calendar (partials/add-calendar.njk): one button that opens a short list of calendar apps below it,
   on the parchment with a black edge, like the rest of the page's lists. */
.add-cal {
	position: relative;
	display: inline-block;
	text-align: left;
}
.add-cal > summary {
	list-style: none;
	cursor: pointer;
	user-select: none;
}
.add-cal > summary::-webkit-details-marker {
	display: none;
}
.add-cal[open] > summary {
	box-shadow: var(--btn-pressed);
	background-color: #debe96;
}
.add-cal__menu {
	position: absolute;
	left: 50%;
	top: calc(100% + 6px);
	z-index: 15;
	translate: -50% 0;
	min-width: 100%;
	margin: 0;
	padding: var(--space-1) 0;
	list-style: none;
	background-color: #f2ede4;
	border: 2px solid var(--ink);
	border-radius: 4px;
	box-shadow: 4px 4px 0 rgb(0 0 0 / 0.25);
}
.add-cal__menu li {
	margin: 0;
}
.add-cal__menu a,
.add-cal__menu a:visited {
	display: block;
	padding: 8px var(--space-4);
	font-family: var(--btn-font);
	font-size: 18px;
	font-weight: bold;
	white-space: nowrap;
	color: var(--ink);
	text-decoration: none;
}
.add-cal__menu a:hover,
.add-cal__menu a:focus-visible {
	background-color: #debe96;
	color: var(--ink);
}
.add-cal__menu li + li {
	border-top: 1px dotted rgb(0 0 0 / 0.3);
}
/* the hidden Event Support page (src/content/previews/event-support.njk): a note, then the posts as tiles */
.event-support__note {
	max-width: 40em;
	margin: 0 auto var(--space-5);
	text-align: center;
}
.entry-content ul.event-support__grid {
	list-style: none;
	padding: 0;
}
/* Library and Event Support tiles: the author's name and then the date share the footer, below the line, at the
   same place on every tile; every tile is the same size (each grid row is as tall as the tallest tile, so a long
   title no longer makes its row taller than the rest; the 63 x 88 card shape is the minimum). No tags line. */
.article-grid {
	grid-auto-rows: 1fr;
}
.article-tile .article-tile__title {
	margin-bottom: var(--space-3);
}
.article-tile .article-tile__foot {
	margin-top: auto;
}

/* Menu-bar section headers (Library, The Citizens): not links, so no underline, but the same gold Sorts Mill
   Merriweather as the links beside them, with a small ▾; white, with the star, on any of the section's pages. */
.site-nav .site-nav__head,
.site-nav .site-nav__head:hover,
.site-nav .site-nav__head:active {
	position: relative;
	min-height: var(--target-min);
	margin: 0;
	padding: 2px var(--space-3);
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	font-family: "Merriweather", Georgia, serif;
	font-size: 19px;
	font-weight: 400;
	letter-spacing: 0.04em;
	line-height: inherit;
	text-transform: none;
	color: var(--gold);
	cursor: default;
}
.site-nav .site-nav__head:hover,
.site-nav .site-nav__menu:hover > .site-nav__head,
.site-nav .site-nav__menu.is-open > .site-nav__head,
.site-nav .site-nav__head.is-current {
	color: var(--white);
}
.site-nav .site-nav__caret {
	font-size: 0.75em;
}
.site-nav .site-nav__head.is-current:before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 11px;
	height: 11px;
	transform: translateY(-50%);
	background: url(/assets/theme/img/96/bullet-star.svg) center / contain no-repeat;
}
@media (max-width: 767px) {
	.site-nav .site-nav__head,
	.site-nav .site-nav__head:hover,
	.site-nav .site-nav__head:active {
		font-size: 17px;
		padding-inline: var(--space-2);
	}
}
/* the name and date stay on one line, so the footer line is at the same height on every tile */
.article-tile .article-tile__foot {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
/* Every tile the same size on the Library and Event Support alike: the title always gets the room of five lines
   (and never takes more), so photo, title and footer sit at the same heights on every card. */
.article-tile .article-tile__title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 5;
	line-clamp: 5;
	overflow: hidden;
	min-height: calc(5lh);
}
/* --- Menu bar layout (design audit, Nov 2026) ----------------------------------------------------------------
   Wide screens: one row, wordmark · menu · tagline (unchanged).
   768-1199px: still one row: the tagline drops under the wordmark in small type, the menu sits to the right
   (it used to wrap the menu onto a second row, from when the menu had four items).
   Phones: two rows, not three: the wordmark with a search button beside it, then the menu; the search box opens
   under them only when the button is tapped, and the tagline is left off. Menu items get a 44px tap height. */
.site-nav__search-toggle {
	display: none;
}
@media (min-width: 768px) and (max-width: 1199px) {
	.site-nav__inner {
		grid-template-columns: auto 1fr;
		grid-template-areas:
			"brand links"
			"tagline links";
		row-gap: 2px;
		align-items: center;
	}
	.site-nav__brand {
		align-self: end;
	}
	.site-nav__tagline {
		justify-self: start;
		align-self: start;
		font-size: 13px;
		white-space: nowrap;
	}
	.site-nav__inner > ul {
		justify-content: flex-end;
		flex-wrap: nowrap;
	}
}
@media (max-width: 767px) {
	.site-nav__inner {
		grid-template-columns: 1fr auto;
		grid-template-areas:
			"brand search"
			"links links";
		row-gap: 0;
		align-items: center;
	}
	.site-nav__tagline {
		display: none;
	}
	.site-nav .site-nav__search-toggle,
	.site-nav .site-nav__search-toggle:hover,
	.site-nav .site-nav__search-toggle:active {
		grid-area: search;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		min-height: 0;
		margin: 0 -10px 0 0;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: none;
		box-shadow: none;
		color: var(--gold);
		cursor: pointer;
	}
	.site-nav.is-searching .site-nav__search-toggle {
		color: var(--white);
	}
	.site-nav__inner > ul {
		justify-content: center;
		flex-wrap: wrap;
	}
	.site-nav__inner > ul > li > a,
	.site-nav .site-nav__head {
		min-height: 44px;
		display: inline-flex;
		align-items: center;
	}
	.site-nav li.site-nav__search {
		display: none;
	}
	.site-nav.is-searching li.site-nav__search {
		display: block;
		flex-basis: 100%;
		margin: var(--space-1) 0 var(--space-2);
		border-left: 0;
	}
	.site-nav.is-searching li.site-nav__search .nav-search {
		width: 100%;
	}
}
/* menu labels never break across two lines */
.site-nav__inner > ul > li > a,
.site-nav .site-nav__head {
	white-space: nowrap;
}
/* the narrow end of the one-row range: slightly smaller menu labels and a narrower search box, so it all fits */
@media (min-width: 768px) and (max-width: 899px) {
	.site-nav .site-nav__head,
	.site-nav .site-nav__head:hover,
	.site-nav .site-nav__head:active,
	.site-nav__inner > ul > li > a {
		font-size: 17px;
		padding-inline: var(--space-2);
	}
	.site-nav .nav-search input {
		width: 110px;
	}
	.site-nav__brand.wordmark {
		font-size: 24px;
	}
}
/* No star beside the current menu item; the section is shown by its white lettering alone.
   The section headers (The Citizens, Library) are set in bold. */
.site-nav ul a[aria-current="page"]:before,
.site-nav ul > li > a[aria-current="page"]:before,
.site-nav .site-nav__head.is-current:before {
	content: none;
}
.site-nav .site-nav__head,
.site-nav .site-nav__head:hover,
.site-nav .site-nav__head:active {
	font-weight: 700;
}

/* --- Menu bar: one strip at every width (the tagline is gone) -------------------------------------------------
   The wordmark on the left, the menu (and the search box, or on phones the search button) on the right, in a
   single row. Phones use slightly smaller lettering so it all fits; the search box opens below when wanted. */
.site-nav__inner,
.site-nav__inner {
	grid-template-columns: auto 1fr auto;
	grid-template-areas: "brand links search";
	align-items: center;
	row-gap: 0;
}
.site-nav__brand {
	align-self: center;
}
.site-nav__inner > ul {
	justify-content: flex-end;
	flex-wrap: nowrap;
}
@media (min-width: 768px) and (max-width: 1199px) {
	.site-nav__inner {
		grid-template-columns: auto 1fr auto;
		grid-template-areas: "brand links search";
	}
}
@media (max-width: 767px) {
	.site-nav__inner {
		grid-template-columns: auto 1fr auto;
		grid-template-areas: "brand links search";
		column-gap: var(--space-2);
	}
	.site-nav__brand.wordmark {
		font-size: 19px;
	}
	.site-nav .site-nav__head,
	.site-nav .site-nav__head:hover,
	.site-nav .site-nav__head:active {
		font-size: 15px;
		padding-inline: 6px;
		letter-spacing: 0.02em;
	}
	.site-nav .site-nav__search-toggle,
	.site-nav .site-nav__search-toggle:hover,
	.site-nav .site-nav__search-toggle:active {
		width: 36px;
		margin-right: -6px;
	}
	/* the search box, when opened, takes a row of its own under the strip */
	.site-nav.is-searching .site-nav__inner {
		grid-template-areas:
			"brand links search"
			"find find find";
	}
	.site-nav.is-searching .site-nav__inner > ul {
		display: contents;
	}
	.site-nav.is-searching li.site-nav__search {
		grid-area: find;
	}
}
@media (max-width: 379px) {
	.site-nav__brand.wordmark {
		font-size: 16px;
	}
	.site-nav .site-nav__head,
	.site-nav .site-nav__head:hover,
	.site-nav .site-nav__head:active {
		font-size: 14px;
		padding-inline: 4px;
		letter-spacing: 0;
	}
}
@media (max-width: 359px) {
	.site-nav__inner {
		column-gap: 4px;
	}
	.site-nav__brand.wordmark {
		font-size: 14px;
	}
	.site-nav .site-nav__head,
	.site-nav .site-nav__head:hover,
	.site-nav .site-nav__head:active {
		font-size: 13px;
		padding-inline: 3px;
	}
	.site-nav .site-nav__search-toggle,
	.site-nav .site-nav__search-toggle:hover,
	.site-nav .site-nav__search-toggle:active {
		width: 30px;
		margin-right: -4px;
	}
}

/* --- Phones: a menu button ------------------------------------------------------------------------------------
   Under 768px the strip is the wordmark and a menu button (three gold bars, an X when open). It opens a panel
   under the bar: the search box, then each section's name with all its pages listed below it. */
.site-nav__burger {
	display: none;
}
@media (max-width: 767px) {
	.site-nav__inner {
		grid-template-columns: 1fr auto;
		grid-template-areas:
			"brand burger"
			"panel panel";
		column-gap: var(--space-3);
	}
	.site-nav__brand.wordmark {
		font-size: 22px;
	}
	.site-nav .site-nav__search-toggle {
		display: none !important;
	}
	.site-nav .site-nav__burger,
	.site-nav .site-nav__burger:hover,
	.site-nav .site-nav__burger:active {
		grid-area: burger;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		min-height: 0;
		margin: 0 -8px 0 0;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: none;
		box-shadow: none;
		cursor: pointer;
	}
	.site-nav__burger-bars {
		position: relative;
		display: block;
		width: 24px;
		height: 18px;
	}
	.site-nav__burger-bars span {
		position: absolute;
		left: 0;
		width: 100%;
		height: 3px;
		border-radius: 2px;
		background-color: var(--gold);
		transition: transform 0.15s, opacity 0.15s, top 0.15s;
	}
	.site-nav__burger-bars span:nth-child(1) { top: 0; }
	.site-nav__burger-bars span:nth-child(2) { top: 7.5px; }
	.site-nav__burger-bars span:nth-child(3) { top: 15px; }
	.site-nav.is-menu-open .site-nav__burger-bars span { background-color: var(--white); }
	.site-nav.is-menu-open .site-nav__burger-bars span:nth-child(1) { top: 7.5px; transform: rotate(45deg); }
	.site-nav.is-menu-open .site-nav__burger-bars span:nth-child(2) { opacity: 0; }
	.site-nav.is-menu-open .site-nav__burger-bars span:nth-child(3) { top: 7.5px; transform: rotate(-45deg); }

	/* the panel */
	.site-nav__inner > ul {
		display: none;
		grid-area: panel;
	}
	.site-nav.is-menu-open .site-nav__inner > ul {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		margin: var(--space-2) 0 0;
		padding: var(--space-3) 0 var(--space-2);
		border-top: 1px solid rgb(255 255 255 / 0.25);
	}
	.site-nav.is-menu-open .site-nav__inner > ul > li {
		border-left: 0;
		margin: 0;
	}
	.site-nav.is-menu-open .site-nav__inner > ul > li + li {
		margin-top: var(--space-3);
	}
	/* the search box first */
	.site-nav.is-menu-open li.site-nav__search {
		display: block;
		order: -1;
		flex-basis: auto;
	}
	.site-nav.is-menu-open li.site-nav__search .nav-search,
	.site-nav.is-menu-open li.site-nav__search .nav-search input {
		width: 100%;
	}
	.site-nav.is-menu-open li.site-nav__search .nav-search {
		display: flex;
	}
	/* each section: its name as a label, its pages listed under it */
	.site-nav.is-menu-open .site-nav__menu {
		display: block;
		position: static;
	}
	.site-nav.is-menu-open .site-nav .site-nav__head,
	.site-nav.is-menu-open .site-nav__head,
	.site-nav.is-menu-open .site-nav__head:hover {
		display: block;
		width: 100%;
		min-height: 0;
		padding: 0 0 var(--space-1);
		font-size: 15px;
		letter-spacing: 0.08em;
		text-transform: uppercase;
		text-align: left;
		color: var(--lavender);
		pointer-events: none;
	}
	.site-nav.is-menu-open .site-nav__head .site-nav__caret {
		display: none;
	}
	.site-nav.is-menu-open ul.site-nav__sub {
		display: flex;
		position: static;
		translate: none;
		flex-direction: column;
		min-width: 0;
		margin: 0;
		padding: 0;
		background: none;
		border: 0;
		box-shadow: none;
	}
	.site-nav.is-menu-open .site-nav__sub li + li {
		border-top: 1px dotted rgb(255 255 255 / 0.2);
	}
	.site-nav.is-menu-open .site-nav__sub a {
		display: flex;
		align-items: center;
		min-height: 44px;
		padding: 0 0 0 var(--space-3);
		font-size: 19px;
	}
	.site-nav.is-menu-open .site-nav__sub a[aria-current="page"] {
		color: var(--white);
	}
}
@media (max-width: 767px) {
	/* the open panel never runs past the bottom of a short screen: it scrolls inside itself */
	.site-nav.is-menu-open .site-nav__inner > ul {
		max-height: calc(100dvh - 90px);
		overflow-y: auto;
		overscroll-behavior: contain;
	}
}

/* --- Menu bar spacing (review) --------------------------------------------------------------------------------
   Wide and tablet screens: the wordmark flush with the left edge and the search box flush with the right (no empty
   third column), and even, roomier spacing between the section names and the search box in place of the thin
   dividers that left them nearly touching. */
@media (min-width: 768px) {
	.site-nav__inner {
		grid-template-columns: auto 1fr;
		grid-template-areas: "brand links";
		column-gap: var(--space-6);
	}
	.site-nav__inner > ul {
		gap: 0 var(--space-5);
		align-items: center;
	}
	.site-nav__inner > ul > li,
	.site-nav__inner > ul > li + li,
	.site-nav li.site-nav__search {
		border-left: 0;
		margin-left: 0;
	}
	.site-nav .site-nav__head,
	.site-nav .site-nav__head:hover,
	.site-nav .site-nav__head:active {
		padding-inline: var(--space-1);
	}
	/* a little more air before the search box than between the section names */
	.site-nav li.site-nav__search {
		margin-left: var(--space-2);
	}
	/* the dropdown lines up with its section name */
	.site-nav ul.site-nav__sub {
		left: calc(-1 * var(--space-3));
	}
}
@media (min-width: 768px) and (max-width: 899px) {
	.site-nav__inner > ul {
		gap: 0 var(--space-4);
	}
}

/* The tagline, back as a thin strip under the menu row: centred, inside the sticky bar so it stays with it,
   above the bar's gold rule; small italic lavender, so the menu stays the main thing. */
.site-nav__strapline {
	max-width: calc(var(--site-width) - 2 * var(--gutter));
	margin: var(--space-2) auto 0;
	padding-top: var(--space-1);
	border-top: 1px solid rgb(255 255 255 / 0.18);
	font-family: var(--font-times);
	font-size: 15px;
	font-style: italic;
	line-height: 1.3;
	letter-spacing: 0.04em;
	text-align: center;
	color: var(--lavender);
}
@media (max-width: 767px) {
	.site-nav__strapline {
		margin-top: var(--space-1);
		font-size: 13px;
	}
	/* with the phone menu open, the strip sits under the panel's links */
	.site-nav.is-menu-open .site-nav__strapline {
		display: none;
	}
}
/* The tagline strip in bold (white, below); the bold section names (The Citizens, Library) and the tagline get a little more
   space between letters, since the menu face has no true bold and the browser's thickened letters crowd together. */
.site-nav__strapline {
	font-weight: 700;
	color: var(--gold);
	letter-spacing: 0.08em;
}
.site-nav .site-nav__head,
.site-nav .site-nav__head:hover,
.site-nav .site-nav__head:active {
	letter-spacing: 0.08em;
}
@media (max-width: 379px) {
	.site-nav__strapline {
		letter-spacing: 0.04em;
	}
}
/* the tagline strip in white (still bold) */
.site-nav__strapline {
	color: var(--white);
}

/* Menu bar balance: the wordmark on the left, the search box on the right, and The Citizens and Library centred
   in the space between them (rather than pushed against the search box), on wide and tablet screens. The menu
   list's items join the bar's own grid: wordmark | The Citizens | Library | search. */
@media (min-width: 768px) {
	.site-nav__inner {
		grid-template-columns: 1fr auto auto 1fr;
		grid-template-areas: "brand menu1 menu2 search";
		column-gap: var(--space-6);
	}
	.site-nav__inner > ul {
		display: contents;
	}
	.site-nav__inner > ul > li:nth-child(1) {
		grid-area: menu1;
	}
	.site-nav__inner > ul > li:nth-child(2) {
		grid-area: menu2;
	}
	.site-nav__inner > ul > li.site-nav__search {
		grid-area: search;
		justify-self: end;
		margin-left: 0;
	}
	.site-nav__brand {
		justify-self: start;
	}
}
@media (min-width: 768px) and (max-width: 899px) {
	.site-nav__inner {
		column-gap: var(--space-4);
	}
}
/* centred between the wordmark and the search box: equal space on both sides of the pair */
@media (min-width: 768px) {
	.site-nav__inner {
		grid-template-columns: auto 1fr auto auto 1fr auto;
		grid-template-areas: "brand . menu1 menu2 . search";
		column-gap: 0;
	}
	.site-nav__inner > ul > li:nth-child(2) {
		margin-left: var(--space-6);
	}
}
@media (min-width: 768px) and (max-width: 899px) {
	.site-nav__inner > ul > li:nth-child(2) {
		margin-left: var(--space-4);
	}
}
@media (max-width: 767px) {
	/* the search box comes first in the phone menu but is last in the list, so it brings its own gap below */
	.site-nav.is-menu-open .site-nav__inner > ul > li.site-nav__search {
		margin-bottom: var(--space-4);
	}
}

/* === Visual audit, November 2026 ============================================================================
   One pass over the whole site for consistency. Every boxed thing uses the same panel (cream, 2px black edge,
   hard purple shadow: the Library tiles' look); every button is the brass button; pages and posts end the same
   way; and a few theme touches carry the purple and gold into the browser's own furniture. */

/* 1. The parchment hugs its page. A short page (About, Code of Conduct, a 404) no longer stretches into a
      half-empty sheet: the starfield shows below it, and the footer still sits at the bottom of the window. */
.site-main {
	flex: 0 0 auto;
}
body > .site-footer {
	margin-top: auto;
}

/* 2. One panel for every box: the "nothing announced" box and decklists join the tiles and event cards. */
.events-none,
.entry-content table.mtg_deck {
	background-color: #fff6e9;
	border: var(--tile-border) solid var(--ink);
	border-radius: 4px;
	box-shadow: var(--tile-shadow) var(--tile-shadow) 0 var(--purple);
}
.entry-content table.mtg_deck {
	box-sizing: border-box;
	width: calc(100% - var(--tile-shadow));
	margin-bottom: var(--space-6);
}
/* a decklist's name is a heading, not a link: no underline */
.entry-content .mtg_deck_title,
.mtg_deck_title {
	text-decoration: none;
}

/* 3. One button: file downloads use the brass button like every other. */
.entry-content .file__button,
.entry-content .file__button:visited {
	font-family: var(--btn-font);
	font-size: 18px;
	font-weight: bold;
	letter-spacing: 0.5px;
	line-height: 1;
	color: #181510;
	background-color: #c99765;
	background-image: var(--btn-grain);
	background-blend-mode: soft-light;
	border: 2px solid #181510;
	border-radius: 4px;
	box-shadow: var(--btn-bevel);
	padding: 11px 22px 12px;
}
.entry-content .file__button:hover {
	color: #181510;
	background-color: #debe96;
}
.entry-content .file__button:active {
	box-shadow: var(--btn-pressed);
}

/* 4. Every post ends the same way: the gem rule, then the way back. */
.post-end {
	clear: both;
	margin-top: var(--space-7);
	text-align: center;
}
.post-end:before {
	content: "";
	display: block;
	height: 20px;
	margin: 0 auto var(--space-6);
	background: var(--gem-rule);
}

/* 5. The home page's latest posts answer the pointer like the gallery tiles do: the picture's frame turns gold. */
.latest-card:hover .latest-card__media img,
.latest-card:focus-within .latest-card__media img {
	border-color: var(--gold);
}

/* 6. Theme touches: selected text in the band's purple and gold. The scrollbar is the browser's own. */
::selection {
	background-color: var(--purple);
	color: var(--gold);
}

/* 7. Search results read like the site's links: titles in the link purple, red under the pointer, on the search
      page and in the menu's results panel alike; the search page's field is the same cream as the other fields. */
.site-nav .nav-search__list .nav-search__title,
.nav-search__title,
.site-main .site-search .pagefind-ui__result-link,
.site-main .site-search .pagefind-ui__result-link:visited {
	color: var(--link);
}
.site-nav .nav-search__list a:hover .nav-search__title,
.nav-search__list a:hover .nav-search__title,
.site-main .site-search .pagefind-ui__result-link:hover {
	color: var(--link-hover);
}
.site-main .site-search input.pagefind-ui__search-input {
	background-color: #f2ede4;
}
/* (Pagefind's own stylesheet loads after ours with a four-class rule, so the search page needs a longer selector.) */
.site-main .site-search .pagefind-ui .pagefind-ui__result-title .pagefind-ui__result-link,
.site-main .site-search .pagefind-ui .pagefind-ui__result-title .pagefind-ui__result-link:visited {
	color: var(--link);
}
.site-main .site-search .pagefind-ui .pagefind-ui__result-title .pagefind-ui__result-link:hover {
	color: var(--link-hover);
}

/* The Library and Event Support titles sit as far below the top of the parchment as every other page's title. */
.site-main > .article-index {
	padding-top: 32px;
}
@media (max-width: 767px) {
	.site-main > .article-index {
		padding-top: 24px;
	}
}

/* The parchment's frame: one plain gold line, the menu bar's gold, straight on the parchment's edge. */
.site-main {
	border: 3px solid var(--gold);
}
@media (max-width: 767px) {
	.site-main {
		border-width: 2px;
	}
}

/* The footer is the menu bar again at the foot of the page: one strip of its purple between gold ridges, the
   credit on a single line in the bar's lettering (white, with a gold link). On a phone the line wraps by itself. */
.site-footer.site-footer--band-only {
	border-top: var(--nav-rule) ridge var(--gold);
	border-bottom: var(--nav-rule) ridge var(--gold);
	background-color: var(--purple);
}
.site-footer--band-only .site-footer__band {
	padding: var(--space-3) var(--gutter);
	background: none;
	border: 0;
	font-family: "Merriweather", Georgia, serif;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.02em;
	color: var(--white);
	text-wrap: balance;
}
.site-footer--band-only .site-footer__band p {
	margin: 0;
}
.site-footer--band-only .site-footer__band br {
	display: none;
}
.site-footer--band-only .site-footer__band a,
.site-footer--band-only .site-footer__band a:visited {
	color: var(--gold);
}
.site-footer--band-only .site-footer__band a:hover {
	color: var(--white);
}
@media (max-width: 767px) {
	.site-footer--band-only .site-footer__band {
		font-size: 14px;
		padding-inline: var(--space-3);
	}
}

/* About: the raccoon mascot (transparent ink drawing) centred at the foot of the page. */
.about-mascot {
	margin: var(--space-6, 2.5rem) auto 0;
	max-width: 22rem;
	text-align: center;
}
.about-mascot img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 auto;
	box-shadow: none;
	border: 0;
	background: none;
}
.entry-content > .about-mascot {
	margin-left: auto;
	margin-right: auto;
}

/* Reading column: running text fills the full column, the same width as the photos (it was once held to ~70
   characters); the serif keeps its looser leading. Photos, galleries, tables, embeds and the photo-beside-text
   sections are unchanged. */
.entry-content {
	line-height: 1.65;
}
.entry.column > header,
.entry.column > .post-end,
.entry-content > p,
.entry-content > h2,
.entry-content > h3:not(.mtg_deck_title),
.entry-content > h4,
.entry-content > ul,
.entry-content > ol,
.entry-content > blockquote,
.entry-content > dl {
	max-width: none; /* text fills the column, the same width as the photos */
	margin-left: auto;
	margin-right: auto;
}

/* Phones: section headings a step smaller so the typewriter face doesn't break "How Boreal Compares" and the
   like over two lines in a 330px column. Headings with their own class sizes (the Boreal card heads) keep them. */
@media (max-width: 767px) {
	h2 { font-size: 26px; }
	h3 { font-size: 22px; }
	h4 { font-size: 20px; }
}

/* The raccoon mascot in ink on the parchment of the page-not-found page, under its title. */
.not-found__mascot {
	display: block;
	width: min(280px, 80%);
	height: auto;
	margin: 0 auto var(--space-5);
}


/* Posts and pages: all text left-aligned. The reading column (title block, paragraphs, headings, lists, quotes)
   starts at the left edge of the photos instead of sitting centred under them, page titles are set at the left
   like post titles, and the Events page's "no events" note reads from the left. Table cells (the Boreal chart)
   keep their own alignment. The Library and Event Support pages are not posts or pages and are left as they are. */
.entry.column > header,
.entry.column > .post-end,
.entry-content > p,
.entry-content > h2,
.entry-content > h3:not(.mtg_deck_title),
.entry-content > h4,
.entry-content > ul,
.entry-content > ol,
.entry-content > blockquote,
.entry-content > dl {
	margin-left: 0;
	margin-right: auto;
}
:root[data-type] .entry.column .article-index__title,
:root[data-type] .column--reading .article-index__title {
	text-align: left;
}
.entry.column .article-index__head,
.column--reading .article-index__head {
	text-align: left;
}
.events-none,
.events-none__lead,
.events-none__how {
	text-align: left;
}
.events-none__actions {
	justify-content: flex-start;
}
:root[data-type] .entry.column .article-index__title,
:root[data-type] .column--reading .article-index__title {
	margin-left: 0;
	margin-right: auto;
}

/* Post titles: a step smaller (42px to 34px; 34px to 28px on phones), with the lines 1.3 apart so a title's
   descenders (p, g, y) never touch the capitals and ascenders on the line below, and a little more room before the
   "Posted ... by" line. Page titles keep their size but get the same line spacing when they wrap. */
:root[data-type] .post-header__title {
	font-size: 34px;
	line-height: 1.3;
	margin-bottom: 12px;
}
@media (max-width: 767px) {
	:root[data-type] .post-header__title {
		font-size: 28px;
	}
}
:root[data-type] .article-index__title {
	line-height: 1.22;
}

/* ==== Type system (Nov 2026): one job per face, one scale, one ink =====================================================
   Names       IM Fell English every post and page title, post titles on Library tiles and home cards (the wordmark
                              stays MedievalSharp, set apart)
   Structure   IM Fell English section headings and subheadings, stepped below the titles
   Reading     Merriweather   running text, leads, notes, tables, buttons and menus
   Small print Courier Prime  dates, bylines, captions, labels and scores
   Scale (desktop / phone): titles 40/30 (MedievalSharp's small lowercase reads about like 34px Merriweather) · headings 27/23 · subheadings 22/20 · text 19/17 · small print 15/14
   Ink: #181510 for all text and headings; #4f3f2a for small print; links stay purple, red on hover.
   Left alone: the menu bar, footer, home welcome box, event banners and the Boreal chart's cells. */
:root {
	--type-ink: #181510;
	--type-small: #4f3f2a;
}
.site-main {
	color: var(--type-ink);
}

/* names: titles of posts and pages, in the wordmark's face */
:root[data-type] .post-header__title,
:root[data-type] .article-index__title {
	font-family: var(--font-title);
	font-size: 40px;
	font-weight: 400;
	line-height: 1.25;
	letter-spacing: 0.01em;
	color: var(--type-ink);
}
:root[data-type] .latest-card__title,
:root[data-type] .latest-card__title a {
	font-family: var(--font-title);
	font-size: 26px;
	font-weight: 400;
	line-height: 1.22;
	letter-spacing: 0.01em;
}

/* structure: section headings and subheadings */
:root[data-type] .site-main h2:not([class]),
:root[data-type] .site-main .feature__title,
:root[data-type] .site-main .latest__title {
	font-size: 27px;
	line-height: 1.25;
	color: var(--type-ink);
}
:root[data-type] .site-main h3:not([class]),
:root[data-type] .site-main .feature__subhead {
	font-size: 22px;
	line-height: 1.3;
	color: var(--type-ink);
}
:root[data-type] .site-main h4:not([class]) {
	font-size: 19px;
	line-height: 1.35;
	color: var(--type-ink);
}

/* reading: one text size and leading everywhere, leads a step up, notes and tables a step down */
:root[data-type] .site-main .feature__text,
:root[data-type] .site-main .feature__text p,
:root[data-type] .site-main .feature__lead,
:root[data-type] .site-main .latest-card__excerpt {
	font-size: 19px;
	line-height: 1.6;
}
:root[data-type] .site-main .events-none__lead,
:root[data-type] .site-main .post-intro {
	font-size: 21px;
	font-style: normal;
	line-height: 1.5;
	color: var(--type-ink);
}
:root[data-type] .site-main .aside-note {
	font-size: 17px;
	color: var(--type-small);
}
:root[data-type] .entry-content table:not(.format-compare) td,
:root[data-type] .entry-content table:not(.format-compare) th {
	font-size: 17px;
}

/* small print: dates, bylines, captions, labels */
:root[data-type] .site-main .post-header__meta,
:root[data-type] .site-main .latest-card__meta,
:root[data-type] .site-main figcaption,
:root[data-type] .site-main .zine-cover__meta {
	font-family: var(--type-meta);
	font-size: 15px;
	line-height: 1.45;
	letter-spacing: 0;
	color: var(--type-small);
}
:root[data-type] .site-main .boreal-card__head,
:root[data-type] .site-main .zine-cover__label,
:root[data-type] .site-main .article-filters__label {
	font-family: var(--type-meta);
	font-size: 15px;
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0.02em;
	color: var(--type-ink);
}

@media (max-width: 767px) {
	:root[data-type] .post-header__title,
	:root[data-type] .article-index__title {
		font-size: 30px;
	}
	:root[data-type] .latest-card__title,
	:root[data-type] .latest-card__title a {
		font-size: 22px;
	}
	:root[data-type] .site-main h2:not([class]),
	:root[data-type] .site-main .feature__title,
	:root[data-type] .site-main .latest__title {
		font-size: 23px;
	}
	:root[data-type] .site-main h3:not([class]),
	:root[data-type] .site-main .feature__subhead {
		font-size: 20px;
	}
	:root[data-type] .site-main h4:not([class]) {
		font-size: 17px;
	}
	:root[data-type] .site-main .feature__text,
	:root[data-type] .site-main .feature__text p,
	:root[data-type] .site-main .feature__lead,
	:root[data-type] .site-main .latest-card__excerpt {
		font-size: 17px;
	}
	:root[data-type] .site-main .events-none__lead,
	:root[data-type] .site-main .post-intro {
		font-size: 19px;
	}
	:root[data-type] .site-main .post-header__meta,
	:root[data-type] .site-main .latest-card__meta,
	:root[data-type] .site-main figcaption,
	:root[data-type] .site-main .zine-cover__meta,
	:root[data-type] .site-main .boreal-card__head,
	:root[data-type] .site-main .zine-cover__label {
		font-size: 14px;
	}
}
/* IM Fell English sets a little smaller than the face before it: the home cards' titles step up to keep their weight */
:root[data-type] .latest-card__title,
:root[data-type] .latest-card__title a {
	font-size: 28px;
	letter-spacing: 0;
}
@media (max-width: 767px) {
	:root[data-type] .latest-card__title,
	:root[data-type] .latest-card__title a {
		font-size: 24px;
	}
}
/* Library and Event Support tiles: as they were, with their titles in the site's title face (IM Fell English) */
:root[data-type] .article-tile__title,
:root[data-type] .article-tile__title a {
	font-family: var(--font-title);
}

/* Results tables in posts (Brasslands standings) on phones: tighter cells, thinner ridges and smaller type so all
   the columns, Points included, fit the screen instead of scrolling sideways; numbers in the small-print typewriter. */
@media (max-width: 767px) {
	:root[data-type] .entry-content figure.table table td,
	:root[data-type] .entry-content figure.table table th {
		padding: 4px 6px;
		border-width: 2px;
		font-size: 14px;
		line-height: 1.3;
	}
	:root[data-type] .entry-content figure.table table td:not(:nth-child(2)),
	:root[data-type] .entry-content figure.table table th:not(:nth-child(2)) {
		font-family: var(--type-meta);
		text-align: center;
		white-space: nowrap;
	}
}

/* Home intro (the welcome line between the gold bars): IM Fell English, the site's title and heading face, in
   place of the typewriter; a touch larger since Fell sets small (24px, 20px on phones). */
:root[data-type="3"] .welcome {
	font-family: var(--font-title);
	font-size: 24px;
	line-height: 1.45;
}
@media (max-width: 767px) {
	:root[data-type="3"] .welcome {
		font-size: 20px;
	}
}

/* Home: a plain text link at the start of the menu, lettered like The Citizens and Library (bold, gold, white
   on hover or on the home page itself). On wide and tablet screens it takes its own slot in the bar's grid:
   wordmark | Home | The Citizens | Library | search. */
:root[data-type] .site-nav ul > li.site-nav__home > a,
:root[data-type] .site-nav ul > li.site-nav__home > a:visited {
	font-weight: 700;
	letter-spacing: 0.08em;
	text-decoration: none;
	color: var(--gold);
}
:root[data-type] .site-nav ul > li.site-nav__home > a:hover,
:root[data-type] .site-nav ul > li.site-nav__home > a[aria-current="page"] {
	color: var(--white);
}
@media (min-width: 768px) {
	.site-nav__inner {
		grid-template-columns: auto 1fr auto auto auto 1fr auto;
		grid-template-areas: "brand . menu0 menu1 menu2 . search";
	}
	.site-nav__inner > ul > li.site-nav__home {
		grid-area: menu0;
	}
	.site-nav__inner > ul > li:nth-child(2) {
		grid-area: menu1;
	}
	.site-nav__inner > ul > li:nth-child(3) {
		grid-area: menu2;
	}
	.site-nav__inner > ul > li:nth-child(2),
	.site-nav__inner > ul > li:nth-child(3) {
		margin-left: var(--space-6);
	}
}
@media (min-width: 768px) and (max-width: 899px) {
	.site-nav__inner > ul > li:nth-child(2),
	.site-nav__inner > ul > li:nth-child(3) {
		margin-left: var(--space-4);
	}
}
/* phone menu panel: Home reads like the links under The Citizens and Library */
@media (max-width: 767px) {
	:root[data-type] .site-nav.is-menu-open ul > li.site-nav__home > a {
		padding: 0 0 0 12px;
		font-size: 19px;
		font-weight: 400;
		letter-spacing: 0.04em;
		text-decoration: underline;
	}
}

/* Events: the buttons (Email to Join the List, See the Calendar) sit centred under their text */
:root[data-type] .events-none__actions,
:root[data-type] .events-meetups__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--space-2);
	text-align: center;
}

/* Page eyebrow (front matter "eyebrow", e.g. About): a short italic IM Fell English line just above the title */
:root[data-type] .article-index__eyebrow {
	margin: 0 0 2px;
	font-family: var(--font-title);
	font-style: italic;
	font-size: 20px;
	line-height: 1.3;
	text-align: left;
	color: #7a4e00; /* deep brass: the gold bars darkened enough to read on the parchment */
}
@media (max-width: 767px) {
	:root[data-type] .article-index__eyebrow {
		font-size: 18px;
	}
}

/* A tile that opens another site (post front matter externalUrl) ends its title with a small arrow ↗ */
:root[data-type] .external-mark {
	font-family: "Merriweather", Georgia, serif;
	font-size: 0.85em;
	font-weight: 700;
	white-space: nowrap;
}
