/*
Theme Name: EconOdyssey
Theme URI: https://econodyssey.com
Description: EconOdyssey magazine theme. Child of GeneratePress, built from the EconOdyssey design canvas. No page builder.
Author: EconOdyssey Team
Template: generatepress
Version: 1.3.1
Requires at least: 6.5
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: econodyssey
*/

/* ---------- Tokens (board brand colours) ---------- */
:root {
	--navy: #13235B;
	--navy-raised: #1E3170;
	--navy-line: #2A3D7A;
	--navy-edge: #34478A;
	--paper: #F4F1EA;
	--amber: #E8A33D;
	--amber-deep: #B9741A;
	--steel: #2F6690;
	--charcoal: #2B313B;
	--slate: #5E6673;
	--stone: #D3CFC6;
	--light: #E6E3DC;
	--white: #FFFFFF;
	--mist: #C9CED6;
	--display: 'Fraunces', Georgia, serif;
	--sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--serif: 'Source Serif 4', Georgia, serif;
	--gutter: 24px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--navy);
	font-family: var(--serif);
	font-size: 18px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--amber-deep); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
h1, h2, h3, h4 { margin: 0; color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; }

.eo-skip { position: absolute; left: -9999px; top: 0; background: var(--amber); color: var(--navy); padding: 10px 14px; font-family: var(--sans); font-weight: 700; z-index: 100; }
.eo-skip:focus { left: 8px; top: 8px; }

.eo-wrap { max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.eo-wrap-mid { max-width: 1040px; margin-inline: auto; padding-inline: var(--gutter); }
.eo-wrap-wide { max-width: 1232px; margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Shared pieces ---------- */
.eo-wordmark { font-family: var(--display); font-weight: 900; letter-spacing: -0.03em; line-height: 0.95; color: var(--paper); white-space: nowrap; }
.eo-o { color: var(--amber); }
.eo-motto { font-family: var(--sans); font-weight: 600; letter-spacing: 0.32em; color: var(--paper); display: inline-flex; align-items: center; gap: 14px; white-space: nowrap; font-size: clamp(10px, 1.4vw, 15px); }
.eo-motto i { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); display: inline-block; }
.eo-label { font-family: var(--sans); font-weight: 700; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); }
.eo-amber { color: var(--amber); }
.eo-display { font-family: var(--display); font-weight: 900; font-size: clamp(32px, 4vw, 44px); line-height: 1.05; letter-spacing: -0.02em; }
.eo-lede { font-size: clamp(18px, 1.8vw, 21px); line-height: 1.45; color: var(--charcoal); max-width: 760px; }
.eo-meta { font-family: var(--sans); font-size: 14px; color: var(--slate); }
.eo-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; font-family: var(--sans); font-weight: 700; font-size: 15px; border: 0; cursor: pointer; }
.eo-btn-amber { background: var(--amber); color: var(--navy); }
.eo-btn-amber:hover { background: #F0B455; color: var(--navy); }
.eo-admin-note { font-family: var(--sans); font-size: 13px; background: var(--white); color: var(--navy); border-inline-start: 4px solid var(--amber); padding: 10px 12px; max-width: 420px; }

/* Media boxes keep their shape with or without an image. */
.eo-media { position: relative; overflow: hidden; background: var(--light); display: flex; align-items: center; justify-content: center; }
.eo-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.eo-media-mark { font-family: var(--display); font-weight: 900; font-size: 44px; letter-spacing: -0.04em; color: var(--stone); }
.eo-media-mark .eo-o { color: var(--stone); }
.eo-r-16x9 { aspect-ratio: 16 / 9; }
.eo-r-3x2 { aspect-ratio: 3 / 2; }
.eo-r-21x9 { aspect-ratio: 21 / 9; }

/* Section colour marks: Need To Know uses steel blue. */
.eo-sections .eo-sec-need-to-know a { color: var(--amber); }

/* ---------- Home masthead ---------- */
.eo-masthead { background: var(--navy); color: var(--paper); }
.eo-topbar { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; align-items: center; padding-block: 10px; font-family: var(--sans); font-size: 13px; border-bottom: 1px solid var(--navy-line); max-width: none; }
.eo-topbar { max-width: 1280px; }
.eo-date { color: var(--mist); }
.eo-topbar-links { display: flex; gap: 20px; }
.eo-topbar-links a { color: var(--paper); }
.eo-topbar-links .eo-yt { color: var(--amber); font-weight: 600; }
.eo-brand { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-block: 36px 28px; }
.eo-brand-title { margin: 0; font-size: inherit; }
.eo-brand-title a { display: block; }
.eo-brand .eo-wordmark { font-size: clamp(52px, 9vw, 120px); }
.eo-motto-row { display: flex; align-items: center; gap: 18px; width: 100%; max-width: 760px; }
.eo-rule { flex: 1; height: 3px; background: var(--amber); }

/* Sections menu (both headers). */
.eo-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 26px; font-family: var(--sans); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.eo-nav a { color: var(--paper); display: inline-block; padding-block: 6px; border-bottom: 2px solid transparent; }
.eo-nav a:hover, .eo-nav .current-menu-item > a { color: var(--amber); border-bottom-color: var(--amber); }
.eo-sections-home { border-top: 1px solid var(--navy-line); }
.eo-sections-home .eo-nav { justify-content: center; padding-block: 10px; }

/* ---------- Compact bar (all other pages) ---------- */
.eo-bar { background: var(--navy); position: sticky; top: 0; z-index: 50; }
.admin-bar .eo-bar { top: 32px; }
.eo-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 28px; padding-block: 12px; flex-wrap: wrap; }
.eo-bar-brand .eo-wordmark { font-size: 32px; }
.eo-bar .eo-nav { font-size: 12px; gap: 6px 20px; }

