/* Blog pages scroll; the landing hero is fixed-viewport (site.css sets overflow:hidden) */
body.blog-body { overflow: auto; height: auto; min-height: 100%; display: block; }

/* Fresh Journal — blog styles, layered on tokens.css/site.css */

.nav { display: flex; justify-content: space-between; align-items: center; }
.nav-links { display: flex; gap: 22px; }
.nav-links a { color: var(--fresh-text-dim); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--fresh-text); }

.blog-index, .article { max-width: 720px; margin: 0 auto; padding: 48px 20px 80px; }
.blog-index h1, .article h1 {
  font-family: "Space Grotesk", sans-serif; font-weight: 700;
  font-size: clamp(30px, 5vw, 44px); line-height: 1.12; margin: 8px 0 12px;
  color: var(--fresh-text);
}
.article h1 { font-size: clamp(28px, 4.4vw, 40px); }
.kicker { color: var(--fresh-green-400); font-weight: 600; font-size: 13px;
  letter-spacing: 0.12em; text-transform: uppercase; margin: 0; }
.lead, .dek { color: var(--fresh-text-dim); font-size: 18px; line-height: 1.55; margin: 0 0 18px; }
.crumbs { margin: 0 0 26px; }
.crumbs a { color: var(--fresh-text-faint); text-decoration: none; font-size: 14px; }
.crumbs a:hover { color: var(--fresh-text-dim); }

.byline { display: flex; align-items: center; gap: 12px; margin: 18px 0 6px; }
.byline-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.byline-initials { display: inline-flex; align-items: center; justify-content: center;
  background: var(--fresh-surface-2); color: var(--fresh-green-400);
  font-weight: 700; font-size: 14px; }
.byline-name { display: block; color: var(--fresh-text); font-weight: 600; font-size: 14px; }
.byline-date { display: block; color: var(--fresh-text-faint); font-size: 13px; }

.hero-figure { margin: 26px -20px; }
.hero-figure img { width: 100%; border-radius: 0; display: block; }
@media (min-width: 760px) { .hero-figure { margin: 26px 0; } .hero-figure img { border-radius: 14px; } }

.prose { font-size: 17px; line-height: 1.72; color: var(--fresh-text); }
.prose p { margin: 0 0 20px; }
.prose a { color: var(--fresh-green-300); text-decoration: underline; text-decoration-color: var(--fresh-green-900); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--fresh-green-400); }
.prose h2 { font-family: "Space Grotesk", sans-serif; font-size: 24px; margin: 38px 0 14px; }
.prose h3 { font-size: 19px; margin: 30px 0 10px; }
.prose blockquote { margin: 26px 0; padding: 4px 0 4px 20px;
  border-left: 3px solid var(--fresh-green-400);
  color: var(--fresh-text-dim); font-size: 19px; line-height: 1.5; font-style: italic; }
.prose ul { margin: 0 0 20px 22px; padding: 0; }
.prose li { margin-bottom: 8px; }
.prose figure { margin: 28px 0; }
.prose figure img { width: 100%; border-radius: 12px; display: block; }
.prose figcaption { color: var(--fresh-text-faint); font-size: 13px; margin-top: 8px; }

.chart { background: var(--fresh-surface); border: 1px solid var(--fresh-border);
  border-radius: 14px; padding: 22px 22px 14px; margin: 28px 0; }
.chart svg { width: 100%; height: auto; display: block; }
.chart .chart-title { color: var(--fresh-text); font-weight: 600; font-size: 15px; margin: 0 0 4px; }
.chart .chart-src { color: var(--fresh-text-faint); font-size: 12px; margin: 10px 0 0; }
.chart .chart-src a { color: var(--fresh-text-faint); }

.aside-note { background: var(--fresh-surface); border: 1px solid var(--fresh-border);
  border-left: 3px solid var(--fresh-green-400); border-radius: 10px;
  padding: 14px 18px; margin: 26px 0; color: var(--fresh-text-dim); font-size: 15px; line-height: 1.6; }

.endcap { border-top: 1px solid var(--fresh-border); margin-top: 44px; padding-top: 22px;
  color: var(--fresh-text-dim); font-size: 15px; }

.cards { display: grid; gap: 22px; margin-top: 34px; }
.card { display: grid; grid-template-columns: 150px 1fr; gap: 18px; text-decoration: none;
  background: var(--fresh-surface); border: 1px solid var(--fresh-border);
  border-radius: 14px; overflow: hidden; transition: border-color .15s; }
.card:hover { border-color: var(--fresh-green-600); }
.card-thumb { width: 150px; height: 100%; min-height: 118px; object-fit: cover; }
.card-thumb-empty { background: var(--fresh-surface-2); }
.card-body { padding: 16px 18px 16px 0; }
.card h2 { font-family: "Space Grotesk", sans-serif; font-size: 19px; line-height: 1.25;
  margin: 4px 0 6px; color: var(--fresh-text); }
.card-date { color: var(--fresh-text-faint); font-size: 12.5px; margin: 0; }
.card-dek { color: var(--fresh-text-dim); font-size: 14.5px; line-height: 1.5; margin: 0; }
@media (max-width: 560px) { .card { grid-template-columns: 1fr; } .card-thumb { width: 100%; height: 150px; } .card-body { padding: 0 16px 16px; } }

.blog-footer { max-width: 720px; margin: 0 auto; padding: 26px 20px 46px;
  border-top: 1px solid var(--fresh-border); color: var(--fresh-text-faint); font-size: 13.5px; }
.blog-footer a { color: var(--fresh-text-dim); }
.blog-footer .standards { margin-top: 8px; line-height: 1.55; }
.about-byline { margin-top: 4px; }
