.faq {
  display: flex;
  padding: 108px 0px 108px 0px;
  flex-direction: column;
  align-items: center;
}

.faq-container {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 984px;
  padding: 0 24px;
  width: 100%;
}

.faq h2 {
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent;
  background-clip: text !important;
  background: var(--h-color);
  font-family: 'Libre Baskerville', serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 56px;
  text-align: center;
  text-shadow: var(--h-shadow);
}

.faq-question {
  background: var(--faq-bg);
  border-radius: 16px;
  box-shadow: 0px 0px 8px 0px var(--faq-shadow);
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 18px 24px 14px 24px;
  position: relative;
  width: 100%;
}

.faq-question:before {
  background-image: var(--faq-border);
  border-radius: 16px;
  bottom: -1.5px;
  content: '';
  left: -1.5px;
  position: absolute;
  right: -1.5px;
  top: -1.5px;
  z-index: -1;
}

.faq-question-head {
  align-items: center;
  color: var(--faq-color);
  cursor: pointer;
  display: flex;
  font-family: 'Libre Baskerville', serif;
  font-size: 18px;
  font-weight: 400;
  justify-content: space-between;
  letter-spacing: -0.54px;
  line-height: 28px;
}

.faq-question-head i {
  color: var(--faq-color-icon);
  font-size: 14px;
  transition: color 0.2s cubic-bezier(0, 0, 0.58, 1),
    transform 0.2s cubic-bezier(0.2, 1, 0.3, 1);
  user-select: none;
}

.faq-question--expanded i {
  color: var(--faq-color-icon-active);
  transform: rotate(180deg);
}

.faq-question-head:hover i {
  color: var(--faq-color-icon-hover);
}

.faq-question-head:active i {
  color: var(--faq-color-icon-active);
}

.faq-question-answer {
  color: var(--faq-color-answer);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: -0.14px;
  line-height: 24px;
  margin-top: -20px;
  max-height: 0px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
  transition: all 0.2s cubic-bezier(0.24, 0.58, 0.18, 1),
    opacity 0.15s cubic-bezier(0.24, 0.58, 0.18, 1);
  visibility: hidden;
}

.faq-question--expanded .faq-question-answer {
  margin-top: 0px;
  max-height: 256px;
  opacity: 1;
  pointer-events: inherit;
  transform: none;
  visibility: visible;
}

.faq-question-answer a {
  color: var(--faq-color-answer-link);
  text-decoration-line: underline;
  transition: color 0.2s cubic-bezier(0, 0, 0.58, 1);
}

.faq-question-answer a:hover {
  color: var(--faq-color-answer-link-hover);
}

.faq-question-answer a:active {
  color: var(--faq-color-answer-link-active);
}
