/*
 * Frequently Asked Questions page tweaks
 * Collapsible FAQ items (items 2+ collapsed by default).
 */

.faq-container {
  display: grid;
  gap: clamp(12px, 2vw, 18px);
  margin: 0;
  padding: 0;
}

.faq-item {
  margin: 0;
  padding: clamp(14px, 2vw, 18px);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 16px 32px rgba(5, 7, 19, 0.12);
}

.faq-item h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  cursor: pointer;
}

.faq-item h3 .number {
  margin-right: 6px;
}

.faq-item h3::after {
  content: '';
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-left: 0;
  border-top: 0;
  transform: rotate(45deg);
  opacity: 0.5;
}

.faq-item.is-open h3::after {
  transform: rotate(-135deg);
}

.faq-item .faq-body {
  margin-top: 10px;
}

.faq-item.is-collapsed .faq-body {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .faq-item h3 {
    scroll-behavior: auto;
  }
}
