:root {
	--ink: #161616;
	--paper: #fbfaf7;
	--paper-soft: #f2efe8;
	--rule: #d8d2c8;
	--red: #b31b1b;
	--red-dark: #7d1111;
	--teal: #1f6764;
	--blue: #263b66;
	--gold: #9d6f22;
	--muted: #5d5a55;
	--sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
	--display: "Newsreader", "Libre Baskerville", Georgia, serif;
	--max: 1240px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--serif);
	font-size: 19px;
	line-height: 1.55;
	text-rendering: optimizeLegibility;
}

a {
	color: inherit;
	text-decoration-color: rgba(179, 27, 27, 0.55);
	text-underline-offset: 0.14em;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

input,
button,
textarea {
	font: inherit;
}

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

.skip-link:focus {
	position: fixed;
	top: 12px;
	left: 12px;
	width: auto;
	height: auto;
	padding: 10px 14px;
	clip: auto;
	background: #fff;
	border: 2px solid var(--ink);
	z-index: 9999;
}

.site-shell {
	width: min(var(--max), calc(100% - 32px));
	margin: 0 auto;
}

.topline {
	border-bottom: 1px solid var(--rule);
	font-family: var(--sans);
	font-size: 12px;
	text-transform: uppercase;
	color: var(--muted);
	background: #fffdf8;
}

.topline .site-shell {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 8px 0;
}

.masthead {
	padding: 22px 0 14px;
	border-bottom: 5px solid var(--ink);
	background: var(--paper);
}

.masthead-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(250px, 320px);
	gap: 24px;
	align-items: end;
}

.brand {
	margin: 0;
	font-family: var(--display);
	font-size: clamp(56px, 10vw, 132px);
	line-height: 0.88;
	font-weight: 900;
	letter-spacing: 0;
}

.brand a {
	text-decoration: none;
}

.brand-subtitle {
	margin: 10px 0 0;
	font-family: var(--sans);
	font-size: 14px;
	text-transform: uppercase;
	color: var(--muted);
	letter-spacing: 0.04em;
}

.identity-mark {
	width: 100%;
	border-left: 4px solid var(--red);
	padding-left: 14px;
	font-family: var(--sans);
	font-size: 13px;
	line-height: 1.35;
	color: var(--muted);
}

.identity-mark p {
	margin: 0;
}

.masthead-search {
	margin-top: 12px;
	padding-top: 10px;
	border-top: 1px solid var(--rule);
}

.nav {
	border-bottom: 1px solid var(--ink);
	background: #fffdf8;
	font-family: var(--sans);
}

.nav .site-shell {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 20px;
	min-height: 48px;
	position: relative;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0 18px;
	overflow: visible;
	white-space: normal;
	padding: 0;
	margin: 0;
	list-style: none;
	font-size: 14px;
	font-weight: 700;
}

.nav-links li {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 48px;
}

.nav-links a {
	display: flex;
	align-items: center;
	min-height: 48px;
	text-decoration: none;
}

.submenu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	margin-left: 4px;
	border: 1px solid transparent;
	background: transparent;
	color: var(--muted);
	font-family: var(--sans);
	font-size: 16px;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
}

.submenu-toggle:hover,
.submenu-toggle:focus {
	border-color: var(--rule);
	color: var(--red-dark);
	outline: none;
}

.submenu-toggle[aria-expanded="true"] span {
	transform: rotate(45deg);
}

.nav-links .sub-menu,
.nav-links .children {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 30;
	display: none;
	min-width: 240px;
	margin: 0;
	padding: 8px 0;
	list-style: none;
	background: #fffdf8;
	border: 1px solid var(--ink);
	box-shadow: 0 16px 30px rgba(22, 22, 22, 0.16);
	white-space: normal;
}

.nav-links .sub-menu .sub-menu,
.nav-links .children .children {
	top: -1px;
	left: 100%;
}

.nav-links .sub-menu li,
.nav-links .children li {
	display: block;
	min-height: 0;
}

.nav-links .sub-menu .submenu-toggle,
.nav-links .children .submenu-toggle {
	position: absolute;
	top: 5px;
	right: 5px;
	background: #fffdf8;
}

