.faq .question {
  border-radius: var(---ui-roundness, 7px);
}

:where(html.transp) .faq .question, .faq :where(html.transp) .question {
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.faq .question {
  border: 1px solid var(--c-border);
}

@supports (interpolate-size: allow-keywords) {
  :root {
    interpolate-size: allow-keywords;
  }

  ::details-content {
    transition: height .3s ease, content-visibility .3s ease allow-discrete;
    height: 0;
    overflow: clip;
  }

  [open]::details-content {
    height: auto;
  }
}

.faq .question {
  background: var(--c-bg-zebra);
  margin-top: 1em;
  padding: 1em 2em;
}

.faq .question + h2 {
  margin-top: 1.3em;
}

.faq .question:open summary {
  color: var(--c-accent);
}

.faq .question:open summary::marker {
  color: var(--c-accent);
}

.faq .question summary {
  cursor: pointer;
  padding-top: 0;
  font-size: 1.3em;
  font-weight: bold;
}

.faq .question summary::marker {
  color: var(--c-font-dim);
}

.faq .question summary span {
  margin-left: .25em;
}

.faq .question .answer {
  padding-top: .5em;
}

.faq .question .answer :last-child {
  margin-bottom: .25em;
}

.faq h2 {
  margin-bottom: .3em;
}

.faq h4 {
  margin: .5rem 0;
  font-size: 1.2em;
}

.faq ol li {
  list-style: decimal;
}

.faq ul li {
  list-style: outside;
}

.faq ol, .faq ul {
  margin-inline-start: 2em;
  margin-bottom: 1em;
}

.faq em {
  font-style: italic;
}

.faq img {
  max-width: 100%;
}
