.faq {
  width: 100%;
  margin-top: 40px;
  margin-bottom: 20px;
  scroll-margin-top: 100px;
}

.faq_title {
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.56px;
  margin-bottom: 20px;
}

.faq_list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq_item {
  border-radius: 13px;
  background: #0d0d0d;
  overflow: hidden;
}

.faq_item_trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: none;
  background: transparent;
  color: #fff;
  font-family: "Onest", sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq_item_arrow {
  flex-shrink: 0;
  color: #e8ff00;
  transition: transform 0.25s ease;
}

.faq_item_open .faq_item_arrow {
  transform: rotate(180deg);
}

.faq_item_body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}

.faq_item_open .faq_item_body {
  grid-template-rows: 1fr;
}

.faq_item_body > p {
  overflow: hidden;
  margin: 0;
  padding: 0 20px;
  color: #9aa1b1;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  transition: padding 0.25s ease;
}

.faq_item_open .faq_item_body > p {
  padding: 0 20px 18px;
}

@media (min-width: 320px) and (max-width: 499px) {
  .faq_title {
    font-size: 20px;
  }

  .faq_item_trigger {
    font-size: 14px;
    padding: 16px;
  }

  .faq_item_body > p,
  .faq_item_open .faq_item_body > p {
    padding-left: 16px;
    padding-right: 16px;
  }

  .faq_item_open .faq_item_body > p {
    padding-bottom: 16px;
  }
}
