:root {
	--color-bg: #080b0f;
	--color-surface: #10151b;
	--color-surface-raised: #171d24;
	--color-line: #2c343d;
	--color-line-strong: #46515d;
	--color-text: #f3f5f7;
	--color-muted: #aeb7c0;
	--color-blue: #1769e8;
	--color-blue-readable: #4b91f7;
	--color-blue-dark: #0f4dae;
	--color-lime: #a8d600;
	--color-lime-dark: #7d9f00;
	--color-error: #ee5f5f;
	--font-display: "Arial Narrow", "Roboto Condensed", "Helvetica Neue Condensed", Impact, sans-serif;
	--font-body: Arial, Helvetica, sans-serif;
	--shell: 1440px;
	--shell-wide: 1240px;
	--shell-narrow: 820px;
	--radius: 4px;
	--shadow: 0 18px 50px rgba(2, 8, 18, 0.28);
	--ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
	font-size: 16px;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	overflow-wrap: break-word;
}

body.menu-open { overflow: hidden; }

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

iframe { max-width: 100%; }

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover { color: var(--color-lime); }

button,
input,
textarea,
select { font: inherit; }

button,
.button,
input[type="submit"] {
	border-radius: var(--radius);
	cursor: pointer;
	transition: transform 180ms var(--ease), background-color 180ms var(--ease), border-color 180ms var(--ease);
}

button:active,
.button:active,
input[type="submit"]:active { transform: translateY(1px); }

:focus-visible {
	outline: 3px solid var(--color-lime);
	outline-offset: 3px;
}

.shell,
.shell-wide,
.shell-narrow {
	width: calc(100% - 40px);
	margin-inline: auto;
}

.shell { max-width: var(--shell); }
.shell-wide { max-width: var(--shell-wide); }
.shell-narrow { max-width: var(--shell-narrow); }

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

.screen-reader-text:focus,
.skip-link:focus {
	top: 12px;
	left: 12px;
	z-index: 100;
	width: auto;
	height: auto;
	clip: auto;
	padding: 12px 16px;
	margin: 0;
	background: var(--color-lime);
	color: #101408;
	font-weight: 800;
}

.site-header {
	position: relative;
	z-index: 20;
	background: rgba(8, 11, 15, 0.98);
	border-bottom: 1px solid var(--color-line);
}

.masthead {
	display: grid;
	grid-template-columns: 205px minmax(230px, 1fr) 170px minmax(450px, 560px);
	align-items: center;
	min-height: 120px;
	gap: 18px;
}

.site-branding { min-width: 0; }

.custom-logo-link,
.brand-default {
	display: block;
	width: 180px;
	height: 108px;
	overflow: hidden;
}

.custom-logo,
.brand-default img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.brand-statement {
	position: relative;
	display: flex;
	flex-direction: column;
	padding-left: 20px;
	font-family: var(--font-display);
	font-size: clamp(1rem, 1.45vw, 1.25rem);
	font-style: italic;
	font-weight: 900;
	line-height: 1.05;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.brand-statement::before {
	content: "";
	position: absolute;
	left: 0;
	top: 4px;
	bottom: 4px;
	width: 4px;
	background: var(--color-lime);
	transform: skewX(-12deg);
}

.brand-statement strong { color: var(--color-blue); }
.brand-statement span:last-child { color: var(--color-lime); }

.masthead-portrait {
	align-self: end;
	width: 170px;
	height: 116px;
	overflow: hidden;
}

.masthead-portrait img {
	width: 170px;
	height: 170px;
	object-fit: contain;
	object-position: center top;
	transform: translateY(2px);
}

.masthead-tools {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 20px;
}

.social-links {
	display: flex;
	align-items: center;
	gap: 13px;
}

.social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 28px;
	padding: 0;
	border: 0;
	color: var(--color-text);
	font-size: 1.08rem;
	line-height: 1;
	text-decoration: none;
	transition: color 160ms var(--ease), transform 160ms var(--ease);
}

.social-link:hover {
	background: transparent;
	color: var(--color-lime);
	transform: translateY(-1px);
}

.social-link.is-placeholder {
	color: var(--color-text);
	opacity: 0.94;
}

.social-link .ph { display: block; }

.search-form {
	display: flex;
	width: min(100%, 340px);
}

.search-form label { flex: 1; }

.search-field,
.wp-block-search__input,
.comment-form input:not([type="submit"]),
.comment-form textarea {
	width: 100%;
	min-height: 42px;
	padding: 10px 12px;
	border: 1px solid var(--color-line-strong);
	border-radius: var(--radius) 0 0 var(--radius);
	background: #0b1015;
	color: var(--color-text);
}

