/*
Theme Name: Broadsheet
Theme URI: https://wordpress.org/themes/
Author: Broadsheet
Description: A classic black-and-white newspaper theme for guest-post sites. Gothic masthead, three columns split by fine rules: Sections and Index on the left, the lead story and a two-column news grid in the middle, and 10 shuffled posts (image, headline, 100-word preview) on the right that change on every visit. Self-hosted fonts, no theme JavaScript.
Version: 1.0.0
Requires at least: 5.9
Tested up to: 7.2
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: broadsheet
Update URI: false
Tags: blog, news, three-columns, left-sidebar, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, theme-options
*/

/* Fonts (self-hosted, no Google requests) */
@font-face {
	font-family: "UnifrakturMaguntia";
	src: url("assets/fonts/unifrakturmaguntia.woff2") format("woff2");
	font-weight: 400 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Playfair Display";
	src: url("assets/fonts/playfair-display.woff2") format("woff2");
	font-weight: 400 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Libre Franklin";
	src: url("assets/fonts/libre-franklin.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

/* ==========================================================================
   Base (shared structure; the theme section below sets the look)
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
	margin: 0;
	background: var(--br-bg);
	color: var(--br-ink);
	font-family: var(--br-body);
	font-size: 1.0625rem;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, video, svg, iframe { max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 0.5em;
	font-family: var(--br-display);
	line-height: 1.15;
	text-wrap: balance;
}

:focus-visible { outline: 3px solid var(--br-focus, currentColor); outline-offset: 3px; border-radius: 4px; }

.br-wrap { width: min(100% - 32px, var(--br-wrap)); margin-inline: auto; }

.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;
}
.screen-reader-text:focus,
.skip-link:focus {
	clip: auto !important;
	clip-path: none;
	height: auto;
	width: auto;
	left: 12px;
	top: 12px;
	z-index: 1000;
	padding: 12px 18px;
	background: var(--br-accent);
	color: var(--br-on-accent);
	border-radius: 8px;
	font-weight: 700;
	text-decoration: none;
}

/* Buttons */
.br-btn,
.comment-form .submit {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	padding: 0.7em 1.25em;
	background: var(--br-accent);
	color: var(--br-on-accent);
	border: 0;
	border-radius: var(--br-btn-radius, 8px);
	font-family: var(--br-display);
	font-weight: 700;
	font-size: 0.95rem;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.br-btn:hover,
.comment-form .submit:hover { transform: translateY(-2px); }

/* Mobile menu toggle (pure CSS checkbox) */
.br-nav-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.br-nav-button { display: none; }
.br-burger { position: relative; width: 18px; height: 12px; }
.br-burger::before,
.br-burger::after,
.br-burger span {
	content: "";
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}
.br-burger::before { top: 0; }
.br-burger span { top: 5px; }
.br-burger::after { top: 10px; }
.br-nav-toggle:checked + .br-nav-button .br-burger::before { transform: translateY(5px) rotate(45deg); }
.br-nav-toggle:checked + .br-nav-button .br-burger span { opacity: 0; }
.br-nav-toggle:checked + .br-nav-button .br-burger::after { transform: translateY(-5px) rotate(-45deg); }
.br-nav-toggle:focus-visible + .br-nav-button { outline: 3px solid currentColor; outline-offset: 3px; }

.br-menu { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.br-menu li { position: relative; }
.br-menu a { display: block; text-decoration: none; }
.br-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 60;
	min-width: 210px;
	margin: 0;
	padding: 8px;
	list-style: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.br-menu li:hover > .sub-menu,
.br-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }

/* Thumbnails */
.br-thumb {
	display: block;
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	text-decoration: none;
	background: var(--br-soft);
}
.br-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}
a.br-thumb:hover img { transform: scale(1.04); }
.br-thumb__fallback {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	background: var(--br-tone, var(--br-soft));
	font-family: var(--br-display);
	font-weight: 700;
	font-size: clamp(2.6rem, 7vw, 4.2rem);
	line-height: 1;
	color: var(--br-tone-ink, var(--br-ink));
}

/* Chips + meta */
.br-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.br-chip { text-decoration: none; }
.br-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; color: var(--br-muted); font-size: 0.88rem; }
.br-meta__item + .br-meta__item::before { content: "·"; margin: 0 8px; }
.br-meta a { color: var(--br-ink); font-weight: 700; text-decoration: none; }
.br-meta a:hover { text-decoration: underline; }
.br-meta__avatar { width: 40px; height: 40px; margin-right: 10px; border-radius: 50%; }

/* Lists in boxes */
.br-catlist,
.br-pagelist,
.br-randlist { margin: 0; padding: 0; list-style: none; }
.br-pagelist .children { display: none; }
.br-cat,
.br-pagelist a { text-decoration: none; }
.br-randlist,
.br-rand,
.br-rand__media { position: relative; }
.br-rand__title { margin: 0 0 6px; }
.br-rand__title a,
.br-card__title a,
.br-full__title a { text-decoration: none; }
.br-rand__text { margin: 0 0 8px; }
.br-rand__more { font-weight: 700; }
.widget.br-box > :not(.br-box__title) { margin: 16px 18px; }
.widget.br-box ul { padding-left: 1.1em; }

/* Article content */
.br-entry { font-size: 1.075rem; line-height: 1.78; overflow-wrap: break-word; }
.br-entry > * { margin-block: 0 1.15em; }
.br-entry > *:last-child { margin-bottom: 0; }
.br-entry h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); margin-top: 1.6em; }
.br-entry h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); margin-top: 1.5em; }
.br-entry h4 { font-size: 1.15rem; margin-top: 1.4em; }
.br-entry a { color: var(--br-link, var(--br-ink)); font-weight: 600; text-decoration: underline; text-decoration-color: var(--br-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.br-entry a:hover { text-decoration-thickness: 4px; }
.br-entry ul,
.br-entry ol { padding-left: 1.4em; }
.br-entry li { margin-bottom: 0.4em; }
.br-entry li::marker { color: var(--br-accent); }
.br-entry blockquote { margin-inline: 0; }
.br-entry blockquote p:last-child { margin-bottom: 0; }
.br-entry blockquote cite { display: block; margin-top: 10px; font-size: 0.9rem; font-style: normal; color: var(--br-muted); }
.br-entry img { border-radius: var(--br-img-radius, 8px); }
.br-entry figure { margin-inline: 0; }
.br-entry figcaption,
.wp-caption-text,
.wp-element-caption { margin-top: 8px; color: var(--br-muted); font-size: 0.88rem; text-align: center; }
.br-entry code,
.br-entry kbd { padding: 0.12em 0.4em; background: var(--br-soft); border-radius: 6px; font-family: var(--br-mono); font-size: 0.88em; }
.br-entry pre { padding: 20px 22px; background: #15131c; color: #f3f0e8; border-radius: 10px; overflow-x: auto; font-family: var(--br-mono); font-size: 0.9rem; line-height: 1.6; }
.br-entry pre code { padding: 0; background: none; color: inherit; }
.br-entry table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.br-entry th,
.br-entry td { padding: 10px 12px; border: 1px solid var(--br-line); text-align: left; }
.br-entry th { background: var(--br-soft); }
.br-entry .wp-block-table { overflow-x: auto; }
.br-entry hr { border: 0; height: 1px; background: var(--br-line); margin: 2.4em 0; }
.br-entry .more-link { display: inline-block; margin-top: 4px; font-family: var(--br-display); font-weight: 700; }
.br-pagelinks { margin-top: 22px; font-weight: 700; }
.br-pagelinks a,
.br-pagelinks > span:not(:first-child) { margin-left: 6px; }

.br-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.br-tags a { padding: 0.3em 0.75em; border-radius: 6px; background: var(--br-soft); font-size: 0.82rem; font-weight: 600; text-decoration: none; }
.br-tags a::before { content: "#"; color: var(--br-accent); margin-right: 1px; }

/* WordPress core classes */
.alignleft { float: left; margin: 0.3em 1.4em 1em 0; }
.alignright { float: right; margin: 0.3em 0 1em 1.4em; }
.aligncenter { display: block; margin-inline: auto; }
.alignwide,
.alignfull { width: 100%; }
.wp-caption { max-width: 100%; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.gallery-caption { font-size: 0.85rem; }
.sticky { position: relative; }
.bypostauthor > .comment-body { outline: 2px solid var(--br-accent); }

/* Single post */
.br-single__thumb { margin: 0; }
.br-single__thumb img { display: block; width: 100%; height: auto; }
.br-single .br-tags { margin-top: 30px; }
.br-author { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; margin-top: 32px; padding: 22px; }
.br-author__avatar { width: 88px; height: 88px; border-radius: 50%; }
.br-author__label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--br-muted); }
.br-author__name { margin: 2px 0 6px; font-size: 1.35rem; }
.br-author__name a { text-decoration: none; }
.br-author__bio { margin: 0 0 8px; font-size: 0.98rem; color: var(--br-muted); }
.br-author__site { font-weight: 700; font-size: 0.92rem; }
@media (max-width: 520px) {
	.br-author { grid-template-columns: 1fr; }
	.br-author__avatar { width: 64px; height: 64px; }
}

.br-postnav { margin-top: 36px; }
.br-postnav .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.br-postnav .nav-next { grid-column: 2; text-align: right; }
.br-postnav a { display: block; height: 100%; padding: 18px 20px; text-decoration: none; }
.br-postnav__label { display: block; margin-bottom: 4px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--br-muted); }
.br-postnav__title { font-family: var(--br-display); font-weight: 700; line-height: 1.3; }
@media (max-width: 640px) {
	.br-postnav .nav-links { grid-template-columns: 1fr; }
	.br-postnav .nav-next { grid-column: auto; }
}

/* Pagination */
.pagination { margin-top: 44px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 46px;
	height: 46px;
	padding: 0 12px;
	font-family: var(--br-display);
	font-weight: 700;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}
.page-numbers.dots { background: transparent !important; border-color: transparent !important; }

/* Archive header */
.br-archive-head { margin-bottom: 32px; }
.br-archive-head__title { margin: 10px 0 8px; font-size: clamp(2.1rem, 5vw, 3.2rem); }
.br-archive-head__desc { color: var(--br-muted); max-width: 60ch; }
.br-archive-head .br-search { margin-top: 18px; max-width: 520px; }

/* Search + comments */
.br-search { display: flex; gap: 8px; }
.br-search__input,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	background: var(--br-paper);
	color: var(--br-ink);
	border: 1px solid var(--br-line);
	border-radius: var(--br-input-radius, 8px);
	font: inherit;
	font-size: 1rem;
}
.br-search__input:focus,
.comment-form input:focus,
.comment-form textarea:focus { outline: none; border-color: var(--br-accent); box-shadow: 0 0 0 3px var(--br-ring, rgba(0, 0, 0, 0.12)); }
.br-search__btn {
	flex: none;
	display: grid;
	place-items: center;
	width: 50px;
	background: var(--br-accent);
	color: var(--br-on-accent);
	border: 0;
	border-radius: var(--br-input-radius, 8px);
	cursor: pointer;
}

