/* ==========================================================================
   CDV Decision Hub: guides.css

   ONE stylesheet for /guides/. Everything is scoped under .guide so nothing
   can reach the other 156 templates on culturediscovery.com.

   Session 0 (2026-08-13) established the tokens in section 1. Every value was
   read out of the live stylesheets, not invented:

     https://www.culturediscovery.com/assets/css/cdvtheme.min.css   (86 KB)
     https://www.culturediscovery.com/assets/css/start.min.css     (320 KB)

   Session 3 (2026-08-14) added the component layer, sections 3 to 15.

   RULES
   - No new brand colors. If a component needs a color, it comes from a token
     below. If no token fits, the answer is usually that the component is
     wrong, not that the palette is short. The surface tints added in Session 3
     are low-saturation washes of hues already in the palette, and each one
     names the hue it comes from.
   - No new webfonts. The site already loads Montserrat and Montserrat
     Alternates from Google Fonts in base_head.cfm. Use those two.
   - Every selector starts at .guide. No exceptions, including :root.
   - No new JS framework, no jQuery plugins. assets/guides.js is vanilla,
     progressive enhancement only. Every component here is fully usable with
     JavaScript switched off.

   CONTENTS
     1. Tokens
     2. Base typography
     3. Layout and the measure
     4. Breadcrumb bar
     5. Sticky sub-nav
     6. Page head: h1, answer-first opening, byline
     7. Question cards
     8. Comparison table
     9. Price band
    10. Best for / Not for
    11. Elsewhere callout ("this is not us")
    12. FAQ
    13. Image placeholders
    14. Author card
    15. Next-question pager
    16. Staging banner
    17. Responsive, motion, print
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. Tokens

   Scoped to .guide rather than :root, so the custom properties themselves
   cannot leak. A stray --color-primary defined globally would be inherited by
   every existing page and is exactly the kind of thing that goes unnoticed
   for a month.
   -------------------------------------------------------------------------- */

.guide {

  /* --- Brand ---------------------------------------------------------------
     #3a5038 is the site's primary: .text-primary, a:hover, a:focus, active
     nav pills, blockquote borders. It is the green in the logo lockup.
     #f0b400 is the secondary: .text-secondary, .bg-secondary, badges.
     Used sparingly on the live site and it should stay that way here. It is
     the one accent color CLAUDE.md section 6 allows.
     ------------------------------------------------------------------------ */
  --cdv-green:            #3a5038;
  --cdv-green-deep:       #2c3b2a;   /* darkened for hover/borders, same hue */
  --cdv-gold:             #f0b400;
  --cdv-gold-soft:        #ffd761;   /* live: badge and highlight tints */

  /* --- Terracotta ----------------------------------------------------------
     The button family on the live site: base, hover, active, disabled.
     Reads as the Italian-clay note in the brand. Kept because the guide
     pages sit inside the same chrome and a button here has to match a button
     three pixels above it in the header.
     ------------------------------------------------------------------------ */
  --cdv-clay:             #8a4d20;
  --cdv-clay-bright:      #c8702f;
  --cdv-clay-hover:       #a95e28;
  --cdv-clay-active:      #945323;
  --cdv-clay-deep:        #603617;

  /* --- Supporting ---------------------------------------------------------- */
  --cdv-blue-deep:        #104661;   /* gradient partner in featured boxes */
  --cdv-cream:            #f5f5dc;   /* slide overlay, warm page tint */

  /* --- Ink and greys -------------------------------------------------------
     The live theme sets body color to #777 at 14px. That is too light and too
     small for 1,800 words of decision-stage reading, so guide body copy runs
     on --cdv-ink and the greys are demoted to secondary text and rules.
     ------------------------------------------------------------------------ */
  --cdv-ink:              #212529;
  --cdv-ink-soft:         #2c3237;
  --cdv-grey:             #707070;
  --cdv-grey-light:       #777777;
  --cdv-rule:             #e6e6e6;
  --cdv-rule-strong:      #cccccc;
  --cdv-white:            #ffffff;

  /* --- Link ----------------------------------------------------------------
     Live: a { color: #2e7d23 } and a:hover { color: #3a5038 }. Note the hover
     is DARKER and lower-contrast against white than the resting state, which
     is backwards. Guides keep the resting green for continuity and take the
     hover to the deep green so the direction of travel is right.
     ------------------------------------------------------------------------ */
  --cdv-link:             #2e7d23;
  --cdv-link-hover:       var(--cdv-green-deep);

  /* --- Semantic surfaces ---------------------------------------------------
     The four washes below are Session 3 additions. Each is a low-saturation
     tint of a hue already in the palette, used as a component background so a
     callout can be identified at a glance without a border alone carrying it.
     They are surfaces, never text, never a brand mark.
     ------------------------------------------------------------------------ */
  --guide-bg:             var(--cdv-white);
  --guide-bg-tint:        #f7f8f6;   /* zebra rows, neutral fills */
  --guide-tint-green:     #f2f6f1;   /* wash of --cdv-green:      "best for"  */
  --guide-tint-clay:      #fbf5ef;   /* wash of --cdv-clay:       "not for"   */
  --guide-tint-blue:      #f0f5f8;   /* wash of --cdv-blue-deep:  "elsewhere" */
  --guide-tint-gold:      #fdf8e8;   /* wash of --cdv-gold:       price band  */
  --guide-text:           var(--cdv-ink);
  --guide-text-muted:     var(--cdv-grey);
  --guide-border:         var(--cdv-rule);
  --guide-accent:         var(--cdv-gold);
  --guide-accent-strong:  var(--cdv-green);

  /* --- Type ----------------------------------------------------------------
     Both families are already loaded by inc/base_head.cfm. Nothing new to
     fetch. Montserrat Alternates is the display face the live theme calls
     .alternative-font and uses for section headings.
     ------------------------------------------------------------------------ */
  --guide-font:           'Montserrat', sans-serif;
  --guide-font-display:   'Montserrat Alternates', 'Montserrat', sans-serif;

  /* CLAUDE.md section 6: body 18-19px, line height 1.65, measure capped at
     68 characters. The live theme runs 13-14px at line-height 26px, which is
     right for a marketing page and wrong for a 1,800-word guide. */
  --guide-size:           1.1875rem;  /* 19px */
  --guide-size-sm:        1.0625rem;  /* 17px, tables and captions */
  --guide-size-xs:        0.8125rem;  /* 13px, eyebrows and labels */
  --guide-leading:        1.65;

  /* The measure is in rem, not ch, and that is deliberate. `ch` resolves
     against the element's OWN font size, so 68ch on an h1 is 1,847px and 68ch
     on a paragraph is 952px: the headings and the body end up on two different
     left edges, which is exactly what it looked like on the first render. One
     number, one column, one edge.

     48rem is 768px, about 80 Montserrat characters at 19px.

     CLAUDE.md section 6 says 68 characters, and this is deliberately wider.
     Michael, looking at the specimen on a 1770px window: "the text column is
     super narrow". He is right, and the reason is context rather than the
     number: 656px of prose reads fine on its own and reads like a ribbon when
     a 992px table is sitting directly beside it, on a display twice as wide as
     either. 80 characters is still inside the range typography actually
     supports, and it halves the step between the two column edges. */
  --guide-measure:        48rem;      /* 768px, roughly 80 characters */
  --guide-measure-wide:   62rem;      /* 992px: tables, cards, the fit split */

  --guide-h1:             2.5rem;
  --guide-h2:             1.875rem;
  --guide-h3:             1.375rem;
  --guide-h4:             1.125rem;

  /* Eyebrow: the small uppercase label above a component. One treatment,
     used by six components, so it lives in a token rather than six places. */
  --guide-eyebrow-size:   var(--guide-size-xs);
  --guide-eyebrow-track:  0.09em;

  /* --- Spacing -------------------------------------------------------------
     Four-step scale on a 8px base. Generous by the live site's standards,
     which is the point: these read as an editorial section, not a landing
     page.
     ------------------------------------------------------------------------ */
  --guide-space-xs:       0.5rem;
  --guide-space-sm:       1rem;
  --guide-space-md:       2rem;
  --guide-space-lg:       3.5rem;
  --guide-space-xl:       5rem;

  --guide-radius:         4px;
  --guide-shadow:         0 1px 3px rgba(33, 37, 41, 0.08);
  --guide-shadow-lift:    0 6px 20px rgba(33, 37, 41, 0.10);

  /* --- Clearing the live header -------------------------------------------
     The live header is absolutely positioned OVER the content
     (`html #header.header-transparent { position: absolute }` in start.css)
     and semi-transparent at rgba(0,0,0,.6). So this cannot be ignored:
     anything placed under it shows through at 40% and reads as a misprint.

     Two numbers, both measured on the staged page on 2026-08-14 with Font
     Awesome actually loaded, which matters more than it sounds:

       --guide-header-clear   200px at rest. Measured at 189 in a local render
                              (an 89px utility bar over a 100px logo row, flat
                              from 360 to 1400) and set deliberately higher,
                              because that render is known to be imperfect: it
                              drops the social icons, so the utility bar wraps
                              to two rows where a real phone shows one. Too
                              tall costs whitespace. Too short puts the top of
                              the page under a semi-transparent header, which
                              is what a reviewer's phone caught on 2026-08-14.
                              PENDING: the specimen page prints its own reading
                              at the foot, so the next screenshot off a real
                              device settles it exactly.
       --guide-sticky-offset  72px once shrunk, plus 8px of air. The theme
                              declares its own intent as
                              `stickyHeaderContainerHeight: 70` in the
                              data-plugin-options on #header.

     These are constants on purpose. An earlier pass had guides.js measure
     them at runtime and it produced two bugs in one afternoon: a stale cached
     script left the resting value at a wrong 147 and tucked the top of the
     page under the header on a phone, and the shrunk height got sampled
     mid-animation at 189 instead of 72, which parked the sub-nav 117px too
     low. A number that only changes when somebody edits the site theme does
     not belong in a measurement loop.

     IF THE HEADER EVER CHANGES HEIGHT, these two values are the fix, and
     deploy/measure-header.md says how to take the measurement properly.
     ------------------------------------------------------------------------ */
  --guide-header-clear:   200px;
  --guide-sticky-offset:  80px;
}


