/* FAQ page in the new look (site reskin, 15 Oct 2026). Loaded by includes/header.cfm only in
   preview (request.reskin), after reskin.css. Markup: includes/inc_rs_faq.cfm. The shared
   .rs-faq block does the cards; this file only sets the hero spacing, the accordion's own
   Bootstrap variables (chevron in the one dark green) and spacing. No edge bars, no new fonts. */

/* Hero: a short calm wash band (eyebrow and heading only, no photo), so the first answer shows
   on a short laptop screen */
body.ft-reskin .rs-faq-hero { padding: 22px 0 26px; }
body.ft-reskin .rs-faq-hero .rs-eyebrow { margin-bottom: 8px; }
body.ft-reskin .rs-faq-hero h1 { margin-bottom: 0; }

/* Accordion: Bootstrap 5.3 variables, so the open state and chevron follow the one green */
body.ft-reskin .rs-faq.accordion {
    --bs-accordion-border-color: transparent;
    --bs-accordion-bg: #fff;
    --bs-accordion-color: var(--rs-body);
    --bs-accordion-btn-color: var(--rs-ink);
    --bs-accordion-active-color: var(--rs-ink);
    --bs-accordion-active-bg: var(--rs-wash);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(25, 79, 53, 0.15);
    --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23194F35' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e");
    --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23194F35' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e");
    --bs-accordion-btn-icon-width: 1rem;
}
/* The questions are h2s, so .rs-page h2 (26px, 16px margin, tight tracking) would reach them:
   reset the header box, keep the heading face on the question at a reading size. */
body.ft-reskin .rs-faq .accordion-header {
    margin: 0;
    font-size: inherit;
    line-height: inherit;
    letter-spacing: normal;
}
body.ft-reskin .rs-faq .accordion-button {
    padding: 16px 18px;
    line-height: 1.35;
    letter-spacing: normal;
    gap: 12px;
    overflow-wrap: anywhere;
}
body.ft-reskin .rs-faq .accordion-body {
    padding: 14px 18px 18px;
    overflow-wrap: anywhere;
}
body.ft-reskin .rs-faq .accordion-body ul {
    padding-left: 1.2rem;
    margin: 0 0 12px;
}
body.ft-reskin .rs-faq .accordion-body li { margin-bottom: 8px; }
body.ft-reskin .rs-faq .accordion-body li:last-child { margin-bottom: 0; }

/* "Still need help?" card under the questions */
body.ft-reskin .rs-faq-more { margin-top: 20px; }
body.ft-reskin .rs-faq-more .rs-eyebrow { margin-bottom: 6px; }
body.ft-reskin .rs-faq-more p:not(.rs-eyebrow) { font-size: 15px; }

@media (min-width: 992px) {
    /* The quote box is much shorter than the questions beside it: it follows the reader down the
       page (sticky under the menu) instead of leaving a gap, and sits level with the first question.
       Short laptops: only when the box fits under the menu. */
    body.ft-reskin .rs-faq-page .row > .col-lg-4 { align-self: flex-start; }
    body.ft-reskin .rs-faq-hero { padding: 28px 0 32px; }
    body.ft-reskin .rs-faq-hero h1 { font-size: 42px; letter-spacing: -1.2px; }
    body.ft-reskin .rs-faq .accordion-button { padding: 18px 22px; font-size: 16.5px; }
    body.ft-reskin .rs-faq .accordion-body { padding: 16px 22px 22px; font-size: 15.5px; }
    body.ft-reskin .rs-faq-more { margin-top: 24px; }
}

@media (min-width: 992px) and (min-height: 640px) {
    body.ft-reskin .rs-faq-page .row > .col-lg-4 { position: sticky; top: 108px; }
}