.br-comments { margin-top: 44px; }
.br-comments__title { font-size: 1.6rem; margin-bottom: 20px; }
.br-comment-list,
.br-comment-list .children { margin: 0; padding: 0; list-style: none; }
.br-comment-list .children { margin-left: clamp(14px, 4vw, 34px); }
.comment-body { margin-bottom: 16px; padding: 18px 20px; background: var(--br-paper); border: 1px solid var(--br-line); border-radius: var(--br-radius); }
.comment-author { display: flex; align-items: center; gap: 10px; font-family: var(--br-display); font-weight: 700; }
.comment-author .avatar { border-radius: 50%; }
.comment-author .says { display: none; }
.comment-metadata { margin: 4px 0 10px; font-size: 0.82rem; }
.comment-metadata a { color: var(--br-muted); text-decoration: none; }
.comment-content { font-size: 1rem; }
.reply a { font-size: 0.85rem; font-weight: 700; }
.comment-respond { padding: clamp(20px, 4vw, 30px); background: var(--br-paper); border: 1px solid var(--br-line); border-radius: var(--br-radius); }
.comment-form p { margin-bottom: 14px; }
.comment-form label { display: block; margin-bottom: 4px; font-weight: 600; font-size: 0.92rem; }
.comment-form .comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.comment-form .comment-form-cookies-consent label { display: inline; font-weight: 400; }
.comment-reply-title small { margin-left: 10px; font-size: 0.85rem; }

