/* ============================================================
   Wise and Faithful redesign, article page (November 2026)
   Loads after redesign.css. Light header, one reading column,
   thin rules, one green accent. Sans serif only.
   ============================================================ */

.full-article {
  --measure: 700px;
  --side-w: 300px;
  --col-gap: 96px;
  --rail-top: calc(var(--nav-h) + 40px);
  --prose-size: 1.1875rem;   /* 19px */
  --accent-rule: color-mix(in srgb, var(--emerald) 38%, transparent);
}

/* ── Header ──────────────────────────────────────────────── */
.article-head { padding: 48px 0 0; background: transparent; color: var(--text); }
.article-head__inner { position: relative; }

.article-head .breadcrumbs { margin: 0 0 28px; font-size: .9rem; }
.article-head .breadcrumbs li,
.article-head .breadcrumbs li + li::before { color: var(--text-mid); }
.article-head .breadcrumbs a { color: var(--text-mid); font-weight: 500; }
.article-head .breadcrumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.article-head .breadcrumbs li[aria-current="page"] { font-weight: 400; max-width: 34ch; }
.article-head .breadcrumbs li + li::before { margin-right: 4px; }

.article-head .article-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 1.35rem + 2.9vw, 3.6rem);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -.032em;
  color: var(--ink);
  max-width: 22ch;
  margin: 0 0 22px;
  text-wrap: balance;
}
.article-head .article-lead {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--text-mid);
  max-width: 58ch;
  margin: 0;
  text-wrap: pretty;
}
.article-head .article-rating { margin-top: 18px; }

/* Byline row: avatar, then two groups on one quiet line under a thin rule.
   On phones the groups become two clean lines. */
.article-head .article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  max-width: var(--measure);
  margin: 32px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--rule);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-mid);
}
.article-meta__avatar {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 12px;
  background: var(--surface);
}
.article-meta__line { display: inline-flex; flex-wrap: nowrap; align-items: baseline; white-space: nowrap; }
.article-meta__line > * + *::before,
.article-meta__line + .article-meta__line > :first-child::before {
  content: "·";
  display: inline-block;
  margin: 0 .55em;
  color: var(--text-light);
  text-decoration: none;
}
.article-head .article-author { font-size: inherit; color: var(--ink); font-weight: 600; }
.article-head .article-meta time,
.article-head .reading-time { font-size: inherit; font-weight: 400; letter-spacing: 0; color: var(--text-mid); }
.article-head .article-meta .cat-badge {
  display: inline;
  padding: 0;
  background: none;
  border-radius: 0;
  font-size: inherit;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--emerald);
  text-decoration: none;
}
.article-head .article-meta .cat-badge:hover { text-decoration: underline; text-underline-offset: 3px; }
.article-head .article-meta .article-type {
  display: inline;
  font-size: inherit;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-mid);
  border: 0;
}

/* Hero image under the header */
.article-head__media { margin-top: 40px; }
.article-figure { margin: 0; }
.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2.4 / 1;
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: var(--radius-lg);
  background: var(--surface);
}

/* ── Layout ──────────────────────────────────────────────── */
.full-article > .article-layout { max-width: var(--max-w); }
.full-article .article-layout {
  grid-template-columns: minmax(0, var(--measure)) var(--side-w);
  justify-content: space-between;
  gap: var(--col-gap);
  padding-top: 56px;
  padding-bottom: 96px;
}
.article-head + .article-layout { padding-top: 56px; }

/* ── Table of contents ───────────────────────────────────
   Two copies: a collapsible <details> in the flow (phones and
   tablets) and a sticky list at the top of the rail (desktop). */
.article-toc {
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0;
}
.article-toc__label {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 620;
  letter-spacing: -.005em;
  text-transform: none;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 12px;
}
.article-toc__list { list-style: none; margin: 0; padding: 0; display: block; counter-reset: none; }
.article-toc__list li { display: block; margin: 0; counter-increment: none; }
.article-toc__list li::before { content: none; display: none; }
.article-toc__list a {
  display: block;
  padding: 6px 0;
  font-size: .95rem;
  font-weight: 450;
  line-height: 1.4;
  color: var(--text-mid);
  text-decoration: none;
}
.article-toc__list a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent-rule); text-underline-offset: 4px; }
[data-theme="dark"] .article-toc { background: none; border-color: var(--rule); }

/* Rail copy: thin left rule, sticky */
.article-rail__toc { flex: 1 0 auto; }
.article-toc--rail {
  position: sticky;
  top: var(--rail-top);
  max-height: calc(100vh - var(--rail-top) - 24px);
  overflow-y: auto;
  scrollbar-width: none;
  padding: 16px 0 2px;
  border-top: 1px solid var(--rule);
}
.article-toc--rail::-webkit-scrollbar { display: none; }

