/* ==========================================================================
   ABLENTRA V18 — FAQ + black-band heading fix (Agent 6, 2026-11-09)
   Override only. Loaded LAST on every page. No shared file edited.
   Colours: V17 palette only — black #111112, light text #F4F4F2,
   muted #A9A9B0, accent #FE5C22. No new sections, no layout changes.

   1. FAQ — stuck-invisible answers. Two legacy systems toggled the same
      click: smoothDetails (site-core-a.js, native <details> + a WAAPI
      body fade whose CLOSE animation uses fill:"forwards") and the
      premium class toggle (premium-2026-11-07.js, .is-open + max-height).
      On rapid clicks or switching items mid-animation they desync
      (details.open vs .is-open disagree) and the close-fade can strand
      a visibly-open answer at opacity 0. The companion v18-faq.js owns
      the toggle now; these rules are the CSS backstop: an open answer
      is ALWAYS opacity 1 (author !important beats WAAPI animations),
      and a natively-open <details> always gets its max-height even if
      the class toggle never ran (no-JS / script-failed fallback).
   2. HEADING — "Ready for more visitors to become customers?" (and
      every audit-band / cta-band H2) invisible on the black band.
      v16-averlo.css §E3 sets `main#main section.audit-band .h-final`
      to #0E0E0F !important (specificity 1,2,2); V17-3's light rule
      only targets `h2` (1,1,3) so it loses. The black background
      (#111112) comes from V17-3/V17-4, which is the kept V17 design.
      These rules re-assert the light heading colour at equal-or-higher
      specificity, loaded last so they win the tie. The .pq-word spans
      inherit the heading colour (premium reveal completes to inherit),
      so they turn light with it. Nothing else in the band is touched:
      kicker, body copy, form labels/inputs, button and form-note
      already measure readable on the black band.
   ========================================================================== */

/* --- 1. FAQ: an open answer can never be transparent --------------------- */
.pq-faq-item.is-open .pq-faq-a,
details.pq-faq-item[open] .pq-faq-a {
  opacity: 1 !important;
}
.pq-faq-item.is-open .pq-faq-a p,
details.pq-faq-item[open] .pq-faq-a p {
  opacity: 1 !important;
}
/* Natively-open <details> shows its answer even without .is-open. */
details.pq-faq-item[open] .pq-faq-a {
  max-height: 24rem;
}

/* --- 2b. Black bands: body copy light on black --------------------------- */
/* Same specificity collision as the headings: v16-averlo.css §E3 sets
   `section.cta-band .lede.light` (and .audit-band equivalents) to
   #3F434A !important (1,2,2) — dark grey on black, ~1.6:1 — while the
   V17-3/V17-4 light rule only targets plain `p` (1,1,3->1,1,2) and
   loses. Measured on /pricing/ cta-band lede pre-fix. This mirrors
   §E3's selector list at the same specificity, loaded last, with the
   V17 muted-light #A9A9B0. Kicker rules (1,2,2, later in V17-3) are
   untouched — plain `p` here cannot beat them. */
main#main section.audit-band p,
main#main section.audit-band .light-muted,
main#main section.audit-band .lede.light,
main#main section.cta-band p,
main#main section.cta-band .light-muted,
main#main section.cta-band .lede.light,
main#main.v13-ind section.audit-band p,
main#main.v13-ind section.audit-band .light-muted,
main#main.v13-ind section.audit-band .lede.light,
main#main.v13-ind section.cta-band p,
main#main.v13-ind section.cta-band .light-muted,
main#main.v13-ind section.cta-band .lede.light {
  color: #A9A9B0 !important;
}

/* --- 2. Black review / CTA bands: headings light on black --------------- */
main#main section.audit-band h2,
main#main section.audit-band .h-final,
main#main section.audit-band .h-display,
main#main section.cta-band h2,
main#main section.cta-band .h-display,
main#main.v13-ind section.audit-band h2,
main#main.v13-ind section.audit-band .h-final,
main#main.v13-ind section.audit-band .h-display,
main#main.v13-ind section.cta-band h2,
main#main.v13-ind section.cta-band .h-display {
  color: #F4F4F2 !important;
}
