/* Editorial pages share the site's navigation, contact bar and footer. */
.blog-shell { width: min(900px, calc(100% - 48px)); margin: 0 auto; padding: 64px 0 32px; }
.post-shell { width: min(780px, calc(100% - 48px)); margin: 0 auto; padding: 40px 0 24px; }
.blog-intro { padding-bottom: 36px; }
.blog-intro h1, .post-header h1 { margin: 0 0 22px; font-size: clamp(36px, 5vw, 62px); line-height: 1.1; font-weight: 500; letter-spacing: -.045em; }
.blog-intro > p:last-child { max-width: 700px; font-size: 18px; color: var(--muted); }
.post-list { border-top: 1px solid var(--line); }
.post-preview { padding: 36px 0; border-bottom: 1px solid var(--line); }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 14px; }
.blog-tags { list-style: none; padding: 0; margin: 16px 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.blog-tags li { padding: 4px 12px; font-size: 13px; color: #7dcfff; background: #24283b; border: 1px solid #414868; border-radius: 5px; }
.post-preview h2 { margin: 0 0 16px; font-size: clamp(28px, 4vw, 36px); line-height: 1.2; font-weight: 500; letter-spacing: -.03em; }
.post-preview h2 a { text-decoration: none; }
.post-preview h2 a:hover { color: var(--accent-2); }
.post-preview > p { margin: 0 0 20px; max-width: 740px; font-size: 17px; color: var(--muted); }
.post-read-more, .post-back { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--accent); font-size: 16px; text-decoration: none; }
.post-read-more:hover, .post-back:hover { text-decoration: underline; }
.post-back { margin-bottom: 24px; }
.post-header { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.post-header h1 { margin-top: 24px; }
.post-lead { font-size: 20px; line-height: 1.7; color: var(--muted); margin-bottom: 0; }
.post-toc { margin: 32px 0 44px; padding: 24px 28px; border: 1px solid var(--line); background: var(--bg-soft); }
.post-toc h2 { margin: 0 0 12px; font-size: 20px; font-weight: 600; }
.post-toc ol { padding-left: 24px; margin: 0; }
.post-toc a { display: inline-block; padding: 7px 0; color: var(--text); text-underline-offset: 4px; font-size: 16px; }
.post-toc a:hover { color: var(--accent); }
.post-body { font-size: 18px; line-height: 1.85; color: var(--muted); overflow-wrap: anywhere; }
.post-body section { margin: 0 0 52px; }
.post-body h2 { margin: 42px 0 18px; color: var(--text); font-size: clamp(25px, 3vw, 32px); line-height: 1.3; letter-spacing: -.025em; font-weight: 600; }
.post-body h3 { margin: 30px 0 14px; color: var(--text); font-size: 22px; line-height: 1.4; }
.post-body p { margin: 0 0 20px; }
.post-body strong { color: var(--text); }
.post-body ul { padding-left: 25px; }
.post-body li { margin-bottom: 8px; }
.post-body a { color: var(--accent); text-underline-offset: 4px; }
.post-body a:hover { color: var(--accent-2); }
.post-body .post-section-date { font-size: 14px; color: #7dcfff; margin-bottom: 24px; }
.post-table-wrap { max-width: 100%; margin: 24px 0; }
.post-body table { border-collapse: collapse; table-layout: fixed; width: 100%; font-size: 16px; line-height: 1.6; text-align: left; }
.post-body caption { text-align: left; font-size: 14px; padding: 0 0 10px; color: var(--muted); }
.post-body th, .post-body td { padding: 13px 16px; border: 1px solid #414868; vertical-align: top; overflow-wrap: anywhere; }
.post-body thead { background: #292e42; color: var(--text); }
.post-body tbody th { font-weight: 500; color: var(--text); }
.post-body tbody tr:nth-child(even) { background: #24283b88; }
.post-note, .post-flow { padding: 22px 24px; border-left: 3px solid var(--accent); background: var(--bg-soft); }
.post-note { margin: 26px 0; }
.post-note p:last-child { margin-bottom: 0; }
.post-body .post-flow { color: var(--text); font-size: 17px; }
.post-body .post-source { font-size: 15px; line-height: 1.8; padding-top: 20px; border-top: 1px solid var(--line); }
.post-author { display: flex; align-items: center; gap: 22px; border-block: 1px solid var(--line); padding: 30px 0; margin-top: 48px; }
.author-monogram { display: grid; place-items: center; flex: 0 0 68px; height: 68px; border-radius: 50%; background: var(--bg-soft); border: 1px solid #414868; color: var(--accent); font-size: 23px; }
.post-author p { margin: 0; }
.author-label { font-size: 13px; color: var(--muted); }
.author-name { font-size: 20px; font-weight: 700; color: var(--text); }
.author-company { font-size: 16px; color: var(--muted); }
.post-back-bottom { margin: 24px 0 0; }
@media (max-width: 680px) {
  .blog-shell, .post-shell { width: calc(100% - 32px); padding-top: 28px; }
  .post-header h1 { font-size: 38px; }
  .post-lead { font-size: 18px; }
  .post-body { font-size: 17px; }
  .post-body h3 { font-size: 21px; }
  .post-body th, .post-body td { padding: 10px 9px; }
  .post-body table { font-size: 15px; }
  .post-toc { padding: 20px 18px; }
  .post-note, .post-flow { padding: 18px 16px; }
  .post-author { gap: 16px; }
}
@media print {
  .post-shell { width: 100%; }
  .post-back, .post-toc { display: none; }
  .post-body th, .post-body td { break-inside: avoid; }
}

/* Compact reading rhythm without shrinking the type. */
.post-body { line-height: 1.65; }
.post-body p { margin-bottom: 12px; }
.post-body section { margin-bottom: 32px; }
.post-body h2 { margin: 30px 0 14px; }
.post-body h3 { margin: 22px 0 10px; }
.post-body li { margin-bottom: 4px; }
.post-body .post-section-date { margin-bottom: 16px; }
.post-table-wrap { margin-block: 18px; }
.post-body th, .post-body td { padding-block: 10px; }
.post-note { margin-block: 18px; padding-block: 16px; }
.post-body .post-flow { padding-block: 16px; }
.post-toc { margin-block: 24px 30px; padding-block: 18px; }
.post-toc a { padding-block: 5px; }
.post-lead { line-height: 1.55; }
.post-author { margin-top: 30px; padding-block: 22px; }