.page-title span::before {
  background-image: url(../images/common/mingcute_question-fill.svg);
}

.faq-selector {
  display: flex;
  width: 100%;
  max-width: 470px;
  gap: 10px;
  margin: 40px auto 64px;
  position: relative;
  border-bottom: 1px solid #999;
  justify-content: space-between;
  padding-bottom: 9px;
}

.faq-selector__item {
  cursor: pointer;
  transition: color 0.3s ease;
  font-weight: 600;
  font-size: 14px;
  position: relative;
  text-align: center;
  color: #999;
}

.faq-selector__item.active {
  color: #1c085d;
}

.faq-selector__item:nth-child(3) {
  padding-right: 8px;
}

.faq-selector__line {
  position: absolute;
  bottom: -2px;
  height: 4px;
  background-color: #1c085d;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px 2px 0 0;
}

.title {
  font-size: 20px;
  line-height: 1.5;
  color: #1c085d;
  font-weight: bold;
  padding-bottom: 8px;
  border-bottom: 3px solid #1c085d;
  max-width: 850px;
  margin: 0 auto 48px;
}

.faq-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 850px;
  margin: 0 auto;
}

.faq__item {
  display: flex;
  gap: 16px;
  border-bottom: 1px dashed #303030;
  padding-bottom: 16px;
}

.faq__item-number {
  font-weight: bold;
  flex-shrink: 0;
  font-size: 25px;
}

.faq__item-content {
  flex: 1;
}

.faq__item-title {
  font-size: 18px;
  line-height: 28px;
  margin: 0 0 8px 0;
}

@media (min-width: 500px) {
  .faq-selector__item br {
    display: none;
  }
}

@media (min-width: 768px) {
  .faq-selector {
    margin: 114px auto 70px;
    max-width: 850px;
    padding: 0 87px 2px;
  }

  .faq-selector__item {
    font-size: 16px;
    line-height: 28px;
  }

  .title {
    font-size: 25px;
    line-height: 37px;

    max-width: 850px;
    margin: 0 auto 50px;
  }

  .faq__item-number {
    font-size: 28px;
  }

  .faq-wrapper {
    gap: 40px;
  }

  .faq__item {
    display: flex;
    gap: 20px;
  }

  .faq__item-title {
    font-size: 20px;
    line-height: 30px;
    margin: 0 0 16px 0;
  }
}