/* Quiz card under the contents list (funnel audit, Nov 23, 2026). The list and
   the card stick together; the list scrolls in whatever height the card leaves. */
.article-rail__sticky {
  position: sticky;
  top: var(--rail-top);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - var(--rail-top) - 24px);
}
.article-rail__sticky .article-toc--rail { position: static; max-height: none; flex: 0 1 auto; min-height: 0; }
.rail-quiz {
  flex: 0 0 auto;
  margin: 20px 0 0;
  padding: 18px 18px 20px;
  background: var(--surface);
  border-radius: 12px;
}
.article-sidebar:not(.article-sidebar--toc) .rail-quiz { margin: 0 0 24px; }
.rail-quiz__eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 6px; }
.rail-quiz__heading { font-family: var(--font-display); font-size: 1.05rem; font-weight: 640; line-height: 1.3; color: var(--ink); margin: 0 0 8px; }
.rail-quiz__text { font-size: .9rem; font-weight: 430; line-height: 1.5; color: var(--text-mid); margin: 0 0 14px; }
.rail-quiz__btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--emerald);
  color: #fff;
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
}
.rail-quiz__btn:hover { filter: brightness(1.08); }
.rail-quiz__btn:focus-visible { outline: 2px solid var(--emerald); outline-offset: 3px; }
[data-theme="dark"] .rail-quiz__btn { color: #0b1410; }
.article-toc--rail .article-toc__list li + li { margin-top: 10px; }
.article-toc--rail .article-toc__list a {
  position: relative;
  padding: 0;
  font-size: .95rem;
  line-height: 1.4;
  color: var(--text);
  transition: color .15s;
}
.article-toc--rail .article-toc__list a[aria-current] { color: var(--emerald); font-weight: 600; }
.article-toc--rail .article-toc__list a[aria-current]::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 1px;
  bottom: 1px;
  width: 2px;
  background: var(--emerald);
}

/* In-flow copy: hidden on desktop, collapsible below */
.article-toc--inline { display: none; }
.article-toc--inline > summary { list-style: none; cursor: pointer; }
.article-toc--inline > summary::-webkit-details-marker { display: none; }

/* ── Prose ───────────────────────────────────────────────── */
.full-article .prose {
  font-family: var(--font-sans);
  font-size: var(--prose-size);
  font-weight: 430;
  line-height: 1.7;
  color: var(--text);
  font-feature-settings: "kern", "liga";
}
.full-article .prose > :first-child { margin-top: 0; }
.full-article .prose p { margin: 0 0 1.25em; }
/* Opening paragraph: a quiet lead, no drop cap */
.full-article .article-content > .prose:first-of-type > p:first-child {
  font-size: 1.5rem;
  line-height: 1.5;
  font-weight: 450;
  color: var(--ink);
  letter-spacing: -.003em;
}
.full-article .prose strong { font-weight: 680; color: var(--ink); }
.full-article .prose em { font-weight: inherit; }

.full-article .prose h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 620;
  line-height: 1.15;
  letter-spacing: -.022em;
  color: var(--ink);
  margin: 72px 0 .55em;
  padding: 0;
  border: 0;
  scroll-margin-top: 16px;
}
.full-article .prose h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 620;
  line-height: 1.25;
  letter-spacing: -.012em;
  color: var(--ink);
  margin: 2em 0 .5em;
}
.full-article .prose h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 620;
  color: var(--ink);
  margin: 1.8em 0 .4em;
}

.full-article .prose a {
  color: var(--emerald);
  text-decoration: underline;
  text-decoration-color: var(--accent-rule);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: text-decoration-color .15s, color .15s;
}
.full-article .prose a:hover { color: var(--link-hover); text-decoration-color: currentColor; }
.full-article :is(.prose, .article-toc, .article-sidebar, .article-head, .article-author-card, .article-email-cta, .share-bar) a:focus-visible,
.full-article .share-btn:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 3px;
  border-radius: 3px;
}

.full-article .prose ul,
.full-article .prose ol { margin: 0 0 1.4em; padding-left: 1.3em; }
.full-article .prose li { margin-bottom: .5em; padding-left: .2em; }
.full-article .prose li::marker { color: var(--text-muted); }
.full-article .prose ol > li::marker { font-weight: 600; font-variant-numeric: tabular-nums; }
.full-article .prose li > ul,
.full-article .prose li > ol { margin: .5em 0 0; }

