/* =====================================================================
   FAQ ACCORDION  (from 21st.dev "Frequently asked questions with accordion")
   The pasted demo only renders the component, so the layout is
   reconstructed from the published component: two columns, with a
   small "FAQ" badge, heading, short line and a "still have questions"
   button on the left and the accordion on the right. Each row has a
   bottom border, the question in medium weight, and a chevron that
   turns 180deg in 200ms. The answer opens by sliding down in 200ms (ease-out).
   Socialique version: DM Serif heading, navy questions, muted answers.

   Markup (native <details>, so it works with JavaScript off):
     <section class="slq-faq">
       <div class="slq-faq__intro"> eyebrow, h2, button </div>
       <div class="slq-faq__list" data-single>   (data-single = only one open at a time)
         <details class="slq-faq__item">
           <summary>Will it sound like me? <svg class="slq-faq__chevron" ...></svg></summary>
           <div class="slq-faq__answer"><p>...</p></div>
         </details>
       </div>
     </section>
   ===================================================================== */

.slq-faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.slq-faq__intro { position: sticky; top: 32px; }

.slq-faq__item { border-bottom: 1px solid var(--slq-line); }
.slq-faq__item:first-child { border-top: 1px solid var(--slq-line); }
.slq-faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; cursor: pointer; list-style: none;
  font: 500 1.0625rem/1.4 var(--slq-font-body); color: var(--slq-navy);
}
.slq-faq__item summary::-webkit-details-marker { display: none; }
.slq-faq__item summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.slq-faq__chevron { width: 18px; height: 18px; flex: none; color: var(--slq-harbour); transition: transform 200ms var(--slq-ease-out); }
.slq-faq__item[open]:not(.is-closing) .slq-faq__chevron { transform: rotate(180deg); }
.slq-faq__answer { overflow: hidden; color: var(--slq-muted); }
.slq-faq__answer p { margin: 0; padding-bottom: 20px; max-width: 62ch; }

@media (max-width: 1024px) {
  .slq-faq { grid-template-columns: 1fr; gap: 32px; }
  .slq-faq__intro { position: static; }
}