/* --------------------------------------------------------------------------
   2. Base typography
   -------------------------------------------------------------------------- */

.guide {
  font-family: var(--guide-font);
  font-size: var(--guide-size);
  line-height: var(--guide-leading);
  color: var(--guide-text);
  background: var(--guide-bg);
}

.guide p,
.guide li {
  color: var(--guide-text);
  font-size: inherit;
  line-height: inherit;
  max-width: var(--guide-measure);
  margin: 0 0 var(--guide-space-sm);
}

.guide ul,
.guide ol {
  max-width: var(--guide-measure);
  margin: 0 0 var(--guide-space-sm);
  padding-left: 1.35em;
}

.guide li { margin-bottom: var(--guide-space-xs); }
.guide li:last-child { margin-bottom: 0; }

.guide h1,
.guide h2,
.guide h3,
.guide h4 {
  font-family: var(--guide-font-display);
  color: var(--cdv-ink);
  text-transform: none;          /* live h3/h5 are uppercase; headings here are questions */
  max-width: var(--guide-measure);
  margin: 0 0 var(--guide-space-sm);
  line-height: 1.25;
}

.guide h1 { font-size: var(--guide-h1); font-weight: 700; margin-bottom: var(--guide-space-md); }
.guide h2 { font-size: var(--guide-h2); font-weight: 600; margin-top: var(--guide-space-lg); }
.guide h3 { font-size: var(--guide-h3); font-weight: 600; margin-top: var(--guide-space-md); }
.guide h4 { font-size: var(--guide-h4); font-weight: 600; margin-top: var(--guide-space-md); }

/* An H2 lands under the sticky sub-nav when the reader jumps to it, so every
   heading that can be a jump target carries its own scroll margin. */
.guide h2,
.guide h3 { scroll-margin-top: calc(var(--guide-sticky-offset) + 3.5rem); }

.guide a          { color: var(--cdv-link); text-decoration: underline; text-underline-offset: 2px; }
.guide a:hover,
.guide a:focus    { color: var(--cdv-link-hover); text-decoration: underline; }

/* --- Out-specifying the theme's link underline ----------------------------
   cdvtheme.css carries this, deliberately, for accessibility:

     .main p a:not([class]):not(:has(img)),
     .main li a:not([class]):not(:has(img)), ...  { text-decoration: underline }

   It is the right rule for prose and the guides keep it there. But it also
   reaches every classless <a> inside an <li>, which is the breadcrumb, the
   sub-nav, the question cards and the pager: navigation, not prose, and all
   four look wrong underlined.

   Its specificity is (0,2,3), so the obvious `.guide .guide-subnav a` at
   (0,2,1) loses and the underline survives. Repeating .guide-shell buys the
   third class and settles it. Nothing here uses !important, and every
   component's own hover rule sits later in this file at equal or higher
   specificity, so hover states still win.
   ------------------------------------------------------------------------ */
