/* =====================================================================
   DailyScopePost — Design System
   A modern editorial identity: ink navy + warm amber accent, serif
   headlines on a warm off-white canvas. Mobile-first, no external
   font or icon requests — everything renders with system fonts + SVG.
   ===================================================================== */

:root {
  /* Color system */
  --ink:            #12192b;   /* primary text / headlines */
  --ink-soft:       #3a4358;   /* secondary text */
  --muted:          #6b7280;   /* tertiary text, meta */
  --line:           #e6e1d8;   /* hairline borders */
  --paper:          #faf8f4;   /* page background (warm off-white) */
  --paper-raised:   #ffffff;   /* card background */
  --paper-tint:     #f2ede3;   /* section tint background */
  --accent:         #b5502a;   /* amber/terracotta accent */
  --accent-dark:    #8f3e1f;
  --accent-tint:    #fbeee5;
  --link:           #1d3b6b;   /* editorial navy link */
  --focus:          #1d6fb8;

  /* Category colors (muted, editorial — not neon) */
  --cat-us-news:     #1d3b6b;
  --cat-politics:    #7a1f34;
  --cat-business:    #1f5c43;
  --cat-technology:  #2c3a75;
  --cat-science:     #0f6b74;
  --cat-health:      #7a5210;
  --cat-world:       #3a3a3a;
  --cat-money:       #1a6b53;
  --cat-lifestyle:   #8a3b1a;

  /* Type */
  --font-display: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --content-width: 1180px;
  --article-width: 720px;
  --radius: 3px;
  --shadow-sm: 0 1px 2px rgba(18,25,43,0.06);
  --shadow-md: 0 4px 16px rgba(18,25,43,0.10);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.2; font-weight: 700; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }

.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
}

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

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff;
  padding: 10px 16px; z-index: 1000; border-radius: 0 0 4px 0;
}
.skip-link:focus { left: 0; }

/* =====================================================================
   Top utility bar
   ===================================================================== */
.topbar {
  background: var(--ink);
  color: #cfd6e4;
  font-size: 12.5px;
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 34px; gap: 10px;
}
.topbar-date { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-tag { color: #8fa3c9; letter-spacing: .04em; text-transform: uppercase; font-size: 11px; white-space: nowrap; }
@media (max-width: 520px) {
  .topbar-tag { display: none; }
  .topbar-date { font-size: 11.5px; }
}

/* =====================================================================
   Header + Navigation
   ===================================================================== */
.site-header {
  background: var(--paper-raised);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
}
.header-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}
.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  color: var(--ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.logo span { color: var(--accent); }
.logo-tagline {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-top: -2px;
}

.header-actions { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  background: none; border: 1px solid transparent; cursor: pointer;
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius); color: var(--ink);
}
.icon-btn:hover { background: var(--paper-tint); }
.icon-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.7; }

.main-nav { border-top: 1px solid var(--line); }
.main-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: nowrap; overflow-x: auto;
  gap: 2px; scrollbar-width: none;
}
.main-nav ul::-webkit-scrollbar { display: none; }
.main-nav a {
  display: block; padding: 12px 14px; font-size: 13.5px; font-weight: 600;
  color: var(--ink-soft); white-space: nowrap; border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a.active { color: var(--ink); border-bottom-color: var(--accent); text-decoration: none; }

.hamburger { display: none; }

/* Mobile nav drawer */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 200; display: none;
}
.mobile-drawer.open { display: block; }
.mobile-drawer-backdrop {
  position: absolute; inset: 0; background: rgba(18,25,43,.45);
}
.mobile-drawer-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(86vw, 360px);
  background: var(--paper-raised); box-shadow: var(--shadow-md);
  padding: 18px; overflow-y: auto;
}
.mobile-drawer-panel .drawer-head {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px;
}
.mobile-drawer-panel nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-drawer-panel nav a {
  display: block; padding: 13px 4px; font-size: 16px; font-weight: 600; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.drawer-secondary { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.drawer-secondary a { display: block; padding: 9px 4px; font-size: 14px; color: var(--ink-soft); }

/* Search overlay */
.search-overlay {
  position: fixed; inset: 0; z-index: 300; display: none;
  background: rgba(18,25,43,.5);
}
.search-overlay.open { display: block; }
.search-overlay-panel {
  background: var(--paper-raised); padding: 24px 20px; max-width: 700px; margin: 0 auto;
}
.search-overlay-form { display: flex; gap: 8px; align-items: center; }
.search-overlay input[type="search"] {
  flex: 1; font-size: 18px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--font-body);
}
.search-overlay-close { background: none; border: none; cursor: pointer; font-size: 15px; padding: 8px 12px; color: var(--muted); }

@media (min-width: 900px) {
  .hamburger { display: none; }
}
@media (max-width: 899px) {
  .main-nav { display: none; }
  .hamburger {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; background: none; border: none; cursor: pointer; color: var(--ink);
  }
  .hamburger svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; }
}

