/* ===================================================================
   Article template system for continuous, plain-language reading.

   Two width tiers, shared by every template:
     --post-width (1280px) = the shell: head, panels, bands.
     --measure    (52rem)  = the reading column: prose, hero, blockquotes.
   Nothing breaks out wider than the shell. Templates differ only in the
   modules they stack inside it.

   Templates (pick one per article, keyed to how it is read):
     post--guide        long walkthrough, broad banner and contents rail
     post--date-plan    practical first-meeting plan with numbered sections
     post--wellness-plan calm before/during/after reading rhythm
     post--essay        single-column narrative, larger prose
     post--checklist    ordered steps and a short closing list
     post--scripts      reusable phrases in the reading flow
     post--digest       evidence-led explanation with an answer-first opening
     post--qa        details/summary accordion answers
     post--places    open venue comparisons
     post--talk         quoted conversation prompts
     post--with-rail    optional context cards beside the article body
   Categories: data-topic = beginner | safety | wellness | wisdom
   (drives kicker chip colour; hub cards match via [data-category]).

   Adding a new article: copy any existing page, swap the two modifier
   classes, keep module markup from this file (.post-sec, .post-steps,
   .post-example, .post-note, .post-alert, .post-pair, .post-table-wrap,
   .post-checks, .post-qa), and place final CTA inside .post-bands.
   =================================================================== */

html {
  scroll-behavior: smooth;
}

/* Two-tier width system for every template:
   --post-width = the shell (head, hero, panels, bands);
   --measure    = the reading column prose wraps to, with room for larger screens.
   Templates differ only in which modules they stack inside the shell. */
:root {
  --post-width: 1280px;
  --measure: 52rem;
}

.post {
  background: var(--color-bg);
  color: var(--color-text);
  padding: 30px 0 88px;
}

.post-wrap {
  max-width: var(--post-width);
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* ---------- Breadcrumb ---------- */
.post-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 26px;
  font-size: 0.88rem;
  color: var(--color-text-light);
}

.post-crumb a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  padding: 9px 6px;
  margin: -9px -6px;
}

.post-crumb a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-crumb .sep {
  opacity: 0.45;
}

/* ---------- Head ---------- */
.post-kicker {
  margin: 0 0 14px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.post-kicker .dot {
  margin: 0 8px;
  color: var(--color-text-light);
  font-weight: 400;
}

.post-kicker .k-plain {
  color: var(--color-text-light);
  font-weight: 550;
}

.post-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.2vw, 3.15rem);
  font-weight: 520;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-text);
  max-width: 26em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.post-lede {
  margin: 0 0 14px;
  font-size: 1.25rem;
  line-height: 1.72;
  color: var(--color-text-muted);
  max-width: var(--measure);
}

/* ---------- Editorial Byline & Meta Strip ---------- */
.post-byline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 14px 0 24px;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  max-width: var(--measure);
}

.post-byline .byline-author {
  font-weight: 600;
  color: var(--color-text);
}

.post-byline .byline-dot {
  color: var(--color-border);
  font-weight: 400;
}

.post-byline .byline-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: var(--radius-chip);
  background: var(--color-secondary-bg);
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 600;
}

.post-byline .byline-time {
  color: var(--color-text-light);
  font-variant-numeric: tabular-nums;
}

/* ---------- Hero figure ----------
   Source photos ship at 600-880px; capping the hero to the measure keeps
   it crisp on retina and aligned with the prose column. */
.post-hero {
  margin: 30px 0 44px;
  max-width: var(--measure);
}

.post-hero img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: var(--color-surface-soft);
  box-shadow: var(--shadow-subtle);
}

.post-hero figcaption {
  margin-top: 12px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--color-text-light);
}

/* ---------- Layout ---------- */
.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.post-body {
  min-width: 0;
  max-width: none;
}

.post-body > :first-child {
  margin-top: 0;
}

/* ---------- Prose ----------
   Base prose uses :where() so every component class (tip boxes, cards,
   rails) overrides it without specificity fights. */
:where(.post-body) p {
  margin: 0 0 26px;
  font-size: 1.19rem;
  line-height: 1.85;
  max-width: var(--measure);
}

:where(.post-body) ul,
:where(.post-body) ol {
  margin: 0 0 28px;
  padding-left: 24px;
  font-size: 1.19rem;
  line-height: 1.85;
  max-width: var(--measure);
}

:where(.post-body) li {
  margin-bottom: 12px;
}

.post-body a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-body a:hover {
  color: var(--color-primary-hover);
}

.post-body strong {
  color: var(--color-text);
}

.post-body em,
.post-body i,
.post-body cite {
  font-style: normal;
}

.post-sec {
  margin: 64px 0 0;
  padding-top: 0;
  scroll-margin-top: 90px;
}

.post-sec:first-of-type {
  margin-top: 40px;
}

.post-h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 3vw, 2.4rem);
  font-weight: 650;
  line-height: 1.14;
  letter-spacing: -0.006em;
  color: var(--color-text);
  text-wrap: balance;
  max-width: var(--measure);
}

.post-sec .post-h2 {
  margin-top: 0;
}

.post-h3 {
  margin: 36px 0 14px;
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 600;
  line-height: 1.32;
  color: var(--color-primary);
}

/* Element-level fallbacks so plain prose needs no helper classes */
:where(.post-body) h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 2.8vw, 2.3rem);
  font-weight: 650;
  line-height: 1.14;
  letter-spacing: -0.006em;
  color: var(--color-text);
  text-wrap: balance;
  max-width: var(--measure);
}

:where(.post-body) h2:first-child {
  margin-top: 0;
}

:where(.post-body) h3 {
  margin: 36px 0 14px;
  font-family: var(--font-display);
  font-size: 1.36rem;
  font-weight: 600;
  line-height: 1.32;
  color: var(--color-primary);
}

:where(.post-body) img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Meta line under the head (migrated articles) */
.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin: 18px 0 0;
  font-size: 0.95rem;
  color: var(--color-text-light);
}

