/* The blog (/blog and every post). legal.css carries the tokens, the nav, the head and the footer;
   this only adds what a post needs: the post list, tables for the comparisons, and callouts. */

.post-list { display: grid; gap: 14px; margin-top: 8px; }
.post-card { display: grid; gap: 6px; padding: 20px 22px; border-radius: var(--r); background: var(--ink-50); text-decoration: none; transition: background 160ms var(--ease), transform 160ms var(--ease); }
.post-card:hover { background: var(--ink-100); transform: translateY(-1px); }
.post-card .post-date { font: 600 13px/1.4 var(--ui); color: var(--ink-500); text-transform: uppercase; letter-spacing: .04em; }
.post-card b { font: 700 clamp(19px, 1.4vw + 13px, 23px)/1.25 var(--display); letter-spacing: -0.02em; color: var(--ink); }
.post-card span { color: var(--ink-700); }
@media (min-width: 760px) { .post-list { grid-template-columns: 1fr 1fr; } }

/* Tables, for the "vs" posts. They scroll sideways on a phone rather than squeeze. */
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0 24px; font-size: 15.5px; display: block; overflow-x: auto; white-space: nowrap; }
@media (min-width: 720px) { .prose table { display: table; white-space: normal; } }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--ink-100); text-align: left; vertical-align: top; }
.prose th { font: 700 14px/1.3 var(--display); letter-spacing: -0.01em; color: var(--ink); background: var(--yellow-50); }
.prose td:first-child, .prose th:first-child { font-weight: 600; color: var(--ink); }
.prose tbody tr:last-child td { border-bottom: 0; }

.prose hr { border: 0; border-top: 1px solid var(--ink-100); margin: 32px 0 18px; }
.prose h3 { font-size: clamp(20px, 1.2vw + 14px, 23px); margin-top: 26px; }
.prose ol, .prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
