/*
Theme Name: energysignal-intelligence
Text Domain: energysignal-intelligence
Description: Trader-first showcase for overnight geopolitical, physical energy-flow and cross-asset intelligence.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
WPVibe: yes
*/

:root {
	--navy-950: #06101d;
	--navy-900: #0a1727;
	--navy-800: #122238;
	--navy-700: #20344e;
	--ink: #132033;
	--slate: #526176;
	--muted: #738096;
	--line: #d9e0e8;
	--line-dark: rgba(255,255,255,.14);
	--wash: #f3f6f8;
	--paper: #ffffff;
	--teal: #00a58e;
	--teal-dark: #087969;
	--amber: #f2a51a;
	--red: #d14b4b;
	--green: #178c68;
	--shadow: 0 18px 45px rgba(6,16,29,.10);
	--radius: 16px;
	--sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.es-body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
body.admin-bar .site-header { top: 32px; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
.site-shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.article-shell { width: min(780px, calc(100% - 40px)); margin-inline: auto; }

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(6,16,29,.97);
	border-bottom: 1px solid rgba(255,255,255,.10);
	backdrop-filter: blur(16px);
}
.header-inner {
	min-height: 68px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: #fff;
}
.brand-mark {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: var(--teal);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .08em;
}
.brand-copy strong { display: block; font-size: 18px; line-height: 1; letter-spacing: -.02em; }
.brand-copy small {
	display: block;
	margin-top: 4px;
	color: #9caabc;
	font-size: 9px;
	font-weight: 750;
	letter-spacing: .13em;
	text-transform: uppercase;
}
.primary-nav { display: flex; align-items: center; gap: 25px; }
.primary-nav a {
	color: #c8d1dc;
	font-size: 12px;
	font-weight: 750;
	text-decoration: none;
}
.primary-nav a:hover { color: #fff; }
.primary-nav .nav-cta {
	padding: 9px 13px;
	border: 1px solid rgba(255,255,255,.28);
	border-radius: 8px;
	color: #fff;
}
.primary-nav .nav-cta:hover { background: #fff; color: var(--navy-950); }

/* Shared controls */
.primary-button,
.product-cta a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 9px;
	background: var(--teal);
	color: #fff;
	font-size: 13px;
	font-weight: 850;
	text-decoration: none;
	white-space: nowrap;
	transition: transform .16s ease, background .16s ease;
}
.primary-button:hover,
.product-cta a:hover { background: var(--teal-dark); transform: translateY(-1px); }
.text-link {
	color: var(--teal-dark);
	font-size: 12px;
	font-weight: 850;
	text-decoration: none;
}
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.section-kicker {
	margin: 0 0 12px;
	color: var(--teal-dark);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .15em;
	text-transform: uppercase;
}
.status-dot,
.status-pill i {
	display: inline-block;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--teal);
	box-shadow: 0 0 0 4px rgba(0,165,142,.13);
}

/* Homepage */
.home-hero {
	background:
		radial-gradient(circle at 85% 15%, rgba(0,165,142,.18), transparent 32%),
		linear-gradient(135deg, var(--navy-950), var(--navy-800));
	color: #fff;
	border-bottom: 1px solid var(--line-dark);
}
.home-hero-inner { padding: 54px 0 48px; }
.home-eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #a9b7c8;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.home-hero h1 {
	max-width: 920px;
	margin: 22px 0 18px;
	font-size: clamp(38px, 4.7vw, 60px);
	line-height: 1.02;
	letter-spacing: -.045em;
}
.home-hero > .site-shell > p,
.home-hero-inner > p {
	max-width: 760px;
	margin: 0;
	color: #c2ccda;
	font-size: 19px;
	line-height: 1.55;
}
.hero-proof {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 34px;
}
.hero-proof span {
	padding: 9px 13px;
	border: 1px solid rgba(255,255,255,.17);
	border-radius: 999px;
	color: #b9c5d3;
	font-size: 11px;
}
.hero-proof b { color: #fff; text-transform: uppercase; letter-spacing: .08em; }

.latest-brief { padding: 58px 0 64px; background: var(--wash); border-bottom: 1px solid var(--line); }
.latest-heading-row {
	display: grid;
	grid-template-columns: minmax(0,1fr) auto;
	gap: 35px;
	align-items: end;
	margin-bottom: 30px;
}
.latest-heading-row h2 {
	margin: 0 0 10px;
	font-size: clamp(30px, 4vw, 48px);
	line-height: 1.06;
	letter-spacing: -.035em;
}
.latest-heading-row h2 a { text-decoration: none; }
.latest-heading-row h2 a:hover { color: var(--teal-dark); }
.latest-heading-row p { max-width: 760px; margin: 0; color: var(--slate); font-size: 17px; }
.home-verdict .brief-verdict { box-shadow: var(--shadow); }

.method-strip { padding: 44px 0; border-bottom: 1px solid var(--line); }
.method-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; }
.method-grid > div { padding: 0 28px; border-right: 1px solid var(--line); }
.method-grid > div:first-child { padding-left: 0; }
.method-grid > div:last-child { padding-right: 0; border-right: 0; }
.method-grid span { display: block; margin-bottom: 12px; color: var(--teal-dark); font-size: 11px; font-weight: 900; }
.method-grid strong { display: block; margin-bottom: 7px; font-size: 17px; }
.method-grid p { margin: 0; color: var(--slate); font-size: 13px; line-height: 1.55; }

