/* ============================================================
   CANONICAL FAQ ACCORDION (sitewide)
   ------------------------------------------------------------
   Markup contract (every FAQ on the site must use this):
     <div class="faq-list">
       <details class="faq-item" name="{group-name}">
         <summary class="faq-summary">
           <span>Question?</span>
           <?= aat_icon('chevron-down', 20, '', ['class' => 'faq-summary-icon']) ?>
         </summary>
         <div class="faq-body">Answer.</div>
       </details>
       ...
     </div>

   Rules:
     - Chevron-down icon ONLY. No plus/minus, no × glyph.
     - `name="group-name"` on every <details> in the same FAQ block
       → exclusive accordion (only one open at a time).
     - Open state rotates the chevron 180° via CSS.
     - Per-section `.faq-list` controls max-width; default 760px.
     ============================================================ */

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    width: 100%;
}

.faq-item {
    background: rgba(13,13,13,0.55);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.25s ease;
}
.faq-item[open] { border-color: rgba(212,175,55,0.30); }

.faq-summary {
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    list-style: none;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.20s ease;
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-summary:hover { color: #D4AF37; }
.faq-summary > span:first-child { flex: 1; }

.faq-summary-icon {
    color: #D4AF37;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}
.faq-item[open] .faq-summary-icon { transform: rotate(180deg); }

.faq-body {
    padding: 0 22px 22px 22px;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.7;
    font-weight: 300;
}
.faq-body p { margin: 0 0 10px; }
.faq-body p:last-child { margin-bottom: 0; }

/* Single-column variant — kept as a class for backward compatibility, but FAQ items
   always stack vertically per the canonical accordion rule (handshake §pt12 + owner
   directive 2026-05-20). Never restore two-column layout. */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px 14px;
    align-items: start;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
.faq-grid .faq-item { margin-bottom: 0; }

/* Footer link below FAQ list */
.faq-footer { text-align: center; margin-top: 28px; }
.faq-footer a {
    color: #D4AF37;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 1px solid rgba(212,175,55,0.4);
    padding-bottom: 4px;
    transition: all 0.20s ease;
}
.faq-footer a:hover { color: #ffffff; border-color: #ffffff; }
