/* Article styles for every page under /blog/. The tokens, masthead and footer
   come from /shared/chrome.css (the same file every page uses); this file only
   styles the article inside the shared 900px width. Links carry a content-hash
   ?v= stamped by build/chrome.mjs, so there is no manual cache-busting. */
/* ---- article ---- */
article { margin-top: 2rem; }
.kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.6rem;
}
.dek { margin: 0 0 0.75rem; }
.meta { font-family: var(--mono); font-size: 0.76rem; color: var(--muted); margin: 0 0 1.5rem; }
figure { margin: 0 0 2rem; }
figure img { width: 100%; height: auto; display: block; border-radius: var(--radius); border: 1px solid var(--line-strong); }

.sample {
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.7;
  background: var(--ink-2);
  color: #d7dbcc;
  border-radius: 8px;
  padding: 1.1rem 1.3rem;
  margin: 0 0 1.5rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* One block per source line, so a line that wraps hangs 2ch in from where it started. */
.sample .ln {
  display: block;
  padding-left: 2ch;
  text-indent: -2ch;
}

.callout {
  display: block;
  margin: 1.6rem 0;
  padding: 1.1rem 1.3rem;
  border-left: 3px solid var(--amber);
}
.callout span { display: block; margin-top: 0.2rem; }

/* ---- /blog/ index (built by build/blog-index.mjs): text cards, no images ---- */
.blog-head { margin-top: 1.1rem; }
.blog-head .bench-sub { margin: 0.4rem 0 0; }
.post-list { margin-top: 2rem; }
.post-list .tp-post span { display: block; }
.post-list .tp-post strong { font-size: 1.02rem; }
.post-list .post-kicker { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.35rem; }
.post-list .post-meta { font-family: var(--mono); font-size: 0.72rem; margin-top: 0.5rem; }
