/* Layout "editorial": cream paper, serif headlines, hairline rules, no cards/gradients.
   Loaded after style.css; overrides the base look for every page of the site. */
body.layout-editorial {
  --bg: #f5f0e6;
  --card: #fbf8f1;
  --ink: #1d2520;
  --muted: #5f675f;
  --border: rgba(var(--brand-dark-rgb), 0.18);
  --radius: 2px;
  --radius-sm: 2px;
  --shadow-sm: none;
  --shadow: none;
  --shadow-lg: none;
  --max: 1040px;
  background: var(--bg);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.7;
}
.layout-editorial h1, .layout-editorial h2, .layout-editorial h3,
.layout-editorial .ed-brand, .layout-editorial .stats .num {
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  letter-spacing: -0.01em;
}
.layout-editorial a { color: var(--brand); }
.layout-editorial a:hover { color: var(--accent-dark); }

/* header: logo centred, nav under it, rules above and below */
.ed-header { background: var(--bg); border-bottom: 3px double var(--border); }
.ed-header .wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 26px; padding-bottom: 16px; }
.ed-brand { display: inline-flex; text-decoration: none; }
.ed-brand img { display: block; height: 40px; width: auto; filter: none; }
.ed-nav { max-width: 100%; display: flex; gap: 34px; flex-wrap: wrap; justify-content: center; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
.ed-nav a { color: var(--ink); text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.ed-nav a:hover, .ed-nav a.active { color: var(--accent-dark); border-bottom-color: var(--accent); }

/* shared bits */
.ed-kicker { display: inline-block; font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: var(--accent-dark); }
.ed-btn { display: inline-block; background: var(--brand); color: #fff; padding: 14px 26px; text-decoration: none; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
.ed-btn:hover { background: var(--accent-dark); color: #fff; }
.ed-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.ed-link { font-weight: 600; text-decoration: none; }

/* home hero: headline left, numbered list right */
.ed-hero { padding: 64px 0 56px; }
.ed-hero .wrap { display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px; align-items: start; }
.ed-hero-main { min-width: 0; }
.ed-hero h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.04; margin: 18px 0 22px; font-weight: 700; overflow-wrap: break-word; }
.ed-hero h1 .accent { color: var(--accent); font-style: italic; }
.ed-lede { font-size: 20px; color: var(--muted); max-width: 560px; margin: 0 0 30px; }
.ed-hero-side { border-top: 3px solid var(--brand); padding-top: 14px; min-width: 0; }
.ed-hero-side h2 { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 6px; font-family: inherit; }
.ed-hero-side ol { list-style: none; margin: 0; padding: 0; }
.ed-hero-side li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.ed-hero-side .n, .ed-cols .n { font-family: Georgia, serif; font-size: 30px; line-height: 1; color: var(--accent); font-style: italic; }
.ed-hero-side strong { display: block; font-size: 17px; }
.ed-hero-side li span:not(.n) { display: block; font-size: 14.5px; color: var(--muted); }

/* stats strip */
.ed-stats { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--card); }
.ed-stats .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 26px; padding-bottom: 26px; }
.ed-stats .wrap > div { display: flex; align-items: baseline; gap: 12px; }
.ed-stats b { font-family: Georgia, serif; font-size: 36px; color: var(--brand); font-weight: 700; }
.ed-stats b span { color: var(--accent); }
.ed-stats .wrap > div > span { font-size: 14px; color: var(--muted); }

/* three columns separated by vertical rules */
.ed-sections { padding: 72px 0 80px; }
.ed-sections header { max-width: 640px; margin-bottom: 40px; }
.ed-sections h2 { font-size: clamp(28px, 4vw, 40px); margin: 10px 0 10px; }
.ed-sections header p { margin: 0; color: var(--muted); font-size: 19px; }
.ed-cols { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 3px solid var(--brand); }
.ed-cols article { padding: 28px 30px 8px 0; }
.ed-cols article + article { padding-left: 30px; border-left: 1px solid var(--border); }
.ed-cols h3 { font-size: 23px; margin: 12px 0 8px; }
.ed-cols p { margin: 0 0 14px; color: var(--muted); font-size: 16.5px; }
.ed-cols a { font-weight: 600; text-decoration: none; }

/* inner pages: plain heading block with a thick rule instead of the coloured band */
.layout-editorial .news-head { padding: 56px 0 26px; border-bottom: 1px solid var(--border); }
.layout-editorial .news-head h1 { font-size: clamp(36px, 5.5vw, 56px); font-weight: 700; margin: 12px 0 10px; }
.layout-editorial .news-head p { font-size: 20px; max-width: 640px; }
.layout-editorial .eyebrow { color: var(--accent-dark); letter-spacing: 0.18em; }
.layout-editorial .eyebrow::before { display: none; }

/* news: magazine grid, newest entry spans the full width */
.layout-editorial .timeline .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 40px; }
.layout-editorial .entry { display: block; background: none; border: 0; box-shadow: none; border-radius: 0; transform: none; margin: 0; }
.layout-editorial .entry:hover { transform: none; box-shadow: none; }
.layout-editorial .entry .thumb { width: 100%; background: #e4dccb; aspect-ratio: 16 / 9; overflow: hidden; }
.layout-editorial .entry .thumb img { width: 100%; height: 100%; object-fit: cover; }
.layout-editorial .entry .body { padding: 16px 0 0; }
.layout-editorial .entry h3 { font-size: 26px; }
.layout-editorial .entry .tag { background: none; color: var(--accent-dark); padding: 0; border-radius: 0; text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px; box-shadow: none; }
.layout-editorial .entry:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: center; padding-bottom: 36px; border-bottom: 1px solid var(--border); }
.layout-editorial .entry:first-child .body { padding: 0; }
.layout-editorial .entry:first-child h3 { font-size: 34px; }

