/* ==========================================================================
   Blog: the index at /blogs/ and the posts themselves. The originals were
   WordPress editor content in the Blocksy theme; this is the site's own
   reading layout built on base.css tokens.
   ========================================================================== */

/* --- index --------------------------------------------------------------- */
.blog { padding-block: clamp(32px, 6vw, 64px) clamp(48px, 8vw, 96px); }
.blog__head { display: grid; justify-items: start; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 60ch; }
.blog__head h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1.05; }
.blog__head p { color: var(--muted); font-size: 1.05rem; }
.blog__list { display: grid; gap: 16px; }
.blog__card {
  display: grid; gap: 10px; padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--card);
  transition: border-color 0.2s, transform 0.2s var(--ease);
}
.blog__card:hover { border-color: var(--orange); transform: translateY(-2px); }
.blog__card h2 { font-size: clamp(1.25rem, 2.5vw, 1.7rem); }
.blog__card p { color: var(--muted); }
.blog__meta { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.blog__more { color: var(--orange); font-weight: 600; font-size: 0.9rem; }

/* --- post ---------------------------------------------------------------- */
.post { padding-block: clamp(24px, 5vw, 48px) clamp(48px, 8vw, 96px); }
.post .container { max-width: 760px; }
.post__crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.85rem; color: var(--muted); margin-bottom: 28px; }
.post__crumbs a:hover { color: var(--orange); }
.post__head { display: grid; justify-items: start; gap: 14px; margin-bottom: 36px; }
.post__head h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; }
.post__body { font-size: 1.05rem; line-height: 1.75; }
.post__body > * + * { margin-top: 1.25em; }
.post__body h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 2em; }
.post__body h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); margin-top: 1.6em; }
.post__body a { color: var(--orange); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.post__body ul, .post__body ol { padding-left: 1.3em; display: grid; gap: 0.5em; }
.post__body li { list-style: inherit; }
.post__body ul { list-style: disc; }
.post__body ol { list-style: decimal; }
.post__body hr { border: 0; border-top: 1px solid var(--border); margin-block: 2.5em; }
.post__body blockquote {
  border-left: 3px solid var(--orange); padding: 4px 0 4px 20px;
  font-family: var(--font-s); font-size: 1.1rem; color: var(--text);
}
.post__body blockquote p + p { margin-top: 0.8em; }
.post__table { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.post__table table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.post__table :is(th, td) { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.post__table th { font-family: var(--font-d); font-weight: 600; background: var(--card); }
.post__table tr:last-child td { border-bottom: 0; }
.post__nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; }
.post__nav a {
  display: inline-flex; flex-direction: column; gap: 2px; padding: 14px 20px; max-width: 46ch;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--card);
  transition: border-color 0.2s, transform 0.2s var(--ease);
}
.post__nav a:hover { border-color: var(--orange); transform: translateY(-2px); }
.post__nav small { color: var(--muted); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }
.post__nav strong { font-family: var(--font-d); font-size: 0.95rem; }
.post__nav .next { margin-left: auto; text-align: right; }
