.faq-page main {
  color: #000000;
}

.faq-hero {
  padding-bottom: 48px;
}

.faq-hero__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.faq-hero__image {
  display: block;
  width: 100%;
  height: auto;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 3.1fr);
  gap: 70px;
  padding-bottom: 90px;
}

.faq-categories .about-eyebrow {
  padding-bottom: 12px;
  border-bottom: 1px solid #ded8d1;
}

.faq-categories a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 12px;
  color: inherit;
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
}

.faq-categories a span {
  visibility: hidden;
}

.faq-categories a[aria-current],
.faq-categories a:hover,
.faq-categories a:focus-visible {
  background: #f1eae2;
}

.faq-categories a[aria-current] span {
  visibility: visible;
}

.faq-contact {
  margin-top: 48px;
  padding: 24px;
  background: #f8f5f0;
}

.faq-contact .site-button {
  margin-top: 8px;
}

.faq-section {
  scroll-margin-top: 24px;
}

.faq-section + .faq-section {
  margin-top: 48px;
}

.faq-section h2 {
  margin: 0;
  padding-bottom: 12px;
  font-family: 'Forum', serif;
  font-size: 33px;
  font-weight: 400;
  line-height: 1.1;
  border-bottom: 1px solid #ded8d1;
}

.faq-item {
  border-bottom: 1px solid #ded8d1;
}

.faq-item h3 {
  margin: 0;
}

.faq-question {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
  border: 0;
  color: inherit;
  background: transparent;
  font-family: 'Forum', serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  flex: 0 0 24px;
  text-align: center;
}

.faq-answer {
  padding: 0 36px 20px 0;
}

.faq-answer p {
  margin: 0;
}

.faq-answer p + p {
  margin-top: 14px;
}

.faq-answer a {
  color: inherit;
  text-underline-offset: 4px;
}

.faq-answer a:hover {
  text-decoration: none;
}

@media (max-width: 900px) {
  .faq-hero__layout {
    gap: 38px;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .faq-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 38px;
  }

  .faq-contact {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .faq-hero__layout,
  .faq-sidebar {
    grid-template-columns: 1fr;
  }

  .faq-layout {
    padding-bottom: 60px;
  }

  .faq-hero {
    padding-bottom: 42px;
  }
}

.faq-form[hidden] {
  display: none;
}

.faq-form .field-error:empty {
  display: none;
}

.faq-form .site-button {
  min-width: 0;
  width: 100%;
  min-height: 44px;
  padding-inline: 12px;
}

.faq-form .site-button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.faq-form .contact-field input,
.faq-form .contact-field textarea,
.faq-form .contact-field select {
  min-width: 0;
  padding: 11px 12px;
}

.faq-verification {
  display: grid;
  gap: 13px;
  margin-top: 5px;
  padding: 16px;
  border: 1px solid var(--contact-border);
  background: rgba(255, 255, 255, 0.38);
}

.faq-verification[hidden] {
  display: none;
}

.faq-verification h3 {
  margin: 0;
  font-family: 'Forum', serif;
  font-size: 25px;
  font-weight: 400;
}

.faq-verification > p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}

.faq-form .contact-field textarea {
  min-height: 100px;
}
