/* faq.html */

.faq-list {
  margin: 0;
  padding: 0;
  text-align: left;
}

.faq-item {
  border-bottom: 1px solid var(--lavender-200);
  margin-bottom: 0;
}

.faq-item:first-child {
  border-top: 1px solid var(--lavender-200);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.35rem 0;
  text-align: left;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--purple-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--purple-700);
}

.faq-question:focus-visible {
  outline: 2px solid var(--purple-600);
  outline-offset: 2px;
  border-radius: 4px;
}

.faq-icon {
  transition: transform 0.3s ease;
  color: var(--purple-600);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 0 0 0;
}

.faq-item.is-open .faq-answer {
  max-height: 500px;
  padding: 0 0 1.35rem 0;
}

.faq-answer p {
  margin: 0;
  color: #6b5b85;
  line-height: 1.65;
  text-align: justify;
}
