.faq {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 10vw;
}

.faq-intro h2 {
  font-size: 2.5rem;
}

.faq-intro a {
  border-bottom: 1px solid var(--gold);
}

@media (max-width: 800px) {
  .steps,
  .faq,
  .story {
    grid-template-columns: 1fr;
  }
}

.faq-page {
  background: #0e4061;
  color: #fff;
  padding: 120px max(6vw, calc((100% - 920px) / 2)) 90px;
  min-height: 3113px;
}

.faq-page h1 {
  font-size: 58px;
  text-align: center;
  margin: 0 0 65px;
}

.faq-page details {
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.faq-page details:last-of-type {
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.faq-page summary {
  font-size: 24px;
  padding: 34px 52px 34px 0;
  line-height: 1.4;
}

.faq-page details div {
  color: #fff;
  padding: 0 4% 35px 0;
  max-width: 85%;
}

.faq-page details p {
  margin: 0 0 18px;
}

@media (max-width: 767px) {
  .faq-page {
    padding: 135px 8vw 70px;
    min-height: 0;
  }

  .faq-page h1 {
    font-size: 45px;
  }

  .faq-page details div {
    max-width: 100%;
  }
}

.faq-page {
  min-height: 0 !important;
  padding-top: 190px !important;
  padding-bottom: 70px !important;
}

@media (max-width: 767px) {
  .faq-page {
    padding-top: 145px !important;
  }
}

/* FAQ page refinements. */
.faq-page {
  padding-top: 245px !important;
  padding-right: clamp(48px, 6vw, 96px);
  padding-bottom: 70px !important;
  padding-left: clamp(48px, 6vw, 96px);
}

.guidelines-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(500px, 1.45fr);
  gap: clamp(60px, 8vw, 125px);
  align-items: start;
  width: min(1280px, 100%);
  margin: 0 auto;
}

.guidelines-intro {
  position: sticky;
  top: 245px;
}

.faq-page h1 {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 0;
  text-align: left;
}

.faq-page h1 span {
  display: block;
}

.guidelines-title {
  width: fit-content;
}

.guidelines-title-ornament {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 130px;
  height: 20px;
  margin: 13px auto 28px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
}

.guidelines-title-ornament::before,
.guidelines-title-ornament::after {
  width: 48px;
  height: 1px;
  background: #fff;
  content: "";
}

.guidelines-intro-copy {
  max-width: 420px;
  margin: 0 0 38px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.75;
}

.guidelines-intro-copy a {
  color: #fff;
  font-weight: 400;
}

.guidelines-search label {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guidelines-search-field {
  position: relative;
}

.guidelines-search-field svg {
  position: absolute;
  top: 50%;
  left: 18px;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.72);
  stroke-linecap: round;
  stroke-width: 1.5;
  transform: translateY(-50%);
  pointer-events: none;
}

.guidelines-search input {
  width: 100%;
  min-height: 58px;
  padding: 14px 54px 14px 50px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 0;
  outline: 0;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font: inherit;
  font-size: 16px;
  letter-spacing: 0.02em;
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease;
}

.guidelines-search input::-webkit-search-cancel-button {
  display: none;
}

.guidelines-search-clear {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  opacity: 1;
  transform: translateY(-50%);
  transition: opacity 0.2s ease;
}

.guidelines-search-clear span {
  position: absolute;
  top: 19px;
  left: 10px;
  width: 20px;
  height: 1px;
  background: currentColor;
}

.guidelines-search-clear span:first-child {
  transform: rotate(45deg);
}

.guidelines-search-clear span:last-child {
  transform: rotate(-45deg);
}

.guidelines-search input:placeholder-shown + .guidelines-search-clear {
  opacity: 0;
  pointer-events: none;
}

.guidelines-search input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.guidelines-search input:focus {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.11);
}

.guidelines-search-status {
  min-height: 24px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.dynamic-faq {
  width: 100%;
}

.faq-item {
  position: relative;
  border-top: 0;
}

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

.faq-item:not(:first-child)::before {
  content: "";
  position: absolute;
  top: 0;
  left: -16px;
  right: -16px;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}

.faq-item.is-first-visible::before {
  display: none;
}

.faq-question {
  width: calc(100% + 32px);
  margin: 0 -16px;
  padding: 34px 16px;
  border: 0;
  background: transparent;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  text-align: left;
  font:
    300 24px/1.4 "Helvetica Neue",
    Arial,
    sans-serif;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .faq-question:hover {
    background: rgba(255, 255, 255, 0.07);
  }
}

.faq-question:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}

.faq-chevron {
  width: 13px;
  height: 13px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.35s ease;
  flex: none;
  margin-right: 6px;
}

.faq-item.is-open .faq-chevron {
  transform: rotate(225deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.42s ease,
    opacity 0.32s ease;
}

.faq-answer-inner {
  overflow: hidden;
  max-width: 85%;
  color: #fff;
}

.faq-answer-content {
  padding: 0 4% 35px 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.03em;
}

.faq-answer p {
  margin: 0 0 18px;
}

.faq-answer a {
  color: inherit;
  font-weight: 400;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-loading {
  text-align: center;
}

.guidelines-empty {
  margin: 38px 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  line-height: 1.7;
}

.guidelines-results-clear {
  display: block;
  margin: 48px auto 0;
  background: #fff;
  border-color: #fff;
  color: var(--navy) !important;
  cursor: pointer;
  font-family: inherit;
}

.guidelines-results-clear[hidden] {
  display: none;
}

.guidelines-results-clear:hover {
  background: var(--navy);
  border-color: #fff;
  color: #fff !important;
}

@media (min-width: 961px) {
  .faq-page h1 {
    font-size: 50px;
  }

  .guidelines-title-ornament {
    margin-right: 0;
    margin-left: 0;
  }
}

@media (max-width: 960px) {
  .guidelines-layout {
    display: block;
  }

  .guidelines-intro {
    position: static;
  }

  .faq-page h1 {
    text-align: center;
  }

  .guidelines-title-ornament {
    margin-right: auto;
    margin-left: auto;
  }

  .guidelines-title {
    margin-right: auto;
    margin-left: auto;
  }

  .guidelines-intro-copy {
    max-width: 680px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }

  .guidelines-search {
    max-width: 680px;
    margin: 0 auto 48px;
  }
}

@media (max-width: 767px) {
  .faq-page {
    padding-top: 180px !important;
    padding-right: 8vw;
    padding-left: 8vw;
  }

  .faq-page h1 {
    text-align: center;
  }

  .guidelines-title-ornament {
    margin-bottom: 55px;
    margin-right: auto;
    margin-left: auto;
  }

  .guidelines-layout {
    display: block;
  }

  .guidelines-intro {
    position: static;
  }

  .guidelines-intro-copy {
    max-width: none;
    margin-bottom: 34px;
    text-align: center;
  }

  .guidelines-search {
    margin-bottom: 42px;
  }

  .faq-question {
    width: calc(100% + 16vw);
    margin-right: -8vw;
    margin-left: -8vw;
    font-size: 20px;
    font-weight: 400;
    padding: 27px 8vw;
  }

  .faq-question:active {
    background: rgba(255, 255, 255, 0.07);
  }

  .faq-answer-inner {
    max-width: 100%;
  }
}
