.faq {
  width: 100%;
}

.faq .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1092px;
}

.faq_items {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.faq_item {
  padding: 24px;
  background-color: var(--White);
  border-radius: 24px;
  border: 1px solid var(--Light-Silver);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: var(--TransitionSlow);
}

.faq_item_title {
  font-size: 20px;
  font-weight: 500;
  line-height: 140%;
  cursor: pointer;
  position: relative;
  transition: var(--TransitionSlow);
}

.faq_item_title::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 9px solid var(--Orange);
  display: block;
  transition: var(--TransitionSlow);
}

.faq_item_desc {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
  margin-top: -10px;
  transition: 0.1s margin-top ease;
}

.faq_item_desc,
.faq_item_desc ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq_item_desc p,
.faq_item_desc li {
  color: var(--White);
  font-size: 16px;
  font-weight: 400;
  line-height: 140%;
  padding-right: 24px;
}

.faq_item.active {
  background-color: var(--Blue);
}

.faq_item.active .faq_item_title {
  color: var(--White);
}

.faq_item.active .faq_item_title::after {
  transform: translateY(-50%) rotate(-90deg);
}
.faq_item.active .faq_item_desc {
  max-height: 1000px;
  opacity: 1;
  margin-top: 0;
}

@media (max-width: 992px) {
  .faq_items {
    margin-top: 16px;
    gap: 16px;
  }

  .faq_item {
    border-radius: 20px;
  }

  .faq_item.active {
    border-color: var(--Blue);
  }

  .faq_item_title {
    font-size: 16px;
    padding-right: 24px;
  }

  .faq_item_title::after {
    top: 0;
    transform: translateY(0);
  }

  .faq_item.active .faq_item_title::after {
    transform: rotate(-90deg);
  }

  .faq_item_desc p,
  .faq_item_desc li {
    font-size: 14px;
    padding-right: 0;
  }
}