.search-field::placeholder,
.wp-block-search__input::placeholder,
.comment-form input::placeholder,
.comment-form textarea::placeholder { color: #939da7; }

.search-submit,
.wp-block-search__button,
.button,
input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 10px 18px;
	border: 1px solid var(--color-lime);
	background: var(--color-lime);
	color: #101408;
	font-family: var(--font-display);
	font-weight: 900;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

.search-submit { border-radius: 0 var(--radius) var(--radius) 0; }
.search-submit:hover,
.wp-block-search__button:hover,
.button:hover,
input[type="submit"]:hover {
	background: #badf2d;
	color: #101408;
}

.primary-navigation {
	background: #0d1117;
	border-top: 1px solid var(--color-line);
	border-bottom: 3px solid var(--color-blue);
}

.primary-menu {
	display: flex;
	align-items: stretch;
	justify-content: center;
	gap: 0;
	min-height: 44px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.primary-menu li { position: relative; }

.primary-menu > li > a {
	display: flex;
	align-items: center;
	height: 44px;
	padding: 0 clamp(9px, 1.15vw, 18px);
	border-bottom: 3px solid transparent;
	font-family: var(--font-display);
	font-size: 0.83rem;
	font-weight: 900;
	letter-spacing: 0.025em;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

.primary-menu > li > a:hover,
.primary-menu > .current-menu-item > a,
.primary-menu > .current-category-ancestor > a {
	border-color: var(--color-lime);
	color: var(--color-lime);
}

.primary-menu .sub-menu {
	position: absolute;
	left: 0;
	top: 100%;
	display: none;
	min-width: 220px;
	padding: 8px;
	margin: 0;
	background: var(--color-surface-raised);
	border: 1px solid var(--color-line);
	box-shadow: var(--shadow);
	list-style: none;
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu { display: block; }

.primary-menu .sub-menu a {
	display: block;
	padding: 9px 10px;
	font-weight: 700;
	text-decoration: none;
}

.menu-toggle {
	display: none;
	width: 46px;
	height: 42px;
	padding: 9px;
	border: 1px solid var(--color-line-strong);
	background: var(--color-surface);
}

.menu-toggle > span:not(.screen-reader-text) {
	display: block;
	width: 100%;
	height: 2px;
	margin: 5px 0;
	background: var(--color-text);
	transition: transform 180ms var(--ease), opacity 180ms var(--ease);
}

.menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.news-ticker {
	border-bottom: 1px solid var(--color-line);
	background: var(--color-blue-dark);
	overflow: hidden;
}

.ticker-inner {
	display: flex;
	align-items: center;
	min-height: 42px;
	padding-block: 6px;
}

.ticker-inner > strong {
	position: relative;
	z-index: 2;
	align-self: stretch;
	display: flex;
	align-items: center;
	padding-right: 22px;
	background: var(--color-blue-dark);
	font-family: var(--font-display);
	font-size: 0.8rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ticker-window {
	min-width: 0;
	overflow: hidden;
	mask-image: linear-gradient(to right, transparent, #080b0f 4%, #080b0f 96%, transparent);
}

.ticker-track {
	display: flex;
	align-items: center;
	width: max-content;
	animation: ticker-slide 34s linear infinite;
}

.ticker-track:hover { animation-play-state: paused; }

.ticker-track a {
	display: inline-flex;
	align-items: center;
	font-size: 0.88rem;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.ticker-track a::after {
	content: "/";
	padding-inline: 24px;
	color: var(--color-lime);
	font-weight: 900;
}

@keyframes ticker-slide {
	from { transform: translateX(0); }
	to { transform: translateX(-45%); }
}

.home-main { padding-bottom: 14px; }

.home-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 330px;
	gap: 14px;
	padding-top: 16px;
}

.home-primary { min-width: 0; }

.headline-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) minmax(290px, 0.8fr);
	min-height: 500px;
	border: 1px solid var(--color-line);
	background: var(--color-surface);
}

.lead-story {
	position: relative;
	min-height: 500px;
	overflow: hidden;
}

.lead-story-image,
.lead-story-image img,
.lead-story-shade {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.lead-story-image img {
	object-fit: cover;
	transition: transform 700ms var(--ease);
}

.lead-story:hover .lead-story-image img { transform: scale(1.025); }

.lead-story-shade {
	background:
		linear-gradient(to top, rgba(5, 8, 12, 0.98) 6%, rgba(5, 8, 12, 0.82) 45%, rgba(5, 8, 12, 0.2) 80%),
		linear-gradient(to right, rgba(5, 8, 12, 0.88) 0%, rgba(5, 8, 12, 0.45) 55%, rgba(5, 8, 12, 0) 80%);
}

.lead-story-content {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
	max-width: 760px;
	padding: clamp(22px, 3.2vw, 42px);
}

.story-category {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	margin-bottom: 10px;
	color: var(--color-lime);
	font-family: var(--font-display);
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0.075em;
	text-decoration: none;
	text-transform: uppercase;
}

.lead-story h1 {
	max-width: 15ch;
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(2.4rem, 4.2vw, 4.35rem);
	font-style: italic;
	font-weight: 900;
	letter-spacing: -0.045em;
	line-height: 0.88;
	text-transform: uppercase;
}

.lead-story h1 a,
.headline-card h2 a,
.story-card h3 a,
.rail-story h3 a,
.archive-card h2 a { text-decoration: none; }

.lead-story-subhead {
	max-width: 37ch;
	margin: 14px 0 0;
	color: var(--color-lime);
	font-family: var(--font-display);
	font-size: clamp(1rem, 1.35vw, 1.25rem);
	font-weight: 900;
	line-height: 1.1;
}

.lead-story-summary {
	max-width: 56ch;
	margin: 10px 0 0;
	color: #d5dbe0;
	font-size: 0.88rem;
}

.lead-story-byline {
	display: flex;
	align-items: center;
	gap: 22px;
	margin-top: 18px;
	font-family: var(--font-display);
	font-size: 0.76rem;
	font-weight: 900;
	text-transform: uppercase;
}

.lead-story-byline span { color: var(--color-blue-readable); }
.lead-story-byline a { color: var(--color-lime); text-decoration: none; }
.lead-story-byline a::after { content: " ›"; }

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin-top: 18px;
	color: var(--color-muted);
	font-size: 0.78rem;
	font-weight: 700;
}

.entry-meta > * + * { position: relative; }
.entry-meta > * + *::before {
	content: "/";
	position: absolute;
	left: -12px;
	color: var(--color-blue);
}

.headline-stack {
	display: grid;
	grid-template-rows: repeat(4, minmax(0, 1fr));
	border-left: 1px solid var(--color-line);
}

.headline-card {
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	gap: 14px;
	align-items: center;
	padding: 14px;
	border-bottom: 1px solid var(--color-line);
}

.headline-card:last-child { border-bottom: 0; }

.headline-card-image {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--color-surface-raised);
}

.headline-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.headline-card .story-category {
	margin: 0 0 5px;
	font-size: 0.63rem;
}

.headline-card h2 {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: 900;
	line-height: 1.08;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.headline-card p {
	display: -webkit-box;
	margin: 6px 0 0;
	overflow: hidden;
	color: var(--color-muted);
	font-size: 0.7rem;
	line-height: 1.25;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.headline-card time,
.rail-story time {
	display: block;
	margin-top: 7px;
	color: var(--color-muted);
	font-size: 0.7rem;
}

.home-section { margin-top: 42px; }

.home-bottom-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
	gap: 14px;
	margin-top: 14px;
}

.home-bottom-grid > section {
	min-width: 0;
	border: 1px solid var(--color-line);
	background: var(--color-bg);
}

.home-bottom-grid .section-heading {
	min-height: 42px;
	padding-inline: 12px;
	margin-bottom: 0;
}

.section-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 48px;
	margin-bottom: 16px;
	border-bottom: 1px solid var(--color-line-strong);
}

.section-title {
	position: relative;
	align-self: stretch;
	display: inline-flex;
	align-items: center;
	margin: 0;
	font-family: var(--font-display);
	font-size: 1.35rem;
	font-style: italic;
	font-weight: 900;
	letter-spacing: -0.015em;
	text-transform: uppercase;
}

.section-title::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: -1px;
	left: 0;
	height: 4px;
	background: var(--color-lime);
	transform: skewX(-16deg);
}

.section-heading > a {
	color: var(--color-lime);
	font-family: var(--font-display);
	font-size: 0.72rem;
	font-weight: 900;
	text-decoration: none;
	text-transform: uppercase;
}

.top-stories-grid {
	display: grid;
	grid-template-columns: 1.35fr 1fr 1fr;
	grid-template-rows: repeat(2, minmax(190px, auto));
	gap: 14px;
}

.top-stories-list { padding: 10px; }

.top-story {
	display: grid;
	min-width: 0;
	border-bottom: 1px solid var(--color-line);
}

.top-story:last-child { border-bottom: 0; }

.top-story-primary {
	grid-template-columns: minmax(145px, 0.9fr) minmax(0, 1.1fr);
	gap: 12px;
	padding-bottom: 8px;
}

.top-story-compact {
	grid-template-columns: 82px minmax(0, 1fr);
	gap: 10px;
	align-items: center;
	min-height: 50px;
	padding: 6px 0;
}

.top-story-image {
	display: block;
	height: 100%;
	min-height: 58px;
	overflow: hidden;
}

.top-story-primary .top-story-image { min-height: 112px; }

.top-story-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.top-story-content { align-self: center; min-width: 0; }
.top-story-content .story-category { min-height: 18px; margin: 0 0 3px; font-size: 0.62rem; }
.top-story-content h3 { margin: 0; font-family: var(--font-display); font-size: 0.92rem; line-height: 1.05; }
.top-story-primary h3 { font-size: 1.2rem; }
.top-story-content h3 a { text-decoration: none; }
.top-story-content p { display: -webkit-box; margin: 6px 0 0; overflow: hidden; color: var(--color-muted); font-size: 0.74rem; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }

.story-card {
	min-width: 0;
	border: 1px solid var(--color-line);
	background: var(--color-surface);
	overflow: hidden;
}

.story-card-featured {
	grid-row: span 2;
}

.story-card-image {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--color-surface-raised);
}

.story-card-featured .story-card-image { aspect-ratio: 4 / 3; }

.story-card-image img,
.rail-story > a img,
.archive-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 500ms var(--ease);
}