/* ---------- Band tier: CTA / recommendation / related, same shell ---------- */
.post-bands {
  max-width: var(--post-width);
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.post-bands .post-cta,
.post-bands .blog-recommendation-card {
  margin: 72px 0 0;
}

.post-bands .post-cta {
  padding: 52px 56px;
  border-radius: 14px;
}

.post-bands .post-related {
  margin-top: 72px;
  padding-top: 28px;
}

/* Panels inside the shell span the full shell width; prose stays at the
   measure. There is deliberately no tier wider than --post-width. */
.post--essay .post-body > .post-table-wrap,
.post--essay .post-body > .post-duo,
.post--essay .post-body > .post-pair,
.post--checklist .post-body > .post-table-wrap,
.post--checklist .post-body > .post-duo,
.post--checklist .post-body > .post-pair,
.post--checklist .post-body > .post-steps,
.post--scripts .post-body > .post-duo,
.post--scripts .post-body > .post-pair,
.post--digest .post-body > .blog-tips-grid,
.post--digest .post-body > .blog-quote-card,
.post--digest .post-body > .post-pair,
.post--digest .post-body > .post-alert {
  max-width: none;
}

/* Legacy recommendation card, re-composed as a band module */
.post-bands .blog-recommendation-card {
  display: grid;
  grid-template-areas:
    "badge btn"
    "title btn"
    "desc btn";
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 48px;
  row-gap: 4px;
  text-align: left;
  padding: 46px 52px;
  border-radius: 14px;
}

.post-bands .blog-recommendation-badge { grid-area: badge; margin-bottom: 4px; justify-self: start; }
.post-bands .blog-recommendation-title { grid-area: title; margin-bottom: 6px; }
.post-bands .blog-recommendation-desc { grid-area: desc; margin: 0; max-width: 560px; }
.post-bands .blog-recommendation-btn { grid-area: btn; }

.post-body blockquote {
  margin: 44px 0;
  max-width: var(--measure);
  padding: 8px 0 8px 24px;
  border-left: 3.5px solid var(--color-accent);
  border-radius: 0;
  background: transparent;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.3vw, 1.55rem);
  font-weight: 480;
  font-style: italic;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

/* ---------- Components ---------- */
.post-figure {
  margin: 34px 0;
}

.post-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  background: var(--color-surface-soft);
}

.post-figure figcaption {
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text-light);
}

.post-figure a {
  color: var(--color-primary);
  font-weight: 600;
}

/* Quote / example block: the actual words a reader can copy */
.post-example {
  margin: 30px 0;
  padding: 2px 0 2px 24px;
  border-left: 2px solid var(--color-border);
}

.post-example .q {
  display: block;
  margin: 0;
  font-size: 1.22rem;
  font-weight: 600;
  font-style: normal;
  line-height: 1.7;
  letter-spacing: -0.008em;
  color: var(--color-text);
}

.post-example .note {
  margin: 12px 0 0;
  font-size: 1.08rem;
  line-height: 1.72;
  color: var(--color-text-muted);
}

.post-example .note strong {
  color: var(--color-primary);
  font-weight: 650;
}

/* ---------- Key Decision Takeaways Box ---------- */
.post-takeaways {
  margin: 28px 0 38px;
  max-width: var(--measure);
  padding: 24px 28px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 4.5px solid var(--color-accent);
  border-radius: 12px;
  box-shadow: var(--shadow-subtle);
}

.post-takeaways-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.post-takeaways-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.post-takeaways-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--color-text);
}

.post-takeaways-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--color-accent);
}

/* ---------- Conversation Starter Prompt Cards ---------- */
.post-prompt-grid {
  display: grid;
  gap: 14px;
  margin: 24px 0 32px;
  max-width: var(--measure);
}

.post-prompt-card {
  padding: 18px 22px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 10px 10px 0;
  box-shadow: 0 2px 6px rgba(27, 40, 46, 0.03);
}

.post-prompt-quote {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 550;
  line-height: 1.5;
  color: var(--color-text);
}

.post-prompt-note {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--color-text-light);
}

/* ---------- Comfort & Safety Alert Box ---------- */
.post-safety-box {
  margin: 36px 0;
  max-width: var(--measure);
  padding: 22px 26px;
  background: var(--color-surface-soft);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: 12px;
}

.post-safety-title {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-safety-copy {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.68;
  color: var(--color-text-muted);
}

.post-note {
  margin: 34px 0;
  padding: 2px 0 2px 20px;
  border-left: 3px solid var(--color-accent);
  border-radius: 0;
  background: transparent;
  font-size: 1.18rem;
  line-height: 1.8;
  color: var(--color-text);
}

.post-note p:last-child {
  margin-bottom: 0;
}

.post-alert {
  margin: 34px 0;
  padding: 2px 0 2px 20px;
  border-left: 3px solid var(--color-primary);
  border-radius: 0;
  background: transparent;
}

.post-alert-title {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-primary);
}

.post-alert ul {
  margin: 0;
  padding-left: 22px;
  font-size: 1.18rem;
  line-height: 1.8;
}

.post-alert li {
  margin-bottom: 10px;
}

/* Numbered steps / checklist flow */
.post-steps {
  list-style: none;
  counter-reset: step;
  margin: 30px 0;
  padding: 0;
}

.post-steps > li {
  counter-increment: step;
  position: relative;
  margin: 0 0 30px;
  padding: 2px 0 2px 58px;
  font-size: 1.14rem;
  line-height: 1.8;
}

.post-steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 4px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-accent);
}

.post-steps h3 {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 1.26rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-text);
}

.post-steps p {
  margin: 0;
}

/* Two-voice comparison blocks (tone grid / personas), stacked plain */
.post-duo,
.post-trio {
  margin: 30px 0 36px;
}

.post-card {
  padding: 24px 0 0;
  border-top: 1px solid var(--color-border);
}

.post-card:first-child {
  padding-top: 0;
  border-top: 0;
}

.post-card .label {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-heading);
  font-size: 1.26rem;
  font-weight: 600;
  color: var(--color-primary);
}

.post-card .q {
  display: block;
  margin: 0 0 12px;
  font-size: 1.2rem;
  font-weight: 600;
  font-style: normal;
  line-height: 1.7;
  letter-spacing: -0.008em;
  color: var(--color-text);
}

.post-card .take {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.72;
  color: var(--color-text-muted);
}

/* Share / keep list pairs */
.post-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 44px;
  margin: 30px 0 36px;
}

.post-pair-col {
  padding: 22px 0 0;
  border-top: 1px solid var(--color-border);
}

.post-pair-col.share {
  background: none;
  border: none;
  border-top: 1px solid var(--color-border);
}

.post-pair-col.hold {
  background: none;
  border: none;
  border-top: 1px solid var(--color-border);
}

.post-pair-col h3 {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: 1.24rem;
  font-weight: 600;
}

.post-pair-col.share h3 {
  color: var(--color-primary);
}

.post-pair-col.hold h3 {
  color: var(--color-accent);
}

.post-pair-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 1.08rem;
  line-height: 1.75;
}

