/*
Theme Name: Broomlore
Theme URI: https://broomlore.com/
Author: Broomlore
Description: A home and everyday-life magazine theme built around the year. Centered logo with a JAN–DEC month ribbon in four season colors, a "four seasons shelf" homepage, stories sorted into months and seasons automatically, a vertical contents trail, charts and story boxes, and the Almanac table footer. Classic PHP theme, no jQuery on the front end, fonts served locally.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: broomlore
Tags: blog, news, two-columns, right-sidebar, custom-colors, custom-logo, custom-menu, featured-images, sticky-post, threaded-comments, translation-ready
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
	--brl-bg: #FFFFFF;
	--brl-ink: #17181C;
	--brl-text: #2C2E33;
	--brl-muted: #5D6068;
	--brl-line: #DADCE0;
	--brl-hover: #B4430F;
	--brl-footer: #17181C;
	--brl-on-dark: #E9EAEC;
	--brl-on-dark-2: #C9CCD2;
	--brl-on-dark-line: #4A4C53;
	--brl-winter: #B9D7FF;
	--brl-spring: #B9EBC6;
	--brl-summer: #FFD84D;
	--brl-autumn: #FF8F4A;
	--brl-all: #E9EBEE;
	--brl-winter-text: #1F4F9E;
	--brl-spring-text: #1F7A45;
	--brl-summer-text: #8A5A00;
	--brl-autumn-text: #B4430F;
	--brl-all-text: #45484F;
	--brl-sans: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--brl-serif: "Vollkorn", Georgia, "Times New Roman", serif;
	--brl-r: 10px;
	--brl-r-sm: 6px;
	--brl-wrap: 1240px;
	--brl-read: 720px;
	--brl-side: 300px;
	--brl-gap: 48px;
	--brl-b: 2px solid var(--brl-ink);
	--brl-b-thin: 1.5px solid var(--brl-ink);
	--brl-logo-h: 56px;
	--brl-logo-h-phone: 38px;
	--brl-logo-text: 34px;
	--brl-footer-logo-h: 40px;
	--brl-sheet-logo-h: 34px;
}
.brl-system-fonts {
	--brl-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--brl-serif: Georgia, "Times New Roman", serif;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
.brl-sticky { scroll-padding-top: 120px; }
body {
	margin: 0;
	background: var(--brl-bg);
	color: var(--brl-text);
	font-family: var(--brl-sans);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-wrap: break-word;
}
body.brl-lock { overflow: hidden; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--brl-ink); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--brl-hover); }
:focus-visible { outline: 3px solid var(--brl-ink); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { color: var(--brl-ink); font-family: var(--brl-sans); line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
abbr[title] { text-decoration: none; }
.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 !important; width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0; z-index: 1000;
	left: 12px; top: 12px; padding: 12px 18px; background: var(--brl-ink); color: #fff; border-radius: var(--brl-r-sm);
}
.brl-main:focus { outline: 0; }
.brl-wrap { max-width: var(--brl-wrap); margin: 0 auto; padding: 0 24px; }
.brl-icon { flex: none; }

/* Season helpers (fills carry ink text) */
.brl-bg--winter { background: var(--brl-winter); color: var(--brl-ink); }
.brl-bg--spring { background: var(--brl-spring); color: var(--brl-ink); }
.brl-bg--summer { background: var(--brl-summer); color: var(--brl-ink); }
.brl-bg--autumn { background: var(--brl-autumn); color: var(--brl-ink); }
.brl-bg--all { background: var(--brl-all); color: var(--brl-ink); }
.brl-text--winter { color: var(--brl-winter-text); }
.brl-text--spring { color: var(--brl-spring-text); }
.brl-text--summer { color: var(--brl-summer-text); }
.brl-text--autumn { color: var(--brl-autumn-text); }
.brl-text--all { color: var(--brl-all-text); }

/* The four-season mark */
.brl-mark {
	display: inline-block; flex: none; width: 1em; height: 1em; border-radius: 50%;
	border: 2px solid var(--brl-ink);
	background: conic-gradient(var(--brl-winter) 0 25%, var(--brl-spring) 25% 50%, var(--brl-summer) 50% 75%, var(--brl-autumn) 75% 100%);
}
.brl-mark--dark { border-color: #fff; }
.brl-mark--ph { width: 46px; height: 46px; opacity: .9; }
.brl-mark--big { width: 72px; height: 72px; }

/* Buttons */
.brl-btn {
	display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 12px 22px;
	border-radius: 999px; border: var(--brl-b); background: var(--brl-ink); color: #fff;
	font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; cursor: pointer;
}
.brl-btn:hover { background: #fff; color: var(--brl-ink); }
.brl-btn--line { background: transparent; color: var(--brl-ink); }
.brl-btn--line:hover { background: var(--brl-ink); color: #fff; }
.brl-pill {
	display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 16px;
	border-radius: 999px; border: var(--brl-b); background: var(--brl-ink); color: #fff;
	font-weight: 700; font-size: 14px; cursor: pointer;
}
.brl-iconbtn {
	display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none;
	border-radius: 50%; border: var(--brl-b); background: var(--brl-bg); color: var(--brl-ink); cursor: pointer; padding: 0;
}
.brl-iconbtn:hover, .brl-pill:hover { background: var(--brl-summer); color: var(--brl-ink); }

/* Search pill */
.brl-search { display: flex; align-items: center; gap: 6px; }
.brl-search--pill { border: var(--brl-b); border-radius: 999px; padding: 3px 4px 3px 16px; background: var(--brl-bg); }
.brl-search input {
	border: 0; outline: 0; background: transparent; min-width: 0; width: 150px; font-size: 14px; color: var(--brl-ink);
}
.brl-search input::placeholder { color: var(--brl-muted); opacity: 1; }
.brl-search:focus-within { outline: 3px solid var(--brl-ink); outline-offset: 2px; }
.brl-search button {
	display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex: none;
	border-radius: 50%; border: 0; background: var(--brl-ink); color: #fff; cursor: pointer;
}
.brl-search--wide { max-width: 520px; }
.brl-search--wide input { width: 100%; flex: 1; font-size: 16px; }

/* ==========================================================================
   3. Header (centered logo + month ribbon)
   ========================================================================== */
.brl-header { background: var(--brl-bg); border-bottom: var(--brl-b); position: relative; z-index: 40; }
.brl-sticky .brl-header { position: sticky; top: 0; }
.admin-bar.brl-sticky .brl-header { top: 32px; }
.brl-header__row { display: grid; align-items: center; gap: 16px 28px; padding-top: 22px; padding-bottom: 20px; }
.brl-header--almanac .brl-header__row {
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	grid-template-areas: "nav brand tools";
}
.brl-header__nav { grid-area: nav; min-width: 0; }
.brl-header__brand { grid-area: brand; display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; }
.brl-header__tools { grid-area: tools; display: flex; align-items: center; justify-content: flex-end; gap: 14px; min-width: 0; }
.brl-header__sbtn, .brl-header__mbtn { display: none; }

.brl-menu, .brl-hlinks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.brl-menu a, .brl-hlinks a { font-size: 14px; font-weight: 600; text-decoration: none; padding: 6px 0; display: inline-block; }
.brl-hlinks a { font-weight: 700; text-decoration: underline; }
.brl-menu .current-menu-item > a, .brl-menu .current-menu-ancestor > a, .brl-menu a[aria-current] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 7px; }

.brl-logo { margin: 0; line-height: 1; }
.brl-logo__link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brl-ink); }
.brl-logo__link:hover { color: var(--brl-ink); }
.brl-logo .brl-mark { font-size: calc(var(--brl-logo-text) * .94); }
.brl-logo__name { font-size: var(--brl-logo-text); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.brl-logo__img { display: block; height: var(--brl-logo-h); width: auto; max-width: min(360px, 70vw); object-fit: contain; }
.brl-hl { color: var(--brl-autumn-text); }
.brl-tagline { font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brl-muted); }

