/**
 * FAQ page styles (from legacy style.css).
 * Enqueued only when template-faq.php is used.
 */
.faq {
  margin-bottom: 120px;
}

.faq .header {
  color: #fff;
  text-align: center;
  padding: 100px 0 120px 0;
  background: linear-gradient(rgba(0, 0, 0, 0.5) 100%, rgba(0, 0, 0, 0.5) 100%), url(../../images/faq-bg.png) center/cover;
  position: relative;
  z-index: 0;
}

.faq h3 {
  margin-top: 60px;
  margin-bottom: 20px;
}

.faq .tabs-wrap {
  display: flex;
  justify-content: center;
}

.faq .tabs {
  margin-top: 60px;
  margin-bottom: 60px;
  display: flex;
  justify-content: center;
  background: #F5F5F5;
  border-radius: 40px;
}

.faq .tabs button {
  padding: 16px 20px;
  border-radius: 37px;
  font-size: 16px;
  color: #8C8C8C;
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
}

.faq .tabs .active {
  background: #FF3875;
  color: #fff;
  font-weight: 600;
}

.faq .questions {
  max-width: 716px;
  margin: 0 auto;
}

.faq .questions .question {
  box-shadow: 0 0 0.5px rgba(66, 71, 76, 0.65), 0 4px 8px rgba(66, 71, 76, 0.1), 0 4px 40px #eee;
  border-radius: 15px;
  padding: 32px 40px;
  margin-bottom: 20px;
}

.faq .questions .question .title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq .questions .question .title button {
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}

.faq .questions .question .title img {
  width: 28px;
  height: 28px;
}

.faq .questions .question .content {
  margin-bottom: 23px;
}

@media screen and (max-width: 766px) {
  .faq {
    margin-bottom: 60px;
  }

  .faq .questions .question {
    padding: 20px 22px;
  }

  .faq .tabs button {
    padding: 12px;
    font-size: 14px;
  }

  .faq .tabs {
    margin-top: 20px;
    margin-bottom: 20px;
  }
}