.guide .guide-shell .guide-breadcrumb a,
.guide .guide-shell .guide-subnav a,
.guide .guide-shell .guide-card__q a,
.guide .guide-shell .guide-pager__q a { text-decoration: none; }

.guide :focus-visible {
  outline: 2px solid var(--cdv-green);
  outline-offset: 2px;
  border-radius: 2px;
}

.guide strong { font-weight: 600; color: var(--cdv-ink); }

.guide hr {
  border: 0;
  border-top: 1px solid var(--guide-border);
  margin: var(--guide-space-lg) auto;
}

/* Eyebrow label. One rule, six components. */
.guide .guide-eyebrow {
  display: block;
  font-family: var(--guide-font);
  font-size: var(--guide-eyebrow-size);
  font-weight: 700;
  letter-spacing: var(--guide-eyebrow-track);
  text-transform: uppercase;
  color: var(--guide-text-muted);
  margin: 0 0 var(--guide-space-xs);
  max-width: none;
}


/* --------------------------------------------------------------------------
   3. Layout and the measure

   The pages are a flat stream of elements: build.js turns markdown into
   siblings, with no wrapper divs to hang a grid on. So the column discipline
   is done here instead, by rule rather than by markup.

     every direct child of .guide-shell  ->  768px, centred

   One rule, no exceptions worth speaking of. Nothing needs a wrapper, nothing
   needs a negative-margin breakout trick, and a page that forgets a class
   still lands in the column.
   -------------------------------------------------------------------------- */

.guide .guide-shell {
  /* Top padding clears the fixed, semi-transparent site header. Every other
     interior page on the site clears it with a .page-header band; the guides
     do it with whitespace, because the band would put a second h1 treatment
     above ours. */
  padding: calc(var(--guide-header-clear) + var(--guide-space-md))
           var(--guide-space-sm)
           var(--guide-space-xl);
  max-width: 1140px;
  margin: 0 auto;
}

.guide .guide-shell > * {
  max-width: var(--guide-measure);
  margin-left: auto;
  margin-right: auto;
}

/* ONE column, and that is the whole rule. Prose, tables, cards, callouts, the
   split, the photos, the sub-nav: all 768px, all on the same left edge.

   The first pass ran prose at one width and the comparison devices 112px wider
   each side, on the theory that a table wants room. Michael, looking at it:
   "shouldn't the text blocks be about the same width as the other elements?"
   Yes. Two edges that close together do not read as a deliberate breakout,
   they read as something that failed to line up, and a reader clocks the
   misalignment long before they appreciate the extra 200px of table.

   Note which way it got resolved. Widening the prose to meet the tables would
   also have given one edge, at about 104 characters a line, and would have
   traded a visible problem for an invisible one: nobody complains about a long
   line, they just quietly stop reading half way down. So the tables came in to
   meet the prose.

   .guide-wide is the escape hatch, for the rare table that genuinely cannot
   work at 768. If it stops being rare, the honest fix is to widen the whole
   column and re-measure the line length, not to sprinkle exceptions. */
.guide .guide-shell > .guide-wide {
  max-width: var(--guide-measure-wide);
}

/* The staging flag is the one thing on the page allowed to shout, and it goes
   away at launch. */
.guide .guide-shell > .guide-stage-flag,
.guide .guide-shell > .guide-full {
  max-width: none;
}

/* Inside a component, prose fills the component. The 68ch cap is a page-level
   reading rule, not a rule about the inside of a two-column split. */
.guide .guide-fit p,      .guide .guide-fit li,
.guide .guide-elsewhere p,.guide .guide-elsewhere li,
.guide .guide-price p,    .guide .guide-price li,
.guide .guide-card p,     .guide .guide-card li,
.guide .guide-author p,   .guide .guide-faq__a p,
.guide .guide-fit ul,     .guide .guide-elsewhere ul,
.guide .guide-price ul,   .guide .guide-card ul {
  max-width: none;
}


/* --------------------------------------------------------------------------
   4. Breadcrumb bar

   Home > Guides > [Market] > [Page]. Matches the BreadcrumbList JSON-LD that
   CLAUDE.md section 4 requires, so the visible trail and the structured one
   never disagree.
   -------------------------------------------------------------------------- */

.guide .guide-breadcrumb {
  font-size: var(--guide-size-xs);
  letter-spacing: 0.02em;
  color: var(--guide-text-muted);
  padding-bottom: var(--guide-space-sm);
  margin-bottom: var(--guide-space-md);
  border-bottom: 1px solid var(--guide-border);
}

.guide .guide-breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35em;
  margin: 0;
  padding: 0;
  max-width: none;
}

.guide .guide-breadcrumb li {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.35em;
}

.guide .guide-breadcrumb li + li::before {
  content: "\203A";               /* single right angle quote */
  color: var(--cdv-rule-strong);
  font-size: 1.15em;
  line-height: 1;
}

.guide .guide-breadcrumb a {
  color: var(--guide-text-muted);
  text-decoration: none;
}

.guide .guide-breadcrumb a:hover,
.guide .guide-breadcrumb a:focus {
  color: var(--cdv-green);
  text-decoration: underline;
}

.guide .guide-breadcrumb [aria-current="page"] {
  color: var(--cdv-ink);
  font-weight: 600;
}


/* --------------------------------------------------------------------------
   5. Sticky sub-nav

   Tracks scroll position through the H2s. Renders as a plain list of anchor
   links with no JavaScript; guides.js adds the current-section highlight and
   the stuck shadow on top.

   It sticks BELOW the live Porto header, which goes fixed at 70px tall after
   120px of scroll. See --guide-sticky-offset.
   -------------------------------------------------------------------------- */

.guide .guide-subnav {
  position: sticky;
  top: var(--guide-sticky-offset);
  z-index: 20;
  background: var(--guide-bg);
  border-top: 1px solid var(--guide-border);
  border-bottom: 1px solid var(--guide-border);
  margin-top: var(--guide-space-md);
  margin-bottom: var(--guide-space-md);
  transition: box-shadow 0.18s ease;
}

.guide .guide-subnav.is-stuck {
  box-shadow: 0 6px 12px -8px rgba(33, 37, 41, 0.35);
}