.nav-links .sub-menu a,
.nav-links .children a {
	display: block;
	min-height: 0;
	padding: 10px 14px;
	line-height: 1.25;
}

.nav-links .sub-menu .menu-item-has-children > a,
.nav-links .children .page_item_has_children > a {
	padding-right: 42px;
}

.nav-links li:hover > .sub-menu,
.nav-links li:hover > .children,
.nav-links li:focus-within > .sub-menu,
.nav-links li:focus-within > .children,
.nav-links li.is-submenu-open > .sub-menu,
.nav-links li.is-submenu-open > .children {
	display: block;
}

.search-form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px;
	min-width: 0;
	width: 100%;
	align-items: center;
}

.search-form label {
	min-width: 0;
}

.search-field {
	width: 100%;
	min-height: 36px;
	border: 1px solid var(--rule);
	background: #fffdf8;
	font-family: var(--sans);
	font-size: 13px;
	padding: 0 10px;
	color: var(--muted);
	outline-offset: 4px;
}

.search-submit {
	border: 1px solid var(--ink);
	background: var(--ink);
	color: #fffdf8;
	min-height: 36px;
	padding: 0 10px;
	font-family: var(--sans);
	font-size: 12px;
	font-weight: 800;
	cursor: pointer;
	border-radius: 0;
}

.search-submit:hover,
.search-submit:focus {
	background: var(--red-dark);
	border-color: var(--red-dark);
}

.agent-band {
	background: #171717;
	color: #fffdf8;
	border-bottom: 1px solid #2c2c2c;
}

.agent-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 28px;
	padding: 28px 0;
	align-items: stretch;
}

.agent-main {
	display: grid;
	grid-template-columns: 210px minmax(0, 1fr);
	gap: 24px;
	align-items: stretch;
}

.agent-badge {
	border: 1px solid rgba(255, 255, 255, 0.28);
	padding: 18px;
	min-height: 214px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background: #202020;
}

.agent-name {
	margin: 0;
	font-family: var(--display);
	font-size: 42px;
	line-height: 0.95;
	font-weight: 900;
}

.agent-badge small {
	display: block;
	font-family: var(--sans);
	color: #d8d2c8;
	font-size: 12px;
	line-height: 1.45;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.agent-console {
	background: #fffdf8;
	color: var(--ink);
	border-top: 5px solid var(--red);
	padding: 18px;
	min-height: 214px;
}

.ask-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px;
	margin-bottom: 12px;
}

.ask-row input {
	width: 100%;
	border: 1px solid var(--ink);
	background: #fff;
	color: var(--ink);
	min-height: 48px;
	padding: 0 14px;
	font-family: var(--sans);
	font-size: 15px;
	border-radius: 0;
}

.button {
	border: 1px solid var(--red-dark);
	background: var(--red);
	color: #fff;
	min-height: 48px;
	padding: 0 18px;
	font-family: var(--sans);
	font-weight: 800;
	font-size: 14px;
	cursor: pointer;
	border-radius: 0;
}

.button[disabled] {
	opacity: 0.65;
	cursor: wait;
}

.question-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 12px;
}

.chip {
	border: 1px solid var(--rule);
	background: var(--paper-soft);
	color: var(--ink);
	min-height: 34px;
	padding: 0 10px;
	font-family: var(--sans);
	font-size: 12px;
	cursor: pointer;
	border-radius: 0;
}

.agent-status {
	margin: 0 0 12px;
	font-family: var(--sans);
	font-size: 12px;
	color: var(--muted);
}

.agent-answer-card {
	border-top: 1px solid var(--rule);
	padding-top: 12px;
	font-size: 16px;
	line-height: 1.45;
}

.agent-answer-card strong {
	display: block;
	margin-bottom: 6px;
	font-family: var(--sans);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--red-dark);
}

.agent-answer {
	white-space: pre-wrap;
}

.agent-sources {
	display: grid;
	gap: 10px;
	background: #202020;
	border: 1px solid rgba(255, 255, 255, 0.18);
	padding: 18px;
	align-content: start;
}

.source-title {
	margin: 0;
	font-family: var(--sans);
	font-size: 12px;
	text-transform: uppercase;
	color: #d8d2c8;
	letter-spacing: 0.05em;
}

