/* Journal: index, cards and article reading layout. Uses tokens from site.css. */
.posts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule); }
.posts .post a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 24px 24px 28px 0; border-bottom: 1px solid var(--rule); text-decoration: none; transition: color .2s; }
.posts .post + .post a { padding-left: 24px; border-left: 1px solid var(--rule); }
.posts .post:nth-child(3n+1) a { padding-left: 0; border-left: 0; }
.post-title { font: 500 1.4rem/1.15 var(--serif); letter-spacing: -.01em; }
.post-ex { color: var(--ink-2); font-size: .95rem; }
.post a:hover .post-title { color: var(--stamp); }
.posts.feature { grid-template-columns: 1fr; border-top: 1px solid var(--ink); }
.post.big a { padding: 28px 0 32px; border-left: 0; }
.post.big .post-title { font-size: clamp(1.8rem, 3.8vw, 2.8rem); max-width: 22ch; }
.post.big .post-ex { font-size: 1.05rem; max-width: 46em; }
@media (max-width: 860px) {
  .posts { grid-template-columns: 1fr; }
  .posts .post a, .posts .post + .post a { padding: 20px 0; border-left: 0; }
}
.journal-strip .posts.feature { margin-bottom: 0; }

/* Blog index */
.blog-page { padding: 56px 0 24px; }
.blog-head h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin: 14px 0 18px; }
.blog-head h1 em { color: var(--stamp); font-weight: 400; }
.blog-head .lede { margin-bottom: 40px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 36px 0 18px; }
.chip { font: 500 .78rem var(--mono); letter-spacing: .04em; text-transform: uppercase; border: 1px solid var(--rule); background: transparent; color: var(--ink-2); padding: 8px 14px; border-radius: 999px; cursor: pointer; min-height: 40px; }
.chip:hover { border-color: var(--stamp); color: var(--stamp); }
.chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.post[hidden] { display: none; }

/* Article */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 30; }
.progress i { display: block; height: 100%; width: 0; background: var(--stamp); transition: width .1s linear; }
.article-page { padding: 48px 0 24px; }
.article-head { max-width: 46rem; margin-bottom: 48px; }
.article-head .mono a { color: var(--ink-3); }
.article-head h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); margin: 16px 0 18px; font-variation-settings: "opsz" 144; }
.standfirst { font: 400 1.25rem/1.5 var(--serif); color: var(--ink-2); margin: 0 0 20px; }
.byline { border-top: 1px solid var(--rule); padding-top: 14px; }
.article-grid { display: grid; grid-template-columns: 220px minmax(0, 40rem); gap: 64px; align-items: start; }
@media (max-width: 960px) { .article-grid { grid-template-columns: 1fr; gap: 24px; } .toc { display: none; } }
.toc { position: sticky; top: 28px; font-size: .9rem; }
.toc ol { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; border-left: 1px solid var(--rule); }
.toc a { display: block; padding-left: 14px; margin-left: -1px; border-left: 1px solid transparent; text-decoration: none; color: var(--ink-2); line-height: 1.35; }
.toc a.on { border-left-color: var(--stamp); color: var(--ink); }
.body { font-size: 1.08rem; line-height: 1.72; }
.body h2 { font-size: 1.8rem; margin: 48px 0 12px; scroll-margin-top: 24px; }
.body h3 { font-size: 1.3rem; margin: 32px 0 8px; }
.body p, .body li { color: var(--ink); }
.body ul, .body ol { padding-left: 1.3em; }
.body li { margin: 6px 0; }
.body blockquote { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--stamp); font: italic 400 1.2rem/1.5 var(--serif); color: var(--ink-2); }
.body code { font: 500 .88em var(--mono); background: var(--paper-2); padding: 1px 6px; border-radius: 4px; }
.body a { color: var(--ink); text-decoration-color: var(--stamp); }
.cta { margin: 48px 0 0; padding: 24px; background: var(--card); border: 1px solid var(--rule); border-radius: 14px; }
.cta p { margin: 4px 0 16px; }
.related { padding: 56px 24px 24px; }
.related h2 { font-size: 1.6rem; margin-bottom: 16px; }
@media print { .top, .foot, .toc, .cta, .related, .progress, .consent { display: none !important; } .article-grid { display: block; } }
.body .table { overflow-x: auto; margin: 24px 0; }
.body table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.body th, .body td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.body th { font: 500 .74rem var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); border-bottom-color: var(--ink); }
