/*
 * Blog index and article pages. Loaded through site_page(['page_css' => ...])
 * after assets/style.css, so it uses the tokens defined there.
 */

/* ---------- Cover art and avatars ---------- */
.cover-art { width: 100%; height: 100%; }
.avatar {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: linear-gradient(135deg, #8f74ff, #5b3fd9);
  box-shadow: 0 6px 12px -6px rgba(91, 63, 217, .8);
  color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: -.02em;
}
.avatar-lg { width: 46px; height: 46px; font-size: .98rem; }

/* ---------- Blog hero ---------- */
.blog-stats {
  margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(23, 22, 28, .08);
  display: flex; flex-wrap: wrap; gap: 16px 44px; max-width: 520px;
}
.blog-stats dt { font-size: .84rem; color: var(--slate); }
.blog-stats dd { margin-top: 2px; font-size: 1.5rem; font-weight: 600; letter-spacing: -.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }

.blog-stack { position: relative; height: 330px; }
.blog-stack-card {
  position: absolute; width: 58%; padding: 9px 9px 14px;
  background: #fff; border: 1px solid rgba(255, 255, 255, .9); border-radius: 22px;
  box-shadow: 0 28px 50px -30px rgba(23, 22, 28, .45);
}
.blog-stack-card-1 { left: 21%; top: 0; z-index: 3; }
.blog-stack-card-2 { left: 0; top: 46px; z-index: 1; width: 46%; transform: rotate(-8deg); }
.blog-stack-card-3 { right: 0; top: 46px; z-index: 2; width: 46%; transform: rotate(7deg); }
.blog-stack-card-2,
.blog-stack-card-3 { padding-bottom: 9px; }
.blog-stack-cover { aspect-ratio: 16 / 10; border-radius: 15px; overflow: hidden; }
.blog-stack-card p { display: flex; align-items: center; gap: 10px; margin: 12px 6px 0; font-size: .8rem; color: var(--slate); }
.blog-stack-card strong {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin: 8px 6px 0; font-size: .95rem; font-weight: 600; line-height: 1.3; letter-spacing: -.02em;
}

.blog-stack .blog-stack-card-2 p,
.blog-stack .blog-stack-card-2 strong,
.blog-stack .blog-stack-card-3 p,
.blog-stack .blog-stack-card-3 strong { display: none; }

/* ---------- Topic filter ---------- */
.blog-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.blog-filter a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 8px 8px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: .94rem; font-weight: 500; color: #33373f; white-space: nowrap;
  transition: border-color .15s, background-color .15s, color .15s;
}
.blog-filter a:hover { border-color: var(--violet); color: var(--ink); }
.blog-filter span {
  min-width: 26px; padding: 2px 8px; border-radius: 999px; text-align: center;
  background: var(--mist); color: var(--slate); font-size: .8rem; font-variant-numeric: tabular-nums;
}
.blog-filter a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.blog-filter a[aria-current] span { background: rgba(255, 255, 255, .16); color: #fff; }

/* ---------- Post cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post-card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  padding: 10px; border-radius: var(--radius-md);
  background: #fff; border: 1px solid var(--line);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.post-card:hover { border-color: #d3dada; box-shadow: 0 26px 48px -32px rgba(23, 22, 28, .4); transform: translateY(-2px); }
.post-card:focus-within { border-color: var(--violet); }
.post-cover { aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: var(--mist); }
.post-cover .cover-art { transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.post-card:hover .cover-art { transform: scale(1.035); }
.post-card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; padding: 16px 12px 8px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .84rem; color: var(--slate); }
.post-title { font-size: 1.14rem; line-height: 1.3; letter-spacing: -.02em; font-weight: 600; text-wrap: pretty; }
.post-title a { transition: color .15s; }
.post-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.post-title a:focus-visible { outline: 0; }
/* The stretched title link is the card's focus target, so the whole card shows the ring. */
.post-card:has(.post-title a:focus-visible) { outline: 2px solid var(--violet); outline-offset: 3px; }
.post-card:hover .post-title a { color: var(--violet-text); }
.post-excerpt {
  color: var(--slate); font-size: .94rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.post-byline { margin-top: auto; padding-top: 6px; display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 500; color: #33373f; }
.post-go {
  margin-left: auto; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: var(--mist); color: var(--ink);
  transition: background-color .2s, color .2s;
}
.post-go svg { width: 16px; height: 16px; }
.post-card:hover .post-go { background: var(--violet); color: #fff; }

/* Featured row: one lead card and two stacked side cards. */
.blog-feature {
  margin-top: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto; gap: 20px;
}
.post-card-featured { grid-column: 1 / span 2; grid-row: 1 / span 2; padding: 12px; }
.post-card-featured .post-cover { aspect-ratio: auto; flex: 1 1 auto; min-height: 330px; border-radius: 18px; }
.post-card-featured .post-card-body { flex: none; padding: 22px 16px 10px; gap: 12px; }
.post-card-featured .post-title { font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.14; letter-spacing: -.035em; max-width: 30ch; }
.post-card-featured .post-excerpt { font-size: 1rem; max-width: 72ch; -webkit-line-clamp: 2; }
.post-card-side .post-cover { aspect-ratio: auto; flex: 1 1 auto; min-height: 168px; }
.post-card-side .post-card-body { flex: none; padding: 14px 10px 6px; gap: 8px; }
.post-card-side .post-title { font-size: 1.04rem; }

/* Closing tile: fills the rest of the last grid row with a bypass bar. */
.post-check {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr); align-content: space-between; gap: 18px;
  padding: 24px; border-radius: var(--radius-md); color: #fff;
  background: #17161c;
}
.post-check::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, .22) 1px, transparent 1.4px);
  background-size: 14px 14px;
  -webkit-mask-image: radial-gradient(60% 70% at 85% 30%, #000, transparent);
  mask-image: radial-gradient(60% 70% at 85% 30%, #000, transparent);
}
.post-check-span-2 { grid-column: span 2; }
.post-check-span-3 { grid-column: 1 / -1; }
.post-check-art { width: 200px; height: auto; }
.post-check-title { font-size: 1.32rem; font-weight: 600; letter-spacing: -.03em; line-height: 1.2; max-width: 22ch; }
.post-check-text { margin-top: 8px; color: rgba(255, 255, 255, .72); font-size: .95rem; max-width: 40ch; }
.post-check-steps { list-style: none; display: grid; gap: 8px; counter-reset: step; }
.post-check-steps li {
  counter-increment: step; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: center;
  padding: 7px 12px 7px 8px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08);
  font-size: .92rem; color: rgba(255, 255, 255, .86);
}
.post-check-steps li::before {
  content: counter(step); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .1); color: #fff; font-size: .8rem; font-weight: 600;
}
.post-check-steps li:last-child::before { background: var(--mint-strong); color: var(--ink); }
.post-check-bar { margin-top: 0; width: 100%; max-width: none; color: var(--ink); }
.post-check-bar input { padding: 10px 2px; }
.post-check-trace { display: none; }
/* Wide tiles: copy and bar on the left, an example trace card on the right. */
.post-check-span-2,
.post-check-span-3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; align-content: center; padding: 36px 40px; }
.post-check-span-2 > :not(.post-check-trace),
.post-check-span-3 > :not(.post-check-trace) { grid-column: 1; }
.post-check-span-2 .post-check-trace,
.post-check-span-3 .post-check-trace { display: grid; grid-column: 2; grid-row: 1 / span 4; align-self: center; }
.post-check-trace {
  list-style: none; padding: 10px 18px; border-radius: 22px; background: #fff; color: var(--ink);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.post-check-trace li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; }
.post-check-trace li + li { border-top: 1px dashed #edf0f0; }
.post-check-trace svg { width: 36px; height: 36px; }
.post-check-trace span { min-width: 0; font-size: .82rem; color: var(--slate); }
.post-check-trace b { display: block; font-size: .88rem; font-weight: 500; color: var(--ink); letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.post-check-trace li:last-child b { font-weight: 600; }
.post-check-trace li:last-child span { color: var(--mint-ink); }
.post-check-trace i { font-style: normal; font-size: .8rem; color: var(--slate); white-space: nowrap; }
.post-check-span-2 .post-check-steps,
.post-check-span-3 .post-check-steps { display: none; }

.blog-section { margin-top: 36px; }
.related-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 24px; }
.related-head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -.04em; line-height: 1.08; font-weight: 600; }
.related-head h2 span { color: var(--faint-text); font-weight: 500; }
.related-head + .post-grid { margin-top: 24px; }

/* ---------- Article hero ---------- */
.is-article .page-hero-split { grid-template-columns: minmax(0, 1fr) minmax(0, 500px); padding: 40px 64px 48px; }
.is-article .page-title { font-size: clamp(2rem, 3.3vw, 2.9rem); line-height: 1.08; max-width: 22ch; text-wrap: balance; }
.is-article .tagline { font-size: 1.12rem; }
.article-byline { margin-top: 26px; display: flex; align-items: center; gap: 12px; }
.article-byline .avatar { width: 42px; height: 42px; font-size: .9rem; }
.article-byline strong { display: block; font-weight: 600; font-size: .98rem; letter-spacing: -.01em; }
.article-byline-meta { display: flex; flex-wrap: wrap; gap: 2px 14px; color: var(--slate); font-size: .88rem; }
.article-cover {
  padding: 10px; border-radius: 28px;
  background: rgba(255, 255, 255, .72); border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: 0 30px 60px -40px rgba(23, 22, 28, .45);
}
.article-cover .cover-art { display: block; aspect-ratio: 16 / 11; height: auto; border-radius: 20px; }

/* Reading progress, driven by the scroll position where the browser supports it. */
.read-progress { display: none; }
@supports (animation-timeline: scroll()) {
  .read-progress {
    display: block; position: fixed; inset: 0 0 auto; z-index: 60; height: 3px;
    background: linear-gradient(90deg, var(--mint-strong), var(--violet));
    transform-origin: 0 50%; transform: scaleX(0);
    animation: read-progress linear both; animation-timeline: scroll(root);
  }
  @keyframes read-progress { to { transform: scaleX(1); } }
}

/* ---------- Article body ---------- */
.article-layout {
  display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 32px; align-items: start;
  padding-top: 40px;
}
.article-aside {
  position: sticky; top: 20px; display: grid; gap: 16px;
  max-height: calc(100vh - 40px); overflow-y: auto; scrollbar-width: thin;
}
.toc { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px 12px 12px; }
.toc-title {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 0 10px; font-size: .86rem; font-weight: 500; color: var(--slate);
  list-style: none; pointer-events: none;
}
.toc-title::-webkit-details-marker { display: none; }
.toc-title span { display: none; }
.toc ol { list-style: none; margin-top: 10px; display: grid; gap: 2px; }
.toc a {
  display: block;
  padding: 8px 12px; border-radius: 10px;
  font-size: .9rem; line-height: 1.35; color: #3a3f4a;
  transition: background-color .15s, color .15s;
}
.toc a:hover { background: var(--mist); color: var(--ink); }
.toc a[aria-current="true"] { background: var(--violet-soft); color: var(--ink); font-weight: 600; }

.author-card {
  border-radius: 20px; padding: 18px;
  background: linear-gradient(180deg, #f0fbf7, #f7fbfa); border: 1px solid #d8efe7;
}
.author-card-head { display: flex; align-items: center; gap: 12px; }
.author-card-head p strong { display: block; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.author-card-head p span { display: block; color: var(--slate); font-size: .86rem; }
.author-card-bio { margin-top: 12px; color: #3a3f4a; font-size: .9rem; }
.author-card-links { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .9rem; }

.article-main { min-width: 0; }
.article-surface {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 48px 56px; color: #33373f; font-size: 1.04rem;
}
.article-surface > * + * { margin-top: 36px; }
.article-standfirst {
  max-width: 46rem; font-size: 1.22rem; line-height: 1.55; letter-spacing: -.015em; color: var(--ink);
  text-wrap: pretty;
}
.article-standfirst + * { margin-top: 24px; }
.article-summary {
  max-width: 46rem; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start;
  padding: 18px 22px; border-radius: 16px;
  background: linear-gradient(180deg, #f0fbf7, #f7fbfa); border: 1px solid #d8efe7;
}
.article-summary svg { width: 40px; height: 40px; }
.article-summary-label { font-size: .86rem; font-weight: 600; color: var(--mint-ink); }
.article-summary p + p { margin-top: 4px; color: #2b2a33; font-size: .98rem; }
.article-summary + .article-disclosure { margin-top: 14px; }
.article-disclosure {
  max-width: 46rem; font-size: .9rem; color: var(--slate);
  background: var(--mist); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 18px;
}
.article-section { max-width: 46rem; scroll-margin-top: 24px; }
.article-section > * + * { margin-top: 14px; }
.article-section h2 { font-size: 1.55rem; line-height: 1.2; letter-spacing: -.03em; font-weight: 600; color: var(--ink); }
.article-section h3 { font-size: 1.16rem; letter-spacing: -.02em; font-weight: 600; color: var(--ink); margin-top: 24px; }
.article-section a:not(.text-link) { color: var(--violet-text); border-bottom: 1px solid rgba(123, 92, 240, .35); }
.article-section a:not(.text-link):hover { border-bottom-color: var(--violet); }
.article-section code { font: .9em var(--mono); background: var(--mist); padding: 1px 6px; border-radius: 6px; }
.article-section strong { color: var(--ink); font-weight: 600; }
.article-list { margin-top: 14px; }
.article-faq .article-faq-item { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 18px; }
.article-faq h2 + .article-faq-item { margin-top: 20px; }
.article-faq h3 { margin-top: 0; font-size: 1.06rem; }
.article-faq h3 + p { margin-top: 6px; color: var(--slate); }
.article-section .content-list a { font-weight: 500; }
.article-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.article-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 520px; }
.article-table caption { text-align: left; padding: 14px 18px; font-weight: 600; color: var(--ink); background: #fafbfb; border-bottom: 1px solid var(--line); }
.article-table th,
.article-table td { text-align: left; vertical-align: top; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.article-table thead th { font-size: .84rem; font-weight: 500; color: var(--slate); background: #fafbfb; }
.article-table tbody th { font-weight: 600; color: var(--ink); }
.article-table tbody tr:last-child > * { border-bottom: 0; }

.article-end {
  padding-top: 28px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 32px;
}
.article-end-author { display: none; align-items: flex-start; gap: 14px; max-width: 56ch; }
.article-end-author p strong { display: block; font-weight: 600; color: var(--ink); }
.article-end-author p span { display: block; margin-top: 2px; color: var(--slate); font-size: .94rem; }
.article-end-links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .96rem; }

.article-related .related-head { padding: 0 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .post-check { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 32px; align-content: center; padding: 32px; }
  .post-check > :not(.post-check-trace) { grid-column: 1; }
  .post-check .post-check-trace { display: grid; grid-column: 2; grid-row: 1 / span 4; align-self: center; }
  .post-check .post-check-steps { display: none; }
  .post-check.post-check-odd { grid-column: auto; grid-template-columns: minmax(0, 1fr); align-content: space-between; padding: 24px; }
  .post-check.post-check-odd .post-check-trace { display: none; }
  .post-check.post-check-odd .post-check-steps { display: grid; }
  .blog-feature { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .post-card-featured { grid-column: 1 / -1; grid-row: auto; }
  .post-card-featured .post-cover { flex: none; min-height: 0; aspect-ratio: 2 / 1; }
  .post-card-side .post-cover { aspect-ratio: 16 / 10; flex: none; min-height: 0; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-related .post-grid > :nth-child(3) { display: none; }
  .is-article .page-hero-split { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); padding: 40px 40px 44px; }
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .article-aside { position: static; max-height: none; overflow: visible; }
  .article-aside .author-card { display: none; }
  /* Below the two-column layout the contents list folds (app.js closes it). */
  .toc-title { pointer-events: auto; cursor: pointer; padding: 2px 10px; font-size: .96rem; color: var(--ink); }
  .toc-title span { display: inline-flex; align-items: center; gap: 10px; font-size: .84rem; color: var(--slate); font-weight: 400; }
  .toc-title span::after { content: "+"; font: 400 1.3rem var(--mono); line-height: 1; color: var(--violet); transition: transform .2s; }
  .toc details[open] .toc-title span::after { transform: rotate(45deg); }
  .toc { padding: 14px 12px; }
  .article-end-author { display: flex; }
}

@media (max-width: 900px) {
  .is-article .page-hero-split { grid-template-columns: minmax(0, 1fr); }
  .blog-stack { max-width: 480px; }
}

@media (max-width: 760px) {
  .post-check,
  .post-check.post-check-odd { grid-column: auto; grid-template-columns: minmax(0, 1fr); padding: 24px 20px; }
  .post-check .post-check-steps { display: grid; }
  .post-check .post-check-trace { display: none; }
  .blog-stats { margin-top: 22px; padding-top: 18px; gap: 12px 28px; }
  .blog-stats dd { font-size: 1.25rem; }
  .blog-stack { height: 228px; }
  .blog-stack-card { width: 62%; padding: 7px 7px 10px; border-radius: 18px; }
  .blog-stack-card-1 { left: 19%; }
  .blog-stack-card-2,
  .blog-stack-card-3 { width: 46%; }
  .blog-stack-card-2,
  .blog-stack-card-3 { top: 46px; }
  .blog-stack-cover { border-radius: 12px; }
  .blog-stack-card p { margin-top: 9px; font-size: .74rem; }
  .blog-stack-card strong { font-size: .84rem; margin-top: 6px; }
  .blog-filter {
    flex-wrap: nowrap; overflow-x: auto; margin: 28px -16px 0; padding: 0 16px 4px;
    scrollbar-width: none;
  }
  .blog-filter::-webkit-scrollbar { display: none; }
  .blog-feature,
  .post-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .post-card-featured { padding: 10px; }
  /* Compact rows on phones: thumbnail, meta and title. */
  .post-card-grid .post-meta span:nth-child(2),
  .post-card-side .post-meta span:nth-child(2) { display: none; }
  .post-card-grid,
  .post-card-side { flex-direction: row; align-items: center; gap: 14px; padding: 8px; border-radius: 20px; }
  .post-card-grid .post-cover,
  .post-card-side .post-cover { flex: none; width: 116px; aspect-ratio: 5 / 4; min-height: 0; border-radius: 14px; }
  .post-card-grid .post-card-body,
  .post-card-side .post-card-body { flex: 1 1 auto; min-width: 0; padding: 4px 6px 4px 0; gap: 6px; }
  .post-card-grid .post-excerpt,
  .post-card-grid .post-byline { display: none; }
  .post-card-grid .post-title,
  .post-card-side .post-title { font-size: .98rem; line-height: 1.28; }
  .post-card-grid .post-meta,
  .post-card-side .post-meta { font-size: .78rem; gap: 4px 8px; }
  .post-card-grid .post-meta .content-chip,
  .post-card-side .post-meta .content-chip { font-size: .74rem; padding: 2px 8px; }
  .blog-feature,
  .post-grid { gap: 10px; }
  .post-card-featured .post-cover { aspect-ratio: 16 / 11; flex: none; min-height: 0; }
  .post-card-featured .post-card-body { padding: 16px 10px 8px; }
  .post-card-featured .post-title { font-size: 1.4rem; }
  .post-card-featured .post-excerpt { -webkit-line-clamp: 3; }
  .article-related .post-grid > :nth-child(3) { display: flex; }
  .is-article .page-hero-split { padding: 28px 20px 32px; }
  .is-article .page-title { font-size: clamp(1.8rem, 7.6vw, 2.3rem); }
  .is-article .tagline { font-size: 1.02rem; }
  .article-byline { margin-top: 20px; }
  .article-cover { padding: 7px; border-radius: 22px; }
  .article-cover .cover-art { border-radius: 16px; }
  .article-layout { padding-top: 28px; gap: 16px; }
  .toc { padding: 16px 8px 8px; }
  .article-surface { padding: 28px 20px; font-size: 1rem; }
  .article-surface > * + * { margin-top: 30px; }
  .article-standfirst { font-size: 1.1rem; }
  .article-summary { grid-template-columns: 32px minmax(0, 1fr); gap: 12px; padding: 16px; }
  .article-summary svg { width: 32px; height: 32px; }
  .article-section h2 { font-size: 1.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  .post-card:hover { transform: none; }
  .post-card:hover .cover-art { transform: none; }
}