.source-item {
	display: grid;
	gap: 3px;
	padding-top: 10px;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	font-family: var(--sans);
}

.source-item a {
	color: #fffdf8;
	text-decoration-color: rgba(255, 255, 255, 0.45);
	font-weight: 800;
	font-size: 14px;
	line-height: 1.35;
}

.source-item span {
	color: #d8d2c8;
	font-size: 12px;
}

.main-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 30px;
	padding: 30px 0 42px;
}

.lead {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
	gap: 24px;
	border-bottom: 1px solid var(--ink);
	padding-bottom: 26px;
}

.lead-image {
	margin: 0;
	background: #e8e4dc;
	min-height: 260px;
	overflow: hidden;
}

.lead-image img,
.image-fallback {
	width: 100%;
	height: 100%;
	min-height: 260px;
	object-fit: cover;
}

.image-fallback {
	background:
		linear-gradient(120deg, rgba(179, 27, 27, 0.12), transparent 52%),
		linear-gradient(45deg, #ded8cc, #f7f3eb);
}

.kicker {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding: 0 8px;
	margin: 0 0 10px;
	background: var(--red);
	color: #fff;
	font-family: var(--sans);
	font-size: 11px;
	text-transform: uppercase;
	font-weight: 800;
	letter-spacing: 0.05em;
}

.lead h2,
.story-card h3,
.rail h2,
.section-title,
.publication h3,
.article-header h1,
.archive-header h1,
.list-item h2 {
	margin: 0;
	font-family: var(--display);
	line-height: 1.03;
	letter-spacing: 0;
}

.lead h2 {
	font-size: clamp(42px, 6vw, 74px);
	font-weight: 900;
}

.lead h2 a,
.story-card h3 a,
.book h3 a,
.publication h3 a,
.list-item h2 a {
	text-decoration: none;
}

.standfirst {
	margin: 14px 0 16px;
	font-size: 22px;
	line-height: 1.34;
	color: #2b2a27;
}

.meta {
	margin: 0;
	font-family: var(--sans);
	font-size: 12px;
	text-transform: uppercase;
	color: var(--muted);
	letter-spacing: 0.04em;
}

.byline {
	display: flex;
	flex-wrap: wrap;
	gap: 0 8px;
	line-height: 1.45;
}

.byline a {
	text-decoration: none;
}

.meta-separator {
	color: #9f998e;
}

.byline-compact {
	font-size: 11px;
}

.category-grid {
	padding-top: 26px;
}

.section-head {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	align-items: baseline;
	border-bottom: 2px solid var(--ink);
	padding-bottom: 8px;
	margin-bottom: 16px;
}

.section-title {
	font-size: 25px;
}

.section-head a {
	font-family: var(--sans);
	font-size: 12px;
	text-transform: uppercase;
	font-weight: 800;
	color: var(--red-dark);
}

.story-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.story-card {
	border-top: 4px solid var(--ink);
	padding-top: 12px;
	min-height: 190px;
}

.story-card:nth-child(2) {
	border-top-color: var(--teal);
}

.story-card:nth-child(3) {
	border-top-color: var(--blue);
}

.story-card:nth-child(4) {
	border-top-color: var(--gold);
}

.story-card h3 {
	font-size: 24px;
	margin-bottom: 10px;
}

.story-card p {
	margin: 0;
	color: #3a3835;
	font-size: 17px;
	line-height: 1.4;
}

.story-card .meta {
	margin-bottom: 8px;
	color: var(--muted);
	font-size: 11px;
}

.rail {
	border-left: 1px solid var(--rule);
	padding-left: 22px;
}

.rail-section {
	border-top: 5px solid var(--ink);
	padding-top: 14px;
	margin-bottom: 30px;
}

.rail h2 {
	font-size: 28px;
	margin-bottom: 14px;
}

.book-list {
	display: grid;
	gap: 14px;
}

.book {
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
	border-bottom: 1px solid var(--rule);
	padding-bottom: 14px;
}

.book-cover {
	display: block;
	width: 76px;
	aspect-ratio: 32 / 46;
	background: #fffdf8;
	border: 1px solid #1d1d1d;
	box-shadow: 0 8px 18px rgba(22, 22, 22, 0.16);
	overflow: hidden;
	text-decoration: none;
}

.book-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.book h3,
.publication h3 {
	margin: 0;
	font-family: var(--display);
	font-size: 19px;
	line-height: 1.12;
}

.book p,
.publication p {
	margin: 5px 0 0;
	font-family: var(--sans);
	font-size: 12px;
	line-height: 1.4;
	color: var(--muted);
}

.publication {
	border-bottom: 1px solid var(--rule);
	padding-bottom: 12px;
	margin-bottom: 12px;
}

.article-shell {
	max-width: 820px;
	padding: 44px 0 64px;
}

.article-header {
	border-bottom: 1px solid var(--ink);
	padding-bottom: 18px;
	margin-bottom: 24px;
}

.article-header h1,
.archive-header h1 {
	font-size: clamp(42px, 7vw, 76px);
	margin-top: 8px;
}

.article-image {
	margin: 0 0 24px;
}

.entry-content {
	font-size: 20px;
	line-height: 1.68;
}

.entry-content p,
.entry-content ul,
.entry-content ol {
	margin-top: 0;
	margin-bottom: 1.1em;
}

.entry-content blockquote {
	border-left: 4px solid var(--red);
	margin: 1.4em 0;
	padding-left: 1em;
	font-size: 1.15em;
}

.entry-content figure {
	margin-left: 0;
	margin-right: 0;
}

.entry-content iframe[src*="google.com/maps"],
.entry-content iframe[src*="maps.google.com"],
.entry-content iframe[src*="googleusercontent.com/maps"],
.entry-content .google-map iframe,
.entry-content .map-embed iframe {
	display: block;
	width: 100% !important;
	max-width: 100%;
	height: auto !important;
	min-height: 360px;
	aspect-ratio: 16 / 9;
	border: 0;
}

.entry-content .wp-block-embed.is-provider-google-maps .wp-block-embed__wrapper,
.entry-content .google-map,
.entry-content .map-embed {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	min-height: 360px;
	overflow: hidden;
	background: var(--paper-soft);
}

.entry-content .wp-block-embed.is-provider-google-maps iframe,
.entry-content .google-map iframe,
.entry-content .map-embed iframe {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
}

.entry-content figcaption {
	font-family: var(--sans);
	font-size: 13px;
	color: var(--muted);
}

.article-footer {
	border-top: 1px solid var(--rule);
	margin-top: 36px;
	padding-top: 18px;
}

.share-tools {
	margin-bottom: 18px;
}

.share-title {
	margin: 0 0 8px;
	font-family: var(--sans);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	color: var(--muted);
	letter-spacing: 0.04em;
}

.share-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.share-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	border: 1px solid var(--rule);
	background: #fffdf8;
	color: var(--ink);
	padding: 0 10px;
	font-family: var(--sans);
	font-size: 12px;
	font-weight: 800;
	text-decoration: none;
	cursor: pointer;
	border-radius: 0;
}