/* 404 + empty */
.br-404,
.br-empty { padding: clamp(28px, 5vw, 48px); text-align: center; background: var(--br-paper); border-radius: var(--br-radius); }
.br-404__num { margin: 0; font-family: var(--br-display); font-weight: 800; font-size: clamp(5rem, 18vw, 9rem); line-height: 1; color: var(--br-accent); }
.br-404 .br-search,
.br-empty .br-search { max-width: 460px; margin: 18px auto 22px; }

/* Footer widgets */
.br-footer__widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; padding-bottom: 32px; margin-bottom: 32px; }
.br-footer-widget ul { padding-left: 1.1em; }

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


/* ==========================================================================
   Broadsheet look
   ========================================================================== */
:root {
	--br-bg: #f7f4ec;
	--br-paper: #fbf9f3;
	--br-ink: #111111;
	--br-muted: #4a4741;
	--br-soft: #ece7da;
	--br-line: #111111;
	--br-hair: #b9b3a5;
	--br-accent: #b3001b;
	--br-on-accent: #ffffff;
	--br-link: #111111;
	--br-radius: 0;
	--br-btn-radius: 0;
	--br-input-radius: 0;
	--br-img-radius: 0;
	--br-focus: #b3001b;
	--br-ring: rgba(179, 0, 27, 0.15);
	--br-display: "Playfair Display", Georgia, "Times New Roman", serif;
	--br-body: "Libre Franklin", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--br-gothic: "UnifrakturMaguntia", "Old English Text MT", Georgia, serif;
	--br-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
	--br-wrap: 1320px;
}

