/* FAQ page specific styles, inherits global styles from ../styles.css */

.faq .faq__list {
  display: grid;
  gap: 1rem;
}

.faq__item {
  background: var(--card-bg, #121212);
  border: 1px solid var(--border-color, #222);
  border-radius: 12px;
  overflow: hidden;
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  font-weight: 600;
  color: var(--text-color, #fff);
  background: transparent;
  border: none;
  cursor: pointer;
}

.faq__question[aria-expanded="true"] .faq__icon {
  transform: rotate(45deg);
}

.faq__icon {
  transition: transform 0.2s ease;
  font-weight: 700;
}

.faq__answer {
  padding: 0 1.25rem 1.25rem;
  color: var(--text-muted, #cfcfcf);
}

/* Section spacing aligns with site */
.faq.section .container {
  max-width: 1024px;
}

/* Ensure content clears the fixed header */
.faq.section {
  padding-top: calc(var(--header-height) + 2.5rem);
}

@media screen and (max-width: 768px) {
  .faq.section {
    padding-top: calc(var(--header-height) + 6rem);
  }
}