/* Blog: an index of post cards and a single readable article column. Uses the site tokens in /styles.css. */
.blog .wrap { padding-block: 48px 80px; }
.blog-head h1 { font-size: clamp(2rem, 4vw, 2.6rem); letter-spacing: -0.02em; margin-top: 10px; }
.blog-head > p { margin-top: 12px; color: var(--muted); font-size: 1.1rem; }
.post-list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.post-card a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 24px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.post-card a:hover, .post-card a:focus-visible { border-color: var(--accent); box-shadow: 0 14px 34px -24px rgba(19, 26, 37, 0.45); }
.post-card h2 { font-size: 1.2rem; line-height: 1.3; }
.post-card p { color: var(--muted); line-height: 1.5; margin: 0; }
.post-card-date { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.post-card-more { margin-top: auto; padding-top: 6px; color: var(--accent); font-weight: 600; }
.post { max-width: 720px; }
.post-back { margin: 0 0 18px; }
.post-back a { color: var(--accent); text-decoration: none; font-weight: 600; }
.post h1 { font-size: clamp(1.9rem, 4.2vw, 2.6rem); line-height: 1.15; letter-spacing: -0.02em; }
.post-meta { margin-top: 12px; color: var(--muted); font-family: var(--font-mono); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }
.post-body { margin-top: 28px; font-size: 1.1rem; line-height: 1.7; }
.post-body > * + * { margin-top: 1em; }
.post-body h2 { margin-top: 2em; font-size: 1.45rem; line-height: 1.25; letter-spacing: -0.01em; }
.post-body ul, .post-body ol { padding-left: 1.3em; }
.post-body li + li { margin-top: 0.45em; }
.post-body blockquote { margin: 1.2em 0; padding: 14px 18px; border-left: 4px solid var(--accent); background: var(--accent-soft); border-radius: 0 var(--radius) var(--radius) 0; }
.post-body blockquote p { margin: 0; }
.post-body table { border-collapse: collapse; width: 100%; font-size: 0.97rem; line-height: 1.45; }
.post-body th, .post-body td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.post-body thead th { font-weight: 600; border-bottom: 2px solid var(--line); }
.post-body tbody th { font-weight: 600; white-space: nowrap; }
.post-body .table-wrap { margin-top: 1em; }
.post-cta { margin-top: 40px; padding: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.post-cta span { color: var(--muted); }
.post-sources { margin-top: 36px; font-size: 0.95rem; color: var(--muted); }
.post-sources h2 { font-size: 1rem; }
.post-sources ul { margin-top: 8px; padding-left: 1.2em; }
.post-sources a { color: var(--accent); }
@media (max-width: 760px) {
  .post-list { grid-template-columns: 1fr; }
  .post-body { font-size: 1.05rem; }
  .post-body tbody th { white-space: normal; }
}