body { font-size: 1rem; }
h1, h2, h3, h4, h5, h6 { font-weight: 800; letter-spacing: -0.005em; }
.br-thumb { background: var(--br-soft); }
.br-thumb img { filter: grayscale(0.15) contrast(1.02); }
a.br-thumb:hover img { transform: none; filter: none; }
.br-thumb__fallback { background: var(--br-soft); font-family: var(--br-gothic); font-weight: 400; color: var(--br-ink); }

.br-btn { font-family: var(--br-body); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.7em 1.1em; }
.br-btn:hover { background: var(--br-ink); color: #ffffff; transform: none; }

/* Header */
.br-header { padding-top: 10px; }
.br-edition {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 16px;
	padding-block: 8px;
	border-bottom: 1px solid var(--br-line);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.br-edition__date { text-align: center; }
.br-edition__tools { justify-self: end; }
.br-edition .br-search__input { width: 200px; padding: 6px 10px; font-size: 0.82rem; letter-spacing: 0; text-transform: none; background: transparent; border-color: var(--br-hair); }
.br-edition .br-search__btn { width: 34px; background: var(--br-ink); color: #ffffff; }

.br-masthead { padding: 22px 0 14px; text-align: center; border-bottom: 4px double var(--br-line); }
.br-masthead__title { margin: 0; font-family: var(--br-gothic); font-weight: 400; font-size: clamp(2.8rem, 9vw, 6.2rem); line-height: 1; letter-spacing: 0; }
.br-masthead__title a { text-decoration: none; }
.br-masthead__motto { margin: 10px 0 0; font-family: var(--br-display); font-style: italic; font-size: 1.1rem; color: var(--br-muted); }
.custom-logo { max-height: 110px; width: auto; }

.br-navbar { border-bottom: 1px solid var(--br-line); }
.br-nav { display: flex; align-items: center; justify-content: center; gap: 12px 24px; flex-wrap: wrap; padding-block: 4px; }
.br-menu { justify-content: center; gap: 0; }
.br-menu > li + li > a { border-left: 1px solid var(--br-hair); }
.br-menu a { padding: 10px 16px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.br-menu a:hover,
.br-menu .current-menu-item > a,
.br-menu .current_page_item > a { color: var(--br-accent); }
.br-menu .sub-menu { background: var(--br-paper); border: 1px solid var(--br-line); }
.br-menu .sub-menu a { border-left: 0 !important; }
.br-cta { padding: 0.55em 1em; font-size: 0.74rem; }

@media (max-width: 860px) {
	.br-edition { grid-template-columns: 1fr; text-align: center; }
	.br-edition__tools { justify-self: stretch; }
	.br-edition .br-search__input { width: 100%; }
	.br-edition > span:first-child { display: none; }
	.br-nav-button { display: inline-flex; align-items: center; gap: 10px; margin: 6px auto; padding: 10px 14px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; }
	.br-navbar { display: flex; flex-direction: column; }
	.br-nav { display: none; flex-direction: column; padding-bottom: 12px; }
	.br-nav-toggle:checked ~ .br-nav { display: flex; }
	.br-menu { flex-direction: column; }
	.br-menu > li + li > a { border-left: 0; border-top: 1px solid var(--br-hair); }
	.br-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; }
}

/* Three columns divided by rules */
.br-layout {
	display: grid;
	grid-template-columns: 210px minmax(0, 1fr) 290px;
	grid-template-areas: "left main right";
	gap: 0;
	align-items: stretch;
	padding-block: 26px 60px;
}
.br-main { grid-area: main; min-width: 0; padding-inline: 30px; border-left: 1px solid var(--br-hair); border-right: 1px solid var(--br-hair); }
.br-side { min-width: 0; display: flex; flex-direction: column; gap: 30px; }
.br-side--left { grid-area: left; padding-right: 24px; }
.br-side--right { grid-area: right; padding-left: 24px; }
@media (max-width: 1100px) {
	.br-layout { grid-template-columns: minmax(0, 1fr) 280px; grid-template-areas: "main right" "left right"; }
	.br-main { border-left: 0; padding-left: 0; }
	.br-side--left { padding: 30px 30px 0 0; border-top: 4px double var(--br-line); margin-top: 30px; }
}
@media (max-width: 760px) {
	.br-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "left" "right"; }
	.br-main { padding: 0; border: 0; }
	.br-side--left,
	.br-side--right { padding: 30px 0 0; margin-top: 30px; border-top: 4px double var(--br-line); }
}

/* Lead story */
.br-lead { padding-bottom: 24px; text-align: center; }
.br-lead .br-chips { justify-content: center; }
.br-lead__title { margin: 4px 0 14px; font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 900; line-height: 1.03; letter-spacing: -0.015em; }
.br-lead__title a { text-decoration: none; }
.br-lead__title a:hover { color: var(--br-accent); }
.br-lead__deck { max-width: 640px; margin: 0 auto 12px; font-family: var(--br-display); font-style: italic; font-size: 1.2rem; line-height: 1.5; color: var(--br-muted); }
.br-lead .br-meta { justify-content: center; margin-bottom: 18px; }
.br-lead__thumb { aspect-ratio: 16 / 8.5; margin-bottom: 12px; }
.br-lead__more { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; color: var(--br-accent); }
.br-lead__more:hover { text-decoration: underline; }

.br-rule-title { display: flex; align-items: center; gap: 14px; margin: 8px 0 22px; padding-top: 18px; border-top: 4px double var(--br-line); font-family: var(--br-body); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; }
.br-rule-title::before,
.br-rule-title::after { content: ""; flex: 1; height: 1px; background: var(--br-line); }

/* Chips + meta */
.br-chip { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--br-accent); }
.br-chip:hover { text-decoration: underline; }
.br-chips { margin-bottom: 6px; }
.br-meta { font-size: 0.76rem; letter-spacing: 0.04em; text-transform: uppercase; }
.br-meta a { color: var(--br-ink); }

/* Two-column news grid with a centre rule */
.br-feed--cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 40px;
	background: linear-gradient(var(--br-hair), var(--br-hair)) center / 1px 100% no-repeat;
}
.br-card { padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--br-hair); }
.br-card__thumb { aspect-ratio: 3 / 2; margin-bottom: 12px; }
.br-card__title { margin: 0 0 8px; font-size: 1.45rem; line-height: 1.12; }
.br-card__title a:hover { color: var(--br-accent); }
.br-card__excerpt { font-size: 0.95rem; line-height: 1.6; color: var(--br-muted); }
.br-card__excerpt p { margin: 0 0 8px; }
.br-card .br-meta__item:last-child { display: none; }
@media (max-width: 600px) {
	.br-feed--cards { grid-template-columns: minmax(0, 1fr); background: none; }
}
.archive .br-feed--cards,
.search .br-feed--cards { margin-top: 10px; }