.story-card:hover img,
.rail-story:hover img,
.archive-card:hover img { transform: scale(1.035); }

.story-card-content { padding: 13px 15px 16px; }
.story-card .story-category { margin-bottom: 5px; font-size: 0.62rem; }
.story-card h3 {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1rem, 1.5vw, 1.28rem);
	line-height: 1.08;
}
.story-card-featured h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.story-card p { margin: 10px 0 0; color: var(--color-muted); font-size: 0.88rem; }

.featured-video {
	padding: 10px 10px 12px;
	background: var(--color-surface);
}

.video-frame {
	position: relative;
	aspect-ratio: 3 / 1;
	overflow: hidden;
	background: #05070a;
}

.video-frame iframe,
.video-frame > img {
	width: 100%;
	height: 100%;
	border: 0;
	object-fit: cover;
}

.video-frame > img { opacity: 0.78; filter: grayscale(0.08); }

/* A real video player needs the standard 16:9 shape; the wide 3:1 strip is only for the placeholder picture. */
.video-frame:has(iframe) { aspect-ratio: 16 / 9; }

.video-placeholder {
	position: absolute;
	inset: 0;
	display: grid;
	place-content: center;
	justify-items: center;
	gap: 12px;
	padding: 20px;
	text-align: center;
}

.video-placeholder p { display: none; }

.play-mark {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	padding-left: 4px;
	border: 3px solid var(--color-text);
	border-radius: 50%;
	color: var(--color-text);
	font-size: 1.4rem;
}

.video-placeholder p { margin: 0; font-weight: 700; }

.featured-video h3 {
	margin: 9px 0 2px;
	font-family: var(--font-display);
	font-size: 1.1rem;
}

.featured-video > p { margin: 2px 0 0; color: var(--color-muted); font-size: 0.76rem; }

.category-rail-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.rail-story > a {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--color-surface);
}

.rail-story h3 {
	margin: 11px 0 0;
	font-family: var(--font-display);
	font-size: 1rem;
	line-height: 1.15;
}

.home-sidebar { min-width: 0; }

.sidebar-panel,
.widget {
	margin-bottom: 22px;
	padding: 16px;
	border: 1px solid var(--color-line);
	background: var(--color-surface);
}

.sidebar-panel .section-heading { min-height: 42px; margin-bottom: 4px; }
.sidebar-panel .section-title,
.widget-title { font-size: 1.08rem; }

/* X timeline: reserve height so the panel does not jump while the
   third-party widget loads, and let it fail quietly if X is blocked. */
.x-feed-embed {
	min-height: 240px;
	overflow: hidden;
}

.x-feed-embed .twitter-timeline {
	display: block;
	font-size: 0.92rem;
	color: var(--color-muted, #666);
}

/* Shown instead of the timeline when X returns nothing, so the panel
   never sits as an empty box. */
.x-feed-embed.is-fallback {
	min-height: 0;
}

.x-follow-button {
	display: block;
	padding: 11px 14px;
	text-align: center;
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.02em;
	text-decoration: none;
	color: #fff;
	background: #111;
	border: 1px solid #111;
	transition: background 0.15s ease, color 0.15s ease;
}

.x-follow-button:hover,
.x-follow-button:focus {
	background: transparent;
	color: var(--color-text, #111);
	text-decoration: none;
}

.latest-list {
	padding: 0;
	margin: 0;
	list-style: none;
}

.latest-list li {
	display: grid;
	grid-template-columns: 54px 1fr;
	gap: 10px;
	padding: 11px 0;
	border-bottom: 1px solid var(--color-line);
}

.latest-list li:last-child { border-bottom: 0; }
.latest-list time { color: var(--color-blue-readable); font-size: 0.66rem; font-weight: 800; }
.latest-list a { font-family: var(--font-display); font-size: 0.89rem; font-weight: 800; line-height: 1.2; text-decoration: none; }

.events-list { padding-top: 8px; }

.event-item {
	display: grid;
	grid-template-columns: 54px 1fr;
	gap: 12px;
	align-items: start;
	padding: 12px 0;
}

.event-date {
	display: grid;
	place-items: center;
	min-height: 58px;
	border: 1px solid var(--color-blue);
	border-left: 4px solid var(--color-blue);
	background: #0c1219;
	font-family: var(--font-display);
	line-height: 1;
	text-transform: uppercase;
}

.event-date strong { color: var(--color-muted); font-size: 0.68rem; }
.event-date span { font-size: 1.45rem; font-weight: 900; }
.event-item h3 { margin: 1px 0 5px; font-family: var(--font-display); font-size: 0.92rem; line-height: 1.1; }
.event-item h3 a { text-decoration: none; }
.event-item p { margin: 2px 0; color: var(--color-muted); font-size: 0.72rem; }
.panel-empty { margin: 16px 0 2px; color: var(--color-muted); font-size: 0.85rem; }

.lead-empty {
	display: grid;
	grid-template-columns: minmax(260px, 0.8fr) 1.2fr;
	align-items: center;
	min-height: 520px;
	border: 1px solid var(--color-line);
	background: var(--color-surface);
}

.lead-empty img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.lead-empty > div { padding: clamp(28px, 5vw, 64px); }
.lead-empty h1 { margin: 0; font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 4.8rem); font-style: italic; line-height: 0.92; text-transform: uppercase; }
.lead-empty p:last-child { color: var(--color-muted); }

.archive-layout { padding-top: clamp(34px, 5vw, 64px); padding-bottom: 80px; }

/* Listing header */
.archive-header { position: relative; max-width: 900px; margin-bottom: 30px; padding-left: 22px; border-left: 6px solid var(--color-lime); }
.archive-eyebrow { margin: 0 0 10px; color: var(--color-lime); font-family: var(--font-display); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; }
.archive-header h1,
.page-header h1,
.not-found-page h1 {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(2.6rem, 6vw, 5.4rem);
	font-style: italic;
	font-weight: 900;
	letter-spacing: -0.04em;
	line-height: 0.92;
	text-transform: uppercase;
	text-wrap: balance;
}
.archive-description { max-width: 64ch; margin-top: 14px; color: #c3cbd2; font-size: 1.06rem; line-height: 1.6; }
.archive-description p { margin: 0; }
.archive-count { display: inline-flex; margin: 16px 0 0; padding: 5px 10px; border: 1px solid var(--color-line-strong); border-radius: 999px; color: var(--color-muted); font-family: var(--font-display); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }

.author-header { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 28px; align-items: center; max-width: 980px; }
.author-header-portrait { width: 132px; height: 132px; border: 4px solid var(--color-lime); border-radius: 50%; background: radial-gradient(circle at 50% 30%, var(--color-surface-raised), #05070a); object-fit: cover; object-position: top; }

/* Section switcher */
.section-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 34px; }
.section-chip { padding: 9px 14px; border: 1px solid var(--color-line-strong); border-radius: 999px; color: var(--color-text); font-family: var(--font-display); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.05em; text-decoration: none; text-transform: uppercase; white-space: nowrap; transition: border-color 160ms var(--ease), color 160ms var(--ease), background-color 160ms var(--ease); }
.section-chip:hover { border-color: var(--color-lime); color: var(--color-lime); }
.section-chip.is-current { border-color: var(--color-lime); background: var(--color-lime); color: #101408; }

.archive-search { max-width: 560px; margin: 0 0 34px; }
.archive-search .search-form { width: 100%; }

/* Feature story */
.archive-feature { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); margin-bottom: 26px; border: 1px solid var(--color-line); background: var(--color-surface); }
.archive-feature-image { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--color-surface-raised); }
.archive-feature-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.archive-feature:hover .archive-feature-image img { transform: scale(1.03); }
.archive-feature-content { align-self: center; padding: clamp(24px, 3.4vw, 48px); }
.archive-feature h2 { margin: 0; font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.9rem); font-weight: 900; line-height: 1; text-wrap: balance; }
.archive-feature h2 a { text-decoration: none; }
.archive-feature h2 a:hover { color: var(--color-lime); }
.archive-feature p { margin: 16px 0 18px; color: #c3cbd2; font-size: 1.02rem; line-height: 1.6; }

/* Story grid */
.archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.archive-card { display: flex; flex-direction: column; border: 1px solid var(--color-line); background: var(--color-surface); transition: border-color 200ms var(--ease), transform 200ms var(--ease); }
.archive-card:hover { border-color: var(--color-line-strong); }
.archive-card-image { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--color-surface-raised); }
.archive-card-content { display: flex; flex: 1; flex-direction: column; padding: 18px 20px 20px; }
.archive-card .story-category { margin-bottom: 8px; }
.archive-card h2 { margin: 0; font-family: var(--font-display); font-size: 1.32rem; font-weight: 800; line-height: 1.12; text-wrap: balance; }
.archive-card h2 a:hover { color: var(--color-lime); }
.archive-card p { display: -webkit-box; margin: 10px 0 16px; overflow: hidden; color: var(--color-muted); font-size: 0.92rem; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.archive-card .entry-meta { margin-top: auto; }

.empty-state .section-chips { margin: 22px 0 0; }
.empty-latest { margin-top: 48px; }

/* Pagination */
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 7px 14px; border: 1px solid var(--color-line-strong); border-radius: var(--radius); font-family: var(--font-display); font-weight: 800; text-decoration: none; text-transform: uppercase; transition: border-color 160ms var(--ease), color 160ms var(--ease); }
.pagination a.page-numbers:hover { border-color: var(--color-lime); color: var(--color-lime); }
.pagination .dots { border-color: transparent; }
.pagination .current { background: var(--color-lime); border-color: var(--color-lime); color: #101408; }

/* Events listing */
.event-list { display: grid; gap: 12px; max-width: 980px; }
.event-row { display: grid; grid-template-columns: 92px minmax(0, 1fr) 40px; gap: 22px; align-items: center; padding: 16px; border: 1px solid var(--color-line); background: var(--color-surface); transition: border-color 200ms var(--ease); }
.event-row:hover { border-color: var(--color-lime-dark); }
.event-row-date { display: grid; justify-items: center; padding: 10px 6px; border-left: 4px solid var(--color-blue); background: #0b1015; line-height: 1; }
.event-row-date strong { color: var(--color-lime); font-family: var(--font-display); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; }
.event-row-date span { margin: 6px 0 4px; font-family: var(--font-display); font-size: 2.2rem; font-weight: 900; }
.event-row-date em { color: var(--color-muted); font-size: 0.72rem; font-style: normal; text-transform: uppercase; }
.event-row h2 { margin: 0; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; }
.event-row h2 a { text-decoration: none; }
.event-row h2 a:hover { color: var(--color-lime); }
.event-row-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 8px 0 0; color: var(--color-muted); font-size: 0.9rem; }
.event-row-meta span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 12px 3px 0; border-radius: 50%; background: var(--color-blue-readable); }
.event-row-link { color: var(--color-lime); font-size: 2rem; text-align: center; text-decoration: none; }
.event-list.is-past .event-row { opacity: 0.7; }
.past-events { max-width: 980px; margin-top: 56px; }

/* Single article */
.single-main { padding-top: clamp(34px, 5vw, 64px); padding-bottom: 80px; }

.reading-progress { position: fixed; top: 0; right: 0; left: 0; z-index: 200; height: 4px; pointer-events: none; }
.reading-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--color-blue), var(--color-lime)); transform: scaleX(0); transform-origin: 0 50%; }
.admin-bar .reading-progress { top: 32px; }

