/* Long-form guide pages: one readable column, colour block header, sticker callouts. Loads after site.css and home.css. */
.article-hero { background: var(--hero); color: var(--on-hero); border-bottom: var(--edge); padding-block: 48px 56px; }
.article-hero :focus-visible { outline-color: var(--on-hero); }
.article-hero .wrap { display: grid; gap: 18px; max-width: 820px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-weight: 700; font-size: .95rem; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .7; }
.crumbs a { display: inline-flex; min-height: 32px; align-items: center; }
.article-hero h1 { font-size: clamp(2.6rem, 10vw, 5.2rem); font-weight: 800; line-height: .95; letter-spacing: -.04em; }
.article-hero p { font-size: clamp(1.15rem, 3.2vw, 1.4rem); font-weight: 500; line-height: 1.4; max-width: 34em; }
.byline { font-size: .98rem; font-weight: 500; opacity: .9; }

.prose { padding-block: 56px 72px; }
.prose .wrap { max-width: 760px; display: grid; gap: 20px; }
.prose h2 { font-size: clamp(1.9rem, 6.5vw, 2.8rem); font-weight: 800; line-height: 1.02; letter-spacing: -.03em; margin-top: 28px; }
.prose h3 { font-size: 1.35rem; font-weight: 800; margin-top: 8px; }
.prose ul, .prose ol { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }
.prose a { font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.callout { padding: 20px 22px; background: var(--b1); color: var(--on-b1); border: var(--edge); border-radius: 18px; box-shadow: 6px 6px 0 var(--ink); }
.callout strong { display: block; font: 800 1.3rem/1.2 var(--display); margin-bottom: 4px; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border: var(--edge); border-radius: 18px; overflow: hidden; box-shadow: 6px 6px 0 var(--ink); font-size: 1rem; }
.compare th, .compare td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 2px solid #E7DFCF; }
.compare thead th { background: var(--ink); color: var(--cream); font-family: var(--display); }
.compare tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; padding: 0 8px 8px 0; }
.sources { font-size: .95rem; color: var(--muted); }
.cta-band { background: var(--close); color: var(--on-close); border-top: var(--edge); padding-block: 56px; text-align: center; }
.cta-band .wrap { display: grid; justify-items: center; gap: 20px; }
.cta-band h2 { font-size: clamp(2.4rem, 10vw, 4.6rem); font-weight: 800; line-height: .95; letter-spacing: -.04em; }

/* Wide tables become stacked cards on phones; each cell shows its column name. */
@media (max-width: 640px) {
  .compare.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare.stack, .compare.stack tbody, .compare.stack tr, .compare.stack th, .compare.stack td { display: block; }
  .compare.stack tr { border-bottom: 2px solid #E7DFCF; padding: 6px 0 10px; }
  .compare.stack tr:last-child { border-bottom: 0; }
  .compare.stack th[scope="row"] { border: 0; padding: 10px 14px 4px; font: 800 1.15rem/1.2 var(--display); }
  .compare.stack td { border: 0; padding: 4px 14px; display: grid; grid-template-columns: 7.5em 1fr; gap: 10px; }
  .compare.stack td::before { content: attr(data-label); font-weight: 700; color: var(--muted); }
}

/* Writing index */
.post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.post-list a { display: grid; gap: 6px; padding: 20px 22px; background: var(--white); color: var(--ink); border: var(--edge); border-radius: 18px; box-shadow: 6px 6px 0 var(--ink); text-decoration: none; }
.post-list a:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.post-list strong { font: 800 clamp(1.3rem, 4.5vw, 1.7rem)/1.15 var(--display); }
.post-list span { color: var(--muted); }
.post-list .post-date { font-size: .9rem; font-weight: 700; }
