/* Shared FAQ containment and responsive accordion layout. */
.faq {
  height: auto;
  min-height: 0;
  overflow: visible;
}

.faq > .faq-layout {
  display: grid;
  width: min(calc(100% - 96px), 1632px);
  height: auto;
  min-height: 523px;
  align-items: start;
  justify-content: center;
  margin-right: auto;
  margin-left: auto;
  padding: 72px clamp(48px, calc((100vw - 1040px) * 0.3), 208px);
  border-top: 0;
  border-right: 1px solid #373a41;
  border-bottom: 1px solid #373a41;
  border-left: 1px solid #373a41;
  grid-template-columns: repeat(2, minmax(0, 576px));
  gap: clamp(48px, 5.5vw, 96px);
}

.faq > .faq-layout > *,
.faq .accordion,
.faq .faq-item,
.faq .faq-answer {
  min-width: 0;
  max-width: 100%;
}

.faq .accordion {
  width: 100%;
  align-self: start;
}

.faq .faq-item {
  height: auto;
  overflow-wrap: anywhere;
}

@media (max-width: 1200px) {
  .faq > .faq-layout {
    padding: 72px 48px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
  }
}

@media (max-width: 1100px) {
  .faq > .faq-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
  }
}

@media (max-width: 760px) {
  .faq > .faq-layout {
    width: 100%;
    min-height: 0;
    padding: 56px 20px;
    border-right: 0;
    border-left: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
  }
}