.recent-section { padding: 70px 0 84px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.section-heading span { color: var(--teal-dark); font-size: 10px; font-weight: 900; letter-spacing: .15em; }
.section-heading h2 { margin: 4px 0 0; font-size: 32px; letter-spacing: -.025em; }
.section-heading > a { color: var(--teal-dark); font-size: 12px; font-weight: 850; text-decoration: none; }
.brief-card-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.brief-card {
	display: flex;
	flex-direction: column;
	min-height: 260px;
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: 13px;
	background: #fff;
	transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.brief-card:hover { border-color: #aab7c5; transform: translateY(-3px); box-shadow: 0 12px 28px rgba(6,16,29,.08); }
.brief-card-meta,
.archive-card-meta {
	display: flex;
	justify-content: space-between;
	gap: 15px;
	color: var(--muted);
	font-size: 9px;
	font-weight: 850;
	letter-spacing: .11em;
	text-transform: uppercase;
}
.brief-card h3 { margin: 18px 0 10px; font-size: 21px; line-height: 1.16; letter-spacing: -.02em; }
.brief-card h3 a { text-decoration: none; }
.brief-card p { flex: 1; margin: 0 0 22px; color: var(--slate); font-size: 13px; line-height: 1.55; }

/* Daily brief top */
.brief-hero {
	background:
		radial-gradient(circle at 88% 8%, rgba(0,165,142,.18), transparent 28%),
		linear-gradient(135deg, var(--navy-950), var(--navy-800));
	color: #fff;
}
.brief-hero-inner { padding: 42px 0 0; }
.brief-meta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 18px;
	color: #9eacbd;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.status-pill { display: inline-flex; align-items: center; gap: 9px; color: #d8e1eb; }
.brief-hero h1 {
	max-width: 1000px;
	margin: 19px 0 14px;
	font-size: clamp(32px, 4vw, 48px);
	line-height: 1.02;
	letter-spacing: -.043em;
}
.brief-standfirst {
	max-width: 820px;
	margin: 0;
	color: #c4cfdb;
	font-size: 18px;
	line-height: 1.55;
}
.zoom-nav {
	display: grid;
	grid-template-columns: repeat(4,1fr);
	margin-top: 38px;
	border-top: 1px solid var(--line-dark);
}
.zoom-nav a {
	display: block;
	padding: 15px 15px 17px;
	border-right: 1px solid var(--line-dark);
	color: #abb8c8;
	text-decoration: none;
}
.zoom-nav a:first-child { padding-left: 0; }
.zoom-nav a:last-child { border-right: 0; }
.zoom-nav b { display: block; color: #fff; font-size: 10px; letter-spacing: .12em; }
.zoom-nav span { display: block; margin-top: 3px; font-size: 11px; }
.zoom-nav a:hover span { color: #fff; }

.brief-reading-area { background: #fff; padding: 46px 0 84px; }
.reading-grid { display: grid; grid-template-columns: 190px minmax(0,820px); justify-content: center; gap: 42px; align-items: start; }
.reading-rail { position: sticky; top: 94px; }
.rail-card,
.rail-focus { padding: 17px 0 20px; border-top: 3px solid var(--navy-900); }
.rail-card span,
.rail-focus span {
	display: block;
	color: var(--teal-dark);
	font-size: 9px;
	font-weight: 900;
	letter-spacing: .13em;
}
.rail-card strong { display: block; margin-top: 7px; font-size: 14px; }
.rail-card p,
.rail-focus p { margin: 6px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.rail-links { display: grid; margin: 10px 0 28px; border-top: 1px solid var(--line); }
.rail-links a { padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--slate); font-size: 11px; font-weight: 750; text-decoration: none; }
.rail-links a:hover { color: var(--teal-dark); }

/* Semantic brief content */
.brief-content { min-width: 0; color: var(--ink); }
.brief-content > *:first-child { margin-top: 0; }
.brief-content p { margin: 0 0 14px; color: #354358; font-size: 15px; line-height: 1.62; }
.brief-content a { color: var(--teal-dark); text-underline-offset: 3px; }
.brief-content ul,
.brief-content ol { margin: 14px 0 22px; padding-left: 22px; }
.brief-content li { margin-bottom: 9px; color: #354358; font-size: 14px; line-height: 1.55; }
.brief-content h2,
.brief-content h3,
.brief-content h4 { color: var(--ink); }
.brief-content > h1 { display: none; }
.brief-content > h2 {
	margin: 46px 0 18px;
	padding-bottom: 11px;
	border-bottom: 3px solid var(--navy-900);
	font-size: 23px;
	line-height: 1.18;
	letter-spacing: -.025em;
}
.brief-content > h3 { margin: 28px 0 12px; font-size: 19px; line-height: 1.25; }
.brief-content > blockquote { margin: 22px 0; padding: 16px 18px; border-left: 5px solid var(--amber); background: #fff8e8; }

.brief-verdict {
	margin: 0 0 36px;
	padding: 25px;
	border-radius: var(--radius);
	background: var(--navy-900);
	color: #fff;
}
.brief-verdict .brief-label,
.brief-section .brief-label {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 16px;
	color: #89d9cb;
	font-size: 10px;
	font-weight: 900;
	letter-spacing: .15em;
	text-transform: uppercase;
}
.brief-verdict .brief-label:before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.brief-verdict > h2 { margin: 0 0 20px; color: #fff; font-size: 25px; line-height: 1.15; letter-spacing: -.025em; }
.verdict-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 11px; background: rgba(255,255,255,.13); }
.verdict-card { padding: 18px; background: var(--navy-800); }
.verdict-card .event-num { display: block; margin-bottom: 10px; color: #8bd5c8; font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.verdict-card h3 { margin: 0 0 11px; color: #fff; font-size: 16px; line-height: 1.25; }
.verdict-card p { margin: 0 0 8px; color: #c1ccd8; font-size: 12px; line-height: 1.52; }
.verdict-card p:last-child { margin-bottom: 0; }
.verdict-card b { color: #fff; font-size: 10px; letter-spacing: .04em; }
.impact-line { padding-top: 9px; border-top: 1px solid rgba(255,255,255,.12); }

.brief-section { margin: 48px 0 0; scroll-margin-top: 92px; }
.brief-section-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
	padding-bottom: 11px;
	border-bottom: 3px solid var(--navy-900);
}
.brief-section-header span {
	display: grid;
	place-items: center;
	width: 25px;
	height: 25px;
	border-radius: 7px;
	background: var(--navy-900);
	color: #fff;
	font-size: 10px;
	font-weight: 900;
}
.brief-section-header h2 { margin: 0; font-size: 23px; line-height: 1.15; letter-spacing: -.025em; }
.model-change-grid { display: grid; gap: 12px; }
.model-change-card {
	padding: 18px 20px;
	border: 1px solid var(--line);
	border-left: 5px solid var(--teal);
	border-radius: 10px;
	background: #fff;
}
.model-change-card .change-title { display: block; margin-bottom: 8px; color: var(--ink); font-size: 15px; }
.change-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-bottom: 9px; font-size: 12px; }
.change-flow .old { color: var(--muted); text-decoration: line-through; }
.change-flow .arrow { color: var(--teal-dark); font-weight: 900; }
.change-flow .new { color: var(--ink); font-weight: 850; }
.model-change-card p { margin-bottom: 0; font-size: 13px; }

.dossier {
	padding: 23px 0 24px;
	border-bottom: 1px solid var(--line);
}
.dossier:first-of-type { padding-top: 0; }
.dossier:last-child { border-bottom: 0; padding-bottom: 0; }
.dossier-kicker { display: block; margin-bottom: 6px; color: var(--teal-dark); font-size: 9px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.dossier h3 { margin: 0 0 15px; font-size: 20px; line-height: 1.22; letter-spacing: -.018em; }
.fact-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px 20px; }
.fact-grid > div { padding-top: 10px; border-top: 1px solid var(--line); }
.fact-grid b { display: block; margin-bottom: 4px; color: var(--ink); font-size: 10px; letter-spacing: .08em; }
.fact-grid p { margin: 0; font-size: 13px; line-height: 1.55; }

.brief-callout {
	margin: 22px 0;
	padding: 16px 18px;
	border-left: 5px solid var(--amber);
	border-radius: 0 9px 9px 0;
	background: #fff8e8;
}
.brief-callout strong { display: block; margin-bottom: 5px; font-size: 13px; }
.brief-callout p { margin: 0; font-size: 13px; }
.brief-callout.counter { border-color: var(--red); background: #fff1f1; }
.brief-callout.positive { border-color: var(--green); background: #edf9f4; }

.table-wrap { width: 100%; overflow-x: auto; margin: 18px 0 28px; border: 1px solid var(--line); border-radius: 10px; }
.brief-content table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 12px; }
.brief-content th { padding: 10px 11px; background: var(--navy-900); color: #fff; text-align: left; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.brief-content td { padding: 11px; border-top: 1px solid var(--line); color: #354358; vertical-align: top; }
.brief-content tbody tr:nth-child(even) { background: #f8fafb; }
.direction-up { color: var(--red); font-weight: 900; }
.direction-down { color: var(--green); font-weight: 900; }
.direction-mixed { color: var(--amber); font-weight: 900; }

.deep-dive {
	padding: 23px;
	border-radius: var(--radius);
	background: #eef3f7;
}
.deep-dive h3 { margin: 0 0 12px; font-size: 20px; }
.deep-dive p:last-child { margin-bottom: 0; }

.watch-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.watch-card { padding: 15px 16px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.watch-card span { display: block; margin-bottom: 5px; color: var(--teal-dark); font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.watch-card strong { display: block; margin-bottom: 5px; font-size: 13px; }
.watch-card p { margin: 0; font-size: 12px; }

.state-note { margin-bottom: 13px; color: var(--muted); font-size: 12px; }
.state-table table { min-width: 680px; }
.source-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.source-list li { margin: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 12px; }
.source-list a { font-weight: 750; }
.source-list small { display: block; margin-top: 3px; color: var(--muted); }

/* Product CTA */
.product-cta { background: var(--navy-950); color: #fff; }
.product-cta-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 35px; align-items: center; padding-top: 42px; padding-bottom: 42px; }
.product-cta span { color: #81d3c4; font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.product-cta h2 { margin: 7px 0 8px; font-size: 25px; line-height: 1.15; letter-spacing: -.025em; }
.product-cta p { max-width: 720px; margin: 0; color: #aebccc; font-size: 13px; line-height: 1.55; }
.home-product-cta { border-top: 1px solid var(--line-dark); }

/* Research archive posts */
.research-hero { padding: 58px 0 42px; background: var(--wash); border-bottom: 1px solid var(--line); }
.research-label { margin: 0 0 13px; color: var(--teal-dark); font-size: 10px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.research-hero h1 { margin: 0; font-size: clamp(34px, 5vw, 55px); line-height: 1.07; letter-spacing: -.035em; }
.research-intro { margin: 18px 0 0; color: var(--slate); font-size: 18px; line-height: 1.55; }
.research-meta { display: flex; gap: 16px; margin-top: 22px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.research-content { padding-top: 42px; padding-bottom: 50px; color: #2d3c50; font-size: 17px; line-height: 1.72; }
.archive-notice { display: flex; gap: 13px; margin-bottom: 34px; padding: 14px 16px; border-left: 5px solid var(--amber); background: #fff8e8; font-family: var(--sans); font-size: 12px; line-height: 1.45; }
.archive-notice strong { white-space: nowrap; }
.research-content > h1:first-of-type { display: none; }
.research-content h2 { margin: 48px 0 18px; padding-top: 18px; border-top: 3px solid var(--navy-900); color: var(--ink); font-size: 27px; line-height: 1.18; letter-spacing: -.02em; }
.research-content h3 { margin: 35px 0 14px; color: var(--ink); font-size: 20px; line-height: 1.25; }
.research-content p { margin: 0 0 17px; }
.research-content ul,
.research-content ol { margin: 18px 0 28px; padding-left: 24px; }
.research-content li { margin-bottom: 10px; }
.research-content blockquote { margin: 28px 0; padding: 18px 21px; border-left: 5px solid var(--teal); background: var(--wash); color: #354358; font-size: 15px; }
.research-content figure { max-width: 100%; margin: 25px 0 35px; overflow-x: auto; }
.research-content table { width: 100%; min-width: 650px; border-collapse: collapse; font-family: var(--sans); font-size: 12px; line-height: 1.45; }
.research-content th { padding: 10px; background: var(--navy-900); color: #fff; text-align: left; }
.research-content td { padding: 10px; border: 1px solid var(--line); vertical-align: top; }
.research-content a { color: var(--teal-dark); text-underline-offset: 3px; }
.research-content hr { margin: 45px 0; border: 0; border-top: 1px solid var(--line); }
.research-footer { padding-bottom: 70px; }
.research-footer a { color: var(--teal-dark); font-size: 12px; font-weight: 850; text-decoration: none; }

/* Archives, search, pages */
.archive-hero { padding: 60px 0 38px; background: var(--navy-950); color: #fff; }
.archive-hero h1 { margin: 0; font-size: clamp(34px, 4vw, 52px); letter-spacing: -.035em; }
.archive-hero p,
.archive-description { max-width: 720px; margin: 15px 0 0; color: #b6c2d0; }
.archive-list-section { padding: 50px 0 80px; }
.archive-list { display: grid; gap: 0; }
.archive-card { padding: 28px 0; border-bottom: 1px solid var(--line); }
.archive-card h2 { max-width: 850px; margin: 11px 0 8px; font-size: 26px; line-height: 1.15; letter-spacing: -.025em; }
.archive-card h2 a { text-decoration: none; }
.archive-card h2 a:hover { color: var(--teal-dark); }
.archive-card p { max-width: 760px; margin: 0 0 12px; color: var(--slate); font-size: 14px; }
.pagination { margin-top: 35px; }
.pagination .nav-links { display: flex; gap: 8px; align-items: center; }
.pagination a,
.pagination span { padding: 8px 11px; border: 1px solid var(--line); border-radius: 7px; font-size: 12px; text-decoration: none; }
.pagination .current { background: var(--navy-900); color: #fff; }
.search-box { margin-top: 24px; }
.search-box form { display: flex; max-width: 480px; }
.search-box label { flex: 1; }
.search-box input[type="search"] { width: 100%; min-height: 43px; padding: 0 13px; border: 1px solid var(--line); border-radius: 8px 0 0 8px; background: #fff; }
.search-box input[type="submit"] { min-height: 43px; padding: 0 16px; border: 0; border-radius: 0 8px 8px 0; background: var(--teal); color: #fff; font-weight: 800; cursor: pointer; }
.standard-page { padding: 65px 0 90px; }
.standard-page-header h1 { margin: 0 0 30px; font-size: 48px; letter-spacing: -.035em; }
.standard-page-content { color: #354358; font-size: 17px; line-height: 1.7; }
.not-found-page { min-height: 62vh; display: grid; place-items: center; padding: 70px 0; }
.not-found-inner h1 { margin: 0 0 15px; font-size: 47px; letter-spacing: -.035em; }
.not-found-inner > p { color: var(--slate); }
.not-found-actions { display: flex; align-items: center; gap: 18px; margin-top: 26px; }
.empty-state { padding: 55px 0; }

/* Footer */
.site-footer { background: #050c16; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr .65fr; gap: 55px; padding-top: 48px; padding-bottom: 38px; }
.footer-brand { color: #fff; font-size: 21px; font-weight: 900; text-decoration: none; }
.footer-label { color: #7dcbbc; font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.footer-grid p { margin: 10px 0 0; color: #9eacbd; font-size: 12px; line-height: 1.55; }
.footer-contact a { display: inline-block; margin-top: 12px; color: #fff; font-size: 13px; font-weight: 850; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid rgba(255,255,255,.1); color: #6f7f92; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }

/* Normalise legacy inline email wrappers if encountered */
.brief-content > div[style] { max-width: none !important; margin: 0 !important; font-family: var(--sans) !important; color: var(--ink) !important; }
.brief-content h2[style] { background: transparent !important; color: var(--ink) !important; padding: 0 !important; }

@media (max-width: 960px) {
	.reading-grid { grid-template-columns: 1fr; }
	.reading-rail { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
	.rail-links { display: none; }
	.method-grid { grid-template-columns: 1fr; gap: 25px; }
	.method-grid > div { padding: 0 0 25px; border-right: 0; border-bottom: 1px solid var(--line); }
	.method-grid > div:last-child { padding-bottom: 0; border-bottom: 0; }
	.brief-card-grid { grid-template-columns: repeat(2,1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
	body.admin-bar .site-header { top: 46px; }
	.site-shell,
	.article-shell { width: min(100% - 28px, 1160px); }
	.header-inner { min-height: 61px; }
	.brand-copy small { display: none; }
	.primary-nav a:not(.nav-cta) { display: none; }
	.primary-nav .nav-cta { padding: 8px 10px; }
	.home-hero-inner { padding: 48px 0 43px; }
	.home-hero h1 { font-size: 39px; }
	.home-hero > .site-shell > p,
	.home-hero-inner > p { font-size: 16px; }
	.hero-proof { gap: 7px; margin-top: 25px; }
	.hero-proof span { font-size: 10px; }
	.latest-brief { padding: 40px 0 45px; }
	.latest-heading-row { grid-template-columns: 1fr; gap: 20px; }
	.latest-heading-row h2 { font-size: 31px; }
	.latest-heading-row .primary-button { justify-self: start; }
	.brief-card-grid { grid-template-columns: 1fr; }
	.section-heading { align-items: start; }
	.section-heading > a { display: none; }
	.brief-hero-inner { padding-top: 37px; }
	.brief-hero h1 { font-size: 34px; }
	.brief-standfirst { font-size: 16px; }
	.zoom-nav { grid-template-columns: repeat(4, minmax(105px,1fr)); overflow-x: auto; margin-inline: -14px; padding-inline: 14px; }
	.zoom-nav a { padding: 13px 12px; }
	.brief-reading-area { padding: 30px 0 55px; }
	.reading-rail { display: none; }
	.brief-verdict { margin-inline: -2px; padding: 18px; border-radius: 12px; }
	.brief-verdict > h2 { font-size: 21px; }
	.verdict-grid { grid-template-columns: 1fr; }
	.fact-grid,
	.watch-grid { grid-template-columns: 1fr; }
	.brief-section { margin-top: 38px; }
	.brief-section-header h2 { font-size: 20px; }
	.product-cta-inner { grid-template-columns: 1fr; gap: 20px; }
	.product-cta a { justify-self: start; }
	.research-hero { padding: 40px 0 30px; }
	.research-hero h1 { font-size: 35px; }
	.research-intro { font-size: 16px; }
	.archive-notice { display: block; }
	.archive-notice strong { display: block; margin-bottom: 5px; }
	.archive-hero { padding: 43px 0 30px; }
	.archive-card h2 { font-size: 22px; }
	.not-found-actions { display: block; }
	.not-found-actions .search-box { margin-top: 18px; }
	.footer-grid { grid-template-columns: 1fr; gap: 28px; }
	.footer-contact { grid-column: auto; }
	.footer-bottom { display: block; }
	.footer-bottom span { display: block; margin-top: 5px; }
}
