/* Monroe in Focus — shared stylesheet */

:root {
  --ink: #1a1a1a;
  --ink-soft: #45403c;
  --paper: #faf7f2;
  --paper-raised: #ffffff;
  --rule: #d8d2c6;
  --accent: #8b1e2f;      /* masthead red */
  --accent-dark: #5f1420;
  --navy: #1c2b4a;
  --tag-bg: #eee7d9;
  --link: #6f1523;
  --max: 780px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.55;
}

a { color: var(--link); }
a:hover { color: var(--accent); }

img { max-width: 100%; display: block; }

/* ---------- Masthead ---------- */

.topbar {
  background: var(--navy);
  color: #e7e2d6;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  padding: 6px 20px;
  text-align: center;
}

.masthead {
  border-bottom: 3px solid var(--ink);
  padding: 28px 20px 18px;
  text-align: center;
  background: var(--paper-raised);
}

.masthead .kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 6px;
}

.masthead h1 {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 700;
  font-size: clamp(2.1rem, 6vw, 3.2rem);
  margin: 0;
  letter-spacing: -0.01em;
}

.masthead h1 a {
  color: var(--ink);
  text-decoration: none;
}

.masthead .tagline {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-style: italic;
}

nav.sitenav {
  display: flex;
  justify-content: center;
  gap: 28px;
  background: var(--ink);
  padding: 10px 20px;
  flex-wrap: wrap;
}

nav.sitenav a {
  color: #f2ede2;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

nav.sitenav a:hover,
nav.sitenav a[aria-current="page"] {
  color: var(--accent);
}

/* ---------- Layout ---------- */

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

main.wide { max-width: 900px; }

/* ---------- Article teaser / cards ---------- */

.story-card {
  border-bottom: 1px solid var(--rule);
  padding: 26px 0;
}

.story-card:first-of-type { padding-top: 0; }

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 10px;
}

.story-card h2, .story-card h3 {
  font-family: Georgia, "Times New Roman", Times, serif;
  margin: 0 0 8px;
  line-height: 1.25;
}

.story-card h2 { font-size: 1.7rem; }
.story-card h3 { font-size: 1.25rem; }

.story-card h2 a, .story-card h3 a {
  color: var(--ink);
  text-decoration: none;
}
.story-card h2 a:hover, .story-card h3 a:hover { color: var(--accent); }

.dek {
  color: var(--ink-soft);
  font-size: 1.02rem;
  margin: 0 0 10px;
}

.byline {
  font-size: 0.8rem;
  color: #71695f;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tags { margin-top: 10px; }

.tag {
  display: inline-block;
  background: var(--tag-bg);
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 3px;
  margin-right: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- Article page ---------- */

article.full h1 {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  line-height: 1.18;
  margin: 6px 0 10px;
}

article.full .dek {
  font-size: 1.15rem;
  margin-bottom: 16px;
}

article.full .meta {
  font-size: 0.82rem;
  color: #71695f;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 10px 0;
  margin-bottom: 26px;
}

article.full p { font-size: 1.06rem; margin: 0 0 18px; }

article.full h2 {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.4rem;
  margin: 34px 0 12px;
  padding-top: 4px;
  border-top: 1px solid var(--rule);
}

.quickfacts {
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 0.95rem;
}
.quickfacts h3 {
  margin: 0 0 8px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-dark);
}
.quickfacts dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; }
.quickfacts dt { font-weight: 600; color: var(--ink-soft); }
.quickfacts dd { margin: 0; }

.callout {
  border-left: 4px solid var(--navy);
  background: #f1f0ec;
  padding: 14px 18px;
  margin: 22px 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.source-note {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  font-size: 0.85rem;
  color: #71695f;
}

/* ---------- Next town hall ---------- */

.next-meeting {
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--navy);
  padding: 20px 22px 22px;
  margin: 8px 0 36px;
}

.next-meeting h2 {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.25rem;
  margin: 0 0 4px;
  color: var(--navy);
}

.next-meeting .when {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 2px;
}

.next-meeting .where {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0 0 14px;
}

.next-meeting .agenda-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-dark);
  font-weight: 600;
  margin: 0 0 8px;
}

.next-meeting ul.agenda-preview {
  margin: 0 0 16px;
  padding-left: 20px;
  font-size: 0.94rem;
  color: var(--ink-soft);
}
.next-meeting ul.agenda-preview li { margin-bottom: 6px; }

.next-meeting .agenda-link {
  font-size: 0.88rem;
  font-weight: 600;
}

.next-meeting .watch-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: #71695f;
  border-top: 1px solid var(--rule);
  padding-top: 12px;
}

/* ---------- Email subscribe ---------- */

.subscribe-box {
  background: var(--navy);
  color: #e7e2d6;
  padding: 22px 24px;
  margin: 0 0 36px;
}

.subscribe-box h2 {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.15rem;
  margin: 0 0 6px;
  color: #fff;
}

.subscribe-box p {
  font-size: 0.92rem;
  color: #cfc9bc;
  margin: 0 0 14px;
}

.subscribe-box form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.subscribe-box input[type="email"] {
  flex: 1 1 220px;
  padding: 10px 12px;
  border: 1px solid var(--rule);
  border-radius: 3px;
  font-size: 0.95rem;
  font-family: inherit;
}

.subscribe-box button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 3px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.subscribe-box button:hover { background: var(--accent-dark); }

.subscribe-box .fine-print {
  font-size: 0.75rem;
  color: #a39d90;
  margin: 10px 0 0;
}

/* ---------- Footer ---------- */

footer.sitefoot {
  background: var(--ink);
  color: #cfc9bc;
  padding: 30px 20px;
  margin-top: 20px;
  font-size: 0.82rem;
}
footer.sitefoot .foot-inner {
  max-width: var(--max);
  margin: 0 auto;
}
footer.sitefoot a { color: #f2ede2; }
footer.sitefoot p { margin: 0 0 10px; }

/* ---------- About page ---------- */

.about h1 {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 2rem;
  margin-top: 0;
}
.about p { font-size: 1.05rem; }

@media (max-width: 480px) {
  nav.sitenav { gap: 16px; }
}

/* ---------- Coverage page ---------- */

.cov-h {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.2rem;
  margin: 28px 0 10px;
}

.cov-wrap { overflow-x: auto; margin: 0 0 8px; }

table.cov {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  background: var(--paper-raised);
  border: 1px solid var(--rule);
}

table.cov th, table.cov td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--rule);
}

table.cov thead th {
  background: var(--tag-bg);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

table.cov tbody th { font-weight: 700; min-width: 8rem; }