/* Full posts */
.br-feed--full { display: flex; flex-direction: column; gap: 30px; }
.br-full { padding-bottom: 30px; border-bottom: 1px solid var(--br-hair); }
.br-full__thumb { margin-bottom: 16px; }
.br-full__title { margin: 0 0 10px; font-size: clamp(1.7rem, 3.2vw, 2.3rem); line-height: 1.08; }
.br-full__title a:hover { color: var(--br-accent); }
.br-full .br-meta { margin-bottom: 16px; }
.br-full__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 20px; }
.br-btn--ghost { background: transparent; color: var(--br-ink); border: 1px solid var(--br-ink); }

/* Sidebar boxes */
.br-box__title,
.br-box__heading {
	margin: 0;
	font-family: var(--br-body);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}
.br-box > .br-box__title,
.br-box--random .br-box__title { padding: 8px 0; margin-bottom: 10px; border-top: 3px solid var(--br-line); border-bottom: 1px solid var(--br-line); }
.br-box--random .br-box__title { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 10px; }
.br-box__hint { font-size: 0.68rem; font-style: italic; font-family: var(--br-display); letter-spacing: 0; text-transform: none; color: var(--br-muted); }
.br-catlist li,
.br-pagelist li { border-bottom: 1px dotted var(--br-hair); }
.br-cat { display: flex; align-items: baseline; gap: 8px; padding: 7px 0; font-family: var(--br-display); font-size: 1.02rem; font-weight: 600; }
.br-cat__name { flex: 1; }
.br-cat:hover .br-cat__name,
.br-cat.is-current .br-cat__name { color: var(--br-accent); }
.br-count { font-family: var(--br-body); font-size: 0.74rem; color: var(--br-muted); }
.br-pagelist a { display: block; padding: 7px 0; font-family: var(--br-display); font-size: 1.02rem; font-style: italic; }
.br-pagelist a:hover,
.br-pagelist .current_page_item > a { color: var(--br-accent); }

