.faq-questions {
  margin-top: 24px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.faq-question {
  width: 100%;
  padding: 24px 0;

  &:first-child {
    border-top: 1px solid var(--light-gray);
  }

  &:not(:last-child) {
    border-bottom: 1px solid var(--light-gray);
  }

  &[open] {
    .faq-question__title::before {
      width: 100%;
    }

    .faq-question__toggle--closed {
      display: none;
    }

    .faq-question__toggle--open {
      display: block;
    }
  }
}

.faq-question__header {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 16px;
}

.faq-question__toggle--open {
  display: none;
}

.faq-question__title {
  text-decoration: underline;
  font-size: 16px;
  position: relative;

  &::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 50%;
    background-color: var(--theme-tenth-opacity-color);
    transition: all 0.2s ease;
  }
}