/* ==========================================================================
   Wize AI Agent page: "Questions, answered." (centred heading + one-column accordion with chevrons).
   Markup: template-parts/rc-v4-wize-ai-agent/faq.php. Behaviour: js/rc-v4-wize-ai-agent/faq.js. The heading is the page's .rc-wize-head.
   ========================================================================== */

/* the title sits outside the shared heading wrapper in the design, so phones keep line-height 1.1 / -0.02em */
@media (max-width: 860px) { .rc-wize-faq .rc-wize-faq-intro .rc-section-title { line-height: 1.1; letter-spacing: -0.02em; } }

.rc-wize-faq .rc-wize-faq-list { max-width: 900px; margin: 0 auto; padding: 0; list-style: none; border-top: 1px solid var(--rc-wize-line); }
.rc-wize-faq .rc-wize-faq-list li { border-bottom: 1px solid var(--rc-wize-line); }
.rc-wize-faq .rc-wize-faq-list h3 { margin: 0; font-size: 18.72px; font-weight: 500; line-height: 1.55; }
.rc-wize-faq .rc-wize-faq-list button {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; min-height: 64px; padding: 14px 0;
  border: 0; background: transparent; text-align: left; cursor: pointer;
  font-family: var(--rc-font); font-size: 16.5px; font-weight: 500; line-height: 1.55; letter-spacing: -0.01em; color: var(--rc-ink);
}
/* chevron: down when closed, up when open */
.rc-wize-faq .rc-wize-faq-list button span { position: relative; flex: none; width: 22px; height: 22px; }
.rc-wize-faq .rc-wize-faq-list button span::before {
  content: ''; position: absolute; left: 4px; top: 5px; width: 9px; height: 9px;
  border-right: 2px solid var(--rc-ink); border-bottom: 2px solid var(--rc-ink);
  transform: rotate(45deg); transition: transform 0.3s var(--rc-ease);
}
.rc-wize-faq .rc-wize-faq-list .is-open button span::before { top: 9px; transform: rotate(-135deg); }
.rc-wize-faq .rc-wize-faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--rc-ease); }
.rc-wize-faq .rc-wize-faq-answer p { max-width: 45.14em; /* 74ch in Manrope, as vercel resolves it */ margin: 0; overflow: hidden; font-size: 16px; line-height: 1.65; color: var(--rc-ink-2); }
.rc-wize-faq .rc-wize-faq-list .is-open .rc-wize-faq-answer { grid-template-rows: 1fr; }
.rc-wize-faq .rc-wize-faq-list .is-open .rc-wize-faq-answer p { padding-bottom: 22px; }