.article-header-inner { max-width: 940px; }
.article-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; font-family: var(--font-display); font-size: 0.74rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.article-breadcrumb > a:first-child { color: var(--color-muted); text-decoration: none; }
.article-breadcrumb > a:first-child::after { content: "/"; margin-left: 10px; color: var(--color-line-strong); }
.article-breadcrumb .story-category { min-height: 0; margin: 0; }
.article-header h1 { margin: 0; font-family: var(--font-display); font-size: clamp(2.6rem, 6vw, 5.4rem); font-style: italic; font-weight: 900; letter-spacing: -0.04em; line-height: 0.92; text-transform: uppercase; text-wrap: balance; }
.article-deck { max-width: 62ch; margin: 22px 0 0; color: #c7cfd6; font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.5; }

.article-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--color-line); }
.byline-portrait { width: 48px; height: 48px; border: 2px solid var(--color-lime); border-radius: 50%; background: var(--color-surface-raised); object-fit: cover; object-position: top; }
.byline-text { display: grid; gap: 3px; margin-right: auto; }
.byline-author { font-family: var(--font-display); font-size: 1rem; font-weight: 800; }
.byline-author a { color: var(--color-text); text-decoration: none; }
.byline-author a:hover { color: var(--color-lime); }
.byline-details { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--color-muted); font-size: 0.8rem; }
.byline-details > * + *::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 10px 2px 0; border-radius: 50%; background: var(--color-blue-readable); }

.share-links { display: flex; flex-wrap: wrap; gap: 8px; }
.share-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 42px; min-height: 42px; padding: 0 12px; border: 1px solid var(--color-line-strong); border-radius: var(--radius); background: transparent; color: var(--color-text); font: 800 0.74rem/1 var(--font-display); letter-spacing: 0.06em; text-decoration: none; text-transform: uppercase; cursor: pointer; transition: border-color 160ms var(--ease), color 160ms var(--ease), background-color 160ms var(--ease); }
.share-link .ph { font-size: 1.1rem; }
.share-link:hover,
.share-link:focus-visible { border-color: var(--color-lime); background: rgba(168, 214, 0, 0.08); color: var(--color-lime); }

