.faq-block__title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  width: 100%;
  height: 72px;
  padding: 16px 32px;
  margin: 0;
  border-radius: 16px 16px 0px 0px;
  font-size: 32px;
  font-weight: 500;
  color: var(--main-color);
  background: var(--secondary-color-3);
  -webkit-box-shadow: 0px -4px 20px 0px rgba(115, 115, 115, 0.05);
  box-shadow: 0px -4px 20px 0px rgba(115, 115, 115, 0.05);
}

.faq-block__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  row-gap: 2px;
  width: 100%;
  list-style: none;
}

.faq-block__item {
  position: relative;
  padding: 24px 40px;
  background: var(--secondary-color);
  cursor: pointer;
}

.faq-block__item:last-child {
  border-radius: 0 0 16px 16px;
}

.faq-block__item:before {
  position: absolute;
  right: 40px;
  top: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  content: '';
  width: 16px;
  height: 16px;
  -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2IiBmaWxsPSJjdXJyZW50Q29sb3IiPgo8cGF0aCBkPSJNMi4xODEyNSAxMy4wOTA2TDggNy4yNzE4M0wxMy44MTg3IDEzLjA5MDZMMTYgMTAuOTA5M0w4IDIuOTA5MzNMMS45MDY5MWUtMDcgMTAuOTA5M0wyLjE4MTI1IDEzLjA5MDZaIiBmaWxsPSJjdXJyZW50Q29sb3IiLz4KPC9zdmc+");
  mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2IiBmaWxsPSJjdXJyZW50Q29sb3IiPgo8cGF0aCBkPSJNMi4xODEyNSAxMy4wOTA2TDggNy4yNzE4M0wxMy44MTg3IDEzLjA5MDZMMTYgMTAuOTA5M0w4IDIuOTA5MzNMMS45MDY5MWUtMDcgMTAuOTA5M0wyLjE4MTI1IDEzLjA5MDZaIiBmaWxsPSJjdXJyZW50Q29sb3IiLz4KPC9zdmc+");
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  background: var(--text-color);
  -webkit-transition: -webkit-transform .2s ease;
  transition: -webkit-transform .2s ease;
  -o-transition: transform .2s ease;
  transition: transform .2s ease;
  transition: transform .2s ease, -webkit-transform .2s ease;
}

.faq-block__item-title {
  padding-right: 25px;
  font-size: 24px;
  font-weight: 500;
  color: var(--text-color);
}

.faq-block__item-content {
  overflow: hidden;
  height: 0;
  font-size: 18px;
  line-height: 24px;
  opacity: 0;
  color: var(--secondary-text-color);
  -webkit-transition: opacity .2s ease;
  -o-transition: opacity .2s ease;
  transition: opacity .2s ease;
}

.faq-block__item.active .faq-block__item-content {
  margin-top: 16px;
  height: auto;
  opacity: 1;
}

.faq-block__item.active:before {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

@media (max-width: 767px) {
  .faq-block__item {
    padding: 18px 16px 26px 20px;
  }

  .faq-block__item-title {
    font-size: 21px;
    line-height: 28px;
  }

  .faq-block__item:before {
    top: 25px;
    right: 20px;
  }

  .faq-block__item.active .faq-block__item-content {
    margin-top: 10px;
  }
}
