/* Zoroval blog. Loads after /docs/docs.css and reuses its Ledger tokens,
   header, footer, tables and panels. Adds a single reading column, the
   pull quote, the figure, the closing call to action and the post list. */

.post-shell { max-width: 760px; margin: 0 auto; padding: 0 28px; min-height: calc(100vh - var(--header-h) - 90px); }
main.post { padding: 44px 0 80px; }
.post .crumb a { color: var(--muted); text-decoration: none; }
.post .crumb a:hover { color: var(--accent); }
.post h1 { font-size: clamp(30px, 4.2vw, 40px); }
.post .lead { max-width: none; }
.post .byline { font: 400 12.5px var(--mono); color: var(--muted); margin-top: 18px; }
.post p, .post ul, .post ol { max-width: none; font-size: 17px; }
.post p { line-height: 1.7; }
.post h2 { margin-top: 52px; }

.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 500; }

/* trace-size table: right-aligned numbers, no forced width */
.post .facts { min-width: 0; max-width: 440px; }
.post .facts td.num, .post .facts th:last-child { text-align: right; font-family: var(--mono); font-size: 14px; }

.pull {
  margin: 34px 0; padding: 22px 26px;
  border-left: 3px solid var(--accent); background: var(--accent-tint);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.pull p { margin: 0; font-size: 20px; line-height: 1.5; color: var(--ink); }
.pull p strong { font-weight: 500; }

.figure { margin: 30px 0 8px; padding: 14px; }
.figure img { display: block; width: 100%; height: auto; border-radius: var(--radius-s); }
.figure .cap { font-size: 12.5px; line-height: 1.55; }

.post hr { border: 0; border-top: 1px solid var(--line); margin: 44px 0 0; }

.cta {
  margin-top: 48px; padding: 22px 24px;
  background: var(--surface); border: 1px solid var(--accent-line); border-radius: var(--radius);
}
.cta p { margin: 0; color: var(--ink-2); }
.cta strong { display: block; margin-bottom: 4px; }

.post .post-list { list-style: none; padding: 0; margin-top: 34px; }
.post-list li { margin: 0; }
.post-list a {
  display: block; text-decoration: none; padding: 20px 22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.post-list a:hover { border-color: var(--accent-line); background: var(--accent-tint); }
.post-list .meta { display: block; font: 400 12px var(--mono); color: var(--muted); }
.post-list b { display: block; margin-top: 6px; color: var(--ink); font-size: 20px; font-weight: 600; line-height: 1.3; }
.post-list .summary { display: block; margin-top: 8px; color: var(--ink-2); font-size: 15px; line-height: 1.6; }

@media (max-width: 860px) {
  header.site .nav-links a:not(.nav-cta) { display: none; }
  .post-shell { padding: 0 22px; }
}
@media (max-width: 540px) {
  .post-shell { padding: 0 16px; }
  main.post { padding-top: 28px; }
  .post p, .post ul, .post ol { font-size: 16px; }
  .pull { padding: 18px 18px; }
  .pull p { font-size: 18px; }
}

/* eval-gates post: code blocks, subheadings and the four-layer figure */
.post pre { margin: 22px 0; }
.post h3 { margin-top: 36px; }
.layers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 30px 0 8px; padding: 14px; }
.layers .layer { display: flex; flex-direction: column; gap: 6px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--surface); }
.layers .layer b { font: 600 13px var(--mono); color: var(--accent); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.layers .layer span { font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.layers .cap { grid-column: 1 / -1; margin: 4px 0 0; }
@media (max-width: 700px) { .layers { grid-template-columns: 1fr 1fr; } }
