/* ==========================================================================
   FAQItem, FAQList — 07 §11.20, §11.21
   ========================================================================== */

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-item__question {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-height: var(--touch-target-primary);
  padding-block: var(--space-4);
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--text-strong);
  cursor: pointer;
  list-style: none;
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

/* Native marker, drawn with CSS rather than an image so it always matches
   the accent system and rotates with a plain transform. */
.faq-item__question::before {
  content: "+";
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  font-size: var(--text-lg);
  color: var(--text-accent);
  transition: transform var(--transition-fast);
}

.faq-item[open] .faq-item__question::before {
  transform: rotate(45deg);
}

.faq-item__answer {
  padding-bottom: var(--space-5);
  max-width: var(--measure-faq);
}

.faq-item__answer p {
  margin: 0;
  color: var(--text-muted);
}
