/* --- Block Testimonials
-------------------------------------------------------- */

.wp-block-testimonials .wp-group-content {
    text-align: center;
}

.wp-block-testimonials .wp-group-content:before {
    left: 0;
}

.wp-block-testimonials .wp-group-author {
    margin-top: clamp(35px, 2.2vw, 42px);
}

.wp-block-testimonials .wp-group-author p {
    margin-top: 1px;
}

.wp-block-testimonials .wp-block-fse-pro-slider,
.wp-block-testimonials .fse-slider-wrapper {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.wp-block-testimonials .wp-block-image {
    background-image: url("assets/images/testimonials-small-bg.png");
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
}

.wp-block-testimonials .wp-group-content>h2,
.wp-block-testimonials .wp-group-content>p,
.wp-block-testimonials .wp-group-author .wp-block-image,
.wp-block-testimonials .wp-group-author .wp-block-image+div {
    opacity: 0;
    left: 80px;
    visibility: hidden;
}

.wp-block-testimonials .swiper-slide-active .wp-group-content>h2,
.wp-block-testimonials .swiper-slide-active .wp-group-content>p,
.wp-block-testimonials .swiper-slide-active .wp-group-author .wp-block-image,
.wp-block-testimonials .swiper-slide-active .wp-group-author .wp-block-image+div {
    left: 0;
    opacity: 1;
    position: relative;
    visibility: visible;
    transition: all 1s ease;

}

.wp-block-testimonials .wp-group-content:before {
    opacity: 0;
    transition: all 1s ease;
    visibility: hidden;
}

.wp-block-testimonials .swiper-slide-active .wp-group-content:before {
    opacity: 1;
    visibility: visible;
    transition-delay: .5s;
}

.wp-block-testimonials .swiper-slide-active .wp-group-content>h2 {
    transition-delay: .2s;
}

.wp-block-testimonials .swiper-slide-active .wp-group-content>p {
    transition-delay: .4s;
}

.wp-block-testimonials .swiper-slide-active .wp-group-author .wp-block-image {
    transition-delay: .6s;
}

.wp-block-testimonials .swiper-slide-active .wp-group-author .wp-block-image+div {
    transition-delay: .8s;
}

/* --- Block Client's Testimonials
-------------------------------------------------------- */

.wp-block-clients-testimonial {
    .fse-slider-wrapper {
        max-width: var(--wp--style--global--content-size);
        margin-inline: auto;
        position: relative;
    }

    .wp-block-testimonial {

        position: relative;


        .wp-group-content {
            background-color: var(--wp--preset--color--tertiary);
            padding: var(--wp--custom--spacing--testimonial-vertical-gap);
            padding-inline: var(--wp--custom--spacing--testimonial-inner-gap);

            &::before {
                content: "\201C";
                font-size: 120px;
                font-size: 7.5rem;
                font-family: playfair display, serif;
                font-weight: 700;
                position: absolute;
                top: -15px;
                left: 0;
                width: 100%;
                text-align: center;
                z-index: 1;
                color: var(--wp--preset--color--button-color);
            }
        }
    }


}


.wp-block-clients-testimonial .wp-group-content {
    position: relative;
}


.wp-block-clients-testimonial .horizontal-outside-slider-bottom-left .swiper-pagination {
    margin-left: 0;
    margin-top: 28px;
    text-align: center;
}

.wp-block-clients-testimonial .wp-block-testimonial h4 {
    font-size: var(--wp--custom--typography--font-size--upper-heading)
}

.wp-block-clients-testimonial .block-editor-block-list__block .components-resizable-box__container {
    height: 100% !important;
}

.wp-block-clients-testimonial .wp-testimonial-product-image .wp-block-image {
    height: 100%;
    border-radius: 10px;
    overflow: hidden;

    img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
}

.wp-block-clients-testimonial .wp-block-columns .wp-block-columns {
    gap: 0;
}

.wp-block-clients-testimonial .wp-block-image {
    text-align: left;
    margin-top: -50px;
    position: relative;
}

.wp-block-clients-testimonial .wp-block-testimonial .wp-block-image img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.wp-block-clients-testimonial .wp-block-columns .wp-block-columns .wp-group-author {
    margin-top: 35px;
    align-items: center !important;
    display: flex;
    gap: 20px;
}

.wp-block-clients-testimonial .wp-block-columns .wp-block-columns .wp-group-author h6 {
    font-weight: var(--wp--custom--typography--font-weight--normal);
}

.wp-block-testimonial .wp-group-author>.wp-block-column:not(:last-child) {
    max-width: 85px;
}

.wp-block-section .swiper-pagination {
    position: relative;
    margin-top: var(--wp--custom--spacing--group-heading-bottom-gap);
}

.swiper-pagination-bullets .swiper-pagination-bullet.swiper-pagination-bullet-active:after,
.swiper-pagination-bullets .swiper-pagination-bullet.swiper-pagination-bullet-active:before {
    opacity: 0.3;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;

}