/* ==========================================================================
   faq — accordion. The open panel's max-height is written inline by
   js/modules/faq.js, which also recalculates it on resize.
   ========================================================================== */

.faq-list {
  margin-top: 40px;
  max-width: 720px;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--sand);
  font-family: 'Fraunces', serif;
  font-size: 19px;
  text-align: left;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.faq-icon {
  color: var(--gold);
  font-size: 22px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}
.faq-answer p {
  color: var(--stone);
  font-size: 15px;
  line-height: 1.6;
  padding-bottom: 24px;
  max-width: 60ch;
}
