/* MySyara — Article page styles
   Shares the page chrome (.pp-header, .pp-footer, .pp-faq) from
   payment-plans.css; this file styles the article-specific surfaces:
   hero, takeaways card, body typography, CTA, footnote strip. */

.article-page *, .article-page *::before, .article-page *::after {
  box-sizing: border-box;
}

/* Local aliases mapped onto the shared design tokens (seo-design-system.css,
   linked before this file). Articles share the landing pages' restrained
   near-monochrome scale with a single magenta accent: pink stays for true
   accents (links, ticks, active states), while former pink-tinted surfaces
   (--brand-pale / --brand-border) resolve to neutral grays + hairlines. */
.article-page {
  --brand:        var(--pink);
  --brand-dark:   var(--pink);
  --brand-deep:   var(--pink);
  --brand-mid:    var(--pink);
  --brand-pale:   var(--gray-50);
  --brand-light:  var(--gray-100);
  --brand-border: var(--line);
  --white:        #FFFFFF;
  --bg:           var(--gray-50);
  --bg-alt:       var(--gray-50);
  --text:         var(--gray-900);
  --text-mid:     var(--gray-500);
  --text-muted:   var(--gray-300);
  --border:       var(--line);
  --border-mid:   var(--gray-300);
  --ink-rule:     var(--line);

  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  max-width: 1080px;
  margin: 0 auto;
  scroll-behavior: smooth;
}

.article-page h1,
.article-page h2,
.article-page h3,
.article-page h4 {
  font-family: var(--font);
  letter-spacing: -0.02em;
  color: var(--black);
}

/* ── HERO ─────────────────────────────────────────────────── */
/* Clean editorial hero: white band, hairline rule, left-aligned text. No
   decorative background graphic — the restraint matches the landing pages,
   and the article's own committed hero image carries the visual weight below. */
.article-page .article-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 60px 52px;
  border-bottom: 1px solid var(--border);
  background: url("../images/article-hero-bg.883748458cc4.webp") no-repeat right center / auto 112%, #fff;
}

.article-page .article-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0;
}

.article-page .article-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}
.article-page .article-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
}
.article-page .article-eyebrow-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}

.article-page .article-h1 {
  font-size: 44px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--black);
  margin: 0 0 18px;
}

.article-page .article-lead {
  font-size: 18px;
  color: var(--text-mid);
  line-height: 1.65;
  margin: 0 0 22px;
  max-width: 620px;
  font-weight: 400;
}
.article-page .article-lead strong { color: var(--black); font-weight: 600; }

.article-page .article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}
.article-page .article-meta strong { color: var(--text-mid); font-weight: 600; }
.article-page .article-meta-sep {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--border-mid);
  display: inline-block;
}

/* High CTA — single pink action button, sits in the hero above the fold. */
.article-page .article-hero-actions {
  margin-top: 26px;
}
.article-page .article-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  padding: 13px 26px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.15s ease;
}
.article-page .article-hero-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}
.article-page .article-hero-btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}
.article-page .article-hero-btn svg {
  width: 16px; height: 16px;
  fill: currentColor;
  transition: transform 0.15s ease;
}
.article-page .article-hero-btn:hover svg { transform: translateX(3px); }

/* ── MAIN COLUMN ──────────────────────────────────────────── */
/* Two-column grid: sticky "On this page" TOC on the left, article body
   on the right. The hero stays centered above; when the TOC is present
   the body necessarily shifts right of the hero centerline — that's the
   same pattern the OS blog uses and reads cleanly. */