/* Classic fallback */
.brl-header--classic .brl-header__row { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "brand nav tools"; }
.brl-header--classic .brl-header__brand { align-items: flex-start; text-align: left; }
.brl-header--classic .brl-header__nav .brl-menu { justify-content: flex-end; }
.brl-header--classic .brl-header__tools { gap: 8px; }

/* Month ribbon */
.brl-ribbon {
	border: var(--brl-b); border-bottom: 0; border-radius: var(--brl-r) var(--brl-r) 0 0; overflow: hidden; margin-bottom: -2px;
	background: var(--brl-bg);
}
.brl-ribbon__band { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); border-bottom: var(--brl-b); }
.brl-ribbon__season {
	font-size: 11.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 12px;
	border-right: var(--brl-b); white-space: nowrap; overflow: hidden;
}
.brl-ribbon__season:last-child { border-right: 0; }
.brl-ribbon__months { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.brl-ribbon__months li + li { border-left: 1px solid var(--brl-line); }
.brl-ribbon__m {
	display: block; text-align: center; padding: 12px 4px 13px; font-size: 15px; font-weight: 700; text-decoration: none;
	color: var(--brl-ink); background: var(--brl-bg); position: relative;
}
.brl-ribbon__m:hover { background: color-mix(in srgb, var(--season, var(--brl-all)) 40%, #fff); color: var(--brl-ink); }
.brl-ribbon__m.is-now { background: var(--brl-ink); color: #fff; box-shadow: inset 0 -5px 0 var(--season); }
.brl-ribbon__m[aria-current] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.brl-ribbon__m.is-now[aria-current] { text-decoration-color: #fff; }
.brl-ribbon--winter { --season: var(--brl-winter); }
.brl-ribbon--spring { --season: var(--brl-spring); }
.brl-ribbon--summer { --season: var(--brl-summer); }
.brl-ribbon--autumn { --season: var(--brl-autumn); }
.brl-ribbon:not(.has-band) .brl-ribbon__m { box-shadow: inset 0 5px 0 var(--season); }
.brl-ribbon:not(.has-band) .brl-ribbon__m.is-now { box-shadow: inset 0 5px 0 var(--season); }

.brl-below-header { border-bottom: 1px solid var(--brl-line); padding: 14px 0; }

@media (max-width: 899px) {
	.brl-header__row,
	.brl-header--almanac .brl-header__row,
	.brl-header--classic .brl-header__row {
		grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
		grid-template-areas: "sbtn brand mbtn";
		padding-top: 12px; padding-bottom: 12px; gap: 8px;
	}
	.brl-header__nav, .brl-header__tools .brl-search, .brl-header__tools .brl-hlinks { display: none; }
	.brl-header--almanac .brl-header__tools { display: none; }
	.brl-header__sbtn { display: inline-flex; grid-area: sbtn; justify-self: start; }
	.brl-header__mbtn { display: inline-flex; grid-area: mbtn; justify-self: end; padding: 0 14px 0 10px; gap: 8px; font-size: 13.5px; }
	.brl-header__mbtn .brl-mark--btn { font-size: 18px; border-color: #fff; }
	.brl-header__brand { gap: 4px; }
	.brl-tagline { display: none; }
	.brl-logo__name { font-size: min(var(--brl-logo-text), 26px); }
	.brl-logo .brl-mark { font-size: min(calc(var(--brl-logo-text) * .94), 24px); }
	.brl-logo__img { height: var(--brl-logo-h-phone); max-width: 48vw; }
	.brl-header--classic .brl-header__brand { grid-column: 1 / 3; grid-row: 1; align-items: flex-start; }
	.brl-header--classic .brl-header__tools { grid-area: mbtn; display: flex; justify-self: end; }
	.brl-header--classic .brl-header__tools .brl-iconbtn { display: inline-flex; }

	.brl-ribbon-wrap { padding: 0; }
	.brl-ribbon { border: 0; border-top: var(--brl-b); border-radius: 0; margin: 0; }
	.brl-ribbon__band { display: none; }
	.brl-ribbon__months { display: flex; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
	.brl-ribbon__months::-webkit-scrollbar { display: none; }
	.brl-ribbon__months li { flex: 0 0 66px; scroll-snap-align: start; }
	.brl-ribbon__m, .brl-ribbon.has-band .brl-ribbon__m { box-shadow: inset 0 5px 0 var(--season); padding: 13px 0 11px; }
	.brl-ribbon__m.is-now, .brl-ribbon.has-band .brl-ribbon__m.is-now { box-shadow: inset 0 5px 0 var(--season); }
}

@media (max-width: 640px) { .brl-wrap { padding: 0 16px; } }
@media (max-width: 439px) {
	.brl-header__mlabel { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.brl-header__mbtn { width: 44px; padding: 0; justify-content: center; }
	.brl-logo__link .brl-mark { display: none; }
	.brl-logo__name { font-size: min(var(--brl-logo-text), 24px); }
}

/* ==========================================================================
   4. Phone sheet
   ========================================================================== */
.brl-sheet { position: fixed; inset: 0; z-index: 200; }
.brl-sheet[hidden] { display: none; }
.brl-sheet__veil { position: absolute; inset: 0; background: rgba(23, 24, 28, .55); }
.brl-sheet__panel {
	position: absolute; left: 0; right: 0; bottom: 0; max-height: calc(100% - 48px); overflow-y: auto; overscroll-behavior: contain;
	background: var(--brl-bg); border-top: var(--brl-b); border-radius: 22px 22px 0 0;
	padding: 10px 16px 24px; display: flex; flex-direction: column; gap: 16px;
	animation: brl-up .28s ease-out;
}
@media (min-width: 700px) {
	.brl-sheet__panel { left: auto; top: 0; bottom: 0; width: 440px; max-height: none; border-radius: 0; border-top: 0; border-left: var(--brl-b); animation-name: brl-left; padding-top: 20px; }
	.brl-sheet__grip { display: none; }
}
@keyframes brl-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes brl-left { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.brl-sheet__grip { width: 44px; height: 5px; border-radius: 999px; background: var(--brl-line); align-self: center; }
.brl-sheet__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brl-sheet__brand { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 800; letter-spacing: -0.04em; color: var(--brl-ink); }
.brl-sheet__brand .brl-mark { font-size: 22px; }
.brl-sheet__logo { height: var(--brl-sheet-logo-h); width: auto; }
.brl-sheet__title { font-size: 21px; font-weight: 800; letter-spacing: -0.03em; color: var(--brl-ink); }
.brl-quads { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.brl-quad { border: var(--brl-b); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 10px; min-height: 116px; }
.brl-quad__name { font-size: 20px; font-weight: 800; letter-spacing: -0.03em; text-decoration: none; }
.brl-quad__months { display: flex; flex-wrap: wrap; gap: 4px; }
.brl-quad__m {
	display: inline-flex; align-items: center; min-height: 32px; padding: 0 9px; border-radius: 999px; border: var(--brl-b-thin);
	background: var(--brl-bg); font-size: 12.5px; font-weight: 700; text-decoration: none;
}
.brl-quad__m.is-now { background: var(--brl-ink); color: #fff; }
.brl-quad__count { margin-top: auto; font-size: 13px; font-weight: 700; }
.brl-sheet__sections, .brl-sheet nav > ul { list-style: none; margin: 0; padding: 0; }
.brl-sheet__sections li { border-bottom: 1px solid var(--brl-line); }
.brl-sheet__sections a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 2px; font-size: 17px; font-weight: 700; text-decoration: none; }
.brl-count { font-weight: 500; color: var(--brl-muted); }
.brl-sheet__pills { display: flex; gap: 8px; }
.brl-sheet__pills .brl-btn { flex: 1; justify-content: center; }

/* ==========================================================================
   5. Homepage
   ========================================================================== */
.brl-intro { padding: 56px 0 44px; }
.brl-intro__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 24px 64px; align-items: end; }
.brl-intro__kicker, .brl-archhead__kicker {
	font-size: 13px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brl-autumn-text); margin-bottom: 14px;
}
.brl-intro__h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.03; font-weight: 800; letter-spacing: -0.04em; }
.brl-intro__sub { font-family: var(--brl-serif); font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; margin-bottom: 22px; }
.brl-intro__chips, .brl-none__seasons { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.brl-schip {
	display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px 6px 8px; border: var(--brl-b-thin); border-radius: 999px;
	font-size: 14px; font-weight: 700; text-decoration: none;
}
.brl-schip i { width: 18px; height: 18px; border-radius: 50%; border: var(--brl-b-thin); background: var(--season); }
.brl-schip span { font-weight: 500; color: var(--brl-muted); }
.brl-schip:hover { background: color-mix(in srgb, var(--season) 45%, #fff); color: var(--brl-ink); }
.brl-schip--winter { --season: var(--brl-winter); }
.brl-schip--spring { --season: var(--brl-spring); }
.brl-schip--summer { --season: var(--brl-summer); }
.brl-schip--autumn { --season: var(--brl-autumn); }

/* Placeholder images */
.brl-ph--winter { --ph: var(--brl-winter); }
.brl-ph--spring { --ph: var(--brl-spring); }
.brl-ph--summer { --ph: var(--brl-summer); }
.brl-ph--autumn { --ph: var(--brl-autumn); }
.brl-ph--all { --ph: var(--brl-all); }
.is-empty { display: flex !important; align-items: center; justify-content: center; background: color-mix(in srgb, var(--ph) 38%, #fff); }
.brl-img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Lead */
.brl-lead { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px 48px; align-items: center; padding: 36px 0 48px; border-top: var(--brl-b); }
.brl-lead__img { display: block; aspect-ratio: 16 / 9; border-radius: var(--brl-r); overflow: hidden; border: var(--brl-b); }
.brl-lead__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; }
.brl-tag { display: inline-flex; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.brl-lead__cat, .brl-story__cat { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; }
.brl-lead__title { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.07; font-weight: 800; letter-spacing: -0.035em; margin-bottom: 16px; }
.brl-lead__title a, .brl-row__title a, .brl-scard__title a, .brl-card__title a { text-decoration: none; }
.brl-lead__title a:hover, .brl-row__title a:hover, .brl-scard__title a:hover, .brl-card__title a:hover { text-decoration: underline; color: var(--brl-ink); }
.brl-lead__excerpt { font-family: var(--brl-serif); font-size: 20px; line-height: 1.55; margin-bottom: 18px; }
@media (max-width: 899px) {
	.brl-lead { grid-template-columns: 1fr; padding: 22px 0 32px; }
	.brl-lead__excerpt { font-size: 18px; }
}

/* Section titles */
.brl-section-title { font-size: 28px; font-weight: 800; letter-spacing: -0.025em; padding-bottom: 14px; border-bottom: var(--brl-b); margin-bottom: 6px; }
.brl-section-title--plain { border: 0; padding: 0; margin: 0; }

/* Around the year */
.brl-shelf { padding-bottom: 8px; }
.brl-shelf__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; border-top: var(--brl-b); padding-top: 18px; margin-bottom: 22px; }
.brl-shelf__sub { font-family: var(--brl-serif); font-size: 18px; color: var(--brl-muted); }
.brl-shelf__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.brl-shelf__grid[style*="--n:3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.brl-shelf__grid[style*="--n:2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.brl-shelf__grid[style*="--n:1"] { grid-template-columns: minmax(0, 420px); }
.brl-scard { border: var(--brl-b); border-radius: var(--brl-r); overflow: hidden; display: flex; flex-direction: column; background: var(--brl-bg); }
.brl-scard__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 14px 16px 12px; border-bottom: var(--brl-b); }
.brl-scard__head a { font-size: 24px; font-weight: 800; letter-spacing: -0.035em; text-decoration: none; color: var(--brl-ink); }
.brl-scard__head span { font-size: 13px; font-weight: 700; }
.brl-scard__img { display: block; aspect-ratio: 3 / 2; border-bottom: var(--brl-b); overflow: hidden; }
.brl-scard__body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.brl-scard__cat { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.brl-scard__title { font-size: 20px; line-height: 1.22; font-weight: 700; letter-spacing: -0.02em; }
.brl-scard__more { margin-top: auto; font-size: 14px; font-weight: 700; }
@media (max-width: 1099px) { .brl-shelf__grid, .brl-shelf__grid[style*="--n:3"] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
	.brl-shelf__grid, .brl-shelf__grid[style*="--n"] { grid-template-columns: 1fr; gap: 14px; }
	.brl-scard { display: grid; grid-template-columns: 104px minmax(0, 1fr); }
	.brl-scard__head { flex-direction: column; justify-content: space-between; border-bottom: 0; border-right: var(--brl-b); padding: 12px 10px; grid-row: 1; }
	.brl-scard__head a { font-size: 18px; }
	.brl-scard__head span { font-size: 12px; }
	.brl-scard__img { display: none; }
	.brl-scard__body { padding: 12px 14px; gap: 6px; }
	.brl-scard__title { font-size: 17px; }
	.brl-scard__more { display: none; }
}

.brl-band { margin-top: 48px; }

/* Columns: content + sidebar */
.brl-columns { display: grid; grid-template-columns: minmax(0, 1fr) var(--brl-side); gap: var(--brl-gap); padding-top: 64px; padding-bottom: 72px; align-items: start; }
.brl-columns--left { grid-template-columns: var(--brl-side) minmax(0, 1fr); }
.brl-columns--left .brl-sidebar { order: -1; }
.brl-columns--none { grid-template-columns: minmax(0, 1fr); }
.brl-columns--story { padding-top: 28px; }
.brl-columns--story.brl-columns--none { max-width: calc(var(--brl-read) + 48px); }
@media (max-width: 1023px) {
	.brl-columns, .brl-columns--left { grid-template-columns: minmax(0, 1fr); padding-top: 40px; }
	.brl-columns--left .brl-sidebar { order: 0; }
}

/* Rows */
.brl-rows { display: flex; flex-direction: column; }
.brl-row { display: flex; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--brl-line); align-items: flex-start; }
.brl-row__img { flex: 0 0 176px; aspect-ratio: 3 / 2; border-radius: var(--brl-r-sm); overflow: hidden; border: var(--brl-b-thin); display: block; }
.brl-row__body { min-width: 0; }
.brl-kicker { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 8px; }
.brl-dot { width: 10px; height: 10px; border-radius: 50%; border: var(--brl-b-thin); background: var(--season); flex: none; }
.brl-kicker--winter { color: var(--brl-winter-text); --season: var(--brl-winter); }
.brl-kicker--spring { color: var(--brl-spring-text); --season: var(--brl-spring); }
.brl-kicker--summer { color: var(--brl-summer-text); --season: var(--brl-summer); }
.brl-kicker--autumn { color: var(--brl-autumn-text); --season: var(--brl-autumn); }
.brl-kicker--all { color: var(--brl-all-text); --season: var(--brl-bg); }
.brl-row__title { font-size: 23px; line-height: 1.2; font-weight: 700; letter-spacing: -0.025em; margin-bottom: 8px; }
.brl-row__excerpt { font-family: var(--brl-serif); font-size: 17px; line-height: 1.5; margin-bottom: 8px; }
.brl-byline { font-size: 14px; color: var(--brl-muted); }
.brl-byline a { color: var(--brl-ink); font-weight: 700; text-decoration: none; }
.brl-byline a:hover { text-decoration: underline; }
.brl-byline__by { color: var(--brl-ink); }
.brl-byline__fresh { color: var(--brl-spring-text); font-weight: 600; }
.brl-row .brl-byline { font-size: 13px; }
@media (max-width: 640px) {
	.brl-row { gap: 14px; padding: 16px 0; }
	.brl-row__img { flex-basis: 92px; aspect-ratio: 1; }
	.brl-row__title { font-size: 18px; }
	.brl-row__excerpt { display: none; }
	.brl-kicker { font-size: 11px; }
}
.brl-more { margin-top: 26px; }

/* Grid cards (related) */
.brl-grid3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 24px; margin-top: 20px; }
.brl-card__img { display: block; aspect-ratio: 3 / 2; border-radius: var(--brl-r-sm); overflow: hidden; border: var(--brl-b-thin); margin-bottom: 12px; }
.brl-card__title { font-size: 19px; line-height: 1.25; font-weight: 700; letter-spacing: -0.02em; }

/* ==========================================================================
   6. Sidebar and widgets
   ========================================================================== */
.brl-sidebar { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.brl-widget__title { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; padding-bottom: 10px; border-bottom: var(--brl-b); margin-bottom: 8px; }
.brl-boxed { border: var(--brl-b); border-radius: var(--brl-r); padding: 22px; }
.brl-boxed .brl-widget__title { border: 0; padding: 0; margin-bottom: 10px; }
.brl-boxed--sun { background: color-mix(in srgb, var(--brl-summer) 40%, #fff); }
.brl-widget__text { font-family: var(--brl-serif); font-size: 17px; line-height: 1.55; margin-bottom: 14px; }
.brl-widget__more { font-size: 15px; font-weight: 700; }
.brl-widget ul:not([class]) { list-style: none; margin: 0; padding: 0; }
.brl-widget ul:not([class]) li { border-bottom: 1px solid var(--brl-line); padding: 10px 0; }
.brl-widget ul:not([class]) a { font-weight: 600; text-decoration: none; }

/* Core widgets in the theme's style */
.brl-widget :where(.wp-block-heading, h2:not(.brl-widget__title)) { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; padding-bottom: 10px; border-bottom: var(--brl-b); margin: 0 0 8px; }
.brl-widget :where(.wp-block-latest-posts, .wp-block-archives, .wp-block-categories, .wp-block-latest-comments, .wp-block-page-list) { list-style: none; margin: 0; padding: 0; }
.brl-widget :where(.wp-block-latest-posts, .wp-block-archives, .wp-block-categories, .wp-block-page-list) li { border-bottom: 1px solid var(--brl-line); padding: 10px 0; }
.brl-widget :where(.wp-block-latest-posts, .wp-block-archives, .wp-block-categories, .wp-block-page-list) a { font-weight: 600; text-decoration: none; }
.brl-widget :where(.wp-block-latest-posts, .wp-block-archives, .wp-block-categories, .wp-block-page-list) a:hover { text-decoration: underline; }
.brl-widget .wp-block-search__label { display: block; font-size: 20px; font-weight: 800; color: var(--brl-ink); padding-bottom: 10px; border-bottom: var(--brl-b); margin-bottom: 12px; }
.brl-widget .wp-block-search__inside-wrapper { display: flex; align-items: center; gap: 6px; border: var(--brl-b); border-radius: 999px; padding: 3px 4px 3px 16px; }
.brl-widget .wp-block-search__input { border: 0; outline: 0; background: transparent; min-width: 0; flex: 1; font-size: 15px; padding: 8px 0; }
.brl-widget .wp-block-search__button { border: 0; margin: 0; border-radius: 999px; background: var(--brl-ink); color: #fff; font-weight: 700; font-size: 14px; padding: 10px 16px; cursor: pointer; }
.brl-widget .wp-block-search__inside-wrapper:focus-within { outline: 3px solid var(--brl-ink); outline-offset: 2px; }
.brl-widget .no-comments, .brl-widget .wp-block-latest-comments__comment { font-size: 15px; }

.brl-most { list-style: none; margin: 0; padding: 0; }
.brl-most__item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--brl-line); align-items: baseline; }
.brl-most__n { font-size: 30px; font-weight: 800; line-height: 1; min-width: 26px; }
.brl-most--winter .brl-most__n { color: var(--brl-winter-text); }
.brl-most--spring .brl-most__n { color: var(--brl-spring-text); }
.brl-most--summer .brl-most__n { color: var(--brl-summer-text); }
.brl-most--autumn .brl-most__n { color: var(--brl-autumn-text); }
.brl-most--all .brl-most__n { color: var(--brl-all-text); }
.brl-most__item a { font-size: 17px; line-height: 1.3; font-weight: 700; text-decoration: none; }
.brl-most__item a:hover { text-decoration: underline; }

.brl-wmonths { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.brl-wmonths__a { display: block; text-align: center; padding: 10px 0; border: var(--brl-b-thin); border-radius: var(--brl-r-sm); font-weight: 700; font-size: 14px; text-decoration: none; background: var(--season); color: var(--brl-ink); }
.brl-wmonths__a.is-now { background: var(--brl-ink); color: #fff; }
.brl-wmonths--winter { --season: var(--brl-winter); }
.brl-wmonths--spring { --season: var(--brl-spring); }
.brl-wmonths--summer { --season: var(--brl-summer); }
.brl-wmonths--autumn { --season: var(--brl-autumn); }
.brl-wseasons { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
.brl-wseasons__a { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 14px; border: var(--brl-b); border-radius: var(--brl-r-sm); text-decoration: none; font-weight: 800; font-size: 17px; color: var(--brl-ink); }
.brl-wseasons__a small { font-size: 13px; font-weight: 600; }
.brl-wseasons--winter { background: var(--brl-winter); }
.brl-wseasons--spring { background: var(--brl-spring); }
.brl-wseasons--summer { background: var(--brl-summer); }
.brl-wseasons--autumn { background: var(--brl-autumn); }
.brl-wseasons__a:hover { color: var(--brl-ink); text-decoration: underline; }

.brl-wauthor { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; container-type: inline-size; }
.brl-wauthor__name { font-size: 18px; font-weight: 800; color: var(--brl-ink); }
.brl-wauthor__role { font-size: 14px; color: var(--brl-muted); }
.brl-wauthor__links { font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.brl-news { display: flex; flex-wrap: wrap; gap: 8px; }
.brl-news input { flex: 1 1 180px; min-height: 46px; border: var(--brl-b); border-radius: 999px; padding: 0 16px; background: #fff; }

.brl-social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.brl-social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: var(--brl-b); color: var(--brl-ink); }
.brl-social a:hover { background: var(--brl-summer); color: var(--brl-ink); }
.brl-social--dark a { border-color: var(--brl-on-dark-line); color: #fff; }
.brl-social--dark a:hover { background: var(--brl-summer); border-color: var(--brl-summer); color: var(--brl-ink); }

/* Author photo (fixed size, never squashed) */
.brl-author__photo { flex: 0 0 72px; width: 72px; height: 72px; overflow: hidden; border: var(--brl-b); display: flex; align-items: center; justify-content: center; background: var(--brl-all); }
.brl-author__photo--round { border-radius: 50%; }
.brl-author__photo--square { border-radius: var(--brl-r-sm); }
.brl-author__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brl-author__photo .brl-mark--big { width: 100%; height: 100%; border: 0; }
@container (max-width: 240px) {
	.brl-wauthor { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   7. Archive heads, pages, 404
   ========================================================================== */
.brl-archhead { padding: 40px 0 36px; border-bottom: var(--brl-b); background: color-mix(in srgb, var(--tone) 34%, var(--brl-bg)); }
.brl-archhead--all { --tone: var(--brl-bg); }
.brl-archhead--winter { --tone: var(--brl-winter); }
.brl-archhead--spring { --tone: var(--brl-spring); }
.brl-archhead--summer { --tone: var(--brl-summer); }
.brl-archhead--autumn { --tone: var(--brl-autumn); }
.brl-archhead__kicker { color: var(--brl-ink); margin-bottom: 10px; }
.brl-archhead__title { font-size: clamp(32px, 4vw, 52px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; }
.brl-archhead__desc { font-family: var(--brl-serif); font-size: 19px; max-width: 720px; margin-top: 14px; }
.brl-archhead__desc p { margin: 0; }

.brl-crumbs { margin-bottom: 18px; font-size: 13px; font-weight: 600; color: var(--brl-muted); }
.brl-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; }
.brl-crumbs li + li::before { content: "◦"; margin: 0 9px; color: var(--brl-ink); font-weight: 800; }
.brl-crumbs a { color: var(--brl-muted); text-decoration: none; }
.brl-crumbs a:hover { color: var(--brl-ink); text-decoration: underline; }
.brl-crumbs li { min-width: 0; max-width: 100%; }
.brl-crumbs [aria-current] { color: var(--brl-ink); display: inline-block; max-width: min(46ch, calc(100vw - 80px)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }

.brl-page { max-width: calc(var(--brl-read) + 48px); margin: 0 auto; padding: 40px 24px 72px; }
.brl-page--wide { max-width: var(--brl-wrap); }
.brl-page--narrow { max-width: 708px; }
.brl-page__head { margin-bottom: 28px; padding-bottom: 22px; border-bottom: var(--brl-b); }
.brl-page__title { font-size: clamp(32px, 4vw, 48px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.06; }
.brl-page--narrow .brl-page__head { border-bottom: 0; padding-bottom: 0; }
.brl-page--narrow .brl-page__head::after { content: ""; display: block; height: 10px; margin-top: 22px; border: var(--brl-b); border-radius: 999px; background: linear-gradient(90deg, var(--brl-winter) 0 25%, var(--brl-spring) 25% 50%, var(--brl-summer) 50% 75%, var(--brl-autumn) 75%); }

.brl-none { padding: 24px 0; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.brl-none__title { font-size: 26px; font-weight: 800; }
.brl-404 { padding-top: 64px; padding-bottom: 90px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; max-width: 820px; }
.brl-404__title { font-size: clamp(36px, 5vw, 60px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; }
.brl-404__text { font-family: var(--brl-serif); font-size: 20px; }

.nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.nav-links .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border: var(--brl-b); border-radius: 999px; text-decoration: none; font-weight: 700; }
.nav-links .page-numbers.current { background: var(--brl-ink); color: #fff; }
.nav-links .dots { border: 0; }

/* ==========================================================================
   8. Story
   ========================================================================== */
.brl-story { min-width: 0; max-width: var(--brl-read); }
.brl-columns--none .brl-story { margin: 0 auto; }
.brl-story__head { margin-bottom: 26px; }
.brl-story__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 16px; }
.brl-chip { display: inline-flex; align-items: center; min-height: 30px; padding: 4px 13px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; color: var(--brl-ink); border: var(--brl-b-thin); }
.brl-chip--winter { background: var(--brl-winter); }
.brl-chip--spring { background: var(--brl-spring); }
.brl-chip--summer { background: var(--brl-summer); }
.brl-chip--autumn { background: var(--brl-autumn); }
.brl-chip--all { background: var(--brl-bg); }
a.brl-chip:hover { color: var(--brl-ink); text-decoration: underline; }
.brl-story__title { font-size: clamp(32px, 4.2vw, 50px); line-height: 1.05; font-weight: 800; letter-spacing: -0.04em; margin-bottom: 16px; }
.brl-dek { font-family: var(--brl-serif); font-size: clamp(19px, 1.8vw, 22px); line-height: 1.5; color: var(--brl-text); margin-bottom: 18px; }
.brl-story__head .brl-byline { padding: 12px 0; border-top: var(--brl-b); border-bottom: 1px solid var(--brl-line); }
.brl-feature { margin: 0 0 30px; }
.brl-feature img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--brl-r); border: var(--brl-b); }
.brl-feature figcaption, .entry-content figcaption, .wp-caption-text { font-size: 13px; color: var(--brl-muted); margin-top: 8px; }

/* Text: one column; nothing may stick out */
.entry-content { font-family: var(--brl-serif); font-size: 20px; line-height: 1.7; color: var(--brl-text); }
.entry-content > * { max-width: 100%; }
.entry-content :where(p, ul, ol, blockquote, figure, table, pre, .wp-block-image, .wp-caption, .brl-embed) { margin: 0 0 1.15em; }
.entry-content :where(h2) { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; margin: 1.7em 0 .55em; scroll-margin-top: 24px; }
.entry-content :where(h3) { font-size: 23px; font-weight: 700; letter-spacing: -0.02em; margin: 1.4em 0 .45em; scroll-margin-top: 24px; }
.entry-content :where(h4) { font-size: 19px; font-weight: 700; margin: 1.2em 0 .4em; }
.entry-content :where(ul, ol) { padding-left: 1.3em; }
.entry-content :where(li) { margin-bottom: .35em; }
.entry-content :where(li)::marker { color: var(--brl-autumn-text); font-weight: 700; }
.entry-content :where(a) { color: var(--brl-ink); text-decoration-color: var(--brl-autumn); text-decoration-thickness: 2px; }
.entry-content :where(a):hover { color: var(--brl-hover); }
.entry-content :where(strong) { color: var(--brl-ink); }
.entry-content :where(blockquote) { margin-left: 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--brl-ink); font-size: 22px; font-style: italic; }
.entry-content :where(img, video, iframe, embed, object) { max-width: 100%; }
.entry-content :where(img) { height: auto; border-radius: var(--brl-r-sm); }
.entry-content :where(.alignwide, .alignfull, .wp-block-image.alignwide, .wp-block-image.alignfull) { width: 100%; max-width: 100%; margin-left: 0; margin-right: 0; }
.entry-content :where(.aligncenter) { margin-left: auto; margin-right: auto; display: block; }
.entry-content :where(.alignleft) { float: left; margin: 0.3em 1.2em 0.8em 0; max-width: 50%; }
.entry-content :where(.alignright) { float: right; margin: 0.3em 0 0.8em 1.2em; max-width: 50%; }
.entry-content :where(.wp-caption) { width: auto !important; max-width: 100%; }
.entry-content :where(table) { width: 100%; border-collapse: collapse; font-family: var(--brl-sans); font-size: 15px; display: block; overflow-x: auto; }
.entry-content :where(th, td) { border-bottom: 1px solid var(--brl-line); padding: 10px 12px; text-align: left; }
.entry-content :where(th) { border-bottom: var(--brl-b); color: var(--brl-ink); }
.entry-content :where(pre) { overflow-x: auto; font-size: 15px; background: var(--brl-all); padding: 16px; border-radius: var(--brl-r-sm); }
.entry-content :where(hr) { border: 0; height: 10px; border-radius: 999px; margin: 2em 0; background: linear-gradient(90deg, var(--brl-winter) 0 25%, var(--brl-spring) 25% 50%, var(--brl-summer) 50% 75%, var(--brl-autumn) 75%); }
.entry-content > p:first-of-type::first-letter { font-family: var(--brl-sans); font-weight: 800; }
.brl-embed { position: relative; width: 100%; }
.brl-embed iframe { max-width: 100%; }
.brl-embed--video { aspect-ratio: 16 / 9; }
.brl-embed--video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: var(--brl-r-sm); }
@media (max-width: 640px) {
	.entry-content { font-size: 18px; }
	.entry-content :where(h2) { font-size: 25px; }
	.entry-content :where(h3) { font-size: 20px; }
	.entry-content :where(.alignleft, .alignright) { float: none; margin: 0 0 1em; max-width: 100%; }
}

/* Story boxes */
.brl-box__label { font-family: var(--brl-sans); font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brl-ink); margin-bottom: 8px; }
.entry-content .brl-thennow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: var(--brl-b); border-radius: var(--brl-r); overflow: hidden; margin: 1.6em 0; font-size: 18px; line-height: 1.55; }
.brl-thennow > div { padding: 18px 20px; }
.brl-thennow__then { background: var(--brl-all); border-right: var(--brl-b); }
.brl-thennow__now { background: color-mix(in srgb, var(--brl-spring) 45%, #fff); }
.brl-thennow p { margin: 0; }
.brl-thennow p.brl-box__label { margin-bottom: 8px; }
@media (max-width: 560px) {
	.entry-content .brl-thennow { grid-template-columns: 1fr; }
	.brl-thennow__then { border-right: 0; border-bottom: var(--brl-b); }
}
.entry-content .brl-try { border: var(--brl-b); border-radius: var(--brl-r); padding: 18px 20px 6px; margin: 1.6em 0; background: color-mix(in srgb, var(--brl-summer) 35%, #fff); }
.brl-try ol { counter-reset: brl-step; list-style: none; padding: 0; font-size: 18px; }
.brl-try li { counter-increment: brl-step; display: flex; gap: 12px; margin-bottom: .7em; }
.brl-try li::before { content: counter(brl-step); flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--brl-ink); color: #fff; font-family: var(--brl-sans); font-size: 14px; font-weight: 800; margin-top: 1px; }
.entry-content .brl-note { border-top: var(--brl-b); border-bottom: var(--brl-b); padding: 16px 0; margin: 1.6em 0; font-size: 18px; }
.brl-note p { margin: 0; }
.entry-content .brl-sources { border-top: var(--brl-b); padding-top: 14px; margin-top: 2em; font-family: var(--brl-sans); font-size: 14px; line-height: 1.5; }
.brl-sources ol { padding-left: 1.4em; margin: 0; }
.brl-sources a { word-break: break-word; }
.brl-note-after { margin: 24px 0 0; padding: 14px 16px; border-radius: var(--brl-r-sm); background: var(--brl-all); font-size: 14px; }

/* Charts and key number */
.brl-chart { margin: 1.8em 0; padding: 18px 20px; border: var(--brl-b); border-radius: var(--brl-r); font-family: var(--brl-sans); font-size: 14px; line-height: 1.4; background: var(--brl-bg); }
.brl-sidebar .brl-chart, .brl-widget .brl-chart { margin: 0; padding: 14px; }
.brl-chart__title { font-size: 17px; font-weight: 800; color: var(--brl-ink); margin-bottom: 14px; }
.brl-chart__note { color: var(--brl-muted); margin-top: 12px; }
.brl-source { font-size: 13px; color: var(--brl-muted); margin-top: 10px; }
.brl-source a { color: var(--brl-muted); }
.brl-chart__rows { display: grid; gap: 10px; }
.brl-hbar { display: grid; grid-template-columns: minmax(0, 9em) minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.brl-hbar__label { font-weight: 600; color: var(--brl-ink); }
.brl-hbar__track { height: 16px; border-radius: 999px; background: var(--brl-all); overflow: hidden; }
.brl-hbar__fill { display: block; height: 100%; width: var(--w); background: #3D4048; border-radius: 999px; transform-origin: left; }
.brl-hbar.is-hi .brl-hbar__fill { background: var(--brl-autumn); box-shadow: inset 0 0 0 1.5px var(--brl-ink); }
.brl-hbar.is-mu .brl-hbar__fill { background: #B4B7BE; }
.brl-hbar__val { font-weight: 800; color: var(--brl-ink); font-variant-numeric: tabular-nums; }
.brl-cols { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 10px; align-items: end; height: 220px; }
.brl-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; min-width: 0; }
.brl-col__bar { width: 100%; max-width: 56px; height: var(--h); background: #3D4048; border-radius: 6px 6px 0 0; transform-origin: bottom; }
.brl-col.is-hi .brl-col__bar { background: var(--brl-autumn); box-shadow: inset 0 0 0 1.5px var(--brl-ink); }
.brl-col.is-mu .brl-col__bar { background: #B4B7BE; }
.brl-col__val { font-weight: 800; color: var(--brl-ink); }
.brl-col__label { font-size: 12.5px; text-align: center; color: var(--brl-text); overflow-wrap: anywhere; }
.brl-line { width: 100%; overflow: visible; }
.brl-line__base { stroke: var(--brl-line); stroke-width: 1.5; }
.brl-line__path { fill: none; stroke: var(--brl-ink); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.brl-line__dot { fill: var(--brl-bg); stroke: var(--brl-ink); stroke-width: 2.5; }
.brl-line__dot.is-hi { fill: var(--brl-autumn); }
.brl-line__val { font-size: 13px; font-weight: 800; fill: var(--brl-ink); }
.brl-line__labels { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); text-align: center; font-size: 12.5px; }
.brl-donut { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.brl-donut svg { width: 150px; height: 150px; flex: none; }
.brl-donut__seg { fill: none; stroke-width: 18; }
.brl-donut__seg--0, .brl-donut__key--0 { stroke: var(--brl-autumn); background: var(--brl-autumn); }
.brl-donut__seg--1, .brl-donut__key--1 { stroke: var(--brl-winter); background: var(--brl-winter); }
.brl-donut__seg--2, .brl-donut__key--2 { stroke: var(--brl-summer); background: var(--brl-summer); }
.brl-donut__seg--3, .brl-donut__key--3 { stroke: var(--brl-spring); background: var(--brl-spring); }
.brl-donut__seg--4, .brl-donut__key--4 { stroke: #3D4048; background: #3D4048; }
.brl-donut__seg--5, .brl-donut__key--5 { stroke: #B4B7BE; background: #B4B7BE; }
.brl-donut__legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.brl-donut__key { display: inline-block; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--brl-ink); margin-right: 8px; vertical-align: -2px; }
.brl-chart[data-brl-inview] .brl-hbar__fill, .brl-chart[data-brl-inview] .brl-col__bar { transition: transform .7s ease-out; }
.brl-js .brl-chart[data-brl-inview]:not(.is-in) .brl-hbar__fill { transform: scaleX(0); }
.brl-js .brl-chart[data-brl-inview]:not(.is-in) .brl-col__bar { transform: scaleY(0); }
.brl-stat { border: var(--brl-b); border-radius: var(--brl-r); padding: 18px 20px; margin: 1.6em 0; font-family: var(--brl-sans); background: color-mix(in srgb, var(--brl-winter) 40%, #fff); }
.brl-widget .brl-stat { margin: 0; }
.brl-stat__value { font-size: 42px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--brl-ink); }
.brl-stat__label { font-size: 16px; font-weight: 600; margin-top: 8px; color: var(--brl-ink); }

/* Contents trail */
.brl-trail { font-family: var(--brl-sans); border: var(--brl-b); border-radius: var(--brl-r); padding: 14px 16px 12px; background: var(--brl-bg); margin: 0 0 1.6em; --dot: var(--brl-all); }
.brl-trail--winter { --dot: var(--brl-winter); }
.brl-trail--spring { --dot: var(--brl-spring); }
.brl-trail--summer { --dot: var(--brl-summer); }
.brl-trail--autumn { --dot: var(--brl-autumn); }
.brl-trail__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.brl-trail__title { font-size: 16px; font-weight: 800; color: var(--brl-ink); letter-spacing: -0.01em; }
.brl-trail__toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; border: var(--brl-b-thin); border-radius: 999px; background: var(--brl-bg); font-size: 13px; font-weight: 700; cursor: pointer; }
.brl-trail__chev { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; }
.brl-trail__toggle[aria-expanded="true"] .brl-trail__chev { transform: rotate(-135deg) translate(-2px, -2px); }
.brl-trail__line { list-style: none; margin: 12px 0 2px; padding: 0; position: relative; }
.brl-trail__line::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; background: var(--brl-line); }
.brl-trail__line::after { content: ""; position: absolute; left: 7px; top: 10px; width: 2px; height: var(--brl-progress, 0%); max-height: calc(100% - 20px); background: var(--brl-ink); transition: height .25s; }
.brl-trail__stop a { display: flex; gap: 12px; align-items: flex-start; padding: 6px 0; text-decoration: none; font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--brl-text); position: relative; z-index: 1; }
.brl-trail__stop a:hover { color: var(--brl-ink); text-decoration: underline; }
.brl-trail__dot { flex: none; width: 16px; height: 16px; margin-top: 1px; border-radius: 50%; border: 2px solid var(--brl-ink); background: var(--brl-bg); transition: background .2s; }
.brl-trail__stop.is-sub a { padding-left: 26px; font-size: 14px; font-weight: 500; }
.brl-trail__stop.is-sub .brl-trail__dot { width: 10px; height: 10px; margin-top: 4px; }
.brl-trail__stop.is-past .brl-trail__dot { background: var(--brl-ink); }
.brl-trail__stop.is-here .brl-trail__dot { background: var(--dot); box-shadow: 0 0 0 3px var(--brl-bg), 0 0 0 5px var(--brl-ink); }
.brl-trail__stop.is-here a { color: var(--brl-ink); font-weight: 800; }
.entry-content .brl-trail { font-size: 15px; line-height: 1.4; }
.brl-sidebar__toc { position: sticky; top: 24px; }
.brl-sticky .brl-sidebar__toc { top: 150px; }
.brl-sidebar__toc .brl-trail { margin: 0; max-height: calc(100vh - 60px); overflow-y: auto; }
.brl-sidebar__toc .brl-trail__toggle { display: none; }
.brl-trail--phone { display: none; }
@media (max-width: 1023px) {
	.brl-trail--phone { display: block; }
	.brl-sidebar__toc { display: none; }
}

/* After the story */
.brl-tags { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.brl-tags a { display: inline-flex; padding: 6px 12px; border: var(--brl-b-thin); border-radius: 999px; font-size: 13px; font-weight: 600; text-decoration: none; }
.brl-tags a::before { content: "#"; color: var(--brl-muted); margin-right: 2px; }
.brl-afterpost { margin-top: 28px; display: grid; gap: 20px; }
.brl-author { display: flex; gap: 20px; align-items: flex-start; margin-top: 40px; padding: 22px; border: var(--brl-b); border-radius: var(--brl-r); background: linear-gradient(90deg, var(--brl-winter) 0 25%, var(--brl-spring) 25% 50%, var(--brl-summer) 50% 75%, var(--brl-autumn) 75%) top / 100% 8px no-repeat; padding-top: 30px; }
.brl-author .brl-author__photo { flex-basis: 84px; width: 84px; height: 84px; }
.brl-author__body { min-width: 0; }
.brl-author__label { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brl-muted); margin-bottom: 4px; }
.brl-author__name { font-size: 22px; font-weight: 800; }
.brl-author__role { font-size: 14px; color: var(--brl-muted); }
.brl-author__bio { font-family: var(--brl-serif); font-size: 17px; line-height: 1.55; margin: 8px 0 10px; }
.brl-author__links { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
@media (max-width: 560px) { .brl-author { flex-direction: column; } }
.brl-postnav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.brl-postnav a { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: var(--brl-b-thin); border-radius: var(--brl-r); text-decoration: none; }
.brl-postnav a:hover { background: var(--brl-all); color: var(--brl-ink); }
.brl-postnav__next { grid-column: 2; text-align: right; }
.brl-postnav__label { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brl-muted); }
.brl-postnav__title { font-size: 17px; font-weight: 700; line-height: 1.3; }
@media (max-width: 560px) { .brl-postnav { grid-template-columns: 1fr; } .brl-postnav__next { grid-column: 1; } }
.brl-related { padding: 8px 0 72px; }

/* Comments */
.brl-comments { margin-top: 44px; }
.brl-comments__list { list-style: none; padding: 0; margin: 18px 0 30px; }
.brl-comments__list .comment-body { padding: 16px 0; border-bottom: 1px solid var(--brl-line); }
.brl-comments__list .children { list-style: none; padding-left: 24px; }
.comment-meta { font-size: 14px; }
.comment-meta .avatar { border-radius: 50%; vertical-align: middle; margin-right: 8px; }
.comment-content { font-family: var(--brl-serif); font-size: 18px; }
.comment-form { display: grid; gap: 12px; }
.comment-form label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.comment-form input:not([type="checkbox"]):not([type="submit"]), .comment-form textarea { width: 100%; border: var(--brl-b); border-radius: var(--brl-r-sm); padding: 12px; background: #fff; }

/* ==========================================================================
   9. Footer
   ========================================================================== */
.brl-footer { background: var(--brl-footer); color: var(--brl-on-dark); margin-top: 0; }
.brl-footer a { color: var(--brl-on-dark); }
.brl-footer a:hover { color: var(--brl-summer); }
.brl-footer :focus-visible { outline-color: var(--brl-summer); }
.brl-footer .brl-wrap { padding-top: 60px; }
.brl-footer__top { display: flex; flex-wrap: wrap; gap: 40px 56px; padding-bottom: 44px; }
.brl-footer__brand { flex: 1 1 280px; display: flex; flex-direction: column; gap: 14px; }
.brl-fbrand { margin: 0; }
.brl-fbrand a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brl-fbrand .brl-mark { font-size: 28px; }
.brl-fbrand__name { font-size: 28px; font-weight: 800; letter-spacing: -0.04em; }
.brl-fbrand .brl-hl { color: var(--brl-summer); }
.brl-fbrand__img { height: var(--brl-footer-logo-h); width: auto; }
.brl-footer__mission { font-family: var(--brl-serif); font-size: 18px; line-height: 1.55; color: var(--brl-on-dark-2); max-width: 46ch; }
.brl-table { flex: 3 1 640px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1.5px solid var(--brl-on-dark-line); border-radius: var(--brl-r); overflow: hidden; }
.brl-table.has-house { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.brl-table__col { border-right: 1.5px solid var(--brl-on-dark-line); padding: 0 0 18px; --season: var(--brl-on-dark-2); }
.brl-table__col:last-child { border-right: 0; }
.brl-table__col::before { content: ""; display: block; height: 8px; background: var(--season); }
.brl-table--winter { --season: var(--brl-winter); }
.brl-table--spring { --season: var(--brl-spring); }
.brl-table--summer { --season: var(--brl-summer); }
.brl-table--autumn { --season: var(--brl-autumn); }
.brl-table__title { font-size: 18px; font-weight: 800; margin: 14px 16px 10px; color: var(--season); }
.brl-table__title a { color: var(--season); text-decoration: none; }
.brl-table__title a:hover { text-decoration: underline; color: var(--season); }
.brl-table__title span { font-size: 13px; font-weight: 500; color: #A9ACB3; }
.brl-table ul, .brl-table__list { list-style: none; margin: 0; padding: 0 16px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.35; }
.brl-table li a { text-decoration: none; }
.brl-table li a:hover { text-decoration: underline; }
.brl-table__empty { padding: 0 16px; font-size: 14px; color: #A9ACB3; }
@media (max-width: 899px) { .brl-table, .brl-table.has-house { grid-template-columns: repeat(2, minmax(0, 1fr)); } .brl-table__col { border-bottom: 1.5px solid var(--brl-on-dark-line); } }
@media (max-width: 420px) { .brl-table, .brl-table.has-house { grid-template-columns: 1fr; } .brl-table__col { border-right: 0; } }
.brl-footer__sentence { padding: 22px 0; border-top: 1.5px solid var(--brl-on-dark-line); font-family: var(--brl-serif); font-size: 18px; color: var(--brl-on-dark-2); }
.brl-footer__sentence a { color: var(--brl-summer); }
.brl-footer__sentence a:hover { color: #fff; }
.brl-footbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding: 18px 0 26px; border-top: 1.5px solid var(--brl-on-dark-line); font-size: 13px; color: #A9ACB3; }
.brl-footbar__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.brl-footbar__links a { text-decoration: none; }
.brl-footbar__widgets { display: flex; gap: 16px; }
.brl-footbar__widgets .brl-widget__title { display: none; }
.brl-footbar__top { color: #fff; font-weight: 700; text-decoration: none; }
.brl-footer--centered .brl-wrap { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.brl-footer--centered .brl-footer__mission { margin: 0 auto; }
.brl-footer__seasons, .brl-footer__row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.brl-footer__seasons a { display: inline-flex; padding: 8px 16px; border-radius: 999px; font-weight: 800; text-decoration: none; }
.brl-footer__seasons a:hover { color: var(--brl-ink); text-decoration: underline; }
.brl-footer--centered .brl-footbar, .brl-footer--centered .brl-footer__sentence { width: 100%; justify-content: center; }
.brl-footer__cols { flex: 3 1 640px; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 28px; }
.brl-footer .brl-widget__title { color: #fff; border-bottom-color: var(--brl-on-dark-line); font-size: 17px; }
.brl-flist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.brl-flist a { text-decoration: none; }
@media (max-width: 899px) { .brl-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ==========================================================================
   10. WordPress core classes
   ========================================================================== */
.sticky, .bypostauthor, .gallery-caption { }
.wp-block-image figcaption { text-align: left; }
.alignnone { margin: 0 0 1em; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
	.brl-header, .brl-footer, .brl-sidebar, .brl-sheet, .brl-postnav, .brl-related, .brl-comments { display: none !important; }
}

/* Box text inside the story column keeps its own spacing */
.entry-content .brl-trail__title, .entry-content .brl-stat__value { margin: 0; }
.entry-content .brl-stat__label { margin: 8px 0 0; }
.entry-content .brl-chart__title { margin: 0 0 14px; }
.entry-content .brl-chart__note { margin: 12px 0 0; }
.entry-content .brl-source { margin: 10px 0 0; }
.entry-content .brl-donut__legend, .entry-content .brl-line__labels { padding: 0; }
.brl-footer .brl-footer__seasons a { color: var(--brl-ink); }
