.faq {
  width: 100%;
  display: flex;
  gap: 34px;
}

.faq__title {
  font-weight: 600;
  font-size: 24px;
  line-height: 110%;
  color: #242424;
}

.faq__search {
  width: 300px;
  height: 50px;
}

.faq__search {
  position: relative;
}

.faq__search input {
  padding: 0 20px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  font-weight: 500;
  font-size: 16px;
  line-height: 140%;
  color: #000;
  width: 100%;
  height: 100%;
}

.faq__search button {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
  background: none;
  border: none;
  cursor: pointer;
}

.faq__search button img {
  max-width: 100%;
  max-height: 100%;
}

.faq__button {
  width: 200px;
  height: 50px;
  font-weight: 500;
  font-size: 16px;
  line-height: 140%;
  color: #fff;
  background: var(--blue-color);
  border-radius: 8px;
  border: none;
  cursor: pointer;
}

.faq__left {
  padding: 22px 32px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: #f8f8f8;
  height: max-content;
}

.faq__items {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.faq__content {
  width: 100%;
}

.faq__item {
  padding: 25px 35px;
  box-shadow: 0 6px 16px 0 rgba(186, 186, 186, 0.19);
  background: #fff;
}

.faq__name {
  font-weight: 600;
  font-size: 20px;
  line-height: 120%;
  color: #170f49;
}

.faq__text {
  font-weight: 400;
  font-size: 18px;
  line-height: 140%;
  color: #6f6c90;
  margin: 0;
  margin-top: 10px;
}

.faq__item .accordion__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  content: "";
  min-width: 50px;
  height: 50px;
  border-radius: 100%;
  background: white;
  box-shadow: 0 5px 16px 0 rgba(8, 15, 52, 0.06);
}

.accordion-active .faq__arrow {
  background: linear-gradient(145deg, #7fbfe6 0%, #0097d7 100%);
  transform: rotate(90deg);
  transition: all 0.3s ease-in-out;
}

.accordion-active .faq__arrow svg path {
  transition: all 0.3s ease-in-out;
  stroke: white;
}

.faq__sort {
  margin-bottom: 20px;
  width: 185px;
  height: 50px;
  font-weight: 500;
  font-size: 16px;
  line-height: 140%;
  color: #000;
  background: none;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 0 10px 0 20px;
  appearance: none;
  background: url("/img/faqs/sort-arrow.svg") no-repeat;
  background-position: calc(100% - 20px) center;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .faq {
    flex-direction: column;
  }

  .faq__search {
    width: 100%;
  }

  .faq__name{
    font-size: 20px;
  }

  .faq_text{
    font-size: 16px;
  }

  .faq__arrow{
    min-width: 35px;
    height: 35px;
  }

  .faq__arrow svg{
    max-width: 25%;
  }

  .faq__item{
    border-radius: 18px;
    padding: 15px 20px;
  }

  .faq__left{
    padding: 15px 20px;
  }

  .faq__item .accordion__top{
    gap: 15px;
  }
}