.article-hero { margin-top: 34px; border: 1px solid var(--color-line); background: radial-gradient(ellipse at center, var(--color-surface-raised), #05070a 75%); }
.article-hero img { width: 100%; max-height: min(78vh, 720px); object-fit: contain; }
.article-hero figcaption { padding: 10px 14px; border-top: 1px solid var(--color-line); color: var(--color-muted); font-size: 0.76rem; }

.article-layout { display: grid; grid-template-columns: minmax(0, 780px) 320px; justify-content: space-between; gap: 64px; margin-top: 44px; }
.article-main { min-width: 0; }

.entry-content { color: #e1e6ea; font-size: 1.125rem; line-height: 1.78; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content p { margin: 0 0 1.3em; }
.entry-content > p:first-of-type { color: var(--color-text); font-size: 1.22rem; line-height: 1.7; }
.entry-content h2,
.entry-content h3,
.entry-content h4 { margin: 1.9em 0 0.65em; color: var(--color-text); font-family: var(--font-display); font-weight: 900; line-height: 1.08; text-wrap: balance; }
.entry-content h2 { padding-left: 16px; border-left: 5px solid var(--color-lime); font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-style: italic; text-transform: uppercase; }
.entry-content h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.entry-content h4 { color: var(--color-lime); font-size: 1.2rem; text-transform: uppercase; }
.entry-content a { color: var(--color-lime); text-decoration-thickness: 1px; }
.entry-content a:hover { color: #c6f235; }
.entry-content strong { color: var(--color-text); }
.entry-content ul,
.entry-content ol { margin: 0 0 1.4em; padding-left: 1.3em; }
.entry-content li { margin-bottom: 0.45em; }
.entry-content li::marker { color: var(--color-lime); font-weight: 900; }
.entry-content hr { margin: 2.4em 0; border: 0; border-top: 1px solid var(--color-line); }
.entry-content blockquote { margin: 2em 0; padding: 18px 22px; border-left: 5px solid var(--color-blue); background: var(--color-surface); color: var(--color-text); font-family: var(--font-display); font-size: 1.35em; font-weight: 800; line-height: 1.3; }
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content figure,
.entry-content .wp-block-image { margin: 2em 0; }
.entry-content img { border-radius: var(--radius); }
.entry-content figure img,
.entry-content p > img:only-child { width: 100%; }
.entry-content .alignleft { float: left; max-width: 46%; margin: 0.4em 1.4em 1em 0; }
.entry-content .alignright { float: right; max-width: 46%; margin: 0.4em 0 1em 1.4em; }
.entry-content .aligncenter { margin-inline: auto; }
.entry-content figcaption,
.entry-content .wp-element-caption { margin-top: 8px; color: var(--color-muted); font-size: 0.8rem; text-align: left; }
.entry-content iframe { max-width: 100%; }
.entry-content .wp-block-embed__wrapper { position: relative; max-width: 100%; overflow: hidden; }
.entry-content iframe[src*="youtube"],
.entry-content iframe[src*="youtu.be"],
.entry-content iframe[src*="vimeo"] { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); }
.entry-content table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 0.95rem; }
.entry-content th,
.entry-content td { padding: 10px; border-bottom: 1px solid var(--color-line); text-align: left; }
.entry-content th { color: var(--color-lime); font-family: var(--font-display); text-transform: uppercase; }
.entry-content pre { max-width: 100%; padding: 18px; background: #05070a; overflow-x: auto; }
.entry-content::after { content: ""; display: table; clear: both; }

.article-sidebar { min-width: 0; }
.article-sidebar-inner { position: sticky; top: 24px; }
.admin-bar .article-sidebar-inner { top: 56px; }
.article-sidebar .section-heading > a { white-space: nowrap; }
.sidebar-story-list { padding: 0; margin: 8px 0 0; list-style: none; }
.sidebar-story-list li { border-bottom: 1px solid var(--color-line); }
.sidebar-story-list li:last-child { border-bottom: 0; }
.sidebar-story { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 0; text-decoration: none; }
.sidebar-story-image { overflow: hidden; aspect-ratio: 3 / 2; border-radius: var(--radius); background: var(--color-surface-raised); }
.sidebar-story-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms var(--ease); }
.sidebar-story-title { display: -webkit-box; overflow: hidden; font-family: var(--font-display); font-size: 0.95rem; font-weight: 800; line-height: 1.2; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.sidebar-story time { display: block; margin-top: 5px; color: var(--color-muted); font-size: 0.7rem; }
.sidebar-story:hover .sidebar-story-title { color: var(--color-lime); }
.sidebar-story:hover img { transform: scale(1.05); }

.article-footer { margin-top: 48px; }
.article-share-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; border: 1px solid var(--color-line); border-left: 5px solid var(--color-lime); background: var(--color-surface); }
.article-share-end strong { font-family: var(--font-display); font-size: 1.1rem; font-style: italic; font-weight: 900; text-transform: uppercase; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 26px; font-size: 0.78rem; }
.tag-list strong { margin-right: 4px; color: var(--color-muted); font-family: var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; }
.tag-list a { padding: 6px 10px; border: 1px solid var(--color-line-strong); border-radius: 999px; color: var(--color-text); text-decoration: none; }
.tag-list a:hover { border-color: var(--color-lime); color: var(--color-lime); }
.author-box { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: center; margin-top: 30px; padding: 22px; border: 1px solid var(--color-line); background: linear-gradient(120deg, rgba(23, 105, 232, 0.14), transparent 60%), var(--color-surface); }
.author-box-portrait { width: 96px; height: 96px; border: 3px solid var(--color-lime); border-radius: 50%; background: var(--color-surface-raised); object-fit: cover; object-position: top; }
.author-box-label { margin: 0 0 2px; color: var(--color-lime) !important; font-family: var(--font-display); font-size: 0.72rem !important; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.author-box h2 { margin: 0; font-family: var(--font-display); font-size: 1.6rem; }
.author-box h2 a { color: var(--color-text); text-decoration: none; }
.author-box p { margin: 6px 0 0; color: var(--color-muted); font-size: 0.9rem; line-height: 1.55; }
.author-box-link { display: inline-block; margin-top: 10px; color: var(--color-lime); font-family: var(--font-display); font-size: 0.76rem; font-weight: 900; letter-spacing: 0.06em; text-decoration: none; text-transform: uppercase; }
.author-box-link::after { content: " \203A"; }

.related-stories { margin-top: 72px; padding-top: 6px; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.related-card { display: flex; flex-direction: column; border: 1px solid var(--color-line); background: var(--color-surface); transition: border-color 200ms var(--ease), transform 200ms var(--ease); }
.related-card:hover { border-color: var(--color-line-strong); transform: translateY(-3px); }
.related-card-image { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--color-surface-raised); }
.related-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease); }
.related-card:hover .related-card-image img { transform: scale(1.04); }
.related-card-content { padding: 16px 18px 20px; }
.related-card .story-category { margin-bottom: 6px; }
.related-card h3 { margin: 0; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.15; }
.related-card h3 a { text-decoration: none; }
.related-card h3 a:hover { color: var(--color-lime); }
.related-card time { display: block; margin-top: 10px; color: var(--color-muted); font-size: 0.74rem; }

.post-navigation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.post-navigation > div { padding: 20px 22px; border: 1px solid var(--color-line); background: var(--color-surface); transition: border-color 200ms var(--ease); }
.post-navigation > div:hover { border-color: var(--color-lime-dark); }
.post-navigation .post-nav-next { grid-column: 2; text-align: right; }
.post-navigation span { display: block; margin-bottom: 8px; color: var(--color-lime); font-family: var(--font-display); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.post-navigation .post-nav-prev span::before { content: "\2039  "; }
.post-navigation .post-nav-next span::after { content: "  \203A"; }
.post-navigation a { font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; line-height: 1.2; text-decoration: none; }
.post-navigation a:hover { color: var(--color-lime); }

.page-main { min-height: 60vh; padding-top: clamp(48px, 8vw, 100px); padding-bottom: 90px; }
.page-header { margin-bottom: 42px; }

.comments-area { max-width: var(--shell-wide); margin-top: 64px; padding-top: 36px; border-top: 1px solid var(--color-line); }
.comments-area > * { max-width: 780px; }
.comments-title,
.comment-reply-title { margin: 0 0 8px; font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.1rem); font-style: italic; font-weight: 900; text-transform: uppercase; }
.comments-title span { color: var(--color-lime); }
.comment-list { padding: 0; list-style: none; }
.comment-list .children { padding-left: 28px; list-style: none; }
.comment-body { margin-bottom: 16px; padding: 20px; border: 1px solid var(--color-line); background: var(--color-surface); }
.comment-meta { font-size: 0.8rem; }
.comment-author { display: flex; align-items: center; gap: 10px; }
.comment-author img { width: 44px; height: 44px; border-radius: 50%; }
.comment-notes { margin: 0 0 18px; color: var(--color-muted); font-size: 0.88rem; }
.comment-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.comment-form > p { margin: 0 0 16px; }
.comment-form .comment-notes,
.comment-form .comment-form-comment,
.comment-form .comment-form-cookies-consent,
.comment-form .form-submit { grid-column: 1 / -1; }
.comment-form label { display: block; margin-bottom: 6px; color: var(--color-text); font-family: var(--font-display); font-size: 0.86rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.comment-form textarea,
.comment-form input:not([type="submit"]) { border-radius: var(--radius); }
.comment-form textarea { min-height: 150px; resize: vertical; }
.comment-form textarea:focus,
.comment-form input:not([type="submit"]):focus { border-color: var(--color-lime); outline: 2px solid rgba(168, 214, 0, 0.25); outline-offset: 0; }
.comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; }
.comment-form-cookies-consent label { margin: 0; color: var(--color-muted); font-family: var(--font-body); font-size: 0.86rem; font-weight: 400; letter-spacing: 0; text-transform: none; }
.comment-form-cookies-consent input { width: 18px !important; min-height: 18px !important; margin-top: 2px; accent-color: var(--color-lime); }

.not-found-page { min-height: 65vh; padding-top: 80px; padding-bottom: 90px; }
.not-found-mark { color: var(--color-surface-raised); font-family: var(--font-display); font-size: clamp(7rem, 22vw, 15rem); font-weight: 900; line-height: 0.72; }
.not-found-page > p:not(.story-category) { max-width: 58ch; color: var(--color-muted); }
.not-found-page .search-form { margin: 28px 0 16px; }

.empty-state { overflow: hidden; }
.compact-empty { padding: clamp(28px, 6vw, 70px); border: 1px solid var(--color-line); background: var(--color-surface); }
.compact-empty h2 { margin: 0; font-family: var(--font-display); font-size: 2rem; }
.compact-empty p { color: var(--color-muted); }

.site-footer { border-top: 1px solid var(--color-line); background: #070a0e; }

.home .site-footer { border-top: 0; }

.home-signature-footer {
	border-top: 1px solid var(--color-lime-dark);
	border-bottom: 4px solid var(--color-lime);
	background:
		linear-gradient(105deg, rgba(23, 105, 232, 0.28) 0 17%, transparent 17% 78%, rgba(168, 214, 0, 0.28) 78% 100%),
		#070a0e;
}

.home-signature-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(34px, 9vw, 130px);
	min-height: 64px;
}

.home-signature-inner p {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(0.9rem, 1.6vw, 1.25rem);
	font-style: italic;
	font-weight: 900;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.home-signature-inner p span:nth-child(1),
.home-signature-inner p span:nth-child(3) { color: var(--color-blue); }
.home-signature-inner p span:nth-child(2) { color: var(--color-lime); }

.home-signature-inner strong {
	font-family: cursive;
	font-size: 1.35rem;
	font-style: italic;
	font-weight: 400;
}
.footer-stripe { height: 6px; background: linear-gradient(90deg, var(--color-blue) 0 50%, var(--color-lime) 50%); }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 0.8fr; gap: 50px; align-items: start; padding-top: 52px; padding-bottom: 42px; }
.footer-brand .custom-logo-link,
.footer-brand .brand-default { width: 170px; height: 100px; }
.footer-brand p { max-width: 26ch; margin: 8px 0 0; color: var(--color-muted); font-family: var(--font-display); font-style: italic; font-weight: 800; text-transform: uppercase; }
.footer-navigation ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; padding: 0; margin: 0; list-style: none; }
.footer-navigation a { color: var(--color-muted); font-size: 0.84rem; font-weight: 700; text-decoration: none; }
.footer-connect h2 { margin: 0 0 14px; font-family: var(--font-display); font-size: 1.1rem; text-transform: uppercase; }
.site-info { display: flex; justify-content: space-between; gap: 20px; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid var(--color-line); color: var(--color-muted); font-size: 0.74rem; }
.site-info p { margin: 0; }

