/* Recent Testimonials */
[data-core-block="recent-testimonials"] {margin:80px 0px 140px;}
/* [data-core-block="recent-testimonials"] {margin:140px 0px;} */

[data-core-block="recent-testimonials"][data-background-colour="grey"] {padding:50px 0px;background-color:#2E2E2E;color:#FFF;}
[data-core-block="recent-testimonials"][data-background-colour="orange"] {padding:50px 0px;background-color:#f36f23;color:#000;}

[data-core-block="recent-testimonials"][data-background-colour="orange"] .testimonial-tile .text-content{color:#000;}
[data-core-block="recent-testimonials"][data-background-colour="orange"] .testimonial-tile .text::before, 
[data-core-block="recent-testimonials"][data-background-colour="orange"] .testimonial-tile .text::after {color:#000;}

[data-core-block="recent-testimonials"][data-background-colour="grey"] .testimonial-tile .text-content{color:#fff;}
[data-core-block="recent-testimonials"][data-background-colour="grey"] .testimonial-tile .text::before, 
[data-core-block="recent-testimonials"][data-background-colour="grey"] .testimonial-tile .text::after {color:#fff;}


[data-core-block="recent-testimonials"] .testimonial-tile {display:grid;grid-template-columns:min(340px, 30%) 1fr;gap:40px;align-items:center;}
[data-core-block="recent-testimonials"] .testimonial-tile.noimage{display:block;}
[data-core-block="recent-testimonials"] .testimonial-tile .image picture {display:block;width:100%;aspect-ratio:1/1;position:relative;background-color:grey;border-radius:100%;}
[data-core-block="recent-testimonials"] .testimonial-tile .image img {height:100%;width:100%;object-fit:cover;border-radius:50%;}
[data-core-block="recent-testimonials"] .testimonial-tile .text.span {grid-column: span 2;}
[data-core-block="recent-testimonials"] .testimonial-tile .text {padding:40px;position:relative;}
[data-core-block="recent-testimonials"] .testimonial-tile .text::before, [data-core-block="recent-testimonials"] .testimonial-tile .text::after {font-size:60px;font-weight:700;color:#707070;display:block;position:absolute;}
[data-core-block="recent-testimonials"] .testimonial-tile .text::before {content:'“';left:0;top:0;}
[data-core-block="recent-testimonials"] .testimonial-tile .text::after {content:'”';right:0;bottom:30px;}
[data-core-block="recent-testimonials"] .testimonial-tile .text-content {font-size:20px;font-weight:700;color:#707070;display:-webkit-box;-webkit-box-orient:vertical;line-clamp:3;-webkit-line-clamp:3;text-overflow:ellipsis;overflow:hidden;margin-bottom:20px;line-height:160%;}
[data-core-block="recent-testimonials"] .testimonial-tile .name-text {font-size:22px;font-weight:700;text-transform:capitalize;margin-bottom:10px;}
[data-core-block="recent-testimonials"] .testimonial-tile .link {text-decoration:none;color:inherit;}
[data-core-block="recent-testimonials"] .testimonial-tile .link:hover {cursor:pointer;text-decoration:underline;}
[data-core-block="recent-testimonials"] .testwrap .splide__pagination{right:unset;padding:0 40px;}
[data-core-block="recent-testimonials"] .splide__pagination__page.is-active{background:#e8e8e8;}
@media (max-width:1366px)
{
    [data-core-block="recent-testimonials"] .testimonial-tile {grid-template-columns:min(280px, 25%) 1fr;}
    [data-core-block="recent-testimonials"] .testimonial-tile .text-content {font-size:18px;line-clamp:4;-webkit-line-clamp:4;}
    [data-core-block="recent-testimonials"] .testimonial-tile .name-text {font-size:18px;}
}
@media (max-width:1000px)
{
    [data-core-block="recent-testimonials"] {margin:80px 0px;}
    [data-core-block="recent-testimonials"] .testimonial-tile .text-content {font-size:16px;}
    [data-core-block="recent-testimonials"] .testimonial-tile {grid-template-columns:200px 1fr;}
}
@media (max-width:650px)
{
    [data-core-block="recent-testimonials"] .testimonial-tile {grid-template-columns:1fr;gap:0px;}
    [data-core-block="recent-testimonials"] .testimonial-tile .image picture {max-width:150px;margin:auto;}
    [data-core-block="recent-testimonials"] .testimonial-tile .text.span {grid-column: span 1;}
    [data-core-block="recent-testimonials"] .testimonial-tile .text {text-align:center;}
    [data-core-block="recent-testimonials"] .testimonial-tile.noimage .text{text-align:left;}
}