/* Empowering Facts - site stylesheet
   Black + gold masthead (brand) over a light, readable article body.
   Mobile-first: the overwhelming majority of Facebook referral traffic is phone. */

:root {
  --gold: #d4a03a;
  --gold-dark: #a87c20;
  --ink: #17171a;
  --ink-soft: #4a4a52;
  --line: #e2e2e6;
  --bg: #ffffff;
  --bg-soft: #f6f6f4;
  --black: #0c0c0e;
  --max: 720px;
  --wide: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: Georgia, "Times New Roman", serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #ededf0;
    --ink-soft: #a9a9b4;
    --line: #2c2c33;
    --bg: #131316;
    --bg-soft: #1b1b20;
  }
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.65;
}

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

a { color: inherit; }

.wrap { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: var(--max); margin: 0 auto; }

/* ---------- masthead ---------- */

.masthead {
  background: var(--black);
  border-bottom: 3px solid var(--gold);
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  max-width: var(--wide);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.brand img { width: 44px; height: 44px; border-radius: 4px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text .b1 { font-weight: 800; font-size: 17px; letter-spacing: 0.06em; text-transform: uppercase; }
.brand-text .b2 { font-weight: 800; font-size: 17px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  color: #d8d8de;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover, .nav a:focus { color: var(--gold); border-bottom-color: var(--gold); }

@media (max-width: 640px) {
  .masthead-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .nav { gap: 2px 14px; }
  .nav a { font-size: 13px; }
}

/* ---------- shared bits ---------- */

.tag {
  display: inline-block;
  background: var(--gold);
  color: #000;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 2px;
  text-decoration: none;
}

.meta { color: var(--ink-soft); font-size: 14px; }

/* ---------- homepage ---------- */

.lead { padding: 28px 0 8px; }

.lead-card { display: block; text-decoration: none; }
.lead-card img { width: 100%; border-radius: 6px; aspect-ratio: 4 / 5; object-fit: cover; }
.lead-card h2 {
  font-family: var(--font-head);
  font-size: 30px;
  line-height: 1.2;
  margin: 14px 0 8px;
}
.lead-card p { color: var(--ink-soft); margin: 0 0 8px; }

@media (min-width: 860px) {
  .lead-card { display: grid; grid-template-columns: 380px 1fr; gap: 28px; align-items: start; }
  .lead-card h2 { font-size: 38px; margin-top: 0; }
}

.section-head {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 2px solid var(--line);
  padding-bottom: 8px;
  margin: 36px 0 20px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

@media (min-width: 620px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 28px; } }
@media (min-width: 980px) { .grid { grid-template-columns: repeat(3, 1fr); } }

.card { text-decoration: none; display: block; }
.card img { width: 100%; border-radius: 6px; aspect-ratio: 4 / 5; object-fit: cover; }
.card h3 {
  font-family: var(--font-head);
  font-size: 20px;
  line-height: 1.25;
  margin: 12px 0 6px;
}
.card:hover h3 { color: var(--gold-dark); }

/* ---------- article ---------- */

.article { padding: 26px 0 10px; }

.article h1 {
  font-family: var(--font-head);
  font-size: 32px;
  line-height: 1.15;
  margin: 12px 0 14px;
}

@media (min-width: 720px) { .article h1 { font-size: 42px; } }

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 22px;
}

.hero { margin: 0 0 24px; }
.hero img { width: 100%; max-width: 560px; margin: 0 auto; border-radius: 6px; }
.hero figcaption { color: var(--ink-soft); font-size: 13px; text-align: center; margin-top: 8px; }

.body p { margin: 0 0 22px; }
.body h2 { font-family: var(--font-head); font-size: 26px; margin: 34px 0 12px; }
.body ul, .body ol { margin: 0 0 22px; padding-left: 24px; }
.body li { margin-bottom: 8px; }
.body blockquote {
  margin: 26px 0;
  padding: 4px 0 4px 20px;
  border-left: 4px solid var(--gold);
  font-family: var(--font-head);
  font-size: 21px;
  line-height: 1.45;
  color: var(--ink);
}
.body a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 2px; }
.body strong { font-weight: 700; }

.kicker {
  background: var(--bg-soft);
  border-left: 4px solid var(--gold);
  padding: 16px 18px;
  margin: 0 0 26px;
  font-size: 17px;
}

/* ---------- ad slots ---------- */

.ad {
  margin: 30px 0;
  text-align: center;
  min-height: 1px;
}
.ad-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

/* ---------- share row ---------- */

.share {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.share span { font-weight: 700; font-size: 14px; align-self: center; margin-right: 4px; }
.share a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
}
.share a:hover { border-color: var(--gold); color: var(--gold-dark); }

/* ---------- footer ---------- */

.footer {
  background: var(--black);
  color: #b8b8c0;
  margin-top: 56px;
  padding: 36px 0 44px;
  font-size: 14px;
}
.footer a { color: #d8d8de; text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 18px; padding: 0; list-style: none; }
.footer .disclaimer { color: #7d7d88; font-size: 13px; line-height: 1.6; max-width: 640px; }

/* ---------- misc pages ---------- */

.page { padding: 30px 0; }
.page h1 { font-family: var(--font-head); font-size: 34px; margin: 0 0 20px; }

.pagination { display: flex; gap: 14px; justify-content: center; margin: 40px 0; }
.pagination a {
  text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 10px 18px; border: 1px solid var(--line); border-radius: 4px;
}
.pagination a:hover { border-color: var(--gold); }

.empty { padding: 60px 0; text-align: center; color: var(--ink-soft); }
