:root {
  --bg: #ffffff;
  --text: #1c1c1e;
  --muted: #5f6368;
  --rule: #e2e2e6;
  --accent: #c2410c;
  --link: #0b57d0;
  --panel: #f5f5f7;
  --quick: #eef4ff;
  --quick-border: #c9dafc;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121214;
    --text: #ececef;
    --muted: #a1a1aa;
    --rule: #2e2e33;
    --accent: #fb923c;
    --link: #8ab4f8;
    --panel: #1c1c20;
    --quick: #172033;
    --quick-border: #2c3e66;
  }
}
* { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 18px/1.7 Georgia, "Times New Roman", serif;
}
a { color: var(--link); }
.post p, .post li { overflow-wrap: anywhere; }
main { max-width: 720px; margin: 0 auto; padding: 24px 16px 48px; }
h1, h2, h3, .site-header, .site-footer, .byline, .meta, table, .ad, .draft-banner, .disclosure-top, figcaption {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
h1 { font-size: 2rem; line-height: 1.2; margin: .4em 0 .3em; }
h2 { font-size: 1.4rem; line-height: 1.3; margin-top: 2.2em; padding-top: 1em; border-top: 1px solid var(--rule); }
h3 { font-size: 1.1rem; margin-top: 1.8em; }

.draft-banner { background: #b91c1c; color: #fff; text-align: center; padding: 6px; font-size: 14px; font-weight: 600; }
.site-header { display: flex; justify-content: space-between; align-items: center; max-width: 720px; margin: 0 auto; padding: 16px; border-bottom: 1px solid var(--rule); }
.site-header nav a { margin-left: 16px; color: var(--text); text-decoration: none; font-size: 15px; }
.brand { font-weight: 800; font-size: 1.2rem; color: var(--accent); text-decoration: none; }

.byline { color: var(--muted); font-size: 14px; line-height: 1.5; }
.hero { margin: 20px 0; }
.hero img { width: 100%; height: auto; border-radius: 8px; display: block; }
.hero figcaption { color: var(--muted); font-size: 13px; margin-top: 6px; }
.hero-missing div { background: var(--panel); border: 2px dashed var(--rule); padding: 48px 16px; text-align: center; color: var(--muted); font-family: system-ui, sans-serif; border-radius: 8px; }
.disclosure-top { background: var(--panel); border-left: 4px solid var(--accent); padding: 10px 14px; font-size: 14px; line-height: 1.5; }

.quick-version { background: var(--quick); border: 1px solid var(--quick-border); border-radius: 8px; padding: 4px 20px; margin: 24px 0; }
blockquote { margin: 1em 0; padding: .6em 1em; background: var(--panel); border-left: 4px solid var(--muted); }
.post table { border-collapse: collapse; width: 100%; font-size: 15px; display: block; overflow-x: auto; }
.post td, .post th { border: 1px solid var(--rule); padding: 6px 10px; text-align: left; }

.ad { margin: 40px 0; padding: 16px; border: 1px solid var(--rule); border-radius: 8px; background: var(--panel); }
.ad-label { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.ad-link { display: flex; align-items: center; gap: 16px; color: var(--text); text-decoration: none; }
.ad-image { flex: 0 0 auto; width: 96px; height: auto; border-radius: 6px; }
.ad-text strong { display: block; font-size: 1.05rem; }
.ad-text span { font-size: 15px; color: var(--muted); }

.post-list { list-style: none; padding: 0; }
.post-list li { border-bottom: 1px solid var(--rule); padding: 8px 0 16px; }
.post-list h2 { border: 0; padding: 0; margin: .6em 0 .2em; }
.post-list h2 a { color: var(--text); text-decoration: none; }
.post-list h2 a:hover { color: var(--accent); text-decoration: underline; }
.post-list li:has(.card-image) { display: grid; grid-template-columns: 240px 1fr; column-gap: 20px; align-items: start; }
.post-list li:has(.card-image) > :not(.card-image) { grid-column: 2; }
.card-image { grid-column: 1; grid-row: 1 / span 4; margin-top: 16px; }
.card-image img { width: 100%; height: auto; display: block; border-radius: 8px; }
@media (max-width: 560px) {
  .post-list li:has(.card-image) { grid-template-columns: 1fr; }
  .post-list li:has(.card-image) > :not(.card-image) { grid-column: 1; }
  .card-image { grid-row: auto; max-width: 320px; }
}
.read-more { display: inline-block; margin-top: 4px; padding: 10px 18px; border-radius: 8px; background: var(--accent); color: #fff; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-weight: 600; font-size: 15px; text-decoration: none; }
.read-more:hover { filter: brightness(1.08); }
@media (prefers-color-scheme: dark) { .read-more { color: #1c1c1e; } }
.tagline, .meta { color: var(--muted); }

/* Fact-check scorecard */
:root { --fc-true: #15803d; --fc-true-bg: #dcfce7; --fc-partly: #a16207; --fc-partly-bg: #fef3c7; --fc-false: #b91c1c; --fc-false-bg: #fee2e2; }
@media (prefers-color-scheme: dark) {
  :root { --fc-true: #4ade80; --fc-true-bg: #14301f; --fc-partly: #fbbf24; --fc-partly-bg: #33280f; --fc-false: #f87171; --fc-false-bg: #3a1616; }
}
.factcheck { margin: 24px 0 8px; padding: 16px; border: 1px solid var(--rule); border-radius: 12px; background: var(--panel); font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
.fc-title { font-size: 1.15rem; font-weight: 700; color: var(--text); margin: 0 0 10px; }
.fc-legend { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.fc-badge { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px 2px 4px; border-radius: 999px; font-size: 13px; font-weight: 700; line-height: 1.6; }
.fc-icon { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 4px; border: 2px solid currentColor; font-size: 13px; line-height: 1; }
.fc-true { color: var(--fc-true); background: var(--fc-true-bg); }
.fc-partly { color: var(--fc-partly); background: var(--fc-partly-bg); }
.fc-false { color: var(--fc-false); background: var(--fc-false-bg); }
.fc-totals { display: grid; gap: 8px; margin-bottom: 16px; }
.fc-total { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 10px; font-size: 14px; }
.fc-name { font-weight: 600; }
.fc-bar { display: flex; gap: 2px; height: 26px; border-radius: 6px; overflow: hidden; }
.fc-seg { display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.fc-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.fc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px; background: var(--bg); border: 1px solid var(--rule); border-radius: 10px; }
.fc-row-single { grid-template-columns: 1fr; }
.fc-topic { grid-column: 1 / -1; margin: 0; padding: 0; border: 0; font-size: 1rem; }
.fc-claim { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px; border-radius: 8px; background: var(--panel); }
.fc-claim p { margin: 0; font-size: 14px; line-height: 1.45; overflow-wrap: normal; }
.fc-who { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.fc-why { color: var(--muted); font-size: 13px !important; }
@media (max-width: 560px) {
  .fc-row { grid-template-columns: 1fr; }
  .fc-total { grid-template-columns: 1fr; gap: 4px; }
}

.site-footer { max-width: 720px; margin: 0 auto; padding: 24px 16px 40px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--muted); }
.disclosure { font-weight: 600; color: var(--text); }
