/* CMS-authored FAQ formatting, scoped to the current FAQ page. */
#faq-list .faq-answer {
  line-height: 1.75;
  overflow-wrap: anywhere;
}

#faq-list .faq-answer > * + * {
  margin-top: 1rem;
}

#faq-list .faq-answer p {
  margin-bottom: 1rem;
}

#faq-list .faq-answer ol,
#faq-list .faq-answer ul {
  padding-inline-start: 1.75rem;
  margin-block: 1rem;
}

#faq-list .faq-answer ol { list-style: decimal outside; }
#faq-list .faq-answer ul { list-style: disc outside; }

#faq-list .faq-answer li + li {
  margin-top: 0.625rem;
}

#faq-list .faq-answer li::marker {
  color: #324b37;
  font-weight: 600;
}

#faq-list .faq-answer a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

#faq-list .faq-answer figure {
  width: 100%;
  max-width: 36rem;
  margin: 1.5rem 0;
  padding: 0.75rem;
  border: 1px solid #a5b37b;
  border-radius: 0.75rem;
  background: #fff;
  break-inside: avoid;
}

#faq-list .faq-answer figure > a {
  display: block;
  border-radius: 0.375rem;
}

#faq-list .faq-answer a:focus-visible {
  outline: 3px solid #63795f;
  outline-offset: 4px;
}

#faq-list .faq-answer img {
  max-width: 100%;
  height: auto;
}

#faq-list .faq-answer figure img {
  display: block;
  width: auto;
  max-height: 32rem;
  margin-inline: auto;
  border-radius: 0.375rem;
}

#faq-list .faq-answer figcaption {
  margin-top: 0.875rem;
  padding: 0.75rem;
  border-top: 1px solid #a5b37b;
  background: #fffade;
  border-radius: 0 0 0.375rem 0.375rem;
  color: #324b37;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.6;
}

#faq-list .faq-answer > :last-child {
  margin-bottom: 0;
}