/* The visible "On this page" label is gone at every width. It cost about
   130px of the row, which at a 768px column is the difference between the
   pills wrapping to two rows and wrapping to three, and this thing sticks: a
   three-row bar plus the 72px site header is 180px of chrome on a laptop.
   Nothing is lost to assistive tech, because the element is already
   <nav aria-label="On this page">, which is where that string belongs. */
.guide .guide-subnav__label {
  display: none;
}

.guide .guide-subnav ul {
  list-style: none;
  display: flex;
  gap: var(--guide-space-xs);
  margin: 0;
  padding: 0;
  max-width: none;
  overflow-x: auto;
  scrollbar-width: none;             /* the chips scroll; the bar should not shout about it */
  -webkit-overflow-scrolling: touch;
}

.guide .guide-subnav ul::-webkit-scrollbar { display: none; }

.guide .guide-subnav li { margin: 0; flex: 0 0 auto; }

/* Chips, not a run of text.
   ---------------------------------------------------------------------------
   This shipped as bare muted text at gap: 0, and with eight H2s it rendered as
   a 159px three-row block of grey with no visible boundary between one item
   and the next. Michael: "It looks TERRIBLE !!!!!". He was right, and two
   separate things were wrong.

   Zero gap plus no fill means "Best for" and "Not for" sit adjacent and read
   as one phrase, so the bar scans as a sentence rather than as navigation.
   And white-space: nowrap on a heading like "The three autumn windows, and
   they are not interchangeable" produces a single 493px chip, which forces the
   wrap and drags the whole sticky bar to three rows.

   So: a real chip with a fill and a radius, and headings that are allowed to
   be long get truncated here rather than being allowed to set the layout. The
   full text stays in the title attribute and in the H2 itself. */
.guide .guide-subnav a {
  display: block;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: var(--guide-bg-tint);
  font-size: 0.9375rem;              /* 15px. A signpost, not body copy. */
  line-height: 1.35;
  color: var(--guide-text-muted);
  text-decoration: none;
  white-space: nowrap;
  max-width: 15rem;
  overflow: hidden;
  text-overflow: ellipsis;
  border: 1px solid transparent;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.guide .guide-subnav a:hover,
.guide .guide-subnav a:focus {
  color: var(--cdv-ink);
  text-decoration: none;
  background: var(--guide-bg);
  border-color: var(--cdv-rule-strong);
}

.guide .guide-subnav a.is-current {
  color: var(--cdv-white);
  background: var(--cdv-green);
  border-color: var(--cdv-green);
  font-weight: 600;
}

/* One row, always, below the rail breakpoint.
   It used to wrap at >= 768px so a reader "could see all of them at once".
   That reasoning was sound and the result was not: eight items at 768px is
   three rows, and this element is sticky, so three rows plus the site header
   eats a third of a laptop screen on every scroll. One scrollable row is the
   pattern every documentation site converged on for the same reason. */


/* --------------------------------------------------------------------------
   The sub-nav becomes a rail on a wide screen.

   Two complaints, one cause. The bar was ugly, and Michael also asked whether
   "everything is too narrow". Measured at 1920: the reading column is 768px
   inside an 1140px container, so 372px of the container is dead margin and the
   page reads as a ribbon down the middle of a wide screen.

   Widening the prose is the wrong answer and was already rejected once, in
   Session 3: 768px at 19px is about 80 characters, which is the top of what
   typography supports, and 1140px would be about 118. Nobody complains about a
   long line, they just stop reading half way down.

   So the fix is to USE the margin rather than to fill it with text. The
   sub-nav moves out of the flow into a sticky rail beside the column, which
   removes 159px of chrome from the top of the page, gives the layout a second
   axis, and leaves the measure alone. The markup does not change, so the
   scroll spy in guides.js keeps working untouched.
   -------------------------------------------------------------------------- */
@media (min-width: 1200px) {
  .guide .guide-shell {
    display: grid;
    grid-template-columns: var(--guide-measure) minmax(0, 1fr);
    column-gap: var(--guide-space-lg);
    align-items: start;
  }

  /* Everything stays in column 1, so the single left edge survives.
     justify-self and width are both needed, not belt and braces. A grid item
     that computes its own inline size stops filling the track: the figure has
     aspect-ratio 16/9 and sized itself to 501px, and the pager is itself a
     grid and settled at 704px. Both then sat centred in the 768 track, which
     put three different left edges on a page whose entire layout rule is that
     there is one. */
  .guide .guide-shell > * {
    grid-column: 1;
    justify-self: stretch;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .guide .guide-shell > .guide-stage-flag,
  .guide .guide-shell > .guide-full { grid-column: 1 / -1; }

  .guide .guide-shell > .guide-subnav {
    grid-column: 2;
    grid-row: 2 / 200;               /* span the body so sticky has room to travel */
    align-self: start;
    position: sticky;
    top: var(--guide-sticky-offset);
    margin: 0;
    border: 0;
    background: none;
    box-shadow: none;                /* .is-stuck is a bar affordance, not a rail one */
    max-height: calc(100vh - var(--guide-sticky-offset) - var(--guide-space-md));
    overflow-y: auto;
    scrollbar-width: none;
  }

  .guide .guide-shell > .guide-subnav.is-stuck { box-shadow: none; }

  .guide .guide-subnav__label {
    display: block;
    margin: 0 0 var(--guide-space-xs);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--guide-text-muted);
  }

  .guide .guide-subnav ul {
    display: block;
    overflow: visible;
  }

  .guide .guide-subnav li + li { margin-top: 2px; }

  /* In a rail the chip is the wrong shape: a vertical stack of pills reads as
     buttons. A left rule that fills in on the current section reads as a
     table of contents, which is what it is. */
  .guide .guide-subnav a {
    display: block;
    max-width: none;
    white-space: normal;
    border-radius: 0;
    background: none;
    border: 0;
    border-left: 2px solid var(--guide-border);
    padding: 0.3rem 0 0.3rem 0.75rem;
  }

  .guide .guide-subnav a:hover,
  .guide .guide-subnav a:focus {
    background: none;
    border-left-color: var(--cdv-rule-strong);
  }

  .guide .guide-subnav a.is-current {
    color: var(--cdv-green);
    background: none;
    border-left-color: var(--cdv-green);
  }
}


/* --------------------------------------------------------------------------
   6. Page head: h1, answer-first opening, byline

   The answer-first opening is the 40 to 60 words the engines lift. It gets its
   own treatment because on most of these pages it is the single most
   consequential paragraph, and because setting it apart stops a writer sliding
   into a warm-up sentence in front of it.
   -------------------------------------------------------------------------- */

.guide .guide-answer {
  font-size: 1.3125rem;               /* 21px */
  line-height: 1.5;
  font-weight: 500;
  color: var(--cdv-ink-soft);
  margin-bottom: var(--guide-space-md);
}

.guide .guide-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.9rem;
  font-size: var(--guide-size-xs);
  letter-spacing: 0.02em;
  color: var(--guide-text-muted);
  padding-bottom: var(--guide-space-sm);
  border-bottom: 1px solid var(--guide-border);
  margin-bottom: var(--guide-space-md);
}