.br-rand { padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--br-hair); }
.br-rand:last-child { border-bottom: 0; margin-bottom: 0; }
.br-rand__thumb { aspect-ratio: 16 / 10; margin-bottom: 10px; }
.br-rand__num { position: absolute; top: 0; left: 0; padding: 2px 7px; background: var(--br-ink); color: #ffffff; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; }
.br-rand__title { font-size: 1.1rem; line-height: 1.2; font-weight: 800; }
.br-rand__title a:hover { color: var(--br-accent); }
.br-rand__text { font-size: 0.86rem; line-height: 1.55; color: var(--br-muted); }
.br-rand__more { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--br-accent); text-decoration: none; }
.br-rand__more:hover { text-decoration: underline; }
.widget.br-box > :not(.br-box__title) { margin: 10px 0; }
@media (max-width: 1100px) and (min-width: 761px) {
	.br-side--left { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
}
@media (max-width: 760px) {
	.br-randlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 24px; }
	.br-rand:last-child { border-bottom: 1px solid var(--br-hair); margin-bottom: 16px; }
}

/* Article */
.br-single__head { text-align: center; padding-bottom: 10px; }
.br-single__head .br-chips,
.br-single__head .br-meta { justify-content: center; }
.br-single__title { margin: 6px 0 14px; font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900; line-height: 1.03; }
.br-single__thumb { margin: 10px 0 26px; }
.br-entry { font-family: var(--br-display); font-size: 1.15rem; line-height: 1.75; }
.br-single .br-entry > p:first-of-type::first-letter { float: left; margin: 0.06em 0.08em 0 0; font-family: var(--br-gothic); font-size: 4.2em; line-height: 0.8; color: var(--br-ink); }
.br-entry h2,
.br-entry h3 { font-weight: 800; }
.br-entry a { text-decoration-color: var(--br-accent); }
.br-entry blockquote,
.br-entry .wp-block-quote { padding: 18px 0; border-top: 3px solid var(--br-line); border-bottom: 1px solid var(--br-line); font-size: 1.45rem; font-style: italic; line-height: 1.4; text-align: center; }
.br-author { background: transparent; border-top: 3px solid var(--br-line); border-bottom: 1px solid var(--br-line); }
.br-author__name { font-style: italic; }
.br-postnav a { border: 1px solid var(--br-line); }
.br-postnav a:hover { background: var(--br-soft); }
.br-tags a { background: transparent; border: 1px solid var(--br-hair); border-radius: 0; text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.08em; }

