/* V2 FAQ page */

.faq-split .split__block h1 {
  max-width: 9ch;
}

.faq-split .lede {
  max-width: 28rem;
}

.faq-list {
  padding-bottom: var(--section-s);
}

.faq-close {
  display: grid;
  gap: var(--space-5);
  padding-block: var(--section-s) var(--section-l);
}

.faq-close h2 {
  max-width: 14ch;
}

@media (min-width: 56rem) {
  .faq-close {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: var(--grid-gap);
    align-items: end;
  }
}

/* Label plate for the split photo (shared CSS only styles .photo captions) */
.faq-split .split__media figcaption {
  position: static;
  display: block;
  width: fit-content;
  max-width: 100%;
  padding: 0.3125rem 0.625rem 0.375rem;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: var(--text-label);
  font-weight: var(--weight-medium);
  line-height: 1.3;
}

@media (min-width: 56rem) {
  .faq-split .split__media figcaption {
    position: absolute;
    left: 0;
    bottom: 0;
    background: var(--white);
    color: var(--black);
  }
}