/* Section breaks: three quiet centred dots */
.full-article .prose hr {
  height: auto;
  border: 0;
  margin: 40px 0;
  overflow: visible;
  text-align: center;
  line-height: 1;
}
.full-article .prose hr::before {
  content: "\00B7\00B7\00B7";
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: .6em;
  margin-right: -.6em;
  color: var(--text-light);
}
[data-theme="dark"] .full-article .prose hr::before { color: var(--text-muted); }
.full-article .prose hr + * { margin-top: 0; }
/* A callout already closes its section, so a break straight after it is dropped */
.full-article .prose .callout + hr { display: none; }
.full-article .prose .callout + hr + h2 { margin-top: 72px; }
.full-article .prose .callout + hr + h3 { margin-top: 2em; }
.full-article .prose .callout + hr + p { margin-top: 1.25em; }

/* Tool callouts ("Calculate your tithe:" paragraphs, tagged in article.ejs) */
.full-article .prose p.callout {
  margin: 1.75em 0;
  padding: 18px 22px 18px 20px;
  background: var(--surface);
  border-left: 3px solid var(--forest);
  border-radius: 4px 12px 12px 4px;
  font-size: 1em;
  line-height: 1.65;
  color: var(--text);
}
.full-article .prose p.callout strong { color: var(--ink); }
[data-theme="dark"] .full-article .prose p.callout { border-left-color: var(--emerald); }

/* Blockquote: a thin green rule, plain type */
.full-article .prose blockquote {
  margin: 2em 0;
  padding: .1em 0 .1em 1.3em;
  border: 0;
  border-left: 2px solid var(--emerald);
  border-radius: 0;
  background: none;
  box-shadow: none;
  font-style: normal;
  font-size: 1em;
  color: var(--text);
}
.full-article .prose blockquote p:last-child { margin-bottom: 0; }
[data-theme="dark"] .full-article .prose blockquote { background: none; box-shadow: none; color: var(--text); }

/* Pull quote: display face, a short green rule above, no box */
.full-article .pull-quote {
  margin: 2.75rem 0;
  padding: 0;
  background: none;
  box-shadow: none;
  border: 0;
  border-radius: 0;
  font-family: var(--font-display);
  font-style: normal;
  font-size: 1.6rem;
  font-weight: 560;
  line-height: 1.3;
  letter-spacing: -.015em;
  color: var(--ink);
  text-wrap: balance;
}
.full-article .pull-quote::before {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  margin-bottom: 18px;
  background: var(--emerald);
}
[data-theme="dark"] .full-article .pull-quote { background: none; box-shadow: none; color: var(--ink); }

/* Tables: thin rules, no fills */
.full-article .prose table { width: 100%; border-collapse: collapse; margin: 2em 0; font-size: .9em; line-height: 1.5; font-variant-numeric: tabular-nums; }
.full-article .prose th,
.full-article .prose table th {
  background: none;
  color: var(--ink);
  font-size: .9em;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  text-align: left;
  vertical-align: bottom;
  padding: 10px 14px 10px 0;
  border-bottom: 1.5px solid var(--ink);
}
.full-article .prose td { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.full-article .prose tr:nth-child(even) td { background: none; }
[data-theme="dark"] .full-article .prose table th { background: none; color: var(--ink); border-bottom-color: var(--text-mid); }
[data-theme="dark"] .full-article .prose tr:nth-child(even) td { background: none; }
[data-theme="dark"] .full-article .prose td { border-bottom-color: var(--rule); }

.full-article .prose code { background: var(--surface); color: var(--ink); border-radius: 4px; padding: 1px 6px; }
.full-article .prose img { border-radius: var(--radius); }

/* Whiteboard diagrams: retuned to the new palette, straight corners */
.full-article .wfb {
  --wfb-bg: var(--surface);
  --wfb-line: var(--rule);
  --wfb-accent: var(--emerald);
  --wfb-ink: var(--ink);
  --wfb-muted: var(--text-mid);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  box-shadow: none;
  margin: 2.4em 0;
}
.full-article .wfb__eyebrow {
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 1rem;
  color: var(--ink);
}

/* ── Notices ─────────────────────────────────────────────── */
.full-article .ai-notice {
  margin: 0 0 36px;
  padding: 14px 18px;
  background: var(--surface);
  border: 0;
  border-radius: var(--radius);
  font-size: .95rem;
  color: var(--text-mid);
}
.full-article .affiliate-notice--bottom {
  margin-top: 48px;
  padding: 20px 0 0;
  border-top: 1px solid var(--rule);
  background: none;
  font-size: .9rem;
  color: var(--text-muted);
}
.full-article .affiliate-notice--bottom a { color: var(--emerald); }

/* ── FAQ block ───────────────────────────────────────────── */
.full-article .article-faq { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--rule); }
.full-article .article-faq h2 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 620; letter-spacing: -.018em; color: var(--ink); margin: 0 0 20px; }
.full-article .article-faq__item { padding: 18px 0; margin: 0; border-bottom: 1px solid var(--rule); }
.full-article .article-faq__item:last-child { border-bottom: 0; }
.full-article .article-faq__q { font-family: var(--font-display); font-size: 1.15rem; font-weight: 620; color: var(--ink); margin: 0 0 6px; }
.full-article .article-faq__a { font-size: 1.05rem; line-height: 1.65; color: var(--text-mid); }

