@font-face {
  font-family: "Suisse Int'l";
  src: url("./SuisseIntl-Regular.subset.d5365557.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.faq-page {
  min-width: 320px;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  color: #0c0c0c;
  background: #fff;
  font-family: "Suisse Int'l", Arial, sans-serif;
}

.faq-page::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 118px;
  background: linear-gradient(to bottom, #fff 82px, rgb(255 255 255 / 0%));
  pointer-events: none;
}

.faq-page a {
  color: inherit;
  text-decoration: none;
}

.faq-page .refinement-nav {
  opacity: 1;
  visibility: visible;
}

.faq-back-to-gala {
  grid-column: 3;
  display: grid;
  width: 95.423px;
  height: 31.43px;
  place-items: center;
  color: #0c0c0c;
  background: var(--gala-panel);
  backdrop-filter: blur(5.411px);
  -webkit-backdrop-filter: blur(5.411px);
  font: 400 9px/1 var(--gala-ui-font);
  letter-spacing: 1.08px;
  pointer-events: auto;
}

.faq-content {
  position: relative;
  min-height: 100vh;
  padding: 159px 32px 110px 34px;
  transition: opacity 180ms ease, visibility 180ms;
}

.faq-page.info-is-open .faq-content {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.faq-content > h1 {
  width: max-content;
  margin: 0;
  font: 400 9px/1 var(--gala-ui-font);
  letter-spacing: 1.08px;
  text-transform: uppercase;
  white-space: nowrap;
}

.faq-accordion {
  position: absolute;
  top: 165px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

@media (min-width: 701px) {
  .faq-page {
    --faq-side-offset: 29px;
    --faq-horizontal-inset: 58px;
    --faq-accordion-width: min(722.376px, calc(100vw - var(--faq-horizontal-inset)));
  }

  .faq-accordion {
    right: auto;
    left: var(--faq-side-offset);
    width: var(--faq-accordion-width);
  }

  .faq-content > h1 {
    position: absolute;
    top: 131px;
    right: auto;
    left: var(--faq-side-offset);
    width: var(--faq-accordion-width);
  }
}

@media (min-width: 1025px) {
  .faq-page {
    --faq-side-offset: 26px;
    --faq-horizontal-inset: 52px;
  }
}

.faq-item,
.faq-item h2,
.faq-answer p {
  margin: 0;
}

.faq-item h2 {
  font: inherit;
}

.faq-item button {
  appearance: none;
  display: flex;
  width: 100%;
  min-height: 31px;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 0;
  padding: 8px 25.658px;
  color: #f1f1f1;
  background: #0c0c0c;
  backdrop-filter: blur(5.411px);
  -webkit-backdrop-filter: blur(5.411px);
  cursor: pointer;
  font: 400 9px/1.45 var(--gala-ui-font);
  letter-spacing: 1.08px;
  text-align: left;
}

.faq-item button:focus-visible {
  outline: 1px solid #0c0c0c;
  outline-offset: 3px;
}

.faq-toggle {
  flex: 0 0 auto;
  width: 13.435px;
  text-align: center;
  transform: rotate(0deg);
  transform-origin: center;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item button[aria-expanded="true"] .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 320ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease;
}

.faq-answer > p {
  min-height: 0;
  overflow: hidden;
  padding-top: 0;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.44px;
  line-height: 1.25;
  transition: padding-top 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

.faq-item.is-open .faq-answer > p {
  padding-top: 15px;
  padding-bottom: 18px;
}

.faq-answer a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-footer {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 701px) and (max-width: 1024px) {
  .faq-item.is-open {
    margin-bottom: 15px;
  }

  .faq-item.is-open .faq-answer > p {
    padding-bottom: 10px;
  }
}

@media (max-width: 700px) {
  .faq-page::before {
    height: 96px;
    background: linear-gradient(to bottom, #fff 78px, rgb(255 255 255 / 0%));
  }

  .faq-back-to-gala {
    display: none;
  }

  .faq-content {
    padding: 103px 11px 98px;
  }

  .faq-accordion {
    position: static;
    width: 100%;
    margin-top: 25px;
    gap: 9px;
  }

  .faq-item button {
    padding-right: 17px;
    padding-left: 25.658px;
  }

  .faq-item.is-open {
    margin-bottom: 15px;
  }

  .faq-item.is-open .faq-answer > p {
    padding-bottom: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-toggle,
  .faq-answer,
  .faq-answer > p {
    transition-duration: 1ms;
  }
}