.share-link:hover,
.share-link:focus {
	border-color: var(--red-dark);
	color: var(--red-dark);
}

.tag-list {
	margin: 0 0 14px;
	font-family: var(--sans);
	font-size: 12px;
	line-height: 1.5;
	text-transform: uppercase;
	color: var(--muted);
	letter-spacing: 0.04em;
}

.tag-list span {
	font-weight: 800;
	color: var(--ink);
}

.content-disclaimer {
	margin: 0;
	font-family: var(--sans);
	font-size: 12px;
	line-height: 1.45;
	color: var(--muted);
}

.comments-area {
	border-top: 4px solid var(--ink);
	margin-top: 40px;
	padding-top: 20px;
}

.comments-title,
.comment-reply-title {
	margin: 0 0 18px;
	font-family: var(--display);
	font-size: 32px;
	line-height: 1.1;
}

.comment-list {
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
}

.comment-list .children {
	margin: 16px 0 0 28px;
	padding: 0;
	list-style: none;
}

.comment-list .comment {
	border-top: 1px solid var(--rule);
	padding: 18px 0;
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--sans);
	font-size: 14px;
	font-weight: 800;
}

.comment-author .avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
}

.comment-meta,
.comment-notes,
.logged-in-as {
	font-family: var(--sans);
	font-size: 13px;
	color: var(--muted);
}

