.faq-section {
  max-width: 600px;
  width: 100%;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 1.5rem;
}

.faq-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.faq-item {
  border-top: 1px solid #e5e7eb;
  margin-top: 1rem;
  padding-top: 1rem;
  /* Enable focus-within so child focus toggles */
  position: relative;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 0.5rem 0;
  font-size: 1.125rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chevron {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border-right: 2px solid #4b5563;
  border-bottom: 2px solid #4b5563;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  color: #52525b;
  font-size: 1rem;
  transition: max-height 0.3s ease;
}

/* Toggle open state: focus or focus-within */
.faq-item:focus-within .faq-answer {
  max-height: 200px;
  margin-top: 0.5rem;
}

.faq-item:focus-within .chevron {
  transform: rotate(225deg);
}