.widget ul { padding-left: 20px; }
.widget a { color: var(--color-text); }

.js .reveal-item {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1180px) {
	.masthead { grid-template-columns: 190px minmax(0, 1fr) auto 46px; min-height: 94px; }
	.custom-logo-link,
	.brand-default { width: 180px; height: 82px; }
	.masthead-portrait { display: none; }
	.masthead-tools .search-form { display: none; }
	.menu-toggle { display: block; }
	.menu-toggle { position: relative; z-index: 2; }
	.primary-navigation {
		position: absolute;
		right: 0;
		left: 0;
		top: 100%;
		display: none;
		max-height: calc(100dvh - 94px);
		overflow-y: auto;
		box-shadow: var(--shadow);
	}
	.primary-navigation.is-open { display: block; }
	.primary-navigation .shell { width: 100%; }
	.primary-menu { display: grid; justify-content: stretch; padding: 12px 20px 22px; }
	.primary-menu > li > a { height: auto; min-height: 46px; padding: 11px 8px; border-bottom: 1px solid var(--color-line); font-size: 0.95rem; }
	.primary-menu .sub-menu { position: static; display: block; padding: 0 0 8px 16px; border: 0; box-shadow: none; background: transparent; }
	.home-layout { grid-template-columns: minmax(0, 1fr) 290px; }
	.headline-grid { grid-template-columns: 1.5fr minmax(270px, 0.8fr); }
	.headline-card { grid-template-columns: 88px minmax(0, 1fr); padding: 10px; }
	.article-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 36px; }
}

@media (max-width: 960px) {
	.home-layout { grid-template-columns: 1fr; }
	.home-sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
	.sidebar-panel,
	.widget { margin-bottom: 0; }
	.headline-grid { min-height: 500px; }
	.lead-story { min-height: 500px; }
	.top-stories-grid { grid-template-columns: 1.4fr 1fr; }
	.story-card-featured { grid-row: span 2; }
	.top-stories-grid .story-card:nth-child(4),
	.top-stories-grid .story-card:nth-child(5) { grid-column: span 1; }
	.category-rail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
	.article-layout { grid-template-columns: 1fr; }
	.article-sidebar { display: none; }
}

