/* ==========================================================================
   FAQ Section — two-column bordered accordion
   Used across: Product pages
   Prefix: faq-section
   ========================================================================== */

.faq-section {
  padding: 4rem 0 5rem;
}

.faq-section .container {
  max-width: 76rem;
}

/* Header */
.faq-section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-section__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--vox-charcoal);
  margin: 0;
}

/* Two-column grid */
.faq-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2.5rem;
}

/* Bordered accordion column */
.faq-section__column {
  border: 1px solid var(--vox-gray-200, #E0E0E0);
  border-radius: 0.5rem;
  overflow: hidden;
  align-self: start;
}

.faq-section__item {
  border-bottom: 1px solid var(--vox-gray-200, #E0E0E0);
}

.faq-section__item:last-child {
  border-bottom: none;
}

.faq-section__item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--vox-charcoal);
  transition: color 0.2s ease;
}

.faq-section__item summary:hover {
  color: var(--vox-purple);
}

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

.faq-section__chevron {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
  color: var(--vox-cool-gray);
}

.faq-section__item[open] .faq-section__chevron {
  transform: rotate(180deg);
}

.faq-section__answer {
  padding: 0 1.25rem 1rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--vox-cool-gray);
}

.faq-section__answer p {
  margin: 0;
}

/* Responsive — single column on mobile */
@media (max-width: 767px) {
  .faq-section {
    padding: 3rem 0 4rem;
  }

  .faq-section__header {
    margin-bottom: 2rem;
  }

  .faq-section__grid {
    grid-template-columns: 1fr;
  }

  .faq-section__item summary {
    font-size: 0.9375rem;
    padding: 0.875rem 1rem;
  }

  .faq-section__answer {
    padding: 0 1rem 0.875rem;
    font-size: 0.875rem;
  }
}
