/* FAQ isolation layer: keeps legacy global details styles from colliding with the homepage. */
.faq-section .faq-list {
  min-width: 0;
}

.faq-section .faq-list details {
  margin: 0;
  padding: 0;
}

.faq-section .faq-list summary {
  position: static;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px;
  align-items: center;
  gap: 20px;
  min-width: 0;
  min-height: 88px;
  padding: 22px 0;
  font-size: clamp(17px, 1.7vw, 23px);
  line-height: 1.35;
  overflow: visible;
}

.faq-section .faq-list summary::after {
  content: none;
}

.faq-section .faq-question {
  display: block;
  width: auto;
  height: auto;
  min-width: 0;
  border: 0;
  border-radius: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  overflow-wrap: anywhere;
  hyphens: auto;
  text-wrap: pretty;
  transform: none;
  transition: none;
}

.faq-section .faq-toggle {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
  font-size: 21px;
  line-height: 1;
  transform: none;
}

.faq-section .faq-toggle::before {
  content: "+";
  display: block;
  line-height: 1;
  transition: transform .25s;
}

.faq-section .faq-list details[open] .faq-toggle::before {
  transform: rotate(45deg);
}

.faq-section .faq-list details > div {
  padding: 0 56px 26px 0;
}

.faq-section .faq-list details p {
  margin: 0;
  max-width: 760px;
  font-size: 16px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .faq-section .faq-grid {
    gap: 42px;
  }

  .faq-section .faq-intro h2 {
    font-size: clamp(2.5rem, 12vw, 3.15rem);
    line-height: 1.08;
    letter-spacing: -.045em;
    overflow-wrap: anywhere;
  }

  .faq-section .faq-list summary {
    grid-template-columns: minmax(0, 1fr) 34px;
    gap: 14px;
    min-height: 82px;
    padding: 20px 0;
    font-size: 17px;
    line-height: 1.42;
  }

  .faq-section .faq-toggle {
    width: 34px;
    height: 34px;
    min-width: 34px;
    font-size: 20px;
  }

  .faq-section .faq-list details > div {
    padding: 0 0 22px;
  }

  .faq-section .faq-list details p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
  }
}

@media (max-width: 360px) {
  .faq-section .faq-list summary {
    grid-template-columns: minmax(0, 1fr) 32px;
    gap: 12px;
    font-size: 16px;
  }

  .faq-section .faq-toggle {
    width: 32px;
    height: 32px;
    min-width: 32px;
  }
}