.article-page .article-main {
  /* Top padding gives both the TOC sidebar and the content column breathing
     room below the hero's bottom rule — without it, the "On this page" label
     would sit flush against the divider. */
  padding: 44px 60px 64px;
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.article-page .article-content {
  /* Required for `minmax(0, 1fr)` to actually contain its children
     (tables, pre, long words) instead of overflowing the grid track. */
  min-width: 0;
}

/* ── TOC SIDEBAR ──────────────────────────────────────────── */
.article-page .article-toc {
  position: sticky;
  top: 32px;
  align-self: start;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  padding-right: 8px;
  /* Drop straight scrollbar styling; modest scrollbar in WebKit. */
  scrollbar-width: thin;
}
.article-page .article-toc__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 14px;
}
/* Leading hyphen mark — same treatment as the Key Takeaways label. */
.article-page .article-toc__label::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: var(--brand);
  border-radius: 2px;
}
.article-page .article-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: article-toc;
}
.article-page .article-toc__list li {
  margin: 0;
  counter-increment: article-toc;
}
.article-page .article-toc__link {
  display: block;
  padding: 7px 12px 7px 14px;
  border-left: 2px solid transparent;
  color: var(--text-mid);
  font-size: 13.5px;
  line-height: 1.45;
  text-decoration: none;
  transition: color 0.12s ease, border-color 0.12s ease;
}
.article-page .article-toc__link::before {
  content: counter(article-toc) ".";
  color: var(--brand);
  font-weight: 700;
  margin-right: 7px;
}
.article-page .article-toc__link:hover {
  color: var(--text);
  border-left-color: var(--brand-border);
}
.article-page .article-toc__link.is-active {
  color: var(--brand-dark);
  border-left-color: var(--brand);
  font-weight: 600;
}
.article-page .article-toc__link:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ── HERO IMAGE ───────────────────────────────────────────── */
/* Optional editorial hero, rendered above .article-takeaways when the
   article has a committed hero file. Intentionally unstyled beyond layout —
   no aspect-ratio, no crop — the source's intrinsic ratio decides the band
   shape. Width/height attrs (Tier 2) will come from the publisher to kill CLS. */
.article-page .article-hero-image {
  margin: 0 0 40px;
}
.article-page .article-hero-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* ── KEY TAKEAWAYS ────────────────────────────────────────── */
.article-page .article-takeaways {
  position: relative;
  /* No top margin — .article-main provides the gap below the hero rule. */
  margin: 0 0 48px;
  padding: 30px 34px;
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.article-page .article-takeaways-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.article-page .article-takeaways-label::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: var(--brand);
  border-radius: 2px;
}
.article-page .article-takeaways-h {
  font-family: var(--font);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 20px;
  color: var(--black);
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

/* 2-column tick-bulleted grid on desktop. */
.article-page .article-takeaways-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  position: relative;
  z-index: 1;
}
.article-page .article-takeaways-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 0;
}
/* Checkmark in a brand-pink filled circle. */
.article-page .article-takeaways-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--brand);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M2.5 6.2 L4.8 8.4 L9.4 3.6' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}

/* ── BODY TYPOGRAPHY ──────────────────────────────────────── */
.article-page .article-body {
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--text);
}
.article-page .article-body > *:first-child { margin-top: 0; }
.article-page .article-body > *:last-child  { margin-bottom: 0; }

.article-page .article-body p {
  margin: 0 0 1.15em;
}

