.gb-faq-body {
  background: #fff;
}

.gb-faq {
  overflow: visible;
}

.gb-faq-page {
  --faq-accent: #1746b6;
  --faq-rule: #d6dee7;
  --faq-copy: #53677c;
  background: #fff;
}

.gb-faq-heading {
  position: relative;
  min-height: 160px;
  padding: 3rem 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid #d6e1e9;
  background: #f5f7f9;
}

.gb-faq-heading h1 {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 4rem), 1040px);
  margin: 0 auto;
  color: var(--page-blue);
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
}

.gb-faq-section {
  width: min(calc(100% - 4rem), 1040px);
  margin: 0 auto;
  padding-top: 2.25rem;
  scroll-margin-top: 5.5rem;
}

.gb-faq-section-heading {
  margin: 0;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--faq-accent);
}

.gb-faq-section-heading h2 {
  margin: 0;
  color: #24415d;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.faq-list {
  border-bottom: 1px solid rgba(23, 70, 182, 0.26);
}

.faq-item {
  border-bottom: 1px solid rgba(23, 70, 182, 0.22);
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-item[open] {
  background: #fff;
}

.faq-item[open] summary {
  color: var(--page-blue);
}

.faq-item summary {
  position: relative;
  min-height: 3.9rem;
  padding: 0.85rem 3.25rem 0.85rem 0;
  display: flex;
  align-items: center;
  color: #263b50;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  font-weight: 620;
  letter-spacing: -0.01em;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before,
.faq-item summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.45rem;
  width: 0.9rem;
  height: 1px;
  background: var(--faq-accent);
  transform: translateY(-50%);
  transition: transform 160ms ease;
}

.faq-item summary::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq-item[open] summary::after {
  transform: translateY(-50%);
}

.faq-item summary:hover {
  color: var(--page-blue);
}

.faq-item summary:focus-visible {
  outline: 3px solid rgb(var(--page-blue-rgb) / 0.22);
  outline-offset: 3px;
}

.faq-answer {
  padding: 0 3.25rem 1.2rem 0;
}

.faq-answer p {
  max-width: 50rem;
  margin: 0;
  color: var(--faq-copy);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-answer a {
  color: var(--page-blue);
  font-weight: 620;
  text-underline-offset: 0.18em;
}

.gb-faq-contact {
  width: min(calc(100% - 4rem), 1040px);
  margin: 3rem auto;
  padding: 1.65rem 1.8rem 1.8rem;
  display: grid;
  grid-template-columns: minmax(14rem, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  border: 1px solid #d8e1e8;
  border-top: 3px solid var(--faq-accent);
  border-radius: 0.4rem;
  background: #f5f7f9;
}

.gb-faq-contact .gb-section-index {
  margin-bottom: 0.45rem;
  color: var(--page-blue);
}

.gb-faq-contact h2 {
  margin: 0;
  color: #21364b;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.gb-faq-contact-copy > p:last-child {
  margin: 0.5rem 0 0;
  color: var(--faq-copy);
  font-size: 0.94rem;
  line-height: 1.5;
}

.gb-faq-question-form {
  display: grid;
  gap: 0.9rem;
}

.gb-faq-form-field {
  display: grid;
  gap: 0.35rem;
}

.gb-faq-form-field label {
  color: #263b50;
  font-size: 0.85rem;
  font-weight: 620;
}

.gb-faq-form-field input,
.gb-faq-form-field textarea {
  width: 100%;
  border: 1px solid #bccbd7;
  border-radius: 0.35rem;
  background: #fff;
  color: #21364b;
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.45;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.gb-faq-form-field input {
  min-height: 2.7rem;
  padding: 0.6rem 0.75rem;
}

.gb-faq-form-field textarea {
  min-height: 7rem;
  padding: 0.7rem 0.75rem;
  resize: vertical;
}

.gb-faq-form-field input::placeholder,
.gb-faq-form-field textarea::placeholder {
  color: #7b8b9b;
}

.gb-faq-form-field input:focus,
.gb-faq-form-field textarea:focus {
  border-color: var(--faq-accent);
  outline: 0;
  box-shadow: 0 0 0 3px rgb(var(--page-blue-rgb) / 0.14);
}

.gb-faq-form-errors,
.gb-faq-field-errors {
  color: #9f2730;
  font-size: 0.82rem;
  line-height: 1.4;
}

.gb-faq-form-errors {
  padding: 0.65rem 0.75rem;
  border-left: 3px solid #b8323d;
  background: #fff2f3;
}

.gb-faq-form-errors p,
.gb-faq-field-errors ul {
  margin: 0;
}

.gb-faq-field-errors ul {
  padding-left: 1.15rem;
}

.gb-faq-question-form .auth-turnstile {
  margin: 0.1rem 0 0;
}

.gb-faq-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.gb-faq-form-actions p {
  margin: 0;
  color: var(--faq-copy);
  font-size: 0.82rem;
}

.gb-faq-form-actions .gb-button {
  min-width: 9.5rem;
  border: 1px solid #7890a7;
  background: transparent;
  box-shadow: none;
  color: #28516f;
  cursor: pointer;
}

.gb-faq-question-success {
  min-height: 9rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.gb-faq-question-success-mark {
  width: 2.4rem;
  height: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid rgb(var(--page-blue-rgb) / 0.28);
  border-radius: 50%;
  background: #fff;
  color: var(--page-blue);
  font-size: 1.2rem;
  font-weight: 700;
}

.gb-faq-question-success h3 {
  margin: 0;
  color: #21364b;
  font-size: 1.2rem;
  font-weight: 650;
}

.gb-faq-question-success p {
  margin: 0.25rem 0 0;
  color: var(--faq-copy);
  font-size: 0.9rem;
}

@media (max-width: 760px) {
  .gb-faq-contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .gb-faq-heading {
    min-height: 125px;
    padding: 2.25rem 0;
  }

  .gb-faq-heading h1,
  .gb-faq-section,
  .gb-faq-contact {
    width: calc(100% - 2.2rem);
  }

  .gb-faq-heading h1 {
    max-width: none;
    margin-inline: auto;
    font-size: clamp(2.15rem, 10vw, 2.8rem);
  }

  .gb-faq-section {
    padding-top: 1.8rem;
    scroll-margin-top: 1rem;
  }

  .faq-item summary {
    min-height: 3.7rem;
    padding-right: 2.5rem;
  }

  .faq-answer {
    padding-right: 1rem;
  }

  .gb-faq-contact {
    margin-block: 2.5rem;
    padding: 1.5rem;
    gap: 1.35rem;
  }

  .gb-faq-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .gb-faq-form-actions .gb-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-item summary::before,
  .faq-item summary::after {
    transition: none;
  }
}