@media (max-width: 767px) {
	.shell,
	.shell-wide,
	.shell-narrow { width: calc(100% - 28px); }
	.masthead { grid-template-columns: 142px minmax(0, 1fr) 46px; min-height: 80px; gap: 12px; }
	.custom-logo-link,
	.brand-default { width: 138px; height: 68px; }
	.brand-statement { padding-left: 11px; font-size: 0.77rem; }
	.brand-statement::before { width: 3px; }
	.masthead-tools { display: none; }
	.primary-navigation { max-height: calc(100dvh - 80px); }
	.news-ticker { display: none; }
	.home-layout { width: 100%; padding-top: 0; }
	.home-bottom-grid { grid-template-columns: 1fr; width: calc(100% - 28px); margin-inline: auto; }
	.headline-grid { display: block; min-height: 0; border-right: 0; border-left: 0; }
	.lead-story { min-height: min(76dvh, 620px); }
	.lead-story-content { padding: 24px 18px; }
	.lead-story h1 { max-width: 100%; font-size: clamp(2.2rem, 9.5vw, 3.25rem); }
	.lead-story-content > p { font-size: 0.9rem; }
	.headline-stack { grid-template-rows: auto; border-top: 1px solid var(--color-line); border-left: 0; }
	.headline-card { grid-template-columns: 108px minmax(0, 1fr); min-height: 120px; padding: 12px 14px; }
	.home-section,
	.home-sidebar { width: calc(100% - 28px); margin-inline: auto; }
	.home-signature-inner { flex-direction: column; gap: 5px; padding-block: 13px; text-align: center; }
	.home-signature-inner p { letter-spacing: 0.08em; }
	.top-stories-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
	.story-card-featured { grid-column: span 2; grid-row: auto; }
	.story-card-featured .story-card-image { aspect-ratio: 16 / 10; }
	.story-card-content { padding: 12px; }
	.story-card h3 { font-size: 1rem; }
	.story-card-featured h3 { font-size: 1.55rem; }
	.story-card p { display: none; }
	.category-rail-grid { grid-template-columns: 1fr 1fr; }
	.home-sidebar { display: grid; grid-template-columns: 1fr; }
	.lead-empty { grid-template-columns: 1fr; }
	.lead-empty img { min-height: 360px; max-height: 420px; }
	.archive-card { grid-template-columns: 1fr; }
	.archive-card-image { min-height: 0; aspect-ratio: 16 / 10; }
	.archive-card-content { padding: 22px 18px 26px; }
	.article-header h1 { font-size: clamp(2.5rem, 13vw, 4.5rem); }
	.article-hero { width: 100%; }
	.article-hero figcaption { padding-inline: 14px; }
	.article-layout { width: calc(100% - 28px); margin-top: 32px; }
	.post-navigation { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 32px; }
	.site-info { flex-direction: column; gap: 7px; }
}

