/* ABCSearch Blog — 2026 refresh */
:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --ink: #1f1b16;
  --muted: #6f675d;
  --accent: #c2410c;
  --accent-soft: #fff1e7;
  --rule: #e7e0d6;
  --max: 720px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171412;
    --surface: #201c19;
    --ink: #ece7e0;
    --muted: #a39a8e;
    --accent: #fb923c;
    --accent-soft: #2b1f16;
    --rule: #322c26;
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.7 "Source Serif 4", Georgia, "Times New Roman", serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

header.site {
  border-bottom: 1px solid var(--rule);
  padding: 1.1rem 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
}
header.site .wrap { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.wordmark { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; color: var(--ink); }
.wordmark .dot { color: var(--accent); }
nav.top { display: flex; gap: 1.1rem; font-size: 0.9rem; }
nav.top a { color: var(--muted); }
nav.top a:hover { color: var(--accent); text-decoration: none; }

.hero { padding: 3.2rem 0 2.6rem; border-bottom: 1px solid var(--rule); }
.hero h1 {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { margin-top: 0.9rem; color: var(--muted); max-width: 34em; }

.kicker {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

main { padding: 2.2rem 0 3rem; }

.post-card { padding: 1.8rem 0; border-bottom: 1px solid var(--rule); }
.post-card:last-child { border-bottom: 0; }
.post-card .thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--rule);
  margin-bottom: 1rem;
}
.post-hero {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--rule);
  margin: 0 0 1.8rem;
}
.post-card h2 {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  margin: 0.25rem 0 0.5rem;
}
.post-card h2 a { color: var(--ink); }
.post-card h2 a:hover { color: var(--accent); text-decoration: none; }
.post-card p { color: var(--muted); font-size: 0.98rem; }
.meta {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
}
.more {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
  margin-top: 0.6rem;
}

article.post header { padding: 2.6rem 0 1.6rem; border-bottom: 1px solid var(--rule); margin-bottom: 1.8rem; }
article.post h1 {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.7rem, 4.5vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0.3rem 0 0.7rem;
}
article.post h2 {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  margin: 1.9rem 0 0.7rem;
}
article.post p { margin: 0 0 1.1rem; }
article.post ul { margin: 0 0 1.1rem 1.3rem; }
article.post li { margin-bottom: 0.35rem; }

.callout {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 0.9rem 1.1rem;
  margin: 1.4rem 0;
  font-size: 0.95rem;
}

.pager {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--rule);
  margin-top: 2.4rem;
  padding-top: 1.2rem;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.9rem;
}

footer.site {
  border-top: 1px solid var(--rule);
  padding: 1.6rem 0 2.2rem;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.82rem;
  color: var(--muted);
}
footer.site .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
footer.site a { color: var(--muted); text-decoration: underline; }