.page-numbers { border: 1px solid var(--br-line); font-family: var(--br-display); color: var(--br-ink); }
a.page-numbers:hover { background: var(--br-ink); color: #ffffff; }
.page-numbers.current { background: var(--br-ink); color: #ffffff; }

.br-kicker { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--br-accent); }
.br-archive-head { text-align: center; padding-bottom: 14px; border-bottom: 4px double var(--br-line); }
.br-archive-head__title { font-weight: 900; }
.br-archive-head .br-search { margin-inline: auto; }
.br-404,
.br-empty { background: transparent; }
.br-404__num { font-family: var(--br-gothic); font-weight: 400; color: var(--br-ink); }
.comment-body,
.comment-respond { border-color: var(--br-hair); }

/* Footer */
.br-footer { border-top: 4px double var(--br-line); padding-block: 30px 26px; text-align: center; }
.br-footer a { text-decoration: none; }
.br-footer__widgets { text-align: left; border-bottom: 1px solid var(--br-hair); }
.br-footer-widget__title { font-family: var(--br-body); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; }
.br-footer__brand { margin: 0 0 12px; font-family: var(--br-gothic); font-size: clamp(2rem, 5vw, 3rem); line-height: 1; }
.br-footer__menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: 0; padding: 0; list-style: none; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.br-footer__menu a:hover,
.br-footer__bottom a:hover { color: var(--br-accent); }
.br-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--br-line); font-size: 0.78rem; color: var(--br-muted); }
.br-footer__bottom p { margin: 0; }
