/*
  Typography for a post's text: the .post-body of each page in public/blog/.

  Shared by two readers. The static page links it beside blog.css, and the
  app's /dashboard/articles/:id (pages/ArticleDetail.tsx) links it and injects
  the same .post-body it reads out of the page. So every rule is scoped to
  .post-body, and colours are written out rather than read from blog.css's
  :root, which the app does not load. seo.test.ts checks they are all still
  palette colours (tailwind.config.js).

  Cached like blog.css: bump the ?v= wherever it is linked (the three posts and
  ArticleDetail's POST_BODY_CSS).
*/

.post-body { font-size: 17px; line-height: 1.7; color: #A7B0BF; }
.post-body p { margin: 0 0 20px; text-wrap: pretty; }
.post-body h2 {
  margin: 52px 0 16px;
  font-family: 'Barlow Condensed', 'Arial Narrow', ui-sans-serif, system-ui, sans-serif;
  font-weight: 700; text-transform: uppercase;
  font-size: 30px; line-height: 1; letter-spacing: 0;
  color: #F1F4F8;
}
.post-body strong { color: #F1F4F8; font-weight: 600; }
.post-body a {
  color: #6CF2C2;
  text-decoration: underline; text-decoration-color: rgba(30,227,160,0.3); text-underline-offset: 3px;
  transition: color .15s, text-decoration-color .15s;
}
.post-body a:hover { color: #97F5D0; text-decoration-color: #6CF2C2; }
.post-body ul { margin: 0 0 24px; padding-left: 22px; list-style: disc; }
.post-body li { margin: 0 0 10px; padding-left: 4px; }
.post-body li::marker { color: #1EE3A0; }

/* Worked numbers, as .data-table in index.css. */
.post-body table { width: 100%; margin: 8px 0 28px; border-collapse: collapse; font-size: 15px; }
.post-body th {
  padding: 0 16px; height: 40px; text-align: left;
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: #6E7889; background: #0F141D; border-bottom: 1px solid #1C2331;
}
.post-body td {
  padding: 0 16px; height: 44px; border-bottom: 1px solid #1C2331;
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-variant-numeric: tabular-nums; color: #F1F4F8;
}
