:root {
  --brand: #b71c1c;
  --brand-dark: #7f0000;
  --accent: #f5b400;
  --bg: #fafafa;
  --surface: #ffffff;
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --border: #e5e5e5;
  --shadow: 0 1px 3px rgba(0,0,0,.06), 0 4px 12px rgba(0,0,0,.04);
  --radius: 12px;
  --maxw: 1100px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0f10;
    --surface: #18181b;
    --text: #f1f1f1;
    --muted: #a1a1aa;
    --border: #2a2a2e;
    --shadow: 0 1px 3px rgba(0,0,0,.4), 0 4px 12px rgba(0,0,0,.3);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Noto Sans Devanagari', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

header.site {
  background: var(--brand);
  color: #fff;
  border-bottom: 3px solid var(--accent);
  box-shadow: var(--shadow);
}
.bar {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.4rem;
}
.brand .logo {
  width: 34px; height: 34px;
  background: #fff;
  color: var(--brand);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1.15rem;
}
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 20px 16px 36px;
}

/* Site footer — disclaimer, feed + news links, copyright */
footer.site {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 8px 16px 48px;
  font-size: .82rem;
  color: var(--muted);
}
footer.site p { margin: 0 0 6px; }
footer.site a { color: var(--brand); font-weight: 600; }

.editorial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 22px 24px 24px;
  margin-bottom: 18px;
  box-shadow: var(--shadow);
}
.editorial-card .dateline {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .01em;
}
.editorial-card h1 {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0 0 14px;
  line-height: 1.3;
  color: var(--text);
}
.editorial-card h2 {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 22px 0 10px;
  color: var(--brand);
}
.editorial-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 16px 0 8px;
  color: var(--text);
}
.editorial-card p {
  margin: 0 0 12px;
  font-size: .95rem;
  line-height: 1.7;
}
.editorial-card ul {
  margin: 0 0 14px;
  padding-inline-start: 1.2rem;
}
.editorial-card li {
  margin-bottom: 8px;
  font-size: .95rem;
  line-height: 1.65;
}
.editorial-card li::marker { color: var(--brand); }
.editorial-card strong { font-weight: 700; }
.editorial-card hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 18px 0;
}
.editorial-card a {
  color: var(--brand);
  border-bottom: 1px solid rgba(183,28,28,.35);
}
.editorial-card a:hover { border-bottom-color: var(--brand); }

.fade-in { animation: fade .35s ease-out both; }
@keyframes fade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (max-width: 480px) {
  .brand { font-size: 1.15rem; }
  .brand .logo { width: 30px; height: 30px; font-size: 1rem; }
  .editorial-card { padding: 16px 16px 18px; }
  .editorial-card h1 { font-size: 1.35rem; }
  .editorial-card h2 { font-size: 1.05rem; }
}

/* Signed editorial byline */
.editorial-card .byline {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-style: italic;
  font-size: .9rem;
}

/* Archive index of every editorial (crawlable links) */
.archive-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}
.archive-list li {
  margin: 0;
  border-bottom: 1px solid var(--border);
}
.archive-list a {
  display: block;
  padding: 12px 4px;
  color: var(--text);
  font-size: .98rem;
}
.archive-list a:hover { color: var(--brand); }

/* news.manzill.com integration (Dec 2026 move from editor.manzill.com): the header
   section nav is styled by /site-links.css (.sec-nav); these extend the shared footer. */
footer.site-links .disclaimer { margin: 0 0 18px; }