.article-page .article-body a {
  color: var(--brand-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.12s ease;
}
.article-page .article-body a:hover {
  color: var(--brand);
  text-decoration-thickness: 2px;
}
.article-page .article-body a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ── SECTION H2 with numbered counter labels ─────────────── */
/* Counter resets on .article-body, increments on each h2 */
.article-page .article-body {
  counter-reset: article-section;
}
.article-page .article-body h2 {
  font-size: 27px;
  font-weight: 600;
  line-height: 1.22;
  margin: 2.4em 0 0.7em;
  padding-top: 0;
  counter-increment: article-section;
  /* Breathing room when click-jumped to via the TOC. */
  scroll-margin-top: 24px;
}
/* Numbered kicker: a small pink counter on its own line above the heading —
   an accent, not a filled pill. */
.article-page .article-body h2::before {
  content: counter(article-section, decimal-leading-zero);
  display: block;
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  line-height: 1.2;
}
.article-page .article-body h3 {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
  margin: 1.9em 0 0.55em;
  color: var(--black);
}
.article-page .article-body h4 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  margin: 1.6em 0 0.5em;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-page .article-body ul,
.article-page .article-body ol {
  margin: 0 0 1.2em;
  padding-left: 28px;
}
.article-page .article-body ul li,
.article-page .article-body ol li {
  margin-bottom: 0.5em;
}
.article-page .article-body ul li::marker { color: var(--brand); }
.article-page .article-body ol li::marker {
  color: var(--brand);
  font-weight: 700;
}

.article-page .article-body blockquote {
  margin: 1.6em 0;
  padding: 18px 24px;
  border-left: 4px solid var(--brand);
  background: var(--brand-pale);
  border-radius: 0 12px 12px 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  font-style: italic;
}
.article-page .article-body blockquote p { margin: 0 0 0.5em; }
.article-page .article-body blockquote p:last-child { margin: 0; }

/* ── TABLE ────────────────────────────────────────────────── */
.article-page .article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6em 0;
  font-size: 15px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.article-page .article-body thead { background: var(--brand-pale); }
.article-page .article-body th,
.article-page .article-body td {
  text-align: left;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.article-page .article-body th {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--brand-dark);
}
.article-page .article-body tbody tr:last-child td { border-bottom: 0; }
.article-page .article-body tbody tr:nth-child(even) { background: #FAFBFD; }
/* Subtle row hover for scannability */
.article-page .article-body tbody tr:hover { background: var(--brand-pale); }

.article-page .article-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.8em auto;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}
.article-page .article-body .article-caption,
.article-page .article-body figcaption {
  display: block;
  text-align: center;
  font-size: 13.5px;
  color: var(--text-muted);
  margin: -1em auto 1.8em;
  max-width: 600px;
}

.article-page .article-body code {
  background: #F5F5F7;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.article-page .article-body pre {
  background: #1F2937;
  color: #F8FAFC;
  padding: 18px 22px;
  border-radius: 12px;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.55;
  margin: 1.4em 0;
}
.article-page .article-body pre code {
  background: transparent;
  border: 0;
  padding: 0;
  color: inherit;
}

.article-page .article-body hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2.4em 0;
}

/* ── INLINE CTA / END-OF-ARTICLE CTA ──────────────────────── */
.article-page .article-cta-section {
  margin: 56px 0 0;
  padding: 38px 40px;
  border-radius: 16px;
  background: var(--gray-50);
  border: 1px solid var(--border);
  color: var(--text);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.article-page .article-cta-text {
  flex: 1 1 320px;
  min-width: 0;
}
.article-page .article-cta-h {
  font-family: var(--font);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 6px;
  color: var(--black);
  letter-spacing: -0.02em;
}
.article-page .article-cta-sub {
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
  color: var(--text-mid);
}
.article-page .article-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--brand);
  color: #fff;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  padding: 14px 26px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.article-page .article-cta-button:hover {
  transform: translateY(-1px);
  opacity: 0.88;
}
.article-page .article-cta-button:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}
.article-page .article-cta-button svg {
  width: 16px; height: 16px;
  fill: currentColor;
  transition: transform 0.15s ease;
}
.article-page .article-cta-button:hover svg {
  transform: translateX(3px);
}

/* ── CUSTOMER REVIEWS (social proof) ──────────────────────── */
/* Static 3-up card grid of verbatim Google reviews, sitting just above the
   end CTA. No carousel: every quote is in the DOM (crawlable), zero JS, zero
   CLS. Cards collapse to 2-up then 1-up as the column narrows via auto-fit. */
.article-page .article-reviews {
  margin: 56px 0 0;
}
.article-page .article-reviews-h {
  font-family: var(--font);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  color: var(--black);
}
.article-page .article-reviews-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}
.article-page .article-review {
  display: flex;
  flex-direction: column;
  padding: 22px 22px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.25s ease;
}
.article-page .article-review:hover { border-color: var(--gray-300); }
/* Five filled stars in amber — review ratings read as gold, not brand pink
   (matches the landing pages; pink is reserved for actions). */