/* ---------- Home: lead + latest ---------- */
.eo-prelaunch { padding-block: 72px; display: flex; flex-direction: column; gap: 16px; max-width: 900px; }
.eo-lead { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; padding-block: 40px; }
.eo-lead-story { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.eo-lead-story:hover .eo-lead-title { color: var(--amber-deep); }
.eo-lead-media { position: relative; }
.eo-lead-media .eo-media { background: var(--navy); }
.eo-flag { position: absolute; inset-inline-start: 0; bottom: 0; background: var(--amber); color: var(--navy); font-family: var(--sans); font-weight: 700; font-size: 13px; padding: 9px 14px; letter-spacing: 0.1em; }
.eo-flag-doc { position: absolute; inset-inline-end: 16px; bottom: 16px; background: var(--paper); color: var(--navy); font-family: var(--sans); font-weight: 700; font-size: 13px; padding: 8px 12px; }
.eo-kicker { font-family: var(--sans); font-weight: 700; font-size: 13px; letter-spacing: 0.12em; color: var(--navy); }
.eo-kicker-rule { display: inline-flex; align-items: center; gap: 10px; }
.eo-kicker-rule::before { content: ""; width: 24px; height: 3px; background: var(--amber-deep); }
.eo-lead-title { font-family: var(--display); font-weight: 900; font-size: clamp(34px, 5vw, 64px); line-height: 1.02; letter-spacing: -0.02em; color: var(--navy); }

.eo-latest { border-top: 4px solid var(--navy); min-width: 0; display: flex; flex-direction: column; }
.eo-latest-head { padding-block: 14px; }
.eo-latest-list { list-style: none; padding: 0; counter-reset: eo-latest; }
.eo-latest-list li { counter-increment: eo-latest; border-top: 1px solid var(--stone); }
.eo-latest-list a { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; padding-block: 16px; }
.eo-latest-list a::before { content: counter(eo-latest); grid-row: span 2; font-family: var(--display); font-weight: 900; font-size: 38px; line-height: 1; color: var(--amber-deep); }
.eo-latest-title { font-size: 18px; line-height: 1.35; font-weight: 600; }
.eo-latest-sec { font-size: 11px; color: var(--slate); margin-top: 6px; }
.eo-answer { margin-top: 16px; background: var(--white); border-top: 3px solid var(--amber); padding: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 17px; line-height: 1.5; }

/* ---------- Watch strip (home) and documentary block (article) ---------- */
.eo-watch { background: var(--navy); color: var(--paper); }
.eo-watch > div { padding-block: 48px; display: flex; flex-direction: column; gap: 24px; }
.eo-watch-head { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: flex-end; }
.eo-watch-head .eo-display { margin-top: 6px; }
.eo-watch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.eo-ep { color: var(--paper); display: flex; flex-direction: column; gap: 12px; }
.eo-ep .eo-media { background: var(--navy-raised); border-bottom: 4px solid var(--amber); }
.eo-ep .eo-label { font-size: 12px; }
.eo-ep-title { font-size: 19px; line-height: 1.3; font-weight: 600; }
.eo-ep:hover { color: var(--amber); }

.eo-watch-article > div { padding-block: 56px; gap: 22px; }
.eo-watch-article .eo-display { font-size: clamp(30px, 4vw, 48px); }
.eo-player { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; background: var(--navy-raised); cursor: pointer; overflow: hidden; }
.eo-player img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.eo-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 96px; height: 96px; border-radius: 50%; background: var(--amber); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35); transition: transform 0.15s ease; }
.eo-play svg { fill: var(--navy); margin-inline-start: 4px; }
.eo-player:hover .eo-play { transform: translate(-50%, -50%) scale(1.06); }
.eo-player-mark { position: absolute; inset-inline-end: 16px; bottom: 12px; font-family: var(--display); font-weight: 900; font-size: 22px; color: var(--paper); opacity: 0.85; }
.eo-player-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; background: #000; }
.eo-watch-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.eo-watch-foot p { font-size: 18px; color: var(--mist); max-width: 600px; }