/* ── Email signup card ───────────────────────────────────── */
.full-article .article-email-cta {
  margin: 56px 0 0;
  padding: 32px 32px 28px;
  text-align: left;
  background: var(--surface);
  border: 0;
  border-radius: var(--radius-lg);
}
[data-theme="dark"] .full-article .article-email-cta { background: var(--surface); border: 0; }
.full-article .article-email-cta__eyebrow {
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--emerald);
  margin: 0 0 6px;
}
.full-article .article-email-cta__heading {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 620;
  line-height: 1.2;
  letter-spacing: -.018em;
  color: var(--ink);
  margin: 0 0 10px;
  max-width: 34ch;
  text-wrap: pretty;
}
.full-article .article-email-cta__sub { font-size: 1rem; line-height: 1.6; color: var(--text-mid); margin: 0 0 22px; max-width: 54ch; }
.full-article .email-signup__form--inline .email-signup__fields { max-width: 520px; margin: 0 0 6px; gap: 10px; }
.full-article .email-signup__form--inline .email-signup__fields input[type="email"] {
  height: 50px;
  padding: 0 18px;
  font-size: 1rem;
  font-family: var(--font-sans);
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
}
[data-theme="dark"] .full-article .email-signup__form--inline .email-signup__fields input[type="email"] { background: #0f1412; border-color: var(--rule); color: var(--text); }
.full-article .email-signup__form--inline .email-signup__fields input[type="email"]:focus { outline: 2px solid var(--emerald); outline-offset: 1px; border-color: var(--emerald); }
.full-article .email-signup__form--inline .btn-primary { height: 50px; padding: 0 24px; }
.full-article .article-email-cta__peek { font-size: .95rem; margin: 14px 0 0; }

/* ── Share bar ───────────────────────────────────────────── */
.full-article .share-bar {
  gap: 4px 20px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}
.full-article .share-bar__label { font-size: .95rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ink); margin-right: 4px; }
.full-article .share-btn {
  min-height: 44px;
  padding: 0;
  gap: 7px;
  border: 0;
  background: none;
  font-size: .95rem;
  font-weight: 500;
  color: var(--text-mid);
}
.full-article .share-btn:hover,
.full-article .share-btn--facebook:hover,
.full-article .share-btn--email:hover,
.full-article .share-btn--x:hover { color: var(--ink); background: none; border: 0; }
.full-article .share-btn--copied { color: var(--emerald) !important; }

/* ── Author card ─────────────────────────────────────────── */
.full-article .article-author-card {
  gap: 20px;
  margin-top: 28px;
  padding: 28px 0 0;
  background: none;
  border: 0;
  border-top: 1px solid var(--rule);
  border-radius: 0;
}
[data-theme="dark"] .full-article .article-author-card { background: none; }
.full-article .article-author-card__img { width: 64px; height: 64px; border: 0; }
.full-article .article-author-card__name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 620; letter-spacing: -.01em; color: var(--ink); margin: 0 0 6px; }
.full-article .article-author-card__bio { font-size: 1rem; line-height: 1.6; color: var(--text-mid); margin: 0 0 10px; }
.full-article .article-author-card__link { font-size: .95rem; font-weight: 600; letter-spacing: 0; color: var(--emerald); text-decoration: underline; text-decoration-color: var(--accent-rule); text-underline-offset: 3px; }
.full-article .article-author-card__link:hover { text-decoration-color: currentColor; }

/* ── Rail ────────────────────────────────────────────────
   Desktop: the contents list sits at the top and stays in view for the
   whole article; About, Related, Calculators and the verse settle at the
   foot of the rail beside the end of the article, so the column is never
   empty. Without a contents list the cards stick instead. */
.full-article .article-sidebar {
  position: static;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}