.article-page .article-review__stars {
  color: #F5A623;
  font-size: 14px;
  letter-spacing: 1px;
  line-height: 1;
  margin-bottom: 12px;
}
.article-page .article-review__quote {
  flex: 1 1 auto;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text);
}
.article-page .article-review__by {
  margin: 14px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
}
.article-page .article-review__src {
  font-weight: 500;
  color: var(--text-muted);
}

/* ── FAQ ──────────────────────────────────────────────────── */
/* Reuses the .pp-faq markup from payment-plans but with a calmer skin: the
   section sits as a quiet continuation of the article, not a separate
   promotional block. No tinted background, no eyebrow pill, no lift-on-
   hover — just a hairline divider, a normal H2, and accordion cards that
   shift to brand pink only as a question opens. */
.article-page .pp-faq {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 48px 60px 56px;
}
/* Match the article-body reading column so the FAQ doesn't visually
   broaden out from the article above it. */
.article-page .pp-faq__inner {
  max-width: 720px;
  margin: 0 auto;
}

.article-page .pp-faq__h {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  line-height: 1.25;
  text-align: center;
}
/* Flanking hyphen marks — sized to balance the heading, same brand pink. */
.article-page .pp-faq__h::before,
.article-page .pp-faq__h::after {
  content: '';
  display: block;
  flex: 0 0 auto;
  width: 32px; height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

.article-page .pp-faq__list { gap: 10px; }

/* Card: hairline border, no shadow at rest, brand-pink border once open. */
.article-page .pp-faq__item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: none;
  transition: border-color 0.15s ease;
}
.article-page .pp-faq__item:hover {
  border-color: var(--brand-border);
}
.article-page .pp-faq__item[open] {
  border-color: var(--brand-border);
}

.article-page .pp-faq__item summary {
  padding: 16px 44px 16px 18px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0;
  line-height: 1.45;
  transition: color 0.15s ease;
}
.article-page .pp-faq__item:hover summary,
.article-page .pp-faq__item[open] summary {
  color: var(--brand-dark);
}

/* Plain chevron (no circle background) — flips on open. */
.article-page .pp-faq__item summary::after {
  content: '';
  width: 14px;
  height: 14px;
  right: 18px;
  border-radius: 0;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3 6 L8 11 L13 6' stroke='%239CA3AF' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>")
    center / 14px 14px no-repeat;
  border: 0;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}
.article-page .pp-faq__item[open] summary::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3 6 L8 11 L13 6' stroke='%23EC008C' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  transform: translateY(-50%) rotate(180deg);
}

