.fsab-faq,
.fsab-contact {
  --page-gutter: 128px;
  --field-border: #fbd3e2;
  --field-text: #656065;
}

:is(.fsab-faq, .fsab-contact) .shell {
  width: min(var(--shell-max), 100% - 2 * var(--page-gutter));
}

.fsab-faq,
.fsab-contact-overview,
.fsab-contact-details {
  background: linear-gradient(var(--pale), var(--white));
}

.fsab-faq-contact-intro {
  padding-top: 189px;
  text-align: center;
}

.fsab-faq-contact-intro h1 {
  font-size: 48px;
  line-height: 56px;
}

.fsab-faq .fsab-faq-contact-intro h1 {
  width: min(100%, calc(44vw - 0.88 * var(--page-gutter)));
  margin-inline: auto;
}

.fsab-faq-contact-intro p {
  max-width: 864px;
  margin: 12px auto 0;
}

.fsab-faq-answer a,
.fsab-faq-contact-intro a {
  color: var(--magenta);
}

.fsab-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, min(56%, 30% + 285px)) minmax(0, 1fr);
  align-items: start;
  gap: 32px;
  min-height: 783px;
  margin-top: 48px;
  padding-bottom: 52px;
}

.fsab-faq-art img {
  width: 100%;
}

.fsab-faq-questions {
  padding-top: 60px;
}

.fsab-faq-item:not(:last-child) {
  margin-bottom: 20px;
}

.fsab-faq-item:not(:last-child)::after {
  display: block;
  width: 78px;
  height: 22px;
  margin-inline: 20px;
  border-bottom: 2px solid var(--rose);
  content: "";
}

.fsab-faq-item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 20px;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  list-style: none;
  overflow-wrap: anywhere;
  cursor: pointer;
}

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

.fsab-faq-indicator {
  position: relative;
  flex: 0 0 16px;
  height: 16px;
  color: var(--magenta);
}

.fsab-faq-indicator::before,
.fsab-faq-indicator::after {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 13px;
  height: 3px;
  transform: translate(-50%, -50%);
  border-radius: 1px;
  background: currentColor;
  content: "";
}

.fsab-faq-indicator::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.fsab-faq-item[open] .fsab-faq-indicator::after {
  display: none;
}

.fsab-faq-answer {
  padding-inline: 20px;
  overflow-wrap: anywhere;
}

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

.fsab-faq-answer ul {
  margin-block: 0;
  padding-inline-start: 24px;
}

.fsab-contact {
  overflow: hidden;
}

.fsab-contact-overview {
  padding-bottom: 58px;
}

.fsab-contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 640px) minmax(0, 1fr);
  align-items: start;
  gap: 50px;
  margin-top: 50px;
}

.fsab-contact-art {
  position: relative;
  align-self: stretch;
  pointer-events: none;
}

.fsab-contact-art img {
  position: absolute;
  z-index: 1;
  width: min(740px, 100% + var(--page-gutter));
  max-width: none;
}

.fsab-contact-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 32px;
}

.fsab-contact-fields > div {
  min-width: 0;
}

.fsab-contact-field-wide {
  grid-column: 1 / -1;
}

.fsab-contact-fields label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.fsab-contact-fields :is(input, textarea) {
  display: block;
  width: 100%;
  padding: 6px 16px;
  border: 1px solid var(--field-border);
  border-radius: 24px;
  background: var(--white);
  color: var(--field-text);
  font: inherit;
  opacity: 1;
}

.fsab-contact-fields :is(input, textarea)::placeholder {
  color: var(--field-text);
  opacity: 1;
}

.fsab-contact-fields textarea {
  min-height: 116px;
  resize: none;
}

.fsab-contact-fields .button:disabled {
  grid-column: 1 / -1;
  justify-self: start;
  border: 0;
  padding-inline: 32px;
  background: var(--button-background);
}

.fsab-contact-details {
  padding-block: 60px 80px;
}

.fsab-contact-details .rule {
  margin-block: 20px;
}

.fsab-contact-details address {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: start;
  gap: 4px;
  padding-top: 300px;
  font-style: normal;
}

.fsab-contact-details address a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.fsab-contact-details address svg {
  flex: 0 0 14px;
  width: 14px;
  height: 16px;
  align-self: start;
  margin-top: 5px;
  fill: var(--magenta);
}

@media (min-width: 1025px) and (max-width: 1350px) {
  .fsab-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .fsab-faq,
  .fsab-contact {
    --page-gutter: 64px;
  }

  .fsab-faq-grid {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .fsab-contact-overview {
    padding-bottom: 50px;
  }

  .fsab-contact-grid {
    grid-template-columns: minmax(0, 640px);
    justify-content: center;
  }

  .fsab-contact-art {
    display: none;
  }
}

@media (max-width: 767px) {
  .fsab-faq,
  .fsab-contact {
    --page-gutter: 32px;
  }

  .fsab-faq-contact-intro {
    padding-top: 134px;
  }

  .fsab-faq .fsab-faq-contact-intro h1 {
    width: 100%;
  }

  .fsab-contact .fsab-faq-contact-intro {
    padding-top: 125px;
  }

  .fsab-contact h2 {
    text-align: center;
  }

  .fsab-contact .rule {
    margin-inline: auto;
  }

  .fsab-contact-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .fsab-contact-fields .button:disabled {
    justify-self: center;
  }
}