/* ---------- Home: section blocks ---------- */
.eo-blocks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 40px 32px; padding-block: 48px; }
.eo-block { display: flex; flex-direction: column; gap: 14px; border-top: 4px solid var(--navy); padding-top: 14px; }
.eo-block.eo-sec-need-to-know { border-top-color: var(--steel); }
.eo-block-head { font-family: var(--sans); font-weight: 700; font-size: 14px; letter-spacing: 0.12em; }
.eo-block-head a span { color: var(--amber-deep); }
.eo-block-top { display: flex; flex-direction: column; gap: 14px; }
.eo-block-title { font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1.15; }
.eo-block-more { font-size: 17px; line-height: 1.4; border-top: 1px solid var(--stone); padding-top: 12px; }

/* ---------- Home: Need To Know explainers ---------- */
.eo-explainers { background: var(--white); border-top: 4px solid var(--steel); }
.eo-explainers > div { padding-block: 32px 48px; display: flex; flex-direction: column; gap: 24px; }
.eo-explainers-head { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; }
.eo-explainers-head p { font-size: 17px; color: var(--slate); }
.eo-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.eo-card-explainer .eo-label { display: none; }
.eo-card-explainer .eo-card-title { font-size: 20px; }

/* ---------- Newsletter ---------- */
.eo-newsletter { background: var(--amber); color: var(--navy); }
.eo-newsletter-inner { padding-block: 48px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.eo-newsletter-copy { max-width: 560px; display: flex; flex-direction: column; gap: 10px; }
.eo-newsletter-copy .eo-display { font-size: clamp(30px, 3.6vw, 40px); }
.eo-newsletter-copy p { font-size: 18px; line-height: 1.45; }
.eo-strip { background: var(--amber); color: var(--navy); }
.eo-strip-inner { padding-block: 32px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.eo-strip-head { font-family: var(--display); font-weight: 900; font-size: 26px; letter-spacing: -0.02em; line-height: 1.15; }

/* MailPoet form, restyled to the brand. */
.eo-form .mailpoet_form, .eo-form form { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin: 0; padding: 0 !important; background: transparent !important; }
.eo-form .mailpoet_paragraph { margin: 0 !important; }
.eo-form label, .eo-form .mailpoet_text_label { font-family: var(--sans); font-size: 13px; font-weight: 700; color: var(--navy); }
.eo-form input[type="email"], .eo-form input[type="text"], .eo-form .mailpoet_text { height: 48px; width: 280px !important; max-width: 100%; border: 0 !important; border-radius: 0 !important; padding: 0 14px !important; font-size: 16px !important; font-family: var(--sans) !important; background: var(--paper) !important; color: var(--navy) !important; }
.eo-form input[type="submit"], .eo-form button, .eo-form .mailpoet_submit { height: 48px; padding: 0 22px !important; background: var(--navy) !important; color: var(--paper) !important; border: 0 !important; border-radius: 0 !important; font-family: var(--sans) !important; font-weight: 700 !important; font-size: 15px !important; cursor: pointer; width: auto !important; }
.eo-form .mailpoet_message p { font-family: var(--sans); font-size: 14px; }

/* Theme's own sign-up form */
.eo-signup { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; max-width: 460px; }
.eo-signup-field { display: flex; flex-direction: column; gap: 6px; font-family: var(--sans); font-size: 13px; font-weight: 700; flex: 1 1 240px; }
.eo-signup input[type="email"] { height: 48px; border: 0; padding: 0 14px; font-size: 16px; font-family: var(--sans); background: var(--paper); color: var(--navy); width: 100%; }
.eo-signup button { height: 48px; padding: 0 22px; background: var(--navy); color: var(--paper); border: 0; font-family: var(--sans); font-weight: 700; font-size: 15px; cursor: pointer; }
.eo-signup button:hover { background: var(--navy-raised); }
.eo-signup-note { flex-basis: 100%; font-family: var(--sans); font-size: 14px; font-weight: 600; }
.eo-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Article ---------- */
.eo-article-head { padding-top: 48px; padding-bottom: 24px; display: flex; flex-direction: column; gap: 20px; }
.eo-tags { display: flex; gap: 10px; flex-wrap: wrap; font-family: var(--sans); font-weight: 700; font-size: 12px; letter-spacing: 0.12em; }
.eo-tag { padding: 7px 10px; }
.eo-tag-navy { background: var(--navy); color: var(--paper); }
.eo-tag-navy:hover { color: var(--amber); }
.eo-tag-amber { background: var(--amber); color: var(--navy); }
.eo-headline { font-family: var(--display); font-weight: 900; font-size: clamp(38px, 6vw, 76px); line-height: 1; letter-spacing: -0.025em; }
.eo-standfirst { font-size: clamp(19px, 2vw, 24px); line-height: 1.4; color: var(--charcoal); max-width: 820px; }
.eo-byline { display: flex; flex-wrap: wrap; gap: 8px 24px; font-family: var(--sans); font-size: 14px; color: var(--slate); border-block: 1px solid var(--stone); padding-block: 12px; }
.eo-byline-name { color: var(--navy); font-weight: 700; }
.eo-jump { font-weight: 700; color: var(--navy); text-decoration: underline; text-decoration-color: var(--amber-deep); text-underline-offset: 3px; }
.eo-hero .eo-media { background: var(--navy); }
.eo-hero figcaption { font-family: var(--sans); font-size: 13px; color: var(--slate); padding-top: 10px; }
.eo-hero { margin-block: 0; }

/* Article body: works for plain blocks and for the Article Agent's inline-styled HTML. */
.eo-prose { max-width: 768px; margin-inline: auto; padding: 40px var(--gutter) 48px; display: flex; flex-direction: column; gap: 28px; font-size: 20px; line-height: 1.65; }
.eo-prose > * { margin-block: 0; }
.eo-prose a { text-decoration: underline; text-decoration-color: var(--amber-deep); text-underline-offset: 3px; }
.eo-prose h2 { font-family: var(--display); font-weight: 900; font-size: 34px; line-height: 1.15; letter-spacing: -0.02em; margin-top: 12px; }
.eo-prose h3 { font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1.2; }
.eo-prose ul, .eo-prose ol { padding-inline-start: 1.3em; display: flex; flex-direction: column; gap: 8px; }
.eo-prose figure { margin: 0; }
.eo-prose figcaption, .eo-prose .wp-element-caption { font-family: var(--sans); font-size: 14px; color: var(--slate); padding-top: 10px; line-height: 1.4; }
.eo-prose blockquote { margin: 8px 0; padding: 20px 0; border-top: 4px solid var(--amber); border-bottom: 1px solid var(--stone); font-family: var(--display); font-weight: 800; font-size: 32px; line-height: 1.2; letter-spacing: -0.01em; }
.eo-prose blockquote p { margin: 0; }
.eo-prose table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 15px; }
.eo-prose th, .eo-prose td { text-align: start; padding: 10px 8px; border-bottom: 1px solid var(--stone); }
.eo-prose details { border-top: 1px solid var(--stone); padding-block: 16px; }
.eo-prose summary { font-family: var(--sans); font-weight: 700; font-size: 18px; cursor: pointer; }
.eo-prose details p { margin-top: 10px; font-size: 18px; }
.eo-prose > p:first-of-type::first-letter { float: inline-start; font-family: var(--display); font-weight: 900; font-size: 84px; line-height: 0.8; padding: 8px 10px 0 0; color: var(--amber-deep); }

/* Education-only notice under every article */
.eo-disclaimer { border-top: 1px solid var(--stone); padding-top: 16px; }
.eo-disclaimer p { font-family: var(--sans); font-size: 14px; line-height: 1.55; color: var(--slate); font-style: italic; }

/* Optional class hooks the Article Agent may use instead of inline styles. */
.eo-short-answer { background: var(--white); border-top: 4px solid var(--amber); padding: 24px; display: flex; flex-direction: column; gap: 10px; font-size: 19px; line-height: 1.55; }
.eo-key-numbers { background: var(--navy); color: var(--paper); padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.eo-means { background: var(--white); padding: 24px; display: flex; flex-direction: column; gap: 10px; font-size: 19px; }
.eo-sources ol { font-family: var(--sans); font-size: 15px; line-height: 1.6; color: var(--charcoal); }

/* Related + archives */
.eo-related { border-top: 4px solid var(--navy); }
.eo-related > div { padding-block: 32px 48px; display: flex; flex-direction: column; gap: 20px; }
.eo-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; }
.eo-card-link { display: flex; flex-direction: column; gap: 10px; color: var(--navy); }
.eo-card .eo-label { font-size: 12px; color: var(--slate); }
.eo-card-title { font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1.2; }
.eo-card-text { font-size: 16px; line-height: 1.5; color: var(--charcoal); }
.eo-card-link:hover .eo-card-title { color: var(--amber-deep); }

.eo-archive { padding-bottom: 56px; }
.eo-archive-head { padding-block: 48px 0; display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.eo-archive-head::after { content: ""; height: 4px; background: var(--navy); margin-top: 20px; }
.eo-sec-need-to-know .eo-archive-head::after { background: var(--steel); }
.eo-archive-head .eo-display { font-size: clamp(40px, 6vw, 72px); }
.eo-archive-lead { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 32px; align-items: center; margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--stone); }
.eo-archive-lead .eo-lead-title { font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 14px; }
.eo-archive-lead .eo-lede { margin-bottom: 14px; }
.eo-empty { font-size: 20px; color: var(--slate); padding-block: 24px; }
.navigation.pagination { margin-top: 48px; font-family: var(--sans); font-weight: 600; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.nav-links .page-numbers { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--stone); }
.nav-links .current { background: var(--navy); color: var(--paper); border-color: var(--navy); }

/* Search form */
.search-form { display: flex; gap: 8px; max-width: 520px; }
.search-form label { flex: 1; }
.search-form .search-field { width: 100%; height: 48px; border: 1px solid var(--stone); padding: 0 14px; font-size: 16px; font-family: var(--sans); background: var(--white); }
.search-form .search-submit { height: 48px; padding: 0 20px; background: var(--navy); color: var(--paper); border: 0; font-family: var(--sans); font-weight: 700; cursor: pointer; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

/* ---------- Bio-link page (/links) ---------- */
body.eo-links-page { background: var(--navy); color: var(--paper); font-family: var(--sans); }
.eo-links { max-width: 480px; margin-inline: auto; padding: 36px 20px 32px; display: flex; flex-direction: column; gap: 26px; }
.eo-links a { color: var(--paper); }
.eo-links-head { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.eo-links-head h1 { font-size: 44px; margin: 0; }
.eo-links-icon { width: 88px; height: 88px; border-radius: 50%; background: var(--paper); color: var(--navy); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 900; font-size: 38px; letter-spacing: -0.04em; }
.eo-links-icon .eo-o { color: var(--amber-deep); }
.eo-links .eo-motto-row { gap: 10px; }
.eo-links .eo-rule { height: 2px; }
.eo-links-social { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.eo-links-social a { width: 44px; height: 44px; border: 1px solid var(--navy-edge); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.eo-links-social a:hover { border-color: var(--amber); color: var(--amber); }
.eo-links-latest { display: flex; flex-direction: column; gap: 10px; }
.eo-links-hero { position: relative; display: block; border-bottom: 4px solid var(--amber); }
.eo-links-hero .eo-media { background: var(--navy-raised); }
.eo-play-sm { width: 56px; height: 56px; }
.eo-links-title { font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1.2; }
.eo-links-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.eo-links-btn { min-height: 52px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 12px; font-weight: 700; font-size: 16px; border: 2px solid var(--navy-edge); }
.eo-links-btn:hover { border-color: var(--paper); }
.eo-links-btn-amber { background: var(--amber); border-color: var(--amber); color: var(--navy) !important; }
.eo-links-btn-amber:hover { background: #F0B455; border-color: #F0B455; }
.eo-links-two .eo-links-btn:not(.eo-links-btn-amber) { border-color: var(--paper); }
.eo-mist { color: var(--mist); }
.eo-links-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }
.eo-links-grid a { display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.3; font-weight: 500; }
.eo-links-grid .eo-media { background: var(--navy-raised); }
.eo-links-stack { display: flex; flex-direction: column; gap: 10px; }
.eo-links-copy { text-align: center; font-size: 12px; color: #9AA4B2; }

/* ---------- Ad slots ---------- */
.eo-grid-3 > .eo-ad, .eo-blocks > .eo-ad { grid-column: 1 / -1; width: 100%; margin-block: 8px; }
.eo-ad:has(ins[data-ad-status="unfilled"]) { display: none; }
.eo-ad { margin: 24px auto; max-width: 970px; padding-inline: var(--gutter); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.eo-ad-label { font-family: var(--sans); font-size: 11px; letter-spacing: 0.14em; color: var(--slate); }
.eo-ad-body { width: 100%; min-height: var(--eo-ad-h, 90px); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.eo-prose .eo-ad { margin: 8px 0; padding-inline: 0; border-block: 1px solid var(--stone); padding-block: 14px; max-width: none; }
.eo-ad-placeholder .eo-ad-body { background: repeating-linear-gradient(45deg, var(--light), var(--light) 10px, #DDD9CF 10px, #DDD9CF 20px); border: 2px dashed var(--amber-deep); font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--charcoal); text-align: center; padding: 8px; }
.eo-masthead + .eo-ad, .eo-bar + .eo-ad { margin-top: 16px; }
.eo-ad-close { position: absolute; top: -12px; inset-inline-end: -12px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--navy); color: var(--paper); font-size: 18px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.eo-ad-anchor { display: none; }
.eo-ad-popup { position: fixed; z-index: 60; inset-inline-end: 16px; bottom: 16px; width: 400px; max-width: calc(100vw - 32px); background: var(--navy); padding: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.eo-ad-popup .eo-ad { margin: 0; padding: 0; }
.eo-ad-popup .eo-ad-label { color: var(--mist); }
.eo-ad-popup .eo-ad-body { min-height: 0; aspect-ratio: 16 / 9; }
.eo-ad-popup[hidden] { display: none; }
@media (max-width: 720px) {
	.eo-ad-anchor { display: block; position: fixed; z-index: 55; left: 0; right: 0; bottom: 0; background: var(--white); box-shadow: 0 -4px 14px rgba(0,0,0,.15); }
	.eo-ad-anchor .eo-ad { margin: 0; padding: 4px 8px; }
	.eo-ad-anchor .eo-ad-label { display: none; }
	.eo-ad-anchor .eo-ad-close { top: -14px; inset-inline-end: 8px; }
	body:has(.eo-ad-anchor) { padding-bottom: 72px; }
	.eo-ad-popup { width: 300px; bottom: 84px; }
}

/* ---------- Footer ---------- */
.eo-footer { background: var(--navy); color: var(--mist); font-family: var(--sans); font-size: 14px; }
.eo-footer-inner { padding-block: 40px 24px; display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: center; }
.eo-footer-brand { display: flex; flex-direction: column; gap: 8px; }
.eo-wordmark-sm { font-size: 34px; }
.eo-motto-sm { font-size: 11px; letter-spacing: 0.28em; color: var(--mist); gap: 10px; }
.eo-motto-sm i { width: 5px; height: 5px; }
.eo-footer-nav { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.eo-footer-nav a { color: var(--mist); }
.eo-footer-nav a:hover { color: var(--amber); }
.eo-copy { padding-bottom: 32px; font-size: 12px; color: #9AA4B2; }

/* ---------- Phones and tablets ---------- */
@media (max-width: 960px) {
	.eo-lead { grid-template-columns: 1fr; }
	.eo-grid-3, .eo-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.eo-archive-lead { grid-template-columns: 1fr; }
}
@media (max-width: 782px) {
	.admin-bar .eo-bar { top: 46px; }
}
@media (max-width: 720px) {
	:root { --gutter: 16px; }
	body { font-size: 17px; }
	.eo-brand { padding-block: 26px 20px; }
	.eo-sections-home .eo-nav { gap: 4px 18px; font-size: 12px; }
	/* Compact bar: logo on top, sections scroll sideways in one line. */
	.eo-bar-inner { flex-direction: column; align-items: flex-start; gap: 6px; padding-block: 10px 0; }
	.eo-bar-brand .eo-wordmark { font-size: 28px; }
	.eo-bar .eo-sections { width: calc(100% + 2 * var(--gutter)); margin-inline: calc(-1 * var(--gutter)); overflow-x: auto; scrollbar-width: none; }
	.eo-bar .eo-sections::-webkit-scrollbar { display: none; }
	.eo-bar .eo-nav { flex-wrap: nowrap; white-space: nowrap; padding-inline: var(--gutter); padding-bottom: 4px; }
	.eo-lead { padding-block: 24px; gap: 28px; }
	.eo-flag-doc { inset-inline-end: 8px; bottom: 8px; font-size: 12px; }
	.eo-flag { font-size: 12px; padding: 7px 10px; }
	.eo-prose { font-size: 18px; padding-top: 28px; gap: 22px; }
	.eo-prose h2 { font-size: 28px; }
	.eo-prose blockquote { font-size: 26px; }
	.eo-prose > p:first-of-type::first-letter { font-size: 64px; }
	.eo-article-head { padding-top: 28px; gap: 16px; }
	.eo-play { width: 72px; height: 72px; }
	.eo-form input[type="email"], .eo-form .mailpoet_text { width: 100% !important; }
	.eo-form .mailpoet_paragraph { flex: 1 1 100%; }
	.eo-grid-3, .eo-grid-4 { grid-template-columns: 1fr; }
}
