.faq {
  padding: 50px 0 70px;
}

@media screen and (max-width: 767px) {
  .faq {
    padding: 50px 0;
  }
}

.faq__title {
  margin-bottom: 37px;
  color: var(--theme-primary-text);
}

.faq__item {
  border: 1px solid rgba(160, 101, 255, 0.25);
  border-radius: 52px;
  cursor: pointer;
  margin-bottom: 40px;
}

@media screen and (max-width: 991px) {
  .faq__item {
    margin-bottom: 25px;
  }
}

@media screen and (max-width: 767px) {
  .faq__item {
    margin-bottom: 20px;
    border-radius: 30px;
  }
}

.faq__item:last-child {
  margin-bottom: 0;
}

.faq__header {
  display: flex;
  align-items: center;
  padding: 30px 45px 22px;
}

@media screen and (max-width: 991px) {
  .faq__header {
    padding: 22px 45px;
  }
}

@media screen and (max-width: 767px) {
  .faq__header {
    padding: 20px 15px;
  }
}

.faq__name {
  font-weight: 500;
  font-size: 24px;
  line-height: 28px;
  color: var(--theme-primary-text);
}

@media screen and (max-width: 991px) {
  .faq__name {
    font-size: 21px;
  }
}

@media screen and (max-width: 767px) {
  .faq__name {
    font-size: 18px;
  }
}

.faq__exit {
  width: 20px;
  height: 20px;
  margin-left: 25px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 991px) {
  .faq__exit {
    width: 18px;
  }
}

.faq__header.active .faq__exit::before {
  display: none;
}

.faq__exit::before {
  content: "";
  position: absolute;
  width: 3px;
  height: 20px;
  background-color: #a065ff;
  left: 50%;
  transform: translate(-50%, 0);
  border-radius: 20px;
}

@media screen and (max-width: 991px) {
  .faq__exit::before {
    height: 18px;
  }
}

@media screen and (max-width: 767px) {
  .faq__exit::before {
    height: 16px;
  }
}

.faq__strong {
  width: 20px;
  height: 3px;
  background-color: #a065ff;
  border-radius: 20px;
}

@media screen and (max-width: 991px) {
  .faq__strong {
    width: 18px;
  }
}

@media screen and (max-width: 767px) {
  .faq__strong {
    width: 16px;
  }
}

.faq__body {
  display: none;
  padding: 13px 45px 50px;
  font-size: 18px;
  line-height: 175%;
}

@media screen and (max-width: 991px) {
  .faq__body {
    padding: 13px 45px 30px;
  }
}

@media screen and (max-width: 767px) {
  .faq__body {
    font-size: 16px;
    padding: 0px 15px 20px 15px;
  }
}

.wrapper.active .faq {
  color: rgba(0, 0, 0, 0.6);
}

.wrapper.active .faq__item {
  border: 1px solid rgba(0, 0, 0, 0.25);
}

.wrapper.active .faq__name {
  color: #000000;
}

.wrapper.active .faq__exit::before {
  background: #78a1f2;
}

.wrapper.active .faq__strong {
  background: #78a1f2;
}