.article-rail__more { margin-top: 72px; }
.article-sidebar:not(.article-sidebar--toc) .article-rail__more { position: sticky; top: var(--rail-top); margin-top: 0; }
.full-article .sidebar-card {
  background: none;
  padding: 22px 0 26px;
  border: 0;
  border-top: 1px solid var(--rule);
  border-radius: 0;
}
.article-sidebar:not(.article-sidebar--toc) .sidebar-card:first-child { border-top: 0; padding-top: 0; }
[data-theme="dark"] .full-article .sidebar-card { background: none; }
.full-article .sidebar-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 620;
  letter-spacing: -.005em;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 10px;
  padding: 0;
  border: 0;
}
.full-article .sidebar-card p { font-size: .95rem; font-weight: 430; line-height: 1.55; color: var(--text-mid); margin: 0 0 12px; }
.full-article .sidebar-card__link,
.full-article .sidebar-links a,
.full-article .related-list a {
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--emerald);
  text-decoration: none;
}
.full-article .sidebar-card__link:hover,
.full-article .sidebar-links a:hover,
.full-article .related-list a:hover { color: var(--link-hover); text-decoration: underline; text-decoration-color: var(--accent-rule); text-underline-offset: 3px; }
.full-article .sidebar-links,
.full-article .related-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.full-article .related-list li { padding: 0; border: 0; line-height: 1.4; }
.full-article .sidebar-links li { line-height: 1.4; }
.full-article .related-list a { color: var(--ink); }
.full-article .related-list a:hover { color: var(--emerald); }

.full-article .sidebar-verse { background: none; }
.full-article .sidebar-verse p {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: .95rem;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 8px;
}
.full-article .sidebar-verse cite { font-style: normal; font-size: .9rem; font-weight: 500; letter-spacing: 0; color: var(--text-muted); }

