/* Native details remains the fallback when JavaScript is unavailable. */
:root { --figma-faq-styles-ready: 1; }

.faq-item:not([open]) > .faq-answer,
.faq-item:not([open]) > .faq-answer-panel {
  display: none;
}

.faq-answer-panel {
  display: block;
  overflow: hidden;
  overflow: clip;
}

.faq-item.is-faq-animating > .faq-answer-panel {
  will-change: height;
}

/* The open attribute stays set while the closing height is animated. */
.faq-item.is-faq-closing > .faq-question::after {
  content: "＋";
}

.faq-question:focus-visible {
  outline: 2px solid #292929;
  outline-offset: 3px;
  border-radius: inherit;
}
