
.swiper-faq-wrap {
    position: relative;
    padding-right: 5px;
}

.swiper-faq-wrap::before,
.swiper-faq-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 10;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.swiper-faq-wrap::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.swiper-faq-wrap::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.swiper-faq-wrap.show-shadow-start::before {
    opacity: 1;
}

.swiper-faq-wrap.show-shadow-end::after {
    opacity: 1;
}
.section-faq .section-title {
    margin-bottom: 32px;
}
.page-intro.faq-intro {
    margin-bottom: 0;
    padding-bottom: 70px;
}

.faq-cats.tab-links {
    margin: auto;
    padding-right: 5px;
}
.swiper-faq .swiper-wrapper {
    padding-right: 1px; /* Or a small value to ensure visibility */
}
.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: 28px;
}
.swiper-faq:not(.swiper-initialized) .swiper-wrapper {
    justify-content: center;
    gap: 12px;
}

.faq-cat {
    border-radius: 12px;
    align-items: center;
    transition: 0.4s;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    padding: 10px 40px;
    font-size: 16px;
    line-height: 28px;
    color: var(--color_text);
    box-shadow: 0px 0px 44px 0px rgba(5, 51, 230, 0.1) inset;
    height: 47px;
    font-variation-settings: var(--wgh_500);
}
.faq-cat:hover {
    transition: 0.4s;
    color: #fff;
    background: rgba(129, 137, 168, 1);
}

.faq-cat.active {
    color: #fff;
    background: rgba(129, 137, 168, 1);
}

.empty-error {
    background: #F7D4D4;
    padding: 16px;
    text-align: center;
    border-radius: 16px;
    font-size: 13px;
}

.faqs-content {
    box-shadow: 0px 4px 14px 0px #0533E61A;
    background: #FFFFFF66;
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 32px 20px 32px 24px;
}

.faqs-item {
    overflow: hidden;
    transition: 0.4s ease;
    background: #fff;
}
.accordion-content {
    display: none;
}
.faqs-item .faqs-answer {
    position: relative;
    overflow: hidden;
    margin-top: 16px;
}
.faqs-answer .editor-content p {
    margin: 0;
    font-size: 13px;
    line-height: 1.9;
    color: #4F5673;
    text-align: justify;
}
.faqs-item .faq-num {
    font-size: 28px;
    position: relative;
    color: var(--gray);
    line-height: 1;
    display: none;
    z-index: 0;
}

.faqs-item .faqs-question {
    display: flex;
    align-items: center;
    width: 100%;
    cursor: pointer;
    transition: 0.4s ease;
    font-size: 16px;
    line-height: 1.9;
    color: var(--color_main);
    gap: 16px;
}
.faqs-item:hover .faqs-question,
.faqs-item.active .faqs-question {
    color: var(--primary);
}

.faqs-item .faqs-question:after {
    content: "\e91b";
    font-family: 'icomoon';
    color: var(--color_main);
    font-size: 38px;
    margin-left: auto;
    transition: 0.3s;
    line-height: 1;
    margin-right: -6px;
}
.faqs-item.active .faqs-question:after{
    content: "\e91c";
    color: var(--primary);
}
.swiper.swiper-faq .swiper-slide {
    width: auto;
    flex-shrink: 0;
}
.faqs-item.simple .faqs-question::after {
    content: none;
}
.faqs-item.simple .faqs-answer.accordion-content::before {
    content: none;
}
.faqs-item .icon-down {
    transform: rotate(-90deg);
    transition: 0.4s ease;
}
.faqs-item.active .icon-down {
    transform: rotate(0);
}

@media screen and (min-width: 992px) {

    .faqs-content {
        max-width: 80%;
        margin: auto;
        gap: 38px;
        padding: 40px 32px;
    }
    .full-faq .faqs-content {
        max-width: 100%;
    }

    .faq-cat {
        padding: 19px 40px;
        border-radius: 24px;
        height: 76px;
    }
    .faqs-content-wrapper {
        margin-top: 40px;
    }
    .faqs-item .faq-num {
      display: flex;
    }
    .faqs-item .faqs-question {
        font-size: 20px;
        line-height: 1.4;
    }
    .faqs-answer .editor-content p {
        line-height: 25px;
        font-size: 15px;
    }
    .faqs-answer.accordion-content {
        padding: 12px 0 12px 30px;
    }
    .faqs-answer.accordion-content::before {
        content: '';
        width: 8px;
        height: calc(100% - 19px);
        border-radius: 2px;
        position: absolute;
        left: 8px;
        top: 9px;
        background: linear-gradient(180deg, #CEEEF3 0%, #CBDBF9 100%);
        background: linear-gradient(1800deg, #CEEEF3 0, #CBDBF9 50%, #0533E6BA 100%);
        background-position-x: 0%;
        background-position-y: 0%;
        background-size: auto;
        background-size: 200% 200%;
        animation: gradientPulse 6s infinite ease-in-out;
        transition: 0.4s ease-in;
        background-position: 100% 100%;
    }
    .empty-error {
        font-size: 15px;
    }
    .page-intro.faq-intro {
        padding-bottom: 113px;
    }
    .section-faq .section-title {
        margin-bottom: 40px;
    }
}
