/* --- 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 .wp-block-testimonial {
    background-image: var(--wp--preset--gradient--testimonial-bg-color);
    padding: var(--wp--custom--spacing--wp-comment-vertical);
    border-radius: 10px;
    margin-top: -15px;
    position: relative;
}

.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--heading-five)
}

.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 .fse-slider-wrapper .wp-block-image {
    text-align: left;
}

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

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

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

.wp-block-section .swiper-pagination {
    position: relative;
    top: auto;
    bottom: auto;
    margin-top: 28px;
}

.wp-block-fse-pro-slider {

    .swiper-button {
        background: var(--wp--preset--color--secondary);
        color: var(--wp--preset--color--light);

        &:hover,
        &:focus {
            color: var(--wp--preset--color--color-dark);
        }
    }

    .navigation-wrap {
        opacity: 0;
        visibility: hidden;
    }

    &:hover .navigation-wrap {
        opacity: 1;
        visibility: visible;
    }
}