/* faq.css — the one sitewide FAQ component (Rob, 2026-11-21).
   Every FAQ on babalucas is a GenerateBlocks Pro accordion with a Font Awesome
   question-mark icon on each question:
     .gb-accordion.faq-list > .gb-accordion__item.faq-item >
       .gb-accordion__toggle.faq-toggle ( span.fa-light.fa-circle-question + h3.faq-q + span.faq-icon chevron )
       .gb-accordion__content.faq-panel ( p.faq-a )
   Pages: the homepage (design-handoff/pages/home/add-faq.php),
   /website-accessibility/ and /financial-advisor-website-design/
   (design-handoff/pages/financial-advisors/build-page.php). Each page's FAQPage
   schema is read from its own h3.faq-q / p.faq-a (functions.php).
   GB Pro's accordion-style.css does the open/close; this file does the look.
   FAQ changes are made in the "Investment advisor pitch page" session only, so
   two sessions don't overwrite each other.
   Loaded on every page and in the editor (functions.php). Card selectors are
   .faq-list > .faq-item:nth-child(...) (0,3,0) so they win over any page's own
   base rules. Colors stay inside the brand palette. */

/* one centered column; cards alternate surface, not position */
.faq-list{display:grid;gap:14px;max-width:846px;margin-left:auto;margin-right:auto}
.faq-list > .faq-item{width:100%;margin-left:0;margin-right:0;box-sizing:border-box;border:1px solid var(--line);border-radius:14px;padding:22px 26px}
.faq-list > .faq-item:nth-child(odd){background:var(--card)}
.faq-list > .faq-item:nth-child(even){background:linear-gradient(165deg,var(--maroon-darkest) 30%,var(--maroon-dark))}

/* the toggle row: question icon, question, chevron */
.faq-list .faq-toggle{display:flex;align-items:center;gap:14px;cursor:pointer}
.faq-list .faq-toggle:focus-visible{outline:3px solid var(--orange-mid);outline-offset:6px;border-radius:4px}
.faq-list .faq-toggle > .fa-circle-question{flex:none;width:1.6rem;font-size:1.35rem;line-height:1;text-align:center}
.faq-list .faq-q{flex:1;font-family:var(--head);font-stretch:125%;font-variation-settings:"wdth" 125;font-weight:700;font-size:1.125rem;line-height:1.35;margin:0;color:var(--text-strong);text-wrap:balance}
.faq-list .faq-toggle:hover .faq-q{color:var(--orange-mid)}
.faq-list .faq-icon{flex:none;display:grid;place-items:center;color:var(--orange-mid)}
.faq-list .faq-icon svg{width:1.25em;height:1.25em;display:block}

/* the answer lines up under the question text, not under the icon */
.faq-list .faq-panel{padding-left:calc(1.6rem + 14px)}
.faq-list .faq-a{margin:0;padding-top:10px;max-width:62ch;font-size:1rem;color:var(--text);text-wrap:pretty}

@media(max-width:700px){
  .faq-list > .faq-item{padding:18px 20px}
  .faq-list .faq-toggle{gap:12px}
  .faq-list .faq-panel{padding-left:0}
}