/* ── Read next ───────────────────────────────────────────── */
.read-next { background: var(--surface); border-top: 0; padding: 72px 0 80px; }
[data-theme="dark"] .read-next { background: var(--surface); }
.read-next > .container { max-width: var(--max-w); }
.read-next .cards-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
@media (max-width: 760px) { .read-next .cards-grid--3 { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
.read-next__heading { font-family: var(--font-display); font-size: 1.75rem; font-weight: 620; letter-spacing: -.02em; color: var(--ink); margin: 0 0 32px; }

/* ── Slide-in: same quiet card ───────────────────────────── */
.scroll-slide-in { background: #fff; color: var(--ink); border: 1px solid var(--rule); border-radius: var(--radius-lg); box-shadow: 0 12px 40px -12px rgba(17, 26, 21, .25); }
.scroll-slide-in__close { color: var(--text-muted); }
.scroll-slide-in__close:hover { color: var(--ink); }
.scroll-slide-in__eyebrow { font-size: .88rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--emerald); }
.scroll-slide-in__title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 620; line-height: 1.3; color: var(--ink); }
.scroll-slide-in__btn { background: var(--forest); color: #fff; border-radius: 999px; font-size: .92rem; font-weight: 600; padding: 12px 16px; }
.scroll-slide-in__btn:hover { background: #083a2c; }
[data-theme="dark"] .scroll-slide-in { background: var(--surface-2); border-color: var(--rule); box-shadow: 0 12px 40px -12px rgba(0, 0, 0, .6); }
[data-theme="dark"] .scroll-slide-in__btn { background: var(--emerald); color: #0b1410; }

/* ── Tablet and below ───────────────────────────────────── */
@media (max-width: 1100px) {
  .full-article { --col-gap: 56px; --side-w: 240px; }
}
@media (max-width: 960px) {
  .full-article .article-layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 40px; }
  .full-article .article-content { max-width: var(--measure); }

  .article-rail__toc { display: none; }
  .rail-quiz { display: none; }
  .article-toc--inline {
    display: block;
    margin: 0 0 40px;
    background: var(--surface);
    border-radius: 12px;
  }
  .article-toc--inline > summary {
    position: relative;
    display: block;
    margin: 0;
    padding: 16px 48px 16px 16px;
    min-height: 44px;
    border-radius: 12px;
  }
  .article-toc--inline > summary::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid var(--text-mid);
    border-bottom: 1.5px solid var(--text-mid);
    transform: translateY(-70%) rotate(45deg);
    transition: transform .15s;
  }
  .article-toc--inline[open] > summary::after { transform: translateY(-30%) rotate(-135deg); }
  .article-toc--inline > summary:focus-visible { outline: 2px solid var(--emerald); outline-offset: 2px; border-radius: 3px; }
  .article-toc--inline > summary:focus-visible { outline-offset: -2px; }
  .article-toc--inline .article-toc__list { padding: 0 16px 12px; }
  .article-toc--inline .article-toc__list li + li { border-top: 1px solid var(--rule); }
  .article-toc--inline .article-toc__list a { font-size: 1rem; padding: 11px 0; color: var(--text); }

  .full-article .article-sidebar {
    order: 1;
    display: block;
    max-width: var(--measure);
    margin-top: 56px;
  }
  .article-rail__more { position: static !important; margin-top: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
  .full-article .sidebar-card:first-child { border-top: 1px solid var(--rule); padding-top: 22px; }
  .article-figure img { aspect-ratio: 2 / 1; }
}

/* ── Phone ──────────────────────────────────────────────── */
@media (max-width: 640px) {
  .full-article { --prose-size: 1.125rem; }  /* 18px */
  .article-head { padding-top: 28px; }
  .article-head .breadcrumbs { margin-bottom: 20px; font-size: .875rem; }
  .article-head .breadcrumbs li[aria-current="page"] { display: none; }
  .article-head .article-title { font-size: clamp(1.95rem, 1.2rem + 3.6vw, 2.3rem); line-height: 1.08; letter-spacing: -.025em; margin-bottom: 14px; }
  .article-head .article-lead { font-size: 1.08rem; line-height: 1.55; }

  /* Byline: one line (avatar, author, date, read time). Topic and type
     are left to the breadcrumb. If a long date cannot fit, the date group
     wraps and its leading dot is clipped by the row. */
  .article-head .article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    row-gap: 2px;
    overflow: clip;
    margin-top: 22px;
    padding-top: 14px;
    font-size: .9375rem;   /* 15px */
  }
  .article-meta__avatar { width: 30px; height: 30px; margin: 0 10px 0 0; }
  .article-head .article-meta .article-meta__line--when .cat-badge,
  .article-head .article-meta .article-meta__line--when .article-type { display: none; }
  .article-head .article-meta .article-author { padding-right: 1.2em; }
  .article-meta__line--when { margin-left: -1.2em; }
  .article-meta__line + .article-meta__line > :first-child::before { width: 1.2em; margin: 0; text-align: center; }
  .article-head__media { margin-top: 24px; }
  .article-figure img { aspect-ratio: 4 / 3; object-position: 50% 40%; border-radius: var(--radius); }

  .full-article .article-layout { padding-top: 28px; padding-bottom: 64px; }
  .article-toc--inline { margin-bottom: 32px; }

  .full-article .prose { line-height: 1.68; }
  .full-article .prose p { margin-bottom: 1.1em; }
  .full-article .article-content > .prose:first-of-type > p:first-child { font-size: 1.25rem; line-height: 1.5; }
  .full-article .prose h2 { font-size: 1.6rem; line-height: 1.2; margin-top: 2.2em; }
  .full-article .prose h3 { font-size: 1.22rem; }
  .full-article .pull-quote { font-size: 1.32rem; margin: 2.25rem 0; }
  .full-article .prose table { font-size: .85em; }

  .full-article .article-email-cta { padding: 24px 20px; margin-top: 44px; }
  .full-article .article-email-cta__heading { font-size: 1.35rem; }
  .full-article .email-signup__form--inline .email-signup__fields { flex-direction: column; }
  .full-article .email-signup__form--inline .email-signup__fields input[type="email"] { flex: none; width: 100%; }
  .full-article .email-signup__form--inline .btn-primary { width: 100%; justify-content: center; }

  .full-article .article-author-card { flex-direction: row; gap: 16px; padding: 24px 0 0; }
  .full-article .article-author-card__img { width: 52px; height: 52px; }

  .full-article .article-sidebar { margin-top: 48px; }
  .article-rail__more { grid-template-columns: 1fr; }
  .read-next { padding: 52px 0 60px; }
  .read-next__heading { font-size: 1.45rem; margin-bottom: 24px; }
}

/* Final pass: the byline rule spans the same width as the hero image */
.article-head .article-meta { max-width: none; }

/* ============================================================
   Round 9 (Dan, 2026-11-18): sleeker, bolder accents.
   Green and gold on white and black. Tokens live in redesign.css.
   Contrast: white on --black 19:1, white .72 on --black ~10:1,
   --gold on --black 8.6:1, --green on white 10:1, --gold-ink on
   white 5.6:1, #e3b25a on --green 5.4:1, --black on --gold 8.6:1.
   ============================================================ */

/* ── Header band: full-bleed black, image overlaps its foot ── */
.full-article {
  /* half the hero image height on desktop (image is 2.4:1 inside the container) */
  --band-cut: calc(min(100vw - 64px, var(--max-w) - 64px) / 4.8);
}
.article-head {
  padding-top: 56px;
  color: #fff;
  background: linear-gradient(var(--black), var(--black)) top left / 100% calc(100% - var(--band-cut)) no-repeat;
}
.article-head:not(:has(.article-head__media)) { --band-cut: 0px; padding-bottom: 48px; }
.article-head .breadcrumbs li,
.article-head .breadcrumbs li + li::before { color: rgba(255,255,255,.62); }
.article-head .breadcrumbs a { color: rgba(255,255,255,.82); }
.article-head .breadcrumbs a:hover { color: #fff; }
.article-head .article-title { color: #fff; }
.article-head .article-lead { color: rgba(255,255,255,.72); }
.article-head .article-meta { border-top-color: rgba(255,255,255,.14); color: rgba(255,255,255,.7); }
.article-head .article-author { color: #fff; }
.article-head .article-meta time,
.article-head .reading-time,
.article-head .article-meta .article-type { color: rgba(255,255,255,.7); }
.article-meta__line > * + *::before,
.article-meta__line + .article-meta__line > :first-child::before { color: rgba(255,255,255,.4); }
.article-head .article-meta .cat-badge { color: var(--gold) !important; font-size: inherit; font-weight: 500; }
.article-head .article-meta .cat-badge:hover { color: #e2ad48 !important; }
.article-meta__avatar { box-shadow: 0 0 0 2px rgba(210,154,50,.55); }
.article-head .breadcrumbs a:focus-visible,
.article-head .article-meta a:focus-visible { outline-color: var(--gold); }
.article-head__media { margin-top: 44px; }
.article-figure img { box-shadow: 0 18px 36px -30px rgba(0,0,0,.4); }
[data-theme="dark"] .article-head { background-image: linear-gradient(#070a09, #070a09); }
[data-theme="dark"] .article-figure img { box-shadow: none; }

/* ── Body accents ───────────────────────────────────────── */
.full-article .prose a {
  color: var(--green);
  text-decoration-color: color-mix(in srgb, var(--gold) 55%, transparent);
  text-decoration-thickness: 2px;
}
.full-article .prose a:hover { color: var(--green); text-decoration-color: var(--gold); }
[data-theme="dark"] .full-article .prose a { color: var(--mint-on-dark); }
[data-theme="dark"] .full-article .prose a:hover { color: #a6e8c9; }

.full-article .prose h2::before {
  content: "";
  display: block;
  width: 32px;
  height: 3px;
  margin-bottom: 18px;
  background: var(--gold);
  border-radius: 2px;
}

.full-article .prose p.callout {
  background: var(--gold-soft);
  border-left: 3px solid var(--gold);
}
[data-theme="dark"] .full-article .prose p.callout { border-left-color: var(--gold); }

.full-article .pull-quote {
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--gold);
  color: var(--green);
  font-size: 1.65rem;
  font-weight: 600;
}
.full-article .pull-quote::before { content: none; display: none; }
[data-theme="dark"] .full-article .pull-quote { color: var(--mint-on-dark); }

.full-article .prose hr::before { color: var(--gold); }
[data-theme="dark"] .full-article .prose hr::before { color: var(--gold); }

.full-article .prose blockquote { border-left-color: var(--gold); }

/* ── Rail ───────────────────────────────────────────────── */
.article-toc--rail .article-toc__list a {
  padding-left: 0;
  transition: color .15s, padding-left .15s, box-shadow .15s;
}
.article-toc--rail .article-toc__list a[aria-current] {
  color: var(--green);
  font-weight: 600;
  padding-left: 12px;
  box-shadow: inset 3px 0 0 var(--gold);
}
.article-toc--rail .article-toc__list a[aria-current]::before { content: none; display: none; }
[data-theme="dark"] .article-toc--rail .article-toc__list a[aria-current] { color: var(--mint-on-dark); }
.article-toc__label, .full-article .sidebar-card h4 { color: var(--ink); }
.full-article .sidebar-card__link,
.full-article .sidebar-links a { color: var(--green); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--gold) 55%, transparent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.full-article .sidebar-card__link:hover,
.full-article .sidebar-links a:hover { color: var(--green); text-decoration-color: var(--gold); }
[data-theme="dark"] .full-article .sidebar-card__link,
[data-theme="dark"] .full-article .sidebar-links a { color: var(--mint-on-dark); }
.full-article .sidebar-verse cite { color: var(--gold-ink); }
.article-toc--inline > summary::after { border-color: var(--gold-ink); }

/* ── Email signup card: green, white type, gold button ──── */
.full-article .article-email-cta,
[data-theme="dark"] .full-article .article-email-cta { background: var(--green); color: #fff; }
.full-article .article-email-cta__eyebrow { color: #e3b25a; }
.full-article .article-email-cta__heading,
[data-theme="dark"] .full-article .article-email-cta__heading { color: #fff; }
.full-article .article-email-cta__sub { color: rgba(255,255,255,.82); }
.full-article .article-email-cta .btn-primary,
[data-theme="dark"] .full-article .article-email-cta .btn-primary { background: var(--gold); border-color: var(--gold); color: var(--black); }
.full-article .article-email-cta .btn-primary:hover { background: #e2ad48; border-color: #e2ad48; color: var(--black); }
.full-article .email-signup__form--inline .email-signup__fields input[type="email"],
[data-theme="dark"] .full-article .email-signup__form--inline .email-signup__fields input[type="email"] { background: #fff; border-color: transparent; color: #111a15; }
.full-article .email-signup__form--inline .email-signup__fields input[type="email"]::placeholder { color: #5d6a63; }
.full-article .email-signup__form--inline .email-signup__fields input[type="email"]:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
.full-article .article-email-cta__peek,
.full-article .article-email-cta__peek a { color: rgba(255,255,255,.85); }
.full-article .article-email-cta__peek a { text-decoration-color: var(--gold); }
/* Free download above the Map ask (Nov 23, 2026) */
.full-article .article-email-cta__gift { padding: 0 0 22px; margin: 0 0 22px; border-bottom: 1px solid rgba(255,255,255,.2); }
.full-article .article-email-cta__gift-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 640; line-height: 1.3; margin: 0 0 6px; }
.full-article .article-email-cta__gift-title a { color: #fff; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.full-article .article-email-cta__gift-title a:hover { text-decoration-color: #fff; }
.full-article .article-email-cta__gift-text { font-size: 1rem; line-height: 1.55; color: rgba(255,255,255,.82); margin: 0; max-width: 54ch; }
.full-article .article-email-cta .email-signup__status,
.full-article .article-email-cta .email-signup__status.is-success { color: #fff; }
.full-article .article-email-cta .email-signup__status.is-error,
[data-theme="dark"] .full-article .article-email-cta .email-signup__status.is-error { color: #ffd2cc; }
.full-article .article-email-cta a:focus-visible,
.full-article .article-email-cta .btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Share and author card: gold hover accents */
.full-article .share-btn:hover { color: var(--green); }
[data-theme="dark"] .full-article .share-btn:hover { color: var(--mint-on-dark); }
.full-article .article-author-card__img { box-shadow: 0 0 0 2px var(--gold); }
.full-article .article-author-card__link { color: var(--green); text-decoration-color: color-mix(in srgb, var(--gold) 55%, transparent); text-decoration-thickness: 2px; }
.full-article .article-author-card__link:hover { text-decoration-color: var(--gold); }
[data-theme="dark"] .full-article .article-author-card__link { color: var(--mint-on-dark); }

/* ── Read next: ink titles, gold-ink topics ─────────────── */
.read-next .card-title a { color: var(--ink); }
.read-next .card-title a:hover { color: var(--green); }
[data-theme="dark"] .read-next .card-title a:hover { color: var(--mint-on-dark); }
.read-next .card-meta .cat-badge { color: var(--gold-ink) !important; background: none !important; }
.read-next__heading::before {
  content: "";
  display: block;
  width: 32px;
  height: 3px;
  margin-bottom: 16px;
  background: var(--gold);
  border-radius: 2px;
}

/* Slide-in: black card, gold button */
.scroll-slide-in,
[data-theme="dark"] .scroll-slide-in { background: var(--black); border-color: rgba(255,255,255,.1); }
.scroll-slide-in__eyebrow { color: var(--gold); }
.scroll-slide-in__title { color: #fff; }
.scroll-slide-in__close { color: rgba(255,255,255,.7); }
.scroll-slide-in__close:hover { color: #fff; }
.scroll-slide-in__btn,
[data-theme="dark"] .scroll-slide-in__btn { background: var(--gold); color: var(--black); }
.scroll-slide-in__btn:hover { background: #e2ad48; color: var(--black); }

/* ── Tablet and phone band ──────────────────────────────── */
@media (max-width: 960px) {
  .full-article { --band-cut: calc((100vw - 64px) / 4); }
}
@media (max-width: 640px) {
  /* band ends at the top edge of the image */
  .full-article { --band-cut: calc((100vw - 40px) * .75); }
  .article-head { padding-top: 32px; }
  .article-head__media { margin-top: 28px; }
}

/* Callout: neutral surface with the gold rule (a gold tint on white reads as beige) */
.full-article .prose p.callout, .prose p.callout { background: var(--surface) !important; }
