.block-faq__accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.block-faq__item {
  background: #ffffff;
  border-radius: 14px;
}
.block-faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: all 0.3s ease;
}
.block-faq__item--open .block-faq__answer {
  grid-template-rows: 1fr;
}

.block-faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: all 0.3s ease;
}

.block-faq__question:hover {
  background: rgba(147, 69, 216, 0.05);
}

.block-faq__question-text {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.275em;
  margin: 0;
  flex: 1;
}

.block-faq__icon {
  width: 24px;
  height: 24px;
  color: #7d7d7d;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-left: 10px;
}

.block-faq__item--open .block-faq__icon {
  color: #9345d8;
  transform: rotate(180deg);
}
.block-faq__item--open .block-faq__answer-content {
  padding: 0 24px 24px 24px;
}
.block-faq__answer-content {
  overflow: hidden;
  font-weight: 500;
  padding: 0;
  transition: all 0.3s ease;
}

.block-faq__answer-content p {
  margin: 0 0 16px 0;
}

.block-faq__answer-content p:last-child {
  margin-bottom: 0;
}
@media (max-width: 890px) {
  .block-faq__question-text {
    font-size: 18px;
  }
}
@media (max-width: 768px) {
  .block-faq__answer-content p {
    font-size: 15px;
  }
  .block-faq__question {
    padding: 14px 20px;
  }
  .block-faq__item--open .block-faq__answer-content {
    padding-inline: 20px;
  }
  .block-faq__question-text {
    font-size: 16px;
  }
}