.guide .guide-byline__author { color: var(--cdv-ink); font-weight: 600; }

.guide .guide-byline time { white-space: nowrap; }


/* --------------------------------------------------------------------------
   7. Question cards

   The hub index routes down to its guide pages through these. The link text is
   the question, per CLAUDE.md section 4: never "learn more", never the page
   title in title case.
   -------------------------------------------------------------------------- */

.guide .guide-cards {
  display: grid;
  /* Two up in a 768px column, one up on a phone. Three would give each card
     245px, and a question card whose question wraps to four lines has stopped
     being a card. */
  grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr));
  gap: var(--guide-space-sm);
  margin: var(--guide-space-md) auto;
  padding: 0;
  list-style: none;
}

.guide .guide-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: var(--guide-space-sm) var(--guide-space-sm) 1.15rem;
  background: var(--guide-bg);
  border: 1px solid var(--guide-border);
  border-radius: var(--guide-radius);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.guide .guide-card:hover,
.guide .guide-card:focus-within {
  border-color: var(--cdv-green);
  box-shadow: var(--guide-shadow-lift);
  transform: translateY(-2px);
}

.guide .guide-card__eyebrow {
  font-size: var(--guide-eyebrow-size);
  font-weight: 700;
  letter-spacing: var(--guide-eyebrow-track);
  text-transform: uppercase;
  color: var(--cdv-green);
  margin-bottom: var(--guide-space-xs);
}

.guide .guide-card__q {
  font-family: var(--guide-font-display);
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 var(--guide-space-xs);
  max-width: none;
}

/* Whole-card click target, keyboard focus still lands on the real link. */
.guide .guide-card__q a {
  color: var(--cdv-ink);
  text-decoration: none;
}

.guide .guide-card__q a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.guide .guide-card { position: relative; }

.guide .guide-card:hover .guide-card__q a,
.guide .guide-card__q a:focus {
  color: var(--cdv-green);
  text-decoration: underline;
}

.guide .guide-card__note {
  font-size: var(--guide-size-sm);
  color: var(--guide-text-muted);
  margin: 0;
}

.guide .guide-card .guide-figure {
  margin: calc(var(--guide-space-sm) * -1) calc(var(--guide-space-sm) * -1) var(--guide-space-sm);
  border-radius: var(--guide-radius) var(--guide-radius) 0 0;
  overflow: hidden;
}


/* --------------------------------------------------------------------------
   8. Comparison table

   Every page carries at least one, with real values. Two things matter more
   than the styling: the table has to be parseable when an answer engine rips
   it out of the page, and it has to be readable on a phone without pinching.

   The horizontal-scroll shadow is pure CSS. Two white gradients pinned to the
   edges sit on top of two grey radial shadows; the white ones scroll with the
   content (background-attachment: local) and the grey ones do not, so a shadow
   only shows on a side that has content hidden past it.
   -------------------------------------------------------------------------- */

.guide .guide-table-wrap {
  margin: var(--guide-space-md) auto var(--guide-space-lg);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;

  background-image:
    linear-gradient(to right, var(--guide-bg) 30%, rgba(255, 255, 255, 0)),
    linear-gradient(to left,  var(--guide-bg) 30%, rgba(255, 255, 255, 0)),
    radial-gradient(farthest-side at 0    50%, rgba(33, 37, 41, 0.16), rgba(33, 37, 41, 0)),
    radial-gradient(farthest-side at 100% 50%, rgba(33, 37, 41, 0.16), rgba(33, 37, 41, 0));
  background-position: 0 0, 100% 0, 0 0, 100% 0;
  background-repeat: no-repeat;
  background-size: 2.5rem 100%, 2.5rem 100%, 0.9rem 100%, 0.9rem 100%;
  background-attachment: local, local, scroll, scroll;
}

.guide .guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--guide-size-sm);
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
}

.guide .guide-table caption {
  caption-side: top;
  text-align: left;
  font-size: var(--guide-eyebrow-size);
  font-weight: 700;
  letter-spacing: var(--guide-eyebrow-track);
  text-transform: uppercase;
  color: var(--guide-text-muted);
  padding-bottom: var(--guide-space-xs);
}

.guide .guide-table thead th {
  font-family: var(--guide-font);
  font-size: var(--guide-size-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: left;
  color: var(--cdv-green-deep);
  background: var(--guide-bg);
  border-bottom: 2px solid var(--cdv-green);
  padding: 0.7rem 0.9rem;
  white-space: nowrap;
  vertical-align: bottom;
}

.guide .guide-table td,
.guide .guide-table tbody th {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--guide-border);
  vertical-align: top;
  text-align: left;
}

.guide .guide-table tbody th {
  font-family: var(--guide-font);
  font-size: var(--guide-size-sm);
  font-weight: 600;
  color: var(--cdv-ink);
  margin: 0;
}

.guide .guide-table tbody tr:nth-child(odd) th,
.guide .guide-table tbody tr:nth-child(odd) td {
  background: var(--guide-bg-tint);
}

.guide .guide-table tbody tr:hover th,
.guide .guide-table tbody tr:hover td {
  background: var(--guide-tint-green);
}

/* The row the surrounding paragraph is arguing about, which on a comparison
   page is usually CDV's own. Marked, never hidden, and never the only row that
   gets a number: a highlighted row in a table where the other rows are vague
   is an advertisement, not a comparison. */
.guide .guide-table tbody tr.is-highlight th,
.guide .guide-table tbody tr.is-highlight td {
  background: var(--guide-tint-gold);
  box-shadow: inset 3px 0 0 var(--cdv-gold);
}

/* Element-qualified because `.guide .guide-table td` already sets text-align
   and would otherwise out-specify a two-class selector. */
