
.faq-section {
    background: #F2F5FA;
    padding: 38px 20px 56px;
    position: relative;
    overflow: hidden;
    z-index: 0;
    margin: 60px -15px;
}
.faq-section:before {
    content: '';
    background: url("../img/faq.png");
    background-repeat: no-repeat;
    background-size: cover;
    width: 477px;
    height: 236px;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
}
.page-intro.faq-intro {
    margin-bottom: 0;
    padding-bottom: 70px;
}
.faq-wrapper {
    margin-top: -39px;
}
.swiper-faq + .swiper-navigation {
    margin-top: 20px;
}
.swiper-faq + .swiper-navigation .swiper-nav:hover {
    color: var(--color1);
}
.intro-title {
    font-size: clamp(24px, 3vw, 28px);
}

.head-bg {
    color: white;
    text-align: center !important;
    margin: 40px 0 30px;
}

.faqs-content-wrapper {
    margin-top: 40px;
}
.swiper-faq:not(.swiper-initialized) .swiper-slide {
    flex-shrink: unset;
    margin-left: 15px;
    width: 180px;
    flex: 0 0 180px;
}
.faq-cat {
    border-radius: 24px;
    text-align: center;
    transition: 0.4s;
    cursor: pointer;
    display: flex;
    justify-content: center;
    padding: 14px 10px;
    font-size: 16px;
    line-height: 28px;
    background: #fff;
    align-items: center;
    height: 74px;
    color: var(--color_text);
    font-family: var(--med_font);
}
.faq-cat:hover {
    transition: 0.4s;
    background: var(--color1);
    color: #fff;
}

.faq-cat.active {
    background: var(--color1);
    color: #fff;
}

.faq-cat a {
    font-size: 14px;
    color: white;
}

.faq-cat:hover a,
.faq-cat.active a {
    color: var(--color1);
}

.faq-page .head-bg p {
    text-align: center;
}

.empty-error {
    background: #F7D4D4;
    padding: 16px;
    text-align: center;
    border-radius: 16px;
    font-size: 13px;
}


.tab-content {
    display: none;
    -webkit-animation: fadeEffect 2s;
    animation: fadeEffect 2s;
}

.tab-content.active {
    display: block !important;
    -webkit-animation: fadeEffect 2s;
    animation: fadeEffect 2s;
}
@-webkit-keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}
@keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}
.faqs-item {
    margin-bottom: 12px;
    border-radius: 10px;
    transition: 0.4s ease;
    background: #fff;
    position: relative;
}
.faqs-item::before {
    content: '';
    width: 19px;
    height: calc(100% - 8px);
    background: var(--color1);
    position: absolute;
    right: -4px;
    border-radius: 0 7px 7px 0;
    top: 4px;
    z-index: -1;
}
.accordion-content {
    display: none;
}

.faqs-item .faqs-answer {
    padding: 12px 18px 10px 14px;
    position: relative;
    overflow: hidden;
}
.faqs-answer .editor-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: #585A5E;
}
.faqs-item .faq-num {
    font-size: 16px;
    position: relative;
    color:  var(--color1);
    line-height: 1;
    justify-content: center;
    display: none;
    align-items: center;
    z-index: 0;
}
.faqs-item .faqs-question {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 18px;
    cursor: pointer;
    transition: 0.4s ease;
    font-size: 15px;
    line-height: 1.6;
    color: var(--color_text);
    gap: 15px;
    font-family: var(--bold_font);
    position: relative;
}

.faqs-item:not(.active):hover .faqs-question {
    color: var(--color1);
}
.faqs-item.active .faqs-question {
    background: #F7F7F7;
}


.faqs-item .faqs-question:after {
    content: "\e90a";
    font-family: 'icomoon';
    color: #484848;
    font-size: 20px;
    margin-right: auto;
    transition: 0.3s;
    max-width: 18px;
    line-height: 1;
}
.faqs-item.active .faqs-question:after{
    transform:rotate(180deg);
    color: var(--color1);
}
.single-faq {
    margin: 32px 0;
}
@media screen and (min-width: 992px) {
    .faqs-content {
        max-width: 80%;
        margin: auto;
    }
    .single-faq .faqs-content {
        max-width: 100%;
    }
    .faq-cats.tab-links {
        margin: auto;
        max-width: 80%;
    }
    .faq-cat {
        padding: 19px 10px;
        font-size: 16px;
    }
    .faqs-content-wrapper {
        margin-top: 64px;
    }
    .faqs-item .faq-num {
      display: flex;
    }
    .empty-error {
        font-size: 15px;
    }
    .faq-section {
        padding: 38px 20px 56px;
        margin: 60px 0;
        border-radius: 12px;

    }
}
@media screen and (min-width: 1200px) {
    .faqs-content {
        max-width: 62%;
    }
    .faq-section.single-faq {
        max-width: 80%;
        margin: 60px auto;
        padding: 38px 55px;
    }
}