@media (max-width: 480px) {
	.brand-statement { display: none; }
	.masthead { grid-template-columns: 1fr 46px; }
	.top-stories-grid { grid-template-columns: 1fr; }
	.story-card-featured { grid-column: auto; }
	.category-rail-grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
	.rail-story { flex: 0 0 78vw; scroll-snap-align: start; }
	.footer-navigation ul { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
	.js .reveal-item { opacity: 1; transform: none; }
}

@media print {
	.site-header,
	.site-footer,
	.news-ticker,
	.article-sidebar,
	.post-navigation,
	.comments-area { display: none !important; }
	body { background: #f8f8f6; color: #151719; }
	.article-layout { display: block; }
	.entry-content { color: #151719; }
}

/* Footer brand: keep the logo flush with the tagline below it. */
.footer-brand .brand-default,
.footer-brand .custom-logo-link { display: block; }
.footer-brand .brand-default img,
.footer-brand .custom-logo-link img { width: 100%; height: 100%; object-fit: contain; object-position: left center; }

/* Search inside the mobile menu panel. */
.mobile-nav-search { display: none; }

/* Single article: tablet and mobile */
@media (max-width: 1180px) {
	.mobile-nav-search { display: block; padding: 16px 20px 4px; }
	.mobile-nav-search .search-form { width: 100%; }
	.article-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; }
}

@media (max-width: 960px) {
	.article-layout { grid-template-columns: 1fr; }
	.article-sidebar { display: none; }
	.related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.related-card:nth-child(3) { display: none; }
}

@media (max-width: 767px) {
	.single-main { padding-top: 22px; padding-bottom: 56px; }
	.article-breadcrumb { margin-bottom: 12px; font-size: 0.68rem; }
	.article-header h1 { font-size: clamp(2.1rem, 10.5vw, 3.3rem); line-height: 0.95; }
	.article-byline { gap: 14px; margin-top: 20px; padding-top: 16px; }
	.article-byline .share-links { width: 100%; }
	.article-byline .share-link { flex: 1; }
	.article-hero { width: 100%; margin-top: 22px; border-right: 0; border-left: 0; }
	.article-hero img { max-height: none; }
	.article-layout { margin-top: 26px; }
	.entry-content { font-size: 1.06rem; line-height: 1.72; }
	.entry-content > p:first-of-type { font-size: 1.12rem; }
	.entry-content h2 { padding-left: 12px; border-left-width: 4px; }
	.entry-content figure,
	.entry-content .wp-block-image { margin: 1.5em 0; }
	.entry-content .alignleft,
	.entry-content .alignright { float: none; max-width: 100%; margin: 1.2em 0; }
	.entry-content blockquote { padding: 14px 16px; font-size: 1.18em; }
	.article-footer { margin-top: 36px; }
	.article-share-end { flex-direction: column; align-items: stretch; padding: 16px; }
	.article-share-end .share-link { flex: 1; }
	.author-box { grid-template-columns: 64px 1fr; gap: 14px; padding: 16px; }
	.author-box-portrait { width: 64px; height: 64px; }
	.author-box h2 { font-size: 1.35rem; }
	.related-stories { width: calc(100% - 28px); margin-top: 52px; }
	.related-grid { grid-template-columns: 1fr; gap: 12px; }
	.related-card,
	.related-card:nth-child(3) { display: grid; grid-template-columns: 116px minmax(0, 1fr); }
	.related-card-image { aspect-ratio: auto; height: 100%; min-height: 96px; }
	.related-card-content { padding: 12px 14px; }
	.related-card h3 { font-size: 1.02rem; }
	.related-card time { margin-top: 6px; }
	.post-navigation { width: calc(100% - 28px); grid-template-columns: 1fr; gap: 10px; margin-top: 28px; }
	.post-navigation .post-nav-next { grid-column: auto; text-align: left; }
	.post-navigation > div { padding: 16px; }
	.comments-area { width: calc(100% - 28px); margin-top: 48px; padding-top: 28px; }
	.comment-form { grid-template-columns: 1fr; }
}

/* Footer section links (fallback menu reuses the primary menu markup). */
.footer-navigation .primary-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; padding: 0; }
.footer-navigation .primary-menu > li > a { display: inline; height: auto; min-height: 0; padding: 0; border: 0; color: var(--color-muted); font-size: 0.84rem; }
.footer-navigation .primary-menu > li > a::after { display: none; }
.footer-navigation .primary-menu > li > a:hover { color: var(--color-lime); }

/* Imported content clean-up */
.entry-content p:empty { display: none; }
.entry-content h2.has-text-align-center,
.entry-content h2[style*="center"] { padding-left: 0; border-left: 0; }

.event-details { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.event-details > div { min-width: 150px; padding: 14px 18px; border: 1px solid var(--color-line); border-left: 4px solid var(--color-blue); background: var(--color-surface); }
.event-details dt { color: var(--color-lime); font-family: var(--font-display); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.event-details dd { margin: 4px 0 0; font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; }

/* Logo images (theme default and Customizer logo) scale inside their box. */
.custom-logo-link img { width: 100%; height: 100%; object-fit: contain; }

/* Listing pages: tablet and mobile */
@media (max-width: 1180px) {
	.archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
	.archive-feature { grid-template-columns: 1fr; }
	.archive-feature-content { padding: 24px; }
}

@media (max-width: 767px) {
	.archive-layout { padding-top: 26px; padding-bottom: 56px; }
	.archive-header { margin-bottom: 22px; padding-left: 14px; border-left-width: 4px; }
	.archive-header h1,
	.page-header h1 { font-size: clamp(2.2rem, 11vw, 3.4rem); }
	.archive-description { font-size: 0.98rem; }
	.author-header { grid-template-columns: 84px minmax(0, 1fr); gap: 16px; }
	.author-header-portrait { width: 84px; height: 84px; border-width: 3px; }
	.section-chips { flex-wrap: nowrap; margin: 0 -14px 24px; padding: 0 14px 6px; overflow-x: auto; scrollbar-width: none; }
	.section-chips::-webkit-scrollbar { display: none; }
	.empty-state .section-chips { margin: 18px 0 0; padding: 0 0 6px; }
	.archive-search { margin-bottom: 24px; }
	.archive-feature { margin-bottom: 18px; }
	.archive-feature-content { padding: 18px 16px 20px; }
	.archive-feature h2 { font-size: 1.7rem; }
	.archive-feature p { margin: 12px 0 14px; font-size: 0.95rem; }
	.archive-grid { grid-template-columns: 1fr; gap: 12px; }
	.archive-card { display: grid; grid-template-columns: 124px minmax(0, 1fr); }
	.archive-card-image { aspect-ratio: auto; height: 100%; min-height: 104px; }
	.archive-card-content { padding: 12px 14px; }
	.archive-card .story-category { min-height: 0; margin-bottom: 5px; font-size: 0.64rem; }
	.archive-card h2 { font-size: 1.04rem; line-height: 1.15; }
	.archive-card p { display: none; }
	.archive-card .entry-meta { margin-top: 8px; font-size: 0.7rem; }
	.pagination .nav-links { margin-top: 32px; }
	.event-row { grid-template-columns: 70px minmax(0, 1fr); gap: 14px; padding: 12px; }
	.event-row-date span { font-size: 1.7rem; }
	.event-row h2 { font-size: 1.15rem; }
	.event-row-link { display: none; }
}

.compact-empty h2 { line-height: 1.05; text-wrap: balance; }
@media (max-width: 767px) {
	.compact-empty { padding: 22px 18px; }
	.compact-empty h2 { font-size: 1.6rem; }
	.empty-state .section-chips { flex-wrap: wrap; overflow: visible; }
}
@media (max-width: 767px) {
	.archive-layout > .section-chips { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
}

/* Contact page */
.contact-layout { padding-top: clamp(34px, 5vw, 64px); padding-bottom: 80px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); grid-template-areas: "intro card" "extra card"; grid-template-rows: auto 1fr; gap: 0 clamp(32px, 5vw, 72px); align-items: start; }
.contact-intro { grid-area: intro; }
.contact-extra { grid-area: extra; }
.contact-card { grid-area: card; }
.contact-copy { margin-bottom: 26px; font-size: 1.08rem; }
.contact-copy p { color: #c3cbd2; }
.contact-reasons { display: grid; gap: 12px; margin: 0 0 30px; padding: 0; list-style: none; }
.contact-reasons li { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--color-line); border-left: 4px solid var(--color-blue); background: var(--color-surface); }
.contact-reasons strong { font-family: var(--font-display); font-size: 1.05rem; text-transform: uppercase; }
.contact-reasons span { color: var(--color-muted); font-size: 0.92rem; }
.contact-social p { margin: 0 0 10px; color: var(--color-muted); font-family: var(--font-display); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }

.contact-card { position: sticky; top: 24px; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--color-line); border-top: 4px solid var(--color-lime); background: linear-gradient(160deg, rgba(23, 105, 232, 0.1), transparent 45%), var(--color-surface); box-shadow: var(--shadow); }
.contact-card-head { display: flex; gap: 14px; align-items: center; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--color-line); }
.contact-card-head img { width: 56px; height: 56px; border: 2px solid var(--color-lime); border-radius: 50%; background: var(--color-surface-raised); object-fit: cover; object-position: top; }
.contact-card-head h2 { margin: 0; font-family: var(--font-display); font-size: 1.6rem; font-style: italic; font-weight: 900; text-transform: uppercase; }
.contact-card-head p { margin: 2px 0 0; color: var(--color-muted); font-size: 0.9rem; }

.contact-form { display: grid; gap: 18px; }
.contact-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact-field { display: grid; gap: 7px; min-width: 0; margin: 0; padding: 0; border: 0; }
.contact-field label,
.contact-field legend { padding: 0; color: var(--color-text); font-family: var(--font-display); font-size: 0.84rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.contact-field label > span[aria-hidden="true"] { color: var(--color-lime); }
.contact-field input,
.contact-field textarea { width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid var(--color-line-strong); border-radius: var(--radius); background: #0b1015; color: var(--color-text); font: inherit; }
.contact-field textarea { min-height: 160px; resize: vertical; line-height: 1.55; }
.contact-field input:focus,
.contact-field textarea:focus { border-color: var(--color-lime); outline: 2px solid rgba(168, 214, 0, 0.25); outline-offset: 0; }
.contact-topic-options { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.contact-topic { position: relative; cursor: pointer; }
.contact-topic input { position: absolute; opacity: 0; pointer-events: none; }
.contact-topic span { display: inline-block; padding: 9px 13px; border: 1px solid var(--color-line-strong); border-radius: 999px; color: var(--color-text); font-family: var(--font-display); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; transition: border-color 160ms var(--ease), background-color 160ms var(--ease), color 160ms var(--ease); }
.contact-topic:hover span { border-color: var(--color-lime); }
.contact-topic input:checked + span { border-color: var(--color-lime); background: var(--color-lime); color: #101408; }
.contact-topic input:focus-visible + span { outline: 3px solid var(--color-lime); outline-offset: 2px; }
.contact-trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-submit { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.contact-submit .button { min-height: 50px; padding: 12px 28px; font-size: 1rem; }
.contact-submit p { margin: 0; color: var(--color-muted); font-size: 0.82rem; }
.contact-notice { padding: 14px 16px; border-left: 4px solid; font-weight: 700; }
.contact-notice.is-success { border-color: var(--color-lime); background: rgba(168, 214, 0, 0.1); color: #d7f27a; }
.contact-notice.is-error { border-color: var(--color-error); background: rgba(238, 95, 95, 0.1); color: #ffb3b3; }

.site-info-links { display: flex; gap: 18px; }
.site-info-links a { color: var(--color-muted); }
.site-info-links a:hover { color: var(--color-lime); }

@media (max-width: 960px) {
	.contact-grid { grid-template-columns: 1fr; grid-template-areas: "intro" "card" "extra"; gap: 0; }
	.contact-card { position: static; margin-bottom: 30px; }
}

@media (max-width: 767px) {
	.contact-layout { padding-top: 26px; padding-bottom: 56px; }
	.contact-row { grid-template-columns: 1fr; }
	.contact-card { padding: 20px 16px; }
	.contact-card-head h2 { font-size: 1.35rem; }
	.contact-submit .button { width: 100%; }
	.contact-reasons { margin-bottom: 22px; }
}

.home-site-info { border-top: 0; }