.article-page .pp-faq__a {
  padding: 0 18px 18px;
  font-size: 15px;
  line-height: 1.62;
  color: var(--text-mid);
}
.article-page .pp-faq__a p { margin: 0; }
.article-page .pp-faq__a p + p { margin-top: 0.7em; }
.article-page .pp-faq__a a {
  color: var(--brand-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-page .pp-faq__a a:hover { color: var(--brand); }

/* Mobile tuning: edge-aligned with the article body padding. */
@media (max-width: 880px) {
  .article-page .pp-faq { padding: 36px 22px 44px; }
  .article-page .pp-faq__h { font-size: 21px; margin-bottom: 18px; }
  .article-page .pp-faq__item summary {
    padding: 14px 40px 14px 16px;
    font-size: 14.5px;
  }
  .article-page .pp-faq__a {
    padding: 0 16px 16px;
    font-size: 14px;
  }
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
/* Below 1024 the TOC crowds the body — revert to a single column and
   hide the sidebar entirely. Desktop everything else still applies. */
@media (max-width: 1024px) {
  .article-page .article-main {
    display: block;
  }
  .article-page .article-toc { display: none; }
}

@media (max-width: 880px) {
  .article-page .article-hero {
    padding: 36px 22px 32px;
    background:
      linear-gradient(to bottom, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.55) 50%, rgba(255, 255, 255, 0.15) 100%),
      url("../images/article-hero-bg.883748458cc4.webp") no-repeat right bottom / cover,
      #fff;
  }
  .article-page .article-h1 { font-size: 28px; letter-spacing: -0.02em; }
  .article-page .article-lead { font-size: 16px; }
  /* Collapse to a single column and hide the TOC — at this width the
     sidebar would crowd the body. Above 880 the grid still applies. */
  .article-page .article-main {
    padding: 0 22px 48px;
    display: block;
  }
  .article-page .article-toc { display: none; }

  .article-page .article-takeaways {
    margin: 28px 0 36px;
    padding: 24px 22px 24px 28px;
    border-radius: 14px;
  }
  .article-page .article-takeaways::after { width: 160px; height: 160px; right: -60px; top: -60px; }
  .article-page .article-takeaways-h { font-size: 20px; margin-bottom: 16px; }
  /* Single column on mobile */
  .article-page .article-takeaways-list {
    grid-template-columns: 1fr;
    font-size: 14.5px;
    gap: 12px;
  }
  .article-page .article-takeaways-list li { padding-left: 30px; }
  .article-page .article-takeaways-list li::before {
    width: 18px; height: 18px; top: 1px; background-size: 11px 11px;
  }

  .article-page .article-body { font-size: 15.5px; line-height: 1.68; }
  .article-page .article-body h2 { font-size: 21px; margin-top: 2em; }
  .article-page .article-body h2::before {
    font-size: 11px; padding: 4px 11px 3px; margin-bottom: 12px;
  }
  .article-page .article-body h3 { font-size: 18px; }

  .article-page .article-cta-section {
    padding: 28px 22px;
    border-radius: 14px;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .article-page .article-cta-button { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .article-page .article-h1 { font-size: 24px; letter-spacing: -0.5px; }
  .article-page .article-hero { padding: 28px 18px 28px; }
  .article-page .article-main { padding: 0 18px 40px; }
}

/* ──────────────────────────────────────────────────────────────────────────
   Floating contact widget — WhatsApp + Call pills, bottom-right, fixed.
   Always-on booking path for every article; the per-article CTA card is
   optional and renders above this in the article flow if frontmatter sets it.
   ────────────────────────────────────────────────────────────────────────── */
.article-page ~ .article-floating-cta,
.article-floating-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 50;
  pointer-events: none; /* let buttons take pointer events, not the wrapper */
}

.article-floating-cta__btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 14px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.article-floating-cta__btn img {
  width: 22px;
  height: 22px;
  display: block;
}

.article-floating-cta__btn--wa {
  background-color: #276327;
}
.article-floating-cta__btn--call {
  background-color: var(--brand-dark, #EC008C);
}

.article-floating-cta__btn:hover,
.article-floating-cta__btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
  filter: brightness(1.05);
  text-decoration: none;
}

.article-floating-cta__btn:focus-visible {
  outline: 2px solid var(--brand, #EC008C);
  outline-offset: 3px;
}

/* On smaller screens, keep the widget compact: icon-only pills, side-by-side. */
@media (max-width: 640px) {
  .article-floating-cta {
    right: 16px;
    bottom: 16px;
    flex-direction: row;
    gap: 8px;
  }
  .article-floating-cta__btn {
    padding: 12px;
    gap: 0;
  }
  .article-floating-cta__btn span {
    /* Visually hidden, still announced */
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .article-floating-cta__btn img {
    width: 24px;
    height: 24px;
  }
}

@media print {
  .pp-header, .pp-footer, .article-cta-section, .article-toc, .article-floating-cta { display: none !important; }
  .article-page {
    max-width: 100%;
  }
  .article-page .article-hero { padding: 0 0 16px; border-bottom: 1px solid #ccc; background: #fff; }
  .article-page .article-main { padding: 16px 0 0; display: block; }
  .article-page .article-takeaways { box-shadow: none; }
  .article-page .article-body h2::before { color: #666; }
}
