.faq-page__accordion {
  display: grid;
  gap: 16px;
}

.faq-page__item {
  border: 1px solid var(--primary-grey-200, #eeeeee);
  border-radius: 16px;
  background-color: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
}

.faq-page__item.is-open {
  border: 1px solid var(--primary-grey-200, #eeeeee);
}

.faq-page__heading {
  margin: 0;
}

.faq-page__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  border: none;
  background: transparent;
  color: #212121;
  text-align: left;
  cursor: pointer;
}

.faq-page__question:focus-visible {
  outline: 2px solid #8bbd3f;
  outline-offset: -2px;
}

.faq-page__question-text {
  font-weight: 700;
  font-size: 18px;
  line-height: 146%;
  letter-spacing: 1%;
  color: #212121;
}

.faq-page__icon {
  position: relative;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  color: #4f8c08;
}

.faq-page__icon-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background-color: currentColor;
  transform-origin: center;
  transition: transform 0.2s ease;
}

.faq-page__icon-line--horizontal {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-page__icon-line--vertical {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-page__item.is-open .faq-page__icon-line--horizontal {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.faq-page__item.is-open .faq-page__icon-line--vertical {
  transform: translate(-50%, -50%) rotate(45deg);
}

.faq-page__answer {
  color: #667060;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  line-height: 1.75;
}

.faq-page__answer > :first-child {
  margin-top: 0;
}

.faq-page__answer > :last-child {
  margin-bottom: 0;
}

.faq-page__empty {
  margin: 0;
  border: 1px dashed #dbe1cf;
  border-radius: 20px;
  padding: 18px 20px;
  color: #667060;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .faq-page {
    padding: 20px 0 48px;
  }

  .faq-page__card {
    border-radius: 24px;
    padding: 18px;
  }

  .faq-page__question {
    padding: 18px 16px;
    gap: 16px;
  }

  .faq-page__answer-wrap {
    padding: 0 16px 18px;
  }

  .faq-page__question-text {
    font-size: 1rem;
  }

  .faq-page__answer {
    font-size: 0.95rem;
    line-height: 1.7;
  }
}
