/* --- 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-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 .wp-group-content:before {
    opacity: 0;
    transition: all 1s ease;
    visibility: hidden;
}

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


.wp-block-clients-testimonial .wp-block-testimonial h4 {
    font-size: var(--wp--preset--font-size--normal);
    padding-right: 56px;
    line-height: var(--wp--custom--typography--line-height--paragraph);
}

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

.wp-block-clients-testimonial .wp-block-testimonial .wp-group-content:before,
.wp-block-clients-testimonial .wp-block-testimonial .wp-group-content:after {
    border: solid transparent;
    content: " ";
    display: block;
    height: 0;
    position: absolute;
    pointer-events: none;
    width: 0;
    top: 100%;
}

.wp-block-clients-testimonial .wp-block-testimonial .wp-group-content:before {
    border-color: rgba(255, 255, 255, 0);
    border-top-color: var(--wp--preset--color--border-default-color);
    left: 17px;
    margin-left: -18px;
    border-width: 35px;
    border-left: 0;
}

.wp-block-clients-testimonial .wp-block-testimonial .wp-group-content:after {
    border-color: rgba(255, 255, 255, 0);
    border-top-color: var(--wp--preset--color--background);
    left: 16px;
    margin-left: -16px;
    border-width: 32px;
    border-left: 0;
}

.wp-block-section:nth-child(2n-1).wp-block-clients-testimonial .wp-block-testimonial .wp-group-content:after {
    border-top-color: var(--wp--preset--color--secondary);
}

.wp-block-clients-testimonial .wp-block-testimonial .wp-group-content p {
    margin-top: 14px;
}

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

.wp-block-clients-testimonial .wp-group-author {
    margin-top: 35px;
    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-clients-testimonial .wp-block-testimonial .wp-group-content {
    padding: var(--wp--custom--spacing--testimonial-inner-gap);
    border: 1px solid var(--wp--preset--color--border-default-color);
}

.wp-block-clients-testimonial .wp-group-author>.wp-block-column> :last-child {
    margin-top: 0;
}