.post-pair-col li {
  margin-bottom: 12px;
  padding-left: 26px;
  position: relative;
}

.post-pair-col.share li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

.post-pair-col.hold li::before {
  content: "\2717";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

/* Comparison table */
.post-table-wrap {
  margin: 26px 0 32px;
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-surface);
}

.post-table-cards {
  display: none;
}

.post-table-card,
.review-table-card {
  margin: 0;
  padding: 14px 15px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.post-table-card > div + div,
.review-table-card > div + div {
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px solid var(--color-border-light);
}

.post-table-card dt,
.review-table-card dt {
  color: var(--color-text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.45;
}

.post-table-card dd,
.review-table-card dd {
  margin: 3px 0 0;
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.post-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 1.05rem;
  line-height: 1.7;
}

.post-table th {
  padding: 12px 16px;
  background: var(--color-secondary-bg);
  color: var(--color-primary-hover);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
}

.post-table td {
  padding: 14px 16px;
  border-top: 1px solid var(--color-border-light);
  vertical-align: top;
}

.post-table tbody tr:nth-child(even) {
  background: rgba(14, 90, 100, 0.035);
}

.post-table .bad {
  color: var(--color-text-light);
}

.post-table .good {
  color: var(--color-primary);
  font-weight: 600;
}

.post-table .why {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

/* Checklist card */
.post-checks {
  margin: 26px 0 32px;
  padding: 18px 0 14px;
  border: 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  background: transparent;
}

.post-checks h3 {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: 1.24rem;
  font-weight: 600;
  color: var(--color-text);
}

.post-checks ol {
  margin: 0;
}

/* ---------- Sticky rail (guide template) ---------- */
.post-rail {
  display: none;
}

.post-rail-inner {
  position: sticky;
  top: 92px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.post-rail-box {
  padding: 16px 18px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-surface);
  font-size: 0.84rem;
  line-height: 1.6;
}

.post-rail-box h2 {
  margin: 0 0 10px;
  padding: 0;
  border-bottom: none;
  font-size: 0.95rem;
  font-weight: 750;
  color: var(--color-text);
}

.post-rail-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.post-rail-box li strong {
  color: var(--color-accent);
}

.post-rail-cta {
  position: relative;
  padding: 26px 22px;
  border-radius: 10px;
  background: var(--color-dark-bg);
  overflow: hidden;
}

.post-rail-cta .rc-kicker {
  margin: 0 0 8px;
  font-size: 0.88rem;
  font-weight: 750;
  color: #E0A277;
}

.post-rail-cta .rc-text {
  margin: 0 0 16px;
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--color-dark-muted);
}

.post-rail-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: var(--radius-btn);
  background: var(--color-accent);
  color: #fff;
  font-size: 0.98rem;
  font-weight: 650;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.post-rail-cta a:hover {
  background: #7F3D1B;
  transform: translateY(-1px);
}

/* ---------- End-of-article blocks ---------- */
.post-cta {
  position: relative;
  margin: 64px 0 0;
  padding: 44px 48px;
  border: 0;
  border-radius: 10px;
  background: var(--color-dark-bg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.post-cta h2 {
  margin: 0 0 8px;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-dark-text);
}

.post-cta p {
  margin: 0;
  max-width: 44em;
  font-size: 1.06rem;
  line-height: 1.75;
  color: var(--color-dark-muted);
}

.post-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 36px;
  border-radius: 10px;
  background: var(--color-accent);
  color: #fff;
  font-size: 1.06rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.post-cta a:hover {
  background: #7F3D1B;
  transform: translateY(-1px);
}

.post-author {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--color-border);
  font-size: 1.04rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}

.post-author strong {
  color: var(--color-text);
}

.post-related {
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1.5px solid var(--color-text);
}

.post-related h2 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 650;
  color: var(--color-text);
}

.post-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.post-related-grid a {
  display: block;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-surface);
  text-decoration: none;
  transition: border-color 0.2s ease;
}

.post-related-grid a:hover {
  border-color: var(--color-primary);
}

.post-related-grid .thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 0;
  background: var(--color-surface-soft);
}

.post-related-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-related-grid .rel-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px 0;
  font-size: 0.88rem;
  color: var(--color-text-light);
}

.post-related-grid .rel-cat {
  display: inline-block;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 3px 9px;
  border-radius: var(--radius-chip);
}

.rel-cat--beginner { color: var(--color-topic-beginner); background: var(--color-topic-beginner-soft); }
.rel-cat--wisdom   { color: var(--color-topic-wisdom); background: var(--color-topic-wisdom-soft); }
.rel-cat--safety   { color: var(--color-topic-safety); background: var(--color-topic-safety-soft); }
.rel-cat--wellness { color: var(--color-topic-wellness); background: var(--color-topic-wellness-soft); }

.post-related-grid .t {
  margin: 0;
  padding: 8px 18px 6px;
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--color-text);
}

.post-related-grid .rel-snippet {
  margin: 0;
  padding: 0 18px 18px;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.post-related-grid a:hover .t {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ===================================================================
   Template modifiers
   =================================================================== */

/* Guide: prose column + sticky rail, both inside the shared shell.
   Body column lands on the measure; the rail takes the remainder. */
.post--guide .post-layout {
  grid-template-columns: minmax(0, 1fr) 236px;
  gap: 48px;
}

.post--guide .post-rail {
  display: block;
  align-self: stretch;
}

.post--essay .post-title {
  font-size: clamp(2.05rem, 4.2vw, 2.75rem);
  max-width: 24em;
}

.post--essay .post-lede {
  font-size: 1.3rem;
}

.post--essay .post-body p {
  font-size: 1.26rem;
  line-height: 1.9;
}

.post--essay .post-h2 {
  font-size: 1.85rem;
  border-top: 0;
}

.post--essay .post-body blockquote {
  border-left: 0;
  border-radius: 10px;
  padding: 26px;
  font-size: 1.42rem;
  line-height: 1.6;
  text-align: center;
  color: var(--color-primary);
}

.post--essay .post-sec {
  margin-top: 52px;
}

/* Reusable phrases stay in the article's reading flow. */
.post--scripts .post-example {
  margin: 26px 0;
  padding: 2px 0 2px 20px;
  border: 0;
  border-left: 2px solid var(--color-border);
  border-radius: 0;
  background: transparent;
}

.post--scripts .post-example .q {
  font-size: 1.26rem;
}

.post--scripts .post-example .note {
  margin-top: 10px;
  padding-top: 0;
  border-top: 0;
  font-size: 1.02rem;
}

/* Older checklist pages use the same open numbered list as other articles. */
.post--checklist .post-steps > li {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--color-border);
  border-radius: 0;
  margin-bottom: 14px;
  padding: 10px 0 10px 42px;
  font-size: 1.12rem;
}

.post--checklist .post-steps > li::before {
  left: 0;
  top: 10px;
  min-width: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-accent);
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 650;
}

/* Digest: quick-read tip article, left head with category chip */
.post--digest .post-kicker {
  margin-bottom: 18px;
}

.post--digest .post-kicker a {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 8px;
  background: var(--color-topic-beginner-soft);
  color: var(--color-topic-beginner);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.post--digest .post-hero figcaption {
  font-size: 1rem;
}

/* QA: accordion answers, no extra script needed */
.post-qa {
  margin: 30px 0 40px;
  display: grid;
  gap: 0;
}

.post-qa details {
  border: 0;
  border-top: 1px solid var(--color-border);
  border-radius: 0;
  background: transparent;
}

.post-qa details:last-child {
  border-bottom: 1px solid var(--color-border);
}

.post-qa summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 16px 38px 16px 0;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--color-text);
}

.post-qa summary::-webkit-details-marker {
  display: none;
}

.post-qa summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--color-accent);
}

.post-qa details[open] summary::after {
  content: "\2212";
}

.post-qa details[open] summary {
  border-bottom: 0;
}

.post-qa .qa-a {
  padding: 0 0 18px;
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--color-text-muted);
}

.post-qa .qa-a p {
  margin: 0 0 14px;
}

.post-qa .qa-a p:last-child {
  margin-bottom: 0;
}

/* ---------- Category chip colours (kicker + hub share these) ---------- */
.post--digest[data-topic="safety"] .post-kicker a {
  background: var(--color-topic-safety-soft);
  color: var(--color-topic-safety);
}

.post--digest[data-topic="wellness"] .post-kicker a {
  background: var(--color-topic-wellness-soft);
  color: var(--color-topic-wellness);
}

.post--digest[data-topic="wisdom"] .post-kicker a {
  background: var(--color-topic-wisdom-soft);
  color: var(--color-topic-wisdom);
}

/* ---------- Focus & motion ---------- */
.post a:focus-visible,
.post button:focus-visible,
.post summary:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .post--guide .post-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .post--guide .post-rail {
    display: none;
  }

  .post-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  /* Related cards: title and snippet first, image at the bottom */
  .post-related-grid a {
    display: flex;
    flex-direction: column;
  }

  .post-related-grid .rel-meta {
    order: 0;
    padding-top: 16px;
  }

  .post-related-grid .t {
    order: 1;
  }

  .post-related-grid .rel-snippet {
    order: 2;
    padding-bottom: 16px;
  }

  .post-related-grid .thumb {
    order: 3;
    margin: 0 12px 12px;
    width: auto;
  }
  .post {
    padding: 20px 0 64px;
  }

  .post-wrap,
  .post-bands {
    padding: 0 16px;
  }

  .post-bands .post-cta,
  .post-bands .blog-recommendation-card {
    margin-top: 52px;
  }

  .post-bands .blog-recommendation-card {
    display: block;
    padding: 32px 24px;
  }

  .post-bands .blog-recommendation-desc {
    margin-bottom: 20px;
  }

  .post-bands .blog-recommendation-btn {
    width: 100%;
  }

  .post-duo,
  .post-pair {
    grid-template-columns: minmax(0, 1fr);
  }

  .post-table th,
  .post-table td {
    padding: 10px 12px;
    font-size: 0.88rem;
  }

  .post-table-wrap.has-mobile-cards {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .post-table-wrap.has-mobile-cards > .post-table {
    display: none;
  }

  .post-table-wrap.has-mobile-cards > .post-table-cards {
    display: grid;
    gap: 12px;
  }

  .post-cta {
    padding: 24px;
  }

  .post-cta a {
    width: 100%;
    justify-content: center;
  }

  .post-related-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .post-steps > li {
    padding-left: 48px;
  }
}

/* ===================================================================
   First-date cluster signature modules
   =================================================================== */

/* Venue comparisons use open rows so the details read like an article, not a tile grid. */
.post--places .post-body > .post-idea-grid {
  max-width: none;
}

.post-idea-grid {
  display: block;
  margin: 28px 0 36px;
}

.post-idea-card {
  display: grid;
  grid-template-columns: minmax(150px, 0.48fr) minmax(0, 1fr);
  column-gap: 28px;
  padding: 18px 0 14px;
  border: 0;
  border-top: 1px solid var(--color-border);
  border-radius: 0;
  background: transparent;
}

.post-idea-card h3 {
  grid-row: 1 / span 3;
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 620;
  color: var(--color-text);
}

.post-idea-row {
  display: grid;
  grid-template-columns: minmax(96px, 0.32fr) minmax(0, 1fr);
  align-items: baseline;
  gap: 12px;
  margin: 0 0 7px;
  font-size: 0.97rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.post-idea-label {
  font-size: 0.83rem;
  font-weight: 650;
  letter-spacing: 0;
  padding: 0;
  border-radius: 0;
  background: transparent !important;
  color: var(--color-text-light) !important;
}

/* Conversation prompts stay in the article's voice instead of mimicking chat bubbles. */
.post-ask {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin: 28px 0 30px;
}

.post-ask p {
  margin: 0;
  max-width: var(--measure);
  padding: 12px 0 12px 20px;
  border: 0;
  border-left: 2px solid var(--color-border);
  border-radius: 0;
  background: transparent;
  font-size: 1.06rem;
  font-weight: 500;
  line-height: 1.65;
  color: var(--color-text);
}

/* Track: numbered restart stages (essay) */
.post-track {
  list-style: none;
  counter-reset: track;
  margin: 28px 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.post-track li {
  position: relative;
  counter-increment: track;
  padding: 10px 0 10px 40px;
  border: 0;
  border-top: 1px solid var(--color-border);
  border-radius: 0;
  background: transparent;
  font-size: 1.02rem;
  line-height: 1.65;
}

.post-track li::before {
  content: counter(track);
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 650;
}

/* Check: tick-box final list (post--checklist) */
.post-check {
  list-style: none;
  margin: 26px 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.post-check li {
  position: relative;
  display: block;
  padding: 12px 0 12px 38px;
  border: 0;
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  background: transparent;
  font-size: 1.02rem;
  line-height: 1.6;
}

.post-check li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 15px;
  width: 17px;
  height: 17px;
  border: 1.5px solid var(--color-primary);
  border-radius: 2px;
}

@media (max-width: 680px) {
  .post-idea-row {
    grid-template-columns: minmax(90px, 0.38fr) minmax(0, 1fr);
    gap: 8px;
  }

  .post-idea-card { grid-template-columns: 1fr; row-gap: 8px; }
  .post-idea-card h3 { grid-row: auto; }
}

/* ===================================================================
   Motion discipline + numeric polish (tokens from styles.css)
   =================================================================== */

.post-related-grid a {
  transition: border-color var(--dur) var(--ease-out),
    transform var(--dur) var(--ease-out);
}

.post-related-grid a:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.post-cta a {
  transition: background-color var(--dur) var(--ease-out),
    transform var(--dur) var(--ease-out),
    box-shadow var(--dur) var(--ease-out);
}

.post-cta a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(14, 90, 100, 0.24);
}

.post-cta a:active {
  transform: translateY(0);
  box-shadow: none;
}

.post-kicker,
.post .hub-meta,
.rel-meta {
  font-variant-numeric: tabular-nums;
}

/* ===================================================================
   Reader-first article pass: clear openings, usable navigation, less clutter
   =================================================================== */
.post-kicker {
  margin-bottom: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  text-transform: none;
  color: var(--color-text-muted);
}

.post-kicker a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-color: var(--color-border);
  text-underline-offset: 0.16em;
}

.post-kicker .dot,
.post-kicker .k-plain {
  display: none;
}

.post-title {
  line-height: 1.13;
}

.post-lede {
  margin-bottom: 18px;
  font-size: clamp(1.2rem, 2vw, 1.32rem);
  line-height: 1.62;
}

.post-hero {
  margin: 24px 0 30px;
}

.post-hero img {
  border-radius: 4px;
}

:where(.post-body) p {
  margin-bottom: 22px;
  line-height: 1.76;
}

:where(.post-body) ul,
:where(.post-body) ol {
  margin-bottom: 24px;
  line-height: 1.76;
}

.post-body h2,
.post-body .post-h2 {
  scroll-margin-top: 110px;
}

.review-contents {
  max-width: var(--measure);
  margin: 28px 0 30px;
  padding: 14px 18px 10px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-surface);
  font-size: 1rem;
}

.review-contents-inline-title {
  margin: 0 0 8px;
  color: var(--color-primary);
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.4;
}

.review-contents nav {
  padding: 0 0 4px;
}

.review-contents ul {
  display: block;
  columns: 2;
  column-gap: 32px;
  margin: 0;
  padding-left: 22px;
}

.review-contents li {
  break-inside: avoid;
  margin: 0 0 5px;
  padding-right: 8px;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.48;
}

.review-contents a {
  display: inline-block;
  padding: 3px 0;
  color: var(--color-text);
  text-decoration-color: var(--color-border);
  text-underline-offset: 0.16em;
}

.review-contents a:hover {
  color: var(--color-primary);
  text-decoration-color: currentColor;
}

.post-related-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.post-related-grid a,
.post-related-grid a:hover {
  display: block;
  overflow: visible;
  padding: 15px 0 17px;
  border: 0;
  border-top: 1px solid var(--color-border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.post-related-grid .thumb {
  display: none;
}

.post-related-grid .rel-meta {
  display: block;
  margin: 0 0 4px;
  padding: 0;
  font-size: 0.93rem;
}

.post-related-grid .rel-cat {
  padding: 0;
  border-radius: 0;
  background: transparent !important;
  color: var(--color-text-muted) !important;
  font-size: 0.92rem;
  font-weight: 600;
}

.post-related-grid .t {
  margin: 0 0 4px;
  padding: 0;
  font-size: 1.12rem;
  line-height: 1.42;
  text-decoration: underline;
  text-decoration-color: var(--color-border);
  text-underline-offset: 0.16em;
}

.post-related-grid .rel-snippet {
  max-width: var(--measure);
  margin: 0;
  padding: 0;
  font-size: 1rem;
  line-height: 1.58;
}

.post-related-grid a:hover .t {
  color: var(--color-primary);
  text-decoration-color: currentColor;
}

.post-cta {
  border-radius: 4px;
}

@media (max-width: 680px) {
  .review-contents ul {
    columns: 1;
  }

  .post-title {
    font-size: clamp(2rem, 8.2vw, 2.5rem);
    line-height: 1.16;
  }

  .post-lede {
    font-size: 1.18rem;
    line-height: 1.62;
  }

  .post-related-grid a {
    display: block;
  }
}

/* ===================================================================
   2026 article system: wider shell, distinct reading modes, restrained panels
   =================================================================== */
:root {
  --post-width: 1280px;
  --measure: 52rem;
}

.post {
  padding-top: 34px;
}

.post-wrap {
  max-width: var(--post-width);
}

.post-head {
  max-width: 1040px;
  margin: 0 auto 38px;
}

.post-title {
  max-width: 24ch;
  font-size: clamp(2.55rem, 4.2vw, 3.45rem);
  line-height: 1.1;
}

.post-lede {
  max-width: 48rem;
  font-size: clamp(1.2rem, 2vw, 1.38rem);
  line-height: 1.68;
}

:where(.post-body) p,
:where(.post-body) ul,
:where(.post-body) ol {
  max-width: var(--measure);
}

.post--guide .post-layout {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 278px);
  gap: clamp(36px, 4vw, 54px);
}

.post--guide .post-rail {
  display: block;
}

.post-rail-inner {
  gap: 14px;
}

.post-rail-box {
  padding: 18px 19px;
  border-color: var(--color-border);
  border-radius: 12px;
  background: var(--color-surface);
  font-size: 0.98rem;
  line-height: 1.62;
}

.post-rail-box h2 {
  margin-bottom: 11px;
  font-size: 1.06rem;
}

.post-rail-box li {
  font-size: 0.98rem;
  line-height: 1.5;
}

.post-rail-cta {
  padding: 21px 19px;
  border-radius: 12px;
}

/* Guides: practical reference with a broad banner and an in-flow reading rail. */
.post--guide .post-head {
  max-width: 1080px;
  padding: 30px 34px 32px;
  border: 1px solid var(--color-secondary-border);
  border-left: 5px solid var(--color-primary);
  border-radius: 14px;
  background: var(--color-surface);
}

/* Essays: quiet title area, open prose and a calmer reading measure. */
.post--essay .post-head {
  max-width: 940px;
  padding: 0 0 25px;
  border-bottom: 1px solid var(--color-border);
}

.post--essay .post-body p {
  max-width: 48rem;
}

.post--essay .post-body h2,
.post--essay .post-body .post-h2 {
  max-width: 26ch;
  margin-top: 2.1em;
  color: var(--color-text);
}

.post--essay .post-body blockquote {
  max-width: 46rem;
  padding: 8px 0 8px 25px;
  border-left-width: 4px;
  font-size: clamp(1.3rem, 2.4vw, 1.55rem);
}

/* Scripts and examples: visibly reusable wording without turning the whole page into cards. */
.post--scripts .post-head {
  max-width: 1000px;
  padding: 25px 30px 27px;
  border-radius: 12px;
  background: var(--color-accent-soft);
}

.post--scripts .post-example {
  max-width: 50rem;
  margin: 25px 0 29px;
  padding: 16px 19px 17px;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 11px 11px 0;
  background: var(--color-surface);
}

.post--scripts .post-example .q {
  font-size: 1.2rem;
  line-height: 1.62;
}

.post--scripts .post-example .note {
  margin-top: 8px;
  font-size: 1rem;
  line-height: 1.6;
}

.post--scripts .post-steps > li {
  padding-top: 12px;
  padding-bottom: 12px;
  border-top: 1px solid var(--color-border-light);
}

/* Checklists: compact steps, visible completion marks and task-focused callouts. */
.post--checklist .post-head {
  max-width: 1030px;
  padding: 27px 32px 29px;
  border: 1px solid var(--color-secondary-border);
  border-radius: 13px;
  background: linear-gradient(110deg, var(--color-secondary-bg), var(--color-surface) 78%);
}

.post--checklist .post-checks {
  max-width: 50rem;
  padding: 19px 21px 16px;
  border: 1px solid var(--color-secondary-border);
  border-radius: 12px;
  background: var(--color-secondary-bg);
}

.post--checklist .post-check {
  max-width: 50rem;
  gap: 7px;
}

.post--checklist .post-check li {
  padding: 12px 14px 12px 42px;
  border: 1px solid var(--color-border-light);
  border-radius: 9px;
  background: var(--color-surface);
  font-size: 1.06rem;
  line-height: 1.55;
}

.post--checklist .post-check li::before {
  left: 14px;
  top: 16px;
}

.post--checklist .post-steps > li {
  margin-bottom: 17px;
  padding: 13px 16px 14px 60px;
  border: 1px solid var(--color-border-light);
  border-radius: 11px;
  background: var(--color-surface);
}

.post--checklist .post-steps > li::before {
  left: 14px;
  top: 13px;
}

/* Digest/explainer pages: answer-first opening and light section rhythm. */
.post--digest .post-head {
  max-width: 990px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--color-secondary-border);
}

.post--digest .post-body > p:first-of-type {
  max-width: 50rem;
  padding: 18px 21px;
  border-left: 4px solid var(--color-primary);
  border-radius: 0 10px 10px 0;
  background: var(--color-secondary-bg);
}

.post--digest .post-body > h2:first-of-type,
.post--digest .post-body > .post-h2:first-of-type {
  margin-top: 34px;
}

/* Venue guides: comparison entries get a soft edge, while prose stays unboxed. */
.post--places .post-head {
  max-width: 1080px;
  padding-bottom: 25px;
  border-bottom: 2px solid var(--color-primary);
}

.post--places .post-body > p:has(> strong:first-child) {
  max-width: 53rem;
  margin: 22px 0;
  padding: 15px 19px;
  border-left: 3px solid var(--color-primary);
  border-radius: 0 10px 10px 0;
  background: var(--color-surface);
}

.post--places .post-body > p:has(> strong:first-child) > strong:first-child {
  color: var(--color-primary);
}

/* Conversation advice: prompt lines are separate from explanatory prose. */
.post--talk .post-head {
  max-width: 1040px;
  padding: 24px 30px 26px;
  border: 1px solid var(--color-secondary-border);
  border-radius: 13px;
  background: var(--color-secondary-bg);
}

.post--talk .post-ask {
  max-width: 49rem;
  gap: 9px;
  margin: 25px 0 30px;
}

.post--talk .post-ask p {
  width: 100%;
  padding: 13px 17px;
  border: 1px solid var(--color-secondary-border);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 10px 10px 0;
  background: var(--color-secondary-bg);
  font-size: 1.08rem;
}

/* FAQ items read as standalone answers instead of one unbroken accordion. */
.post-qa {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 11px;
}

.post-qa details,
.post-qa details:last-child {
  padding: 0 17px;
  border: 1px solid var(--color-border);
  border-radius: 11px;
  background: var(--color-surface);
}

.post-qa summary {
  min-height: 60px;
  padding: 14px 34px 14px 0;
  font-size: 1.08rem;
}

.post-qa summary::after {
  right: 2px;
}

.post-qa .qa-a {
  padding-bottom: 16px;
  font-size: 1rem;
}

.post-body > h2#faq ~ p:has(> strong:first-child) {
  max-width: 50rem;
  margin: 0 0 10px;
  padding: 15px 18px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-surface);
  font-size: 1.02rem;
  line-height: 1.62;
}

.post-faq-list {
  display: grid;
  max-width: 50rem;
  gap: 10px;
  margin: 0 0 20px;
}

.post-faq-item {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 11px;
  background: var(--color-surface);
}

.post-faq-summary {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  color: var(--color-text);
  font-size: 1.08rem;
  font-weight: 650;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}

.post-faq-summary::-webkit-details-marker {
  display: none;
}

.post-faq-icon {
  display: grid;
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  place-items: center;
  border: 1px solid var(--color-secondary-border);
  border-radius: 50%;
  color: var(--color-primary);
}

.post-faq-icon::before {
  content: "+";
  font-size: 1.2rem;
  line-height: 1;
}

.post-faq-item[open] > .post-faq-summary .post-faq-icon::before {
  content: "−";
}

.post-faq-summary:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: -4px;
}

.post-faq-question {
  flex: 1;
}

.post-faq-answer {
  padding: 0 18px 15px;
  border-top: 1px solid var(--color-border-light);
}

.post-faq-answer > :first-child {
  margin-top: 12px;
}

.post-faq-answer > :last-child {
  margin-bottom: 3px;
}

.post-faq-answer p {
  max-width: 50rem;
  font-size: 1.02rem;
  line-height: 1.62;
}

.post-body > h2#a-few-common-questions ~ h3 {
  max-width: 50rem;
  margin: 10px 0 0;
  padding: 15px 18px 4px;
  border: 1px solid var(--color-border);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 1.08rem;
}

.post-body > h2#a-few-common-questions ~ h3 + p {
  max-width: 50rem;
  margin: 0 0 10px;
  padding: 4px 18px 16px;
  border: 1px solid var(--color-border);
  border-top: 0;
  border-radius: 0 0 10px 10px;
  background: var(--color-surface);
  font-size: 1.02rem;
  line-height: 1.62;
}

.post-rail-inner > .review-contents-rail {
  position: static;
  max-width: none;
  margin: 0;
  padding: 0 16px 14px;
  border: 1px solid var(--color-border);
  border-radius: 11px;
  background: var(--color-surface);
  font-size: 0.96rem;
}

.post-rail-inner > .review-contents-rail > summary {
  min-height: 50px;
  padding: 12px 28px 12px 0;
  color: var(--color-primary);
  font-size: 1rem;
}

.post-rail-inner > .review-contents-rail > nav ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.post-rail-inner > .review-contents-rail > nav li {
  margin: 0;
  padding: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.post-rail-inner > .review-contents-rail > nav a {
  display: block;
  min-height: 36px;
  padding: 6px 0;
  color: var(--color-text);
  text-underline-offset: 0.16em;
}

@media (max-width: 1020px) {
  .post--guide .post-layout {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 250px);
    gap: 32px;
  }
}

@media (max-width: 860px) {
  .post--guide .post-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .post--guide .post-rail {
    display: none;
  }

  .post-head {
    margin-bottom: 30px;
  }

  .post--guide .post-head,
  .post--scripts .post-head,
  .post--checklist .post-head,
  .post--talk .post-head {
    padding: 22px 22px 24px;
  }
}

@media (max-width: 680px) {
  .post {
    padding-top: 23px;
  }

  .post-title {
    font-size: clamp(2.05rem, 9vw, 2.7rem);
    line-height: 1.14;
  }

  .post--essay .post-head {
    padding-bottom: 19px;
  }

  .post--checklist .post-steps > li {
    padding-left: 52px;
  }

  .post--checklist .post-steps > li::before {
    left: 11px;
  }

  .post-qa {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Editorial layouts for the articles that need a useful companion rail. */
.post--with-rail .post-layout {
  grid-template-columns: minmax(0, 1fr) minmax(250px, 286px);
  gap: clamp(34px, 4vw, 56px);
}

.post--with-rail .post-rail {
  display: block;
}

.post--with-rail .post-rail-inner {
  position: sticky;
  top: 104px;
}

.post-rail-box {
  font-size: 1rem;
  line-height: 1.62;
}

.post-rail-box p,
.post-rail-box li {
  font-size: 1rem;
}

.post-rail-box p:last-child {
  margin-bottom: 0;
}

.post-rail-box a {
  text-underline-offset: 0.17em;
}

.post-rail-note {
  border-color: var(--color-secondary-border);
  background: var(--color-secondary-bg);
}

.post-rail-alert {
  border-color: var(--color-topic-safety-soft);
  border-top: 4px solid var(--color-topic-safety);
  background: var(--color-topic-safety-soft);
}

/* A first-coffee article reads like a meeting plan, with numbered decisions. */
.post--date-plan .post-head {
  max-width: 1080px;
  padding: 30px 34px 32px;
  border: 1px solid var(--color-secondary-border);
  border-bottom: 4px solid var(--color-primary);
  border-radius: 14px;
  background: linear-gradient(115deg, var(--color-secondary-bg), var(--color-surface) 76%);
}

.post--date-plan .post-hero {
  max-width: 58rem;
  margin: 26px auto 40px;
}

.post--date-plan .post-body {
  counter-reset: coffee-plan;
}

.post--date-plan .post-sec {
  counter-increment: coffee-plan;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.post--date-plan .post-sec .post-h2::before {
  content: counter(coffee-plan, decimal-leading-zero);
  display: inline-block;
  margin-right: 12px;
  padding: 3px 7px;
  border: 1px solid var(--color-secondary-border);
  border-radius: 6px;
  color: var(--color-primary);
  font-size: 0.76em;
  font-variant-numeric: tabular-nums;
  vertical-align: 0.12em;
}

.post--date-plan .post-ask {
  max-width: 50rem;
  display: grid;
  gap: 8px;
  margin: 20px 0 28px;
}

.post--date-plan .post-ask p {
  width: 100%;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 9px 9px 0;
  background: var(--color-surface);
  font-size: 1.08rem;
}

/* Anxiety support is a calm before, during and after plan, not a warning list. */
.post--wellness-plan .post-head {
  max-width: 1060px;
  padding: 29px 34px 31px;
  border: 1px solid #D7CBDE;
  border-left: 5px solid var(--color-topic-wellness);
  border-radius: 14px;
  background: linear-gradient(115deg, var(--color-topic-wellness-soft), var(--color-surface) 78%);
}

.post--wellness-plan .post-hero {
  max-width: 58rem;
  margin: 26px auto 42px;
}

.post--wellness-plan .post-body {
  counter-reset: calm-plan;
}

.post--wellness-plan .post-sec {
  counter-increment: calm-plan;
  max-width: 54rem;
  margin: 38px 0 0;
  padding: 0 0 8px 24px;
  border-left: 2px solid var(--color-topic-wellness-soft);
}

.post--wellness-plan .post-sec .post-h2::before {
  content: counter(calm-plan);
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin-right: 12px;
  place-items: center;
  border-radius: 50%;
  background: var(--color-topic-wellness-soft);
  color: var(--color-topic-wellness);
  font-size: 0.78em;
  font-variant-numeric: tabular-nums;
  vertical-align: 0.1em;
}

.post--wellness-plan .post-body blockquote {
  max-width: 50rem;
  margin: 18px 0 24px;
  padding: 14px 18px;
  border-left: 4px solid var(--color-topic-wellness);
  border-radius: 0 10px 10px 0;
  background: var(--color-topic-wellness-soft);
  font-size: 1.12rem;
  line-height: 1.65;
}

/* Script pages set copyable words apart while the explanation stays editorial. */
.post--scripts .post-script-line {
  max-width: 50rem;
  margin: 18px 0 24px;
  padding: 14px 18px;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 10px 10px 0;
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.65;
}

.post--scripts .post-body > p:has(> strong:first-child) {
  max-width: 50rem;
  margin: 18px 0;
  padding: 6px 0 6px 17px;
  border-left: 3px solid var(--color-accent);
  border-radius: 0;
  background: transparent;
}

.post--checklist .post-body section.post-sec > ul:not(.post-steps):not(.post-check) {
  display: grid;
  gap: 8px;
  max-width: 50rem;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.post--checklist .post-body section.post-sec > ul:not(.post-steps):not(.post-check) li {
  position: relative;
  margin: 0;
  padding: 11px 15px 11px 42px;
  border: 1px solid var(--color-border-light);
  border-radius: 9px;
  background: var(--color-surface);
  font-size: 1.06rem;
  line-height: 1.58;
}

.post--checklist .post-body section.post-sec > ul:not(.post-steps):not(.post-check) li::before {
  content: "✓";
  position: absolute;
  left: 15px;
  top: 10px;
  color: var(--color-primary);
  font-weight: 750;
}

/* FAQ answers are separate reading stops, with comfortable hit areas. */
.post-body > h2[id*="question"] ~ h3,
.post-body > h2[id*="faq"] ~ h3,
.post-body > h2[id*="common-question"] ~ h3 {
  max-width: 50rem;
  margin: 13px 0 0;
  padding: 15px 18px 7px;
  border: 1px solid var(--color-border);
  border-bottom: 0;
  border-radius: 11px 11px 0 0;
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 1.1rem;
  line-height: 1.45;
}

.post-body > h2[id*="question"] ~ h3 + p,
.post-body > h2[id*="faq"] ~ h3 + p,
.post-body > h2[id*="common-question"] ~ h3 + p {
  max-width: 50rem;
  margin: 0 0 11px;
  padding: 4px 18px 16px;
  border: 1px solid var(--color-border);
  border-top: 0;
  border-radius: 0 0 11px 11px;
  background: var(--color-surface);
  font-size: 1.02rem;
  line-height: 1.62;
}

@media (max-width: 920px) {
  .post--with-rail .post-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .post--with-rail .post-rail-inner {
    position: static;
  }
}

@media (max-width: 680px) {
  .post--date-plan .post-head,
  .post--wellness-plan .post-head {
    padding: 22px 21px 24px;
  }

  .post--wellness-plan .post-sec {
    margin-top: 30px;
    padding-left: 17px;
  }

  .post--wellness-plan .post-sec .post-h2::before {
    width: 30px;
    height: 30px;
    margin-right: 8px;
  }
}

/* Refined reading rhythm and clearer type hierarchy across article layouts. */
.post-kicker {
  font-size: 0.88rem;
  line-height: 1.4;
  letter-spacing: 0.09em;
}

.post-title {
  max-width: 23ch;
  font-size: clamp(2.45rem, 4.15vw, 3.1rem);
  font-weight: 640;
  line-height: 1.08;
  letter-spacing: -0.022em;
}

.post-lede {
  font-size: clamp(1.22rem, 1.8vw, 1.42rem);
  line-height: 1.66;
}

.post-body p {
  font-size: 1.08rem;
  line-height: 1.78;
}

.post-body h2,
.post-body .post-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.45vw, 2.12rem);
  line-height: 1.18;
  letter-spacing: -0.018em;
}

.post-body h3 {
  font-size: 1.28rem;
  line-height: 1.34;
}

.post-body > h2[id*="question"] ~ h3,
.post-body > h2[id*="faq"] ~ h3,
.post-body > h2[id*="common-question"] ~ h3 {
  font-size: 1.18rem;
  line-height: 1.42;
}

/* Side notes now read as small editorial tools, with a prompt and a next step. */
.post-rail-box {
  padding: 22px 23px 23px;
  border-radius: 14px;
  box-shadow: 0 7px 20px rgba(27, 40, 46, 0.045);
  font-size: 1.04rem;
  line-height: 1.62;
}

.post-rail-box h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.34rem;
  font-weight: 650;
  line-height: 1.18;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.post-rail-box p,
.post-rail-box li {
  font-size: 1.04rem;
  line-height: 1.62;
  color: var(--color-text-muted);
  text-wrap: pretty;
}

.post-rail-box .post-rail-eyebrow {
  margin: 0 0 9px;
  color: var(--color-primary);
  font-size: 0.84rem;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.post-rail-box .post-rail-copy {
  margin: 0 0 13px;
}

.post-rail-box .post-rail-quote {
  margin: 0;
  padding: 11px 0 11px 14px;
  border-left: 3px solid var(--color-primary);
  background: transparent;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 580;
  line-height: 1.52;
}

.post-rail-box .post-rail-footnote {
  margin: 12px 0 0;
  color: var(--color-text-light);
  font-size: 0.96rem;
  line-height: 1.52;
}

.post-rail-box ul {
  gap: 11px;
}

.post-rail-box li {
  position: relative;
  padding-left: 17px;
}

.post-rail-box li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  content: "";
}

.post-rail-alert li::before {
  background: var(--color-topic-safety);
}

.post-rail-box .post-rail-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  flex-wrap: nowrap;
  margin-top: 1px;
  color: var(--color-primary-hover);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.45;
  white-space: nowrap;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
}

@media (max-width: 680px) {
  .post-title {
    font-size: clamp(1.9rem, 8.7vw, 2.75rem);
    line-height: 1.1;
  }

  .post--wellness-plan .post-title {
    font-size: clamp(1.9rem, 7.8vw, 2.1rem);
  }

  .post-body p {
    font-size: 1.04rem;
  }

  .post-body h2,
  .post-body .post-h2 {
    font-size: clamp(1.65rem, 7vw, 2.05rem);
  }

  .post-rail-box {
    padding: 21px 22px 22px;
  }
}

/* Keep conversation titles from leaving a lone word at the end on phones. */
@media (max-width: 680px) {
  .post--talk .post-head {
    padding-right: 14px;
    padding-left: 14px;
  }

  .post--talk .post-title {
    font-size: clamp(1.75rem, 8vw, 2rem);
  }
}

/* Give script-led titles room to wrap into shorter, balanced groups on phones. */
@media (max-width: 680px) {
  .post--scripts .post-head {
    padding-right: 14px;
    padding-left: 14px;
  }

.post--scripts .post-title {
  max-width: none;
  font-size: clamp(1.75rem, 8vw, 2rem);
}
}

/* Keep mobile article titles readable and balanced across every layout type. */
@media (max-width: 680px) {
  .post h1.post-title,
  .post.review-article h1.post-title {
    max-width: none;
    font-size: clamp(1.85rem, 8.2vw, 2.2rem);
    line-height: 1.12;
    text-wrap: balance;
  }
}
