/* FAQ section */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--light-gray);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  text-align: left;
  padding: 20px 0;
  font-size: 1.7rem;
  color: var(--oxford-red-2);
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: color 0.2s;
  font-weight: 600;
}
.faq-question[aria-expanded="true"] {
  color: var(--royal-red-light);
}
.faq-question i {
  margin-left: 10px;
  transition: transform 0.3s;
}
.faq-question[aria-expanded="true"] i {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  color: var(--sonic-silver);
  font-size: 1.5rem;
  font-family: inherit;
  font-weight: normal; /* Not bold */
  padding: 0 0 0 0;
  transition: max-height 0.3s ease, padding 0.3s;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 0 20px 0;
}

/* Lists in the error-page FAQs retain their original spacing and markers. */
.error-page .faq-answer ul,
.error-page .faq-answer ol {
  margin-left: 25px;
  margin-bottom: 15px;
  padding-left: 20px;
}
.error-page .faq-answer ul { list-style-type: disc !important; }
.error-page .faq-answer ol { list-style-type: decimal !important; }
.error-page .faq-answer li {
  list-style: inherit !important;
  margin-bottom: 8px;
  font-size: inherit;
  color: inherit;
  font-weight: normal;
}