.guide .guide-table td.guide-table__num,
.guide .guide-table th.guide-table__num { text-align: right; white-space: nowrap; }

.guide .guide-table__note {
  font-size: var(--guide-size-xs);
  color: var(--guide-text-muted);
  margin: calc(var(--guide-space-sm) * -1) auto var(--guide-space-md);
}

@media (max-width: 767px) {
  /* On a phone the useful thing to freeze is the row label, not the header
     row: the table scrolls sideways, so losing the label is what makes a cell
     meaningless. The sticky cell needs its own opaque background because the
     zebra fill is painted on the row, and a transparent sticky cell smears. */
  .guide .guide-table tbody th {
    position: sticky;
    left: 0;
    z-index: 1;
    background: var(--guide-bg);
    box-shadow: 1px 0 0 var(--guide-border);
  }
  .guide .guide-table tbody tr:nth-child(odd) th { background: var(--guide-bg-tint); }
  .guide .guide-table tbody tr.is-highlight th { background: var(--guide-tint-gold); }
  .guide .guide-table thead th:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    background: var(--guide-bg);
  }
}


/* --------------------------------------------------------------------------
   9. Price band

   Published figures in plain text, per CLAUDE.md section 4. The structural
   rule this component exists to enforce, from config/pricing.json:

     the figure and the conditions that qualify it SHIP IN THE SAME VISUAL
     UNIT. A bare "from $695" with the conditions a paragraph away is a bait
     line.

   So .guide-price__note is not decoration and not optional. It is inside the
   border, in every variant.
   -------------------------------------------------------------------------- */

.guide .guide-price {
  margin: var(--guide-space-md) auto;
  padding: 1.35rem var(--guide-space-sm) var(--guide-space-sm);
  background: var(--guide-tint-gold);
  border: 1px solid #eadfba;          /* --cdv-gold at low saturation, border weight */
  border-left: 5px solid var(--cdv-gold);
  border-radius: var(--guide-radius);
}

.guide .guide-price__figures {
  display: flex;
  flex-wrap: wrap;
  gap: var(--guide-space-sm) var(--guide-space-md);
  margin-bottom: var(--guide-space-sm);
}

.guide .guide-price__figure { flex: 0 1 auto; }

.guide .guide-price__amount {
  display: block;
  font-family: var(--guide-font-display);
  font-size: 2.125rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--cdv-green-deep);
  font-variant-numeric: tabular-nums;
}

.guide .guide-price__figure--secondary .guide-price__amount {
  font-size: 1.5rem;
  color: var(--cdv-ink-soft);
}

.guide .guide-price__unit {
  display: block;
  font-size: var(--guide-size-xs);
  letter-spacing: 0.02em;
  color: var(--guide-text-muted);
  margin-top: 0.2rem;
}

.guide .guide-price__includes {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--guide-space-sm);
  font-size: var(--guide-size-sm);
  columns: 2;
  column-gap: var(--guide-space-md);
}

.guide .guide-price__includes li {
  break-inside: avoid;
  padding-left: 1.4em;
  position: relative;
}

.guide .guide-price__includes li::before {
  content: "\2713";                   /* check mark */
  position: absolute;
  left: 0;
  color: var(--cdv-green);
  font-weight: 700;
}

.guide .guide-price__note {
  font-size: var(--guide-size-sm);
  line-height: 1.5;
  color: var(--cdv-ink-soft);
  margin: 0;
  padding-top: var(--guide-space-sm);
  border-top: 1px solid #eadfba;
}

@media (max-width: 575px) {
  .guide .guide-price__includes { columns: 1; }
  .guide .guide-price__amount { font-size: 1.75rem; }
}


/* --------------------------------------------------------------------------
   10. Best for / Not for

   On every comparison section. Two columns on desktop, stacked on mobile, and
   deliberately equal in weight: the "not for" panel is not a footnote to the
   "best for" panel, and sizing it smaller would quietly undo the honesty rule.
   -------------------------------------------------------------------------- */

.guide .guide-fit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--guide-space-sm);
  margin: var(--guide-space-md) auto;
}

.guide .guide-fit__panel {
  padding: 1.15rem var(--guide-space-sm);
  border-radius: var(--guide-radius);
  border: 1px solid var(--guide-border);
}

.guide .guide-fit__panel--for {
  background: var(--guide-tint-green);
  border-color: #d5e0d3;              /* --cdv-green at low saturation */
  border-left: 4px solid var(--cdv-green);
}

.guide .guide-fit__panel--not {
  background: var(--guide-tint-clay);
  border-color: #e8d8c8;              /* --cdv-clay at low saturation */
  border-left: 4px solid var(--cdv-clay-bright);
}

.guide .guide-fit__title {
  font-family: var(--guide-font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 0 var(--guide-space-xs);
  max-width: none;
}

.guide .guide-fit__panel--for  .guide-fit__title { color: var(--cdv-green-deep); }
.guide .guide-fit__panel--not  .guide-fit__title { color: var(--cdv-clay); }

.guide .guide-fit ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: var(--guide-size-sm);
  line-height: 1.5;
}

.guide .guide-fit li {
  padding-left: 1.5em;
  position: relative;
  margin-bottom: 0.45rem;
}

.guide .guide-fit__panel--for li::before {
  content: "\2713";                   /* check mark */
  position: absolute;
  left: 0;
  color: var(--cdv-green);
  font-weight: 700;
}

.guide .guide-fit__panel--not li::before {
  content: "\00D7";                   /* multiplication sign */
  position: absolute;
  left: 0.1em;
  color: var(--cdv-clay-bright);
  font-weight: 700;
  font-size: 1.15em;
  line-height: 1.25;
}

@media (max-width: 767px) {
  .guide .guide-fit { grid-template-columns: 1fr; }
}


/* --------------------------------------------------------------------------
   11. Elsewhere callout

   NOT in the CLAUDE.md section 6 component list. Added in Session 3 because
   four capture pages and the honesty rule on every other page need one thing
   the list does not cover: a passage that says "this is not what we do" and
   then points somewhere useful.

   It is blue rather than green on purpose. Green is CDV throughout these
   pages, and a recommendation away from CDV should not be wearing CDV's
   colour. It is not clay either, because clay reads as a warning and this is
   not a warning, it is a referral.
   -------------------------------------------------------------------------- */

.guide .guide-elsewhere {
  margin: var(--guide-space-md) auto;
  padding: 1.15rem var(--guide-space-md) 1.15rem 1.35rem;
  background: var(--guide-tint-blue);
  border: 1px solid #cfdde5;          /* --cdv-blue-deep at low saturation */
  border-left: 5px solid var(--cdv-blue-deep);
  border-radius: var(--guide-radius);
}

.guide .guide-elsewhere .guide-eyebrow { color: var(--cdv-blue-deep); }

.guide .guide-elsewhere__title {
  font-family: var(--guide-font-display);
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--cdv-ink);
  margin: 0 0 var(--guide-space-xs);
  max-width: none;
}

.guide .guide-elsewhere p {
  font-size: var(--guide-size-sm);
  line-height: 1.55;
  margin-bottom: var(--guide-space-xs);
}

.guide .guide-elsewhere p:last-child { margin-bottom: 0; }

.guide .guide-elsewhere__pointer {
  margin-top: var(--guide-space-sm);
  padding-top: var(--guide-space-sm);
  border-top: 1px solid #cfdde5;
}

.guide .guide-elsewhere__pointer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: var(--guide-size-sm);
}

.guide .guide-elsewhere__pointer li {
  padding-left: 1.4em;
  position: relative;
  margin-bottom: 0.35rem;
}

.guide .guide-elsewhere__pointer li::before {
  content: "\2192";                   /* rightwards arrow */
  position: absolute;
  left: 0;
  color: var(--cdv-blue-deep);
}

.guide .guide-elsewhere a { color: var(--cdv-blue-deep); }
.guide .guide-elsewhere a:hover,
.guide .guide-elsewhere a:focus { color: var(--cdv-ink); }


/* --------------------------------------------------------------------------
   12. FAQ

   <details open>, always. A closed accordion can hide its content from some
   crawlers, and these answers are written to be quoted verbatim, so hiding
   them by default would defeat the whole point of writing them that way.
   The marker is a CSS triangle: no icon font, no image, no request.
   -------------------------------------------------------------------------- */

.guide .guide-faq {
  margin: var(--guide-space-md) auto var(--guide-space-lg);
  border-top: 1px solid var(--guide-border);
}

.guide .guide-faq__item {
  border-bottom: 1px solid var(--guide-border);
}

.guide .guide-faq__q {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.05rem 0;
  cursor: pointer;
  list-style: none;
}

.guide .guide-faq__q::-webkit-details-marker { display: none; }

.guide .guide-faq__q h3 {
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  color: var(--cdv-ink);
  max-width: none;
}

.guide .guide-faq__q::before {
  content: "";
  flex: 0 0 auto;
  width: 0;
  height: 0;
  margin-top: 0.55em;
  border-left: 6px solid var(--cdv-green);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  transition: transform 0.18s ease;
}

.guide .guide-faq__item[open] > .guide-faq__q::before {
  transform: rotate(90deg);
}

.guide .guide-faq__q:hover h3 { color: var(--cdv-green); }

.guide .guide-faq__a {
  padding: 0 0 1.15rem 1.35rem;
}

.guide .guide-faq__a p {
  font-size: var(--guide-size-sm);
  line-height: 1.6;
  margin-bottom: var(--guide-space-xs);
}

.guide .guide-faq__a p:last-child { margin-bottom: 0; }


/* --------------------------------------------------------------------------
   13. Image placeholders

   build/images.js renders these from the {{IMAGE}} blocks in the markdown.
   Styled, never broken, never a stock photo. A slot with no asset yet is
   supposed to look deliberate on staging so the photo team can browse the
   site and see the shot list in place. See docs/IMAGE-SPEC.md.
   -------------------------------------------------------------------------- */

.guide .guide-figure {
  margin: var(--guide-space-md) auto;
}

.guide .guide-figure img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--guide-radius);
}

.guide .guide-figure figcaption {
  font-size: var(--guide-size-xs);
  color: var(--guide-text-muted);
  margin-top: var(--guide-space-xs);
}

/* Per-slot display width. Everything landscape takes the wide column; the
   portrait slot does not, because 900x1200 at the full 992px column is 1,323
   pixels tall and swallows a whole screen on the way past. The shell prefix is
   there to out-specify the layout rule in section 3, which is what sets the
   wide column in the first place. */
.guide .guide-shell > .guide-figure--inline-tall { max-width: 30rem; }
.guide .guide-shell > .guide-figure--card        { max-width: 25rem; }
.guide .guide-shell > .guide-figure--headshot    { max-width: 12.5rem; }

.guide .guide-figure--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--guide-bg-tint);
  border: 1px dashed var(--cdv-rule-strong);
  border-radius: var(--guide-radius);
  padding: var(--guide-space-md);
}

.guide .guide-figure__spec {
  text-align: center;
  max-width: 46ch;
  color: var(--guide-text-muted);
  font-size: var(--guide-size-sm);
}

.guide .guide-figure__id {
  display: block;
  font-weight: 600;
  color: var(--cdv-green);
}

.guide .guide-figure__size,
.guide .guide-figure__type {
  display: inline-block;
  margin: var(--guide-space-xs) var(--guide-space-xs) 0 0;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.guide .guide-figure__note {
  margin: var(--guide-space-sm) auto 0;
  font-style: italic;
}

/* Staging only. The alt text is a real ranking and accessibility signal and it
   is easier to fix while the slot is still a dashed box than after the photo
   lands. Printing it here means it gets reviewed. */
.guide .guide-figure__alt {
  margin: var(--guide-space-xs) auto 0;
  font-size: 0.8125rem;
  color: var(--guide-text-muted);
}


/* --------------------------------------------------------------------------
   14. Author card

   Named author with a real bio, per CLAUDE.md section 4. Never "CDV Team".
   Carries the visible last-updated date, which is the one on the page that a
   reader and a crawler both see.
   -------------------------------------------------------------------------- */

.guide .guide-author {
  display: flex;
  gap: var(--guide-space-sm);
  align-items: flex-start;
  margin: var(--guide-space-lg) auto var(--guide-space-md);
  padding: var(--guide-space-md) var(--guide-space-sm);
  background: var(--guide-bg-tint);
  border-top: 3px solid var(--cdv-green);
  border-radius: 0 0 var(--guide-radius) var(--guide-radius);
}

.guide .guide-author__photo {
  flex: 0 0 auto;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--guide-bg);
  border: 1px dashed var(--cdv-rule-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  text-align: center;
  color: var(--guide-text-muted);
  line-height: 1.2;
  padding: 0.4rem;
}

.guide .guide-author__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.guide .guide-author__name {
  font-family: var(--guide-font-display);
  font-size: 1.1875rem;
  font-weight: 700;
  margin: 0;
  max-width: none;
}

.guide .guide-author__role {
  font-size: var(--guide-size-xs);
  letter-spacing: 0.02em;
  color: var(--guide-text-muted);
  margin: 0.15rem 0 var(--guide-space-xs);
}

.guide .guide-author__bio {
  font-size: var(--guide-size-sm);
  line-height: 1.55;
  margin: 0 0 var(--guide-space-xs);
}

.guide .guide-author__updated {
  font-size: var(--guide-size-xs);
  color: var(--guide-text-muted);
  margin: 0;
}

@media (max-width: 575px) {
  .guide .guide-author { flex-direction: column; }
}


/* --------------------------------------------------------------------------
   15. Next-question pager

   Links to the sibling guide. Anchor text is the question, never "next".
   -------------------------------------------------------------------------- */

.guide .guide-pager {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: var(--guide-space-sm);
  margin: var(--guide-space-md) auto var(--guide-space-lg);
  padding: 0;
  list-style: none;
}

.guide .guide-pager__item {
  position: relative;
  margin: 0;
  padding: var(--guide-space-sm);
  border: 1px solid var(--guide-border);
  border-radius: var(--guide-radius);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.guide .guide-pager__item:hover,
.guide .guide-pager__item:focus-within {
  border-color: var(--cdv-green);
  background: var(--guide-tint-green);
}

.guide .guide-pager__q {
  font-family: var(--guide-font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
  max-width: none;
}

.guide .guide-pager__q a {
  color: var(--cdv-ink);
  text-decoration: none;
}

.guide .guide-pager__q a::after { content: ""; position: absolute; inset: 0; }

.guide .guide-pager__item:hover .guide-pager__q a,
.guide .guide-pager__q a:focus { color: var(--cdv-green); text-decoration: underline; }

.guide .guide-pager__item--next { text-align: right; }
.guide .guide-pager__item--next .guide-eyebrow { text-align: right; }


/* --------------------------------------------------------------------------
   16. Staging banner

   Only ever rendered when config/site.json has stage:true. Its whole job is
   to make it impossible to look at a guide page and believe it is live. The
   site's own nginx config carries a comment about a live restructure made in
   the belief it was staging, so this is not a hypothetical failure.
   -------------------------------------------------------------------------- */

.guide .guide-stage-flag {
  background: var(--cdv-gold);
  color: var(--cdv-ink);
  font-family: var(--guide-font);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: var(--guide-space-xs) var(--guide-space-sm);
  margin-bottom: var(--guide-space-md);
  border-radius: var(--guide-radius);
}


/* --------------------------------------------------------------------------
   17. Responsive, motion, print
   -------------------------------------------------------------------------- */

@media (max-width: 767px) {
  .guide {
    --guide-size: 1.125rem;      /* 18px */
    --guide-h1:   2rem;
    --guide-h2:   1.625rem;
  }
  .guide .guide-shell {
    padding: calc(var(--guide-header-clear) + var(--guide-space-sm))
             var(--guide-space-sm)
             var(--guide-space-lg);
  }
  .guide .guide-subnav {
    margin-left: calc(var(--guide-space-sm) * -1);
    margin-right: calc(var(--guide-space-sm) * -1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .guide *,
  .guide *::before,
  .guide *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .guide .guide-card:hover { transform: none; }
}

@media print {
  .guide .guide-stage-flag,
  .guide .guide-figure--placeholder,
  .guide .guide-subnav,
  .guide .guide-pager { display: none; }

  /* A closed <details> cannot be forced open from CSS: the browser drops the
     non-summary children out of the rendering tree entirely. guides.js opens
     them on beforeprint instead, and the FAQ ships open by default anyway. */
  .guide .guide-faq__item { border-bottom: 1px solid #ccc; }
  .guide .guide-table-wrap { overflow: visible; background: none; }
  .guide .guide-shell > * { max-width: none; }
}


/* --------------------------------------------------------------------------
   15. Next step (soft call to action, 2026-11-17)

   One calm box after the content. A green rule like the author card, a single
   button, two text links. No urgency, no "Book Now".
   -------------------------------------------------------------------------- */

.guide .guide-next {
  margin: var(--guide-space-lg) auto 0;
  padding: var(--guide-space-md) var(--guide-space-sm);
  border: 1px solid var(--cdv-rule-strong);
  border-left: 4px solid var(--cdv-green);
  border-radius: var(--guide-radius);
  background: var(--cdv-white);
}
.guide .guide-next__title {
  margin: 0 0 0.4rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cdv-ink);
}
.guide .guide-next__body { margin: 0 0 1rem; }
.guide .guide-next__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin: 0;
}
.guide .guide-shell .guide-next__primary {
  display: inline-block;
  padding: 0.7rem 1.2rem;
  border-radius: var(--guide-radius);
  background: var(--cdv-green);
  color: var(--cdv-white);
  font-weight: 700;
  text-decoration: none;
}
.guide .guide-shell .guide-next__primary:hover,
.guide .guide-shell .guide-next__primary:focus-visible { background: var(--cdv-green-deep); color: var(--cdv-white); }
.guide .guide-regions {
  margin: var(--guide-space-md) auto 0;
}
.guide .guide-regions__title {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cdv-ink);
}
.guide .guide-regions ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
}
.guide .guide-price__link { margin: 0.75rem 0 0; font-weight: 700; }

/* Side-menu next step: hidden in the phone/tablet top bar, shown in the
   desktop rail under "On this page". */
.guide .guide-subnav__next { display: none; }
@media (min-width: 1200px) {
  .guide .guide-subnav__next {
    display: block;
    margin: var(--guide-space-sm) 0 0;
    padding-top: var(--guide-space-sm);
    border-top: 1px solid var(--guide-border);
  }
  .guide .guide-shell .guide-subnav .guide-subnav__next a {
    display: inline-block;
    border: 0;
    padding: 0.6rem 1rem;
    border-radius: var(--guide-radius);
    background: var(--cdv-green);
    color: var(--cdv-white);
  }
  .guide .guide-shell .guide-subnav .guide-subnav__next a:hover,
  .guide .guide-shell .guide-subnav .guide-subnav__next a:focus-visible { background: var(--cdv-green-deep); color: var(--cdv-white); }
}