/* about / contact / privacy */
.layout-editorial .about-split .figure { border-radius: 0; box-shadow: none; }
.layout-editorial .about-split .figure::after { display: none; }
.layout-editorial .stats { background: none; border: 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); border-radius: 0; box-shadow: none; }
.layout-editorial .stats .num { color: var(--brand); }
.layout-editorial .values { gap: 0; border-top: 3px solid var(--brand); }
.layout-editorial .value { background: none; border: 0; border-radius: 0; box-shadow: none; border-right: 1px solid var(--border); padding: 22px 22px 8px; }
.layout-editorial .value:last-child { border-right: 0; }
.layout-editorial .value .ic { display: none; }
.layout-editorial .section-head { text-align: left; margin-left: 0; }
.layout-editorial .cta-band, .layout-editorial .contact-box {
  background: var(--card); color: var(--ink); border: 1px solid var(--border); border-top: 3px solid var(--brand);
  border-radius: 0; box-shadow: none;
}
.layout-editorial .cta-band h2 { color: var(--ink); }
.layout-editorial .cta-band p, .layout-editorial .contact-box p { color: var(--muted); }
.layout-editorial .contact-box .ic { display: none; }
.layout-editorial .contact-box .email { color: var(--brand); background: none; border: 0; border-bottom: 2px solid var(--accent); border-radius: 0; padding: 0 0 2px; font-family: Georgia, serif; font-size: 26px; }
.layout-editorial .contact-box .email:hover { color: var(--accent-dark); }
.layout-editorial .btn { background: var(--brand); border-radius: 0; box-shadow: none; text-transform: uppercase; letter-spacing: 0.08em; font-size: 14px; }
.layout-editorial .btn:hover { background: var(--accent-dark); transform: none; }
.layout-editorial .btn.secondary { background: none; color: var(--brand); border: 1px solid var(--brand); }
.layout-editorial .prose { background: none; border: 0; box-shadow: none; padding-left: 0; padding-right: 0; }

/* footer: centred, light */
.ed-footer { border-top: 3px double var(--border); background: var(--bg); text-align: center; padding: 44px 0 34px; }
.ed-footer .wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.ed-footer p { margin: 0; max-width: 520px; color: var(--muted); font-size: 15.5px; }
.ed-footer nav { display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
.ed-footer nav a { color: var(--ink); text-decoration: none; }
.ed-footer nav a:hover { color: var(--accent-dark); }
.ed-copy { font-size: 13px; color: var(--muted); }

@media (max-width: 860px) {
  .ed-hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .ed-hero { padding-top: 40px; }
  .ed-nav { gap: 8px 20px; }
  .ed-cols { grid-template-columns: 1fr; }
  .ed-cols article, .ed-cols article + article { padding: 24px 0 8px; border-left: 0; border-top: 1px solid var(--border); }
  .ed-cols article:first-child { border-top: 0; }
  .layout-editorial .timeline .wrap { grid-template-columns: 1fr; }
  .layout-editorial .entry:first-child { grid-template-columns: 1fr; gap: 0; }
  .layout-editorial .value { border-right: 0; border-bottom: 1px solid var(--border); }
  .ed-stats .wrap { flex-direction: column; }
}

/* button text colours must beat the generic `.layout-editorial a` rule */
.layout-editorial a.ed-btn, .layout-editorial a.ed-btn:hover,
.layout-editorial a.btn, .layout-editorial a.btn:hover { color: #fff; }
.layout-editorial a.btn.secondary { color: var(--brand); }
.layout-editorial a.btn.secondary:hover { color: var(--accent-dark); background: none; }