.comment-meta a,
.logged-in-as a,
.reply a {
	color: inherit;
}

.comment-content {
	font-size: 18px;
	line-height: 1.6;
}

.reply a {
	font-family: var(--sans);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.comment-form {
	display: grid;
	gap: 12px;
}

.comment-form label {
	display: block;
	margin-bottom: 4px;
	font-family: var(--sans);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	color: var(--muted);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	border: 1px solid var(--ink);
	background: #fff;
	padding: 10px 12px;
	border-radius: 0;
}

.comment-form textarea {
	min-height: 150px;
}

.comment-form-cookies-consent label {
	display: inline;
	margin: 0;
	font-weight: 400;
	text-transform: none;
}

.form-submit .submit {
	border: 1px solid var(--red-dark);
	background: var(--red);
	color: #fff;
	min-height: 46px;
	padding: 0 18px;
	font-family: var(--sans);
	font-weight: 800;
	cursor: pointer;
	border-radius: 0;
}

.content-list {
	padding: 44px 0 64px;
	max-width: 900px;
}

.archive-header {
	border-bottom: 2px solid var(--ink);
	padding-bottom: 14px;
	margin-bottom: 24px;
}

.archive-description {
	font-size: 20px;
	color: var(--muted);
}

.list-item {
	border-bottom: 1px solid var(--rule);
	padding: 22px 0;
}

.list-item h2 {
	font-size: 34px;
	margin: 6px 0 8px;
}

.list-item p:last-child {
	margin-bottom: 0;
}

.nav-links .current-menu-item > a,
.nav-links a:hover,
.story-card a:hover,
.lead a:hover {
	color: var(--red-dark);
}

.footer {
	background: #171717;
	color: #fffdf8;
	padding: 24px 0;
	font-family: var(--sans);
	font-size: 13px;
}

.footer-grid {
	display: flex;
	justify-content: space-between;
	gap: 20px;
}

.footer span {
	display: block;
	color: #d8d2c8;
}

.footer-links {
	display: flex;
	gap: 14px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer a {
	color: #fffdf8;
}

@media (max-width: 1000px) {
	.agent-layout,
	.main-grid,
	.lead {
		grid-template-columns: 1fr;
	}

	.rail {
		border-left: 0;
		padding-left: 0;
	}
}

@media (max-width: 760px) {
	body {
		font-size: 18px;
	}

	.topline .site-shell,
	.masthead-grid,
	.agent-main,
	.story-grid,
	.footer-grid {
		grid-template-columns: 1fr;
		flex-direction: column;
		align-items: flex-start;
	}

	.nav .site-shell {
		display: block;
	}

	.nav-links {
		display: grid;
		gap: 0;
		padding: 8px 0;
	}

	.nav-links li {
		flex-wrap: wrap;
		min-height: 42px;
		border-top: 1px solid var(--rule);
	}

	.nav-links a {
		min-height: 42px;
	}

	.nav-links .sub-menu,
	.nav-links .children,
	.nav-links .sub-menu .sub-menu,
	.nav-links .children .children {
		position: static;
		width: 100%;
		min-width: 0;
		margin: 0 0 8px 12px;
		border: 0;
		border-left: 3px solid var(--red);
		box-shadow: none;
		background: var(--paper-soft);
	}

	.agent-layout {
		padding: 20px 0;
	}

	.ask-row {
		grid-template-columns: 1fr;
	}

	.lead h2 {
		font-size: 42px;
	}

	.book {
		grid-template-columns: 64px minmax(0, 1fr);
	}

	.book-cover {
		width: 64px;
	}
}

@media print {
	.topline,
	.masthead-search,
	.nav,
	.agent-band,
	.share-tools,
	.comments-area,
	.footer {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
		font-size: 12pt;
	}

	.site-shell,
	.article-shell {
		width: 100%;
		max-width: none;
		padding: 0;
	}

	a {
		text-decoration: none;
	}
}
