/* ===========================================================================
   FaqItem — accordion row for the Faq section.
   Inherits --faq-accent / --faq-text from the parent Faq section.
   =========================================================================== */

.cc_pxqp5f8i_O7wh2fV4HE .faq-item-wrap {
  display: block;
}

/* ===== Category heading (set on the first item of a group) ===== */
.cc_pxqp5f8i_O7wh2fV4HE .faq-cat {
  margin: var(--space-lg) 0 var(--space-xs);
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: var(--ls-none);
  color: var(--color-accent-text);
}

.cc_pxqp5f8i_O7wh2fV4HE .faq-item-wrap:first-child .faq-cat {
  margin-top: 0;
}

/* ===== Accordion item ===== */
.cc_pxqp5f8i_O7wh2fV4HE .faq-item {
  border-top: 1px solid var(--color-border-soft);
}

.cc_pxqp5f8i_O7wh2fV4HE .faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  color: var(--faq-text, var(--color-text));
}

.cc_pxqp5f8i_O7wh2fV4HE .faq-item__q-text {
  font-family: var(--font-body);
  font-size: var(--text-h4);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: var(--ls-tight);
}

.cc_pxqp5f8i_O7wh2fV4HE .faq-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--faq-text, var(--color-text));
  transition: color 200ms ease, transform 200ms ease;
}

.cc_pxqp5f8i_O7wh2fV4HE .faq-item__q:hover .faq-item__icon, .cc_pxqp5f8i_O7wh2fV4HE .faq-item.is-open .faq-item__icon {
  color: var(--faq-accent, var(--color-primary));
}

/* ===== Answer (grid-rows collapse for smooth open/close) ===== */
.cc_pxqp5f8i_O7wh2fV4HE .faq-item__a-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.cc_pxqp5f8i_O7wh2fV4HE .faq-item.is-open .faq-item__a-wrap {
  grid-template-rows: 1fr;
}

/* Spacing never changes between states (it used to jump on open/close):
   the bottom gap is a spacer inside the clipped row. */
.cc_pxqp5f8i_O7wh2fV4HE .faq-item__a {
  min-height: 0;
  padding: 0 40px 0 0;
  opacity: 0;
  transition: opacity 220ms ease;
  overflow: hidden;
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.55;
  letter-spacing: var(--ls-body);
  color: var(--color-text-muted);
}

.cc_pxqp5f8i_O7wh2fV4HE .faq-item.is-open .faq-item__a {
  opacity: 1;
}

/* Bottom gap as a spacer, so it also works when the answer is bare text. */
.cc_pxqp5f8i_O7wh2fV4HE .faq-item__a::after {
  content: "";
  display: block;
  height: 18px;
}

.cc_pxqp5f8i_O7wh2fV4HE .faq-item__a > * {
  margin-top: 0;
}


@media (max-width: 767px) {
  .cc_pxqp5f8i_O7wh2fV4HE .faq-item__q-text {
    font-size: 16px;
    letter-spacing: -0.02em;
  }

  .cc_pxqp5f8i_O7wh2fV4HE .faq-item__icon {
    width: 18px;
    height: 18px;
  }

  .cc_pxqp5f8i_O7wh2fV4HE .faq-item__a {
    font-size: 15px;
  }

  .cc_pxqp5f8i_O7wh2fV4HE .faq-item__a {
    padding-right: 0;
  }
}

.cc_pxqp5f8i_O7wh2fV4HE .faq-item__a :where(p, ul, ol) {
  margin: 0 0 0.8em;
}

.cc_pxqp5f8i_O7wh2fV4HE .faq-item__a :where(ul, ol) {
  padding-left: 1.25em;
}

.cc_pxqp5f8i_O7wh2fV4HE .faq-item__a li {
  margin: 0.25em 0;
}

.cc_pxqp5f8i_O7wh2fV4HE .faq-item__a :where(h1, h2, h3, h4, h5, h6) {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: var(--ls-tight);
  color: var(--faq-text, var(--color-text));
  margin: 1em 0 0.4em;
}

.cc_pxqp5f8i_O7wh2fV4HE .faq-item__a :where(h1, h2, h3, h4, h5, h6):first-child {
  margin-top: 0;
}

.cc_pxqp5f8i_O7wh2fV4HE .faq-item__a h1, .cc_pxqp5f8i_O7wh2fV4HE .faq-item__a h2 {
  font-size: var(--text-headline-md);
}

.cc_pxqp5f8i_O7wh2fV4HE .faq-item__a h3 {
  font-size: var(--text-body-lg);
}

.cc_pxqp5f8i_O7wh2fV4HE .faq-item__a :where(h4, h5, h6) {
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 600;
}

.cc_pxqp5f8i_O7wh2fV4HE .faq-item__a strong {
  font-weight: 600;
  color: var(--faq-text, var(--color-text));
}

.cc_pxqp5f8i_O7wh2fV4HE .faq-item__a :where(p, ul, ol, h1, h2, h3, h4, h5, h6):last-child {
  margin-bottom: 0;
}

.cc_pxqp5f8i_O7wh2fV4HE .faq-item__a a {
  color: var(--faq-accent, var(--color-primary));
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cc_pxqp5f8i_O7wh2fV4HE .faq-item__q:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}

.cc_pxqp5f8i_O7wh2fV4HE .faq-item__icon svg {
  width: 100%;
  height: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .cc_pxqp5f8i_O7wh2fV4HE .faq-item__a-wrap, .cc_pxqp5f8i_O7wh2fV4HE .faq-item__a {
    transition: none;
  }
}

.cc_pxqp5f8i_O7wh2fV4HE .faq-item__a > :last-child {
  margin-bottom: 0;
}
