.swiper-faq .tab-links li.active a,
.swiper-faq .swiper-slide:hover a,
.swiper-faq .swiper-slide a:hover {
  color: #fff !important;
}

.swiper-faq .swiper-slide:hover .faq__cat,
.swiper-faq .tab-links li.active .faq__cat {
  background-color: var(--color1);
}

.swiper-faq .swiper-slide a {
  font-size: 14px;
  color: #264653;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #264653;
  display: flex;
  padding: 10px;
  transition: 500ms;
  text-align: center;
  align-items: center;
  justify-content: center;
  @media (width>=992px) {
    font-size: 16px;
    border-radius: 18px;
    padding: 14px;
  }
}

.faqs__wrapper {
  margin-block: var(--space-section);
}

.tax-brand .faqs__wrapper {
  @media (width>=992px) {
    margin-block: 64px;
  }
}

.accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.accordion-content > * {
  overflow: hidden;
  min-height: 0;
}

.accordion-content .editor-content {
  padding-inline: 7px 19px;
  padding-block: 0 20px;
  @media (width>=992px) {
    padding-inline: 50px;
  }
}

.accordion-content.show {
  grid-template-rows: 1fr;
}

.faqs-item {
  border: 2px solid #f2f2f2;
  border-radius: 20px;
  background-color: #fafafa;
  transition:
    background-color 250ms,
    border-color 250ms;
  margin-left: 11px;
  margin-right: 11px;
  position: relative;
  @media (width>=992px) {
    margin-right: 24px;
  }
  @media (width<992px) {
    padding: 0px 12px 0px 0;
  }
}

.faqs-item:not(:last-child) {
  margin-bottom: 20px;
}

.faqs-item:before {
  content: "";
  position: absolute;
  top: -4.5px;
  right: 0px;
  width: 100%;
  height: 65px;
  background-color: var(--color1);
  display: block;
  border-radius: 32px;
  z-index: -1;
  opacity: 0;
  transition: 250ms;
}

.faqs-item.active:before {
  opacity: 1;
}

.faqs-item.active {
  border: 2px solid transparent;
  background-color: var(--color3);
  @media (width<992px) {
    padding-left: 0;
  }
}

.faqs-question {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 14px;
  color: #3a3a3a;
  cursor: pointer;
  gap: 6px;
  padding-block: 10px;
  @media (width>=992px) {
    font-size: 16px;
    gap: 1.5rem;
  }
  @media (width<992px) {
    padding: 10px 0px;
    align-items: center;
  }
}

.faqs-item.active .faqs-question {
  color: white;
}

.faqs-answer .editor-content p {
  color: #ffffffcc;
  @media (width>=992px) {
    color: white;
  }
}

.faqs-answer .editor-content.main-content ol li,
.faqs-answer .editor-content.main-content ul li {
  color: white;
}

.faqs-question .faq-num {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: var(--color3);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  display: none;
  font-family: var(--main_font);
  border: 3px solid white;
  outline: 2px solid var(--color3);
  margin-right: -1.5rem;
  @media (width>=992px) {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.faqs-item.active .faq-num {
  background-color: var(--color1);
  outline: 2px solid var(--color1);
}

.faqs-question i {
  margin-left: -0.7rem;
  margin-right: auto;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d9d9d9;
  font-size: 10px;
  color: var(--color4);
  border-radius: 24px;
  transition: 500ms;
  flex-shrink: 0;
  background: #d9d9d9;
  @media (width>=992px) {
    margin-left: -0.8rem;
  }
}

.faqs-item.active .faqs-question i {
  background-color: var(--color1);
  color: #fff;
  border-color: #e76f5199;
  @media (width<992px) {
    margin-left: -0.7rem;
  }
}

.faqs-item.active .faqs-question i:before {
  content: "\ea0b";
}

/* .single-post
  .editor-content
  p:not(.single-post .faqs-answer .editor-content p) {
  color: #3a3a3a;
  font-size: 16px;
  line-height: 35px;
} */

.faq__cat {
  height: 100%;
  @media (width<992px) {
    padding: 8px 2px;
    font-size: 13px;
  }
}

.swiper-faq .swiper-slide {
  height: auto;
  @media (width<992px) {
    padding: 10px 4px;
  }
}

.faq-page-txt {
  padding: 2rem 2rem 6rem;
  text-align: center;
  margin-bottom: 0;
  @media (width>=992px) {
    padding: 3rem 2rem 6rem;
  }
}
.contact-txt.faq-page-txt .heading-inner {
  align-items: center;
}
/* .faq-para p {
  color: white !important;
  font-size: 17px !important;
  line-height: 40px !important;
  margin-top: 24px;
} */
/* 
.faq-page-txt .heading__title {
  font-size: 28px !important;
  line-height: 40px !important;
  color: white !important;
  @media (width>=992px) {
    font-size: 30px !important;
    line-height: 44px !important;
  }
} */

.faq-page-txt p {
  @media (width<992px) {
    text-align: justify !important;
  }
}

/* .section-faq .nav-pagi {
  bottom: -4.25rem;
  gap: 1rem;
  justify-content: center;
} */

.section-faq {
  background: color-mix(in srgb, var(--color3) 89%, #fff 12%);
  padding: 6px 0px;
  border-radius: 20px;
  margin-top: -3.5rem;
  /* margin-bottom: 128px; */
  @media (width>=992px) {
    padding: 24px;
    border-radius: 30px;
    /* margin-bottom: 148px; */
  }
  @media (width<992px) {
    margin-inline: 11px;
  }
}

/* .page-template-template-faq .section-faq .nav-pagi.nav-pagi--light-mob {
  @media (width<992px) {
    bottom: -4rem;
    gap: 1rem;
    justify-content: center;
    position: absolute;
    transform: translateX(-50%);
  }
} */

.page-template-template-faq .swiper-faq {
  @media (width<992px) {
    margin-top: 0;
    margin-inline: 10px;
  }
}

.faqs__null {
  text-align: center;
  font-size: 13px;
  line-height: 2;
  border-bottom: 3px double #c6303e;
  color: #c6303e;
  width: fit-content;
  margin: 20px auto 0;
  padding-bottom: 5px;
  @media (width>=576px) {
    font-size: 15px;
  }
}

#faqs .title-heading {
  font-size: 24px;
  line-height: 55px;
  color: #252525;
}