/* =====================================================================
   Badges / category tags
   ===================================================================== */
.tag {
  display: inline-block; font-size: 11.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; padding: 3px 9px; border-radius: 2px; color: #fff;
}
.tag-us-news { background: var(--cat-us-news); }
.tag-politics { background: var(--cat-politics); }
.tag-business { background: var(--cat-business); }
.tag-technology { background: var(--cat-technology); }
.tag-science { background: var(--cat-science); }
.tag-health { background: var(--cat-health); }
.tag-world { background: var(--cat-world); }
.tag-money { background: var(--cat-money); }
.tag-lifestyle { background: var(--cat-lifestyle); }

.tag-outline {
  color: var(--ink); background: var(--paper-tint); border: 1px solid var(--line);
  font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 11px; padding: 4px 10px;
  white-space: nowrap; display: inline-block; border-radius: var(--radius);
}

.meta-row {
  display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center;
  font-size: 13px; color: var(--muted);
}
.meta-row a { color: var(--ink-soft); font-weight: 600; }
.dot::before { content: "\2022"; margin-right: 10px; color: var(--line); }

/* =====================================================================
   Buttons
   ===================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 20px; font-size: 14px; font-weight: 700; border-radius: var(--radius);
  border: 1px solid var(--ink); background: var(--ink); color: #fff; cursor: pointer;
  font-family: var(--font-body);
}
.btn:hover { background: #232d47; text-decoration: none; }
.btn-outline { background: none; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-accent { background: var(--accent); border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-block { width: 100%; }

/* =====================================================================
   Section headers
   ===================================================================== */
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 20px;
  gap: 12px;
}
.section-head h2 { font-size: 22px; margin: 0; }
.section-head .view-all { font-size: 13px; font-weight: 700; color: var(--accent); white-space: nowrap; }
.section-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 6px; display: block;
}

section.home-section { padding: 40px 0; }
section.home-section.tint { background: var(--paper-tint); }
.home-section + .home-section { border-top: 1px solid var(--line); }

/* =====================================================================
   Hero (homepage)
   ===================================================================== */
.hero-grid {
  display: grid; gap: 24px; grid-template-columns: 1fr;
}
.hero-main { position: relative; }
.hero-main .hero-image-wrap {
  position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; border-radius: var(--radius);
  background: var(--paper-tint);
}
.hero-main img { width: 100%; height: 100%; object-fit: cover; }
.hero-main .tag { position: absolute; top: 14px; left: 14px; }
.hero-main h1, .hero-main h2.hero-title {
  font-size: 30px; margin: 16px 0 10px; line-height: 1.15;
}
.hero-main .dek { font-size: 16.5px; color: var(--ink-soft); margin-bottom: 10px; }

.hero-secondary { display: grid; gap: 18px; }
.hero-secondary-item { display: flex; gap: 12px; }
.hero-secondary-item .thumb {
  width: 104px; height: 78px; flex-shrink: 0; border-radius: var(--radius); overflow: hidden; background: var(--paper-tint);
}
.hero-secondary-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.hero-secondary-item h3 { font-size: 15.5px; margin: 0 0 4px; line-height: 1.25; }
.hero-secondary-item .meta-row { font-size: 12px; }

@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1.6fr 1fr; }
  .hero-main h1, .hero-main h2.hero-title { font-size: 36px; }
}

/* =====================================================================
   Card grid systems
   ===================================================================== */
.grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: repeat(1, 1fr); }
.grid-3 { grid-template-columns: repeat(1, 1fr); }
.grid-4 { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 620px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 860px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card { display: flex; flex-direction: column; }
.card .thumb {
  width: 100%; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden;
  background: var(--paper-tint); margin-bottom: 10px;
}
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .tag { margin-bottom: 8px; align-self: flex-start; }
.card h3 { font-size: 17px; margin: 0 0 6px; line-height: 1.3; }
.card h3 a { color: var(--ink); }
.card p.excerpt { font-size: 14px; color: var(--ink-soft); margin: 0 0 8px; }
.card .meta-row { font-size: 12px; margin-top: auto; }

/* Compact horizontal list rows ("Latest News") */
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li {
  display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.news-list li:first-child { padding-top: 0; }
.news-list .thumb {
  width: 92px; height: 68px; flex-shrink: 0; border-radius: var(--radius); overflow: hidden; background: var(--paper-tint);
}
.news-list .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-list h3 { font-size: 15.5px; margin: 0 0 4px; line-height: 1.3; }
.news-list h3 a { color: var(--ink); }
.news-list .meta-row { font-size: 12px; }

/* Text-only ranked list ("Most Read") */
.ranked-list { list-style: none; margin: 0; padding: 0; counter-reset: rank; }
.ranked-list li {
  display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); align-items: baseline;
}
.ranked-list li::before {
  counter-increment: rank; content: counter(rank);
  font-family: var(--font-display); font-size: 24px; color: var(--line); font-weight: 700; width: 28px; flex-shrink: 0;
}
.ranked-list h3 { font-size: 15px; margin: 0 0 4px; }
.ranked-list h3 a { color: var(--ink); }

/* =====================================================================
   Two-column layout (category / content + sidebar)
   ===================================================================== */
.layout-2col { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 960px) {
  .layout-2col { grid-template-columns: 1fr 320px; }
}
.sidebar-block { margin-bottom: 32px; }
.sidebar-block h2 { font-size: 16px; text-transform: uppercase; letter-spacing: .04em; border-bottom: 2px solid var(--ink); padding-bottom: 8px; margin-bottom: 14px; }

/* =====================================================================
   Category page intro
   ===================================================================== */
.category-hero { padding: 30px 0 6px; }
.category-hero h1 { font-size: 32px; margin-bottom: 8px; }
.category-hero .lede { font-size: 16px; color: var(--ink-soft); max-width: 720px; }

/* =====================================================================
   Breadcrumbs
   ===================================================================== */
.breadcrumbs {
  font-size: 12.5px; color: var(--muted); padding: 14px 0;
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs .sep { margin: 0 6px; }
.breadcrumbs .current { color: var(--ink); font-weight: 600; }

/* =====================================================================
   Article page
   ===================================================================== */
.article-head { max-width: var(--article-width); margin: 0 auto; padding: 6px 0 20px; }
.article-head .tag { margin-bottom: 12px; }
.article-head h1 { font-size: 30px; line-height: 1.2; margin-bottom: 12px; }
.article-head .dek { font-size: 18px; color: var(--ink-soft); font-family: var(--font-display); margin-bottom: 18px; }

.byline {
  display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.byline .avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--paper-tint); }
.byline .avatar img { width: 100%; height: 100%; object-fit: cover; }
.byline .who { font-size: 14px; }
.byline .who a { font-weight: 700; color: var(--ink); }
.byline .who .dates { color: var(--muted); font-size: 12.5px; display: block; margin-top: 1px; }

.article-hero-image { max-width: var(--article-width); margin: 20px auto 6px; }
.article-hero-image .frame { width: 100%; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: var(--paper-tint); }
.article-hero-image img { width: 100%; height: 100%; object-fit: cover; }
.caption { font-size: 12.5px; color: var(--muted); padding: 8px 2px 0; }

.article-body { max-width: var(--article-width); margin: 0 auto; padding: 24px 0 8px; font-size: 18px; line-height: 1.72; color: var(--ink); }
.article-body h2 { font-size: 24px; margin: 1.5em 0 .5em; }
.article-body h3 { font-size: 19px; margin: 1.3em 0 .5em; }
.article-body p { margin: 0 0 1.2em; }
.article-body ul, .article-body ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.article-body li { margin-bottom: .4em; }
.article-body blockquote {
  margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent);
  font-family: var(--font-display); font-size: 20px; color: var(--ink-soft); font-style: italic;
}
.article-body strong { color: var(--ink); }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 15px; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.article-body th { background: var(--paper-tint); }

.key-takeaways {
  max-width: var(--article-width); margin: 24px auto; background: var(--paper-tint);
  border-left: 4px solid var(--accent); padding: 18px 20px; border-radius: 0 var(--radius) var(--radius) 0;
}
.key-takeaways h2 { font-size: 15px; text-transform: uppercase; letter-spacing: .05em; margin: 0 0 10px; }
.key-takeaways ul { margin: 0; padding-left: 1.2em; font-size: 15px; }
.key-takeaways li { margin-bottom: 6px; }

.faq-block { max-width: var(--article-width); margin: 30px auto; }
.faq-block h2 { font-size: 22px; margin-bottom: 14px; }
.faq-item { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq-item h3 { font-size: 16px; margin: 0 0 6px; }
.faq-item p { font-size: 15px; color: var(--ink-soft); margin: 0; }

.author-box {
  max-width: var(--article-width); margin: 28px auto; background: var(--paper-raised); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px; display: flex; gap: 16px;
}
.author-box .avatar { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--paper-tint); }
.author-box .avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-box h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 0 0 4px; }
.author-box h3 { font-size: 17px; margin: 0 0 4px; }
.author-box .role { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.author-box p.bio { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 8px; }

.source-list { font-size: 14.5px; margin: 8px 0 1.2em; padding-left: 1.2em; }
.source-list li { margin-bottom: 4px; }

.editorial-note {
  max-width: var(--article-width); margin: 24px auto; font-size: 13px; color: var(--muted);
  background: var(--paper-tint); padding: 14px 16px; border-radius: var(--radius);
}

.related-section { background: var(--paper-tint); padding: 40px 0; margin-top: 30px; }
.related-section .container { max-width: 980px; }

/* =====================================================================
   Editor's Picks / Explainers modules
   ===================================================================== */
.picks-strip { display: flex; gap: 18px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.picks-strip .card { min-width: 240px; max-width: 260px; flex-shrink: 0; }

.explainer-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: var(--paper-raised);
}
.explainer-card .tag-outline { margin-bottom: 8px; }
.explainer-card h3 { font-size: 15.5px; margin: 0 0 6px; }
.explainer-card h3 a { color: var(--ink); }
.explainer-card p { font-size: 13.5px; color: var(--ink-soft); margin: 0; }

/* =====================================================================
   Explore DailyScopePost (editorial nav block, replaces newsletter CTA)
   ===================================================================== */
.explore-block {
  background: var(--ink); color: #fff; padding: 36px 0; text-align: center;
}
.explore-block h2 { color: #fff; font-size: 20px; margin-bottom: 18px; font-family: var(--font-body); text-transform: uppercase; letter-spacing: .06em; }
.explore-links { display: flex; gap: 10px 22px; flex-wrap: wrap; justify-content: center; }
.explore-links a { color: #cfd6e4; font-size: 14px; font-weight: 600; padding: 6px 2px; border-bottom: 1px solid transparent; }
.explore-links a:hover { color: #fff; border-bottom-color: var(--accent); text-decoration: none; }

/* =====================================================================
   Cookie consent banner
   ===================================================================== */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 400;
  background: var(--ink); color: #e8ebf2; padding: 16px 20px; display: none;
  box-shadow: 0 -4px 16px rgba(0,0,0,.15);
}
.cookie-banner.visible { display: block; }
.cookie-banner .container { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cookie-banner p { margin: 0; font-size: 13px; flex: 1; min-width: 240px; color: #cfd6e4; }
.cookie-banner .actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* =====================================================================
   Footer
   ===================================================================== */
.site-footer { background: var(--ink); color: #b7c0d4; margin-top: 50px; padding: 48px 0 20px; }
.footer-grid { display: grid; gap: 30px; grid-template-columns: 1fr; margin-bottom: 30px; }
.footer-brand .logo { color: #fff; font-size: 22px; }
.footer-brand .logo span { color: var(--accent); }
.footer-brand p { font-size: 13.5px; color: #9aa5c0; margin: 10px 0 0; max-width: 320px; }
.footer-col h3 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 12px; font-family: var(--font-body); }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #b7c0d4; font-size: 13.5px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #2a3350; padding-top: 18px; font-size: 12px; color: #8290ac; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { color: #b7c0d4; }

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (min-width: 960px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; }
}

/* =====================================================================
   Static / legal pages
   ===================================================================== */
.static-page { max-width: 760px; margin: 0 auto; padding: 30px 0 60px; }
.static-page h1 { font-size: 30px; margin-bottom: 6px; }
.static-page .updated { font-size: 12.5px; color: var(--muted); margin-bottom: 24px; }
.static-page h2 { font-size: 21px; margin-top: 1.6em; }
.static-page p, .static-page li { font-size: 16px; color: var(--ink-soft); line-height: 1.7; }
.static-page ul { padding-left: 1.3em; }

.contact-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 24px; }
@media (min-width: 700px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: var(--paper-raised); }
.contact-card h3 { font-size: 15.5px; margin: 0 0 6px; }
.contact-card p { font-size: 13.5px; color: var(--ink-soft); margin: 0 0 8px; }
.contact-card a.email { font-weight: 700; font-size: 13.5px; }

/* =====================================================================
   Search page
   ===================================================================== */
.search-page-box { max-width: 700px; margin: 0 auto 30px; }
.search-page-box input[type="search"] {
  width: 100%; font-size: 18px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--font-body);
}
.search-results-count { font-size: 13px; color: var(--muted); margin-bottom: 16px; max-width: 700px; }
.search-empty { text-align: center; padding: 40px 20px; color: var(--muted); }

/* =====================================================================
   404 page
   ===================================================================== */
.error-page { max-width: 640px; margin: 60px auto; text-align: center; padding: 0 20px; }
.error-page .code { font-family: var(--font-display); font-size: 84px; color: var(--line); font-weight: 700; line-height: 1; }
.error-page h1 { font-size: 26px; margin: 10px 0 12px; }
.error-page p { color: var(--ink-soft); margin-bottom: 26px; }

/* =====================================================================
   Author page
   ===================================================================== */
.author-hero { display: flex; gap: 20px; align-items: center; padding: 30px 0 10px; flex-wrap: wrap; }
.author-hero .avatar { width: 88px; height: 88px; border-radius: 50%; overflow: hidden; background: var(--paper-tint); flex-shrink: 0; }
.author-hero .avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-hero h1 { font-size: 26px; margin: 0 0 4px; }
.author-hero .role { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.author-hero .bio { max-width: 600px; font-size: 15px; color: var(--ink-soft); }
.coverage-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }

/* Utility */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.small-print { font-size: 12px; color: var(--muted); }
