/* Articles. Builds on home.css: same paper, ink and serif; a reading column of about 68 characters. */
.nav-links a[aria-current] { color: var(--ink); font-weight: 600; }
.kicker { margin: 0 0 18px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.kicker a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); }
.kicker a:hover { color: var(--ink); border-color: var(--ink); }
:lang(he) .kicker, :lang(ar) .kicker, :lang(fa) .kicker, :lang(ja) .kicker, :lang(zh-CN) .kicker, :lang(zh-TW) .kicker, :lang(ko) .kicker { letter-spacing: 0; }

/* long words (Malayalam, Tamil, German compounds) must wrap on narrow screens */
.blog main { overflow-wrap: break-word; }
.blog h1, .pl-t, .art-body h2, .art-body h3 { hyphens: auto; }
.pl-t, .pl-d { min-width: 0; }

/* index */
.blog-head { padding: 72px 0 28px; }
.blog-head h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 18px; }
.blog-head .lede { margin-bottom: 0; }
.posts { padding: 12px 0 64px; }
.post-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.post-list li { border-bottom: 1px solid var(--line); }
.post-list a { display: grid; grid-template-columns: 56px 1fr auto; column-gap: 20px; row-gap: 6px; padding: 26px 0; color: var(--ink); text-decoration: none; }
.pl-n { grid-row: span 2; font-family: var(--serif); font-size: 15px; color: var(--muted); padding-top: 6px; font-variant-numeric: tabular-nums; }
.pl-t { font-family: var(--serif); font-weight: 600; font-size: 25px; line-height: 1.22; letter-spacing: -.01em; text-wrap: balance; }
.pl-d { grid-column: 2; color: var(--ink-2); font-size: 16px; max-width: 40em; text-wrap: pretty; }
.pl-m { grid-column: 3; grid-row: 1; white-space: nowrap; font-size: 13.5px; color: var(--muted); padding-top: 8px; }
.post-list a:hover .pl-t { color: var(--blue-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.post-list.compact .pl-t { font-size: 21px; }
.post-list.compact a { padding: 20px 0; }

/* article */
.art-head { max-width: 760px; padding-top: 64px; padding-bottom: 8px; }
.art-head h1 { font-size: clamp(34px, 4.6vw, 52px); line-height: 1.1; margin-bottom: 20px; }
.art-head .lede { margin-bottom: 22px; }
.art-meta { display: flex; gap: 10px; flex-wrap: wrap; margin: 0; padding-bottom: 30px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14.5px; }
.art-body { max-width: 760px; padding-top: 34px; padding-bottom: 40px; font-size: 18.5px; line-height: 1.72; color: #1d2838; }
.art-body > :first-child { margin-top: 0; }
.art-body p, .art-body ul, .art-body ol { margin: 0 0 1.15em; text-wrap: pretty; }
.art-body > p:first-child { font-size: 20.5px; color: var(--ink); }
.art-body h2 { font-family: var(--serif); font-weight: 600; font-size: 29px; line-height: 1.2; letter-spacing: -.01em; margin: 1.9em 0 .55em; color: var(--ink); text-wrap: balance; }
.art-body h3 { font-size: 20px; margin: 1.6em 0 .4em; color: var(--ink); }
.art-body ul, .art-body ol { padding-inline-start: 1.3em; }
.art-body li { margin-bottom: .45em; padding-inline-start: .2em; }
.art-body li::marker { color: var(--muted); }
.art-body strong { color: var(--ink); font-weight: 650; }
.art-body a { color: var(--blue-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.art-body a:hover { text-decoration-thickness: 2px; }
.art-body code { font: .86em/1.4 ui-monospace, "SF Mono", Consolas, monospace; background: #f1eee6; border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; overflow-wrap: anywhere; }
.art-body blockquote { margin: 1.4em 0; padding: 4px 0 4px 22px; border-inline-start: 3px solid var(--blue); font-family: var(--serif); font-size: 21px; line-height: 1.5; color: var(--ink); }
[dir="rtl"] .art-body blockquote { padding: 4px 22px 4px 0; }
.art-body blockquote p { margin: 0; }
/* the closing note about the product: set apart, quieter */
.art-body > p:last-child { margin-top: 2.2em; padding-top: 22px; border-top: 1px solid var(--line); font-size: 16.5px; color: var(--ink-2); }
.art-table { overflow-x: auto; margin: 1.6em 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.art-table table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.45; }
.art-table th, .art-table td { padding: 12px 16px; border-bottom: 1px solid #f0ede6; text-align: start; vertical-align: top; }
.art-table thead th { font-size: 13px; letter-spacing: .04em; color: var(--muted); font-weight: 600; background: #faf8f3; }
.art-table tbody th { font-weight: 600; color: var(--ink); }
.art-table tr:last-child th, .art-table tr:last-child td { border-bottom: 0; }

.more { padding: 40px 0 56px; border-top: 1px solid var(--line); }
.more .sec-title { margin-bottom: 22px; }
.more .all { margin: 22px 0 0; }

/* languages written in their own scripts read better a little larger and without serif fallbacks */
:lang(ja) .art-body, :lang(zh-CN) .art-body, :lang(zh-TW) .art-body, :lang(ko) .art-body { line-height: 1.85; }
:lang(th) .art-body, :lang(hi) .art-body, :lang(bn) .art-body, :lang(mr) .art-body, :lang(gu) .art-body, :lang(kn) .art-body,
:lang(ml) .art-body, :lang(ta) .art-body, :lang(te) .art-body, :lang(am) .art-body { line-height: 1.9; }

@media (max-width: 640px) {
  .blog-head { padding: 40px 0 18px; }
  .post-list a { grid-template-columns: 1fr; padding: 22px 0; }
  .pl-n { display: none; }
  .pl-t { font-size: 22px; }
  .pl-d, .pl-m { grid-column: 1; grid-row: auto; padding-top: 0; }
  .art-head { padding-top: 36px; }
  .art-head h1 { font-size: clamp(28px, 8vw, 34px); }
  .art-body { font-size: 17.5px; padding-top: 26px; }
  .art-body > p:first-child { font-size: 19px; }
  .art-body h2 { font-size: 25px; }
  .art-body blockquote { font-size: 19px; }
}
