.video-testimonials .video-cards{display:flex;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding:0;padding:0 0 12px;scrollbar-width:thin;scrollbar-color:#b6c9ed transparent}
.video-testimonials .video-card{flex:0 0 calc((100% - 48px)/3);min-width:0;scroll-snap-align:start;display:flex;flex-direction:column;border-color:#c8d8f1;box-shadow:0 5px 0 #dbe6fb}
.video-testimonials .video-player{height:390px;flex:none;border:0;border-radius:0;box-shadow:none;background:#0b2349}
.video-testimonials .video-caption{flex:1;min-height:132px;border-top:3px solid #ff742b;padding:20px;gap:14px}
.video-testimonials .video-caption h4{font-size:23px}
.video-testimonials .video-caption p{font-size:15px}
.video-testimonials .video-caption a{display:inline-flex;align-items:center;gap:7px;color:#194bea;font-size:14px}
.video-testimonials .video-start>span{background:#ff742b;color:#0b2349}
.video-navigation{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:22px}
.video-navigation button{display:grid;place-items:center;width:46px;height:46px;padding:11px;border:1px solid #0b2349;border-radius:50%;background:#ff742b;color:#0b2349;cursor:pointer;box-shadow:2px 3px 0 #dbe6fb}
.video-navigation button svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.video-navigation button:disabled{opacity:.35;cursor:default;background:#edf3ff}
.video-navigation button:focus-visible,.video-testimonials .video-cards:focus-visible{outline:3px solid #194bea;outline-offset:4px}
.video-position{font:600 15px 'DM Sans',sans-serif;color:#526580;min-width:70px;text-align:center}
@media(max-width:1099px){.video-testimonials .video-card{flex-basis:calc((100% - 24px)/2)}}
@media(max-width:650px){.video-testimonials .video-card{flex-basis:100%}.video-testimonials .video-player{height:400px}.video-testimonials .video-caption{min-height:124px}}

.video-navigation{flex-wrap:wrap}

.video-testimonials .video-caption>img.video-logo-anypro{width:80px;height:68px;padding:8px;border-radius:8px;background:#0b2349;object-fit:contain}.video-testimonials .video-caption>img.video-logo-paysagiste{width:68px;height:68px;object-fit:contain}

/* Four visible testimonials on desktop; preserve the smaller-screen carousel. */
@media(min-width:1100px){
 .video-four-desktop .video-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;overflow:visible;scroll-snap-type:none}
 .video-four-desktop .video-player{height:auto;aspect-ratio:3/4}
 .video-four-desktop .video-caption{padding:16px 12px;gap:10px;flex-wrap:wrap;align-content:start;min-height:132px}
 .video-four-desktop .video-caption h4{font-size:20px}
 .video-four-desktop .video-navigation{display:none}
}

/* Keep intrinsic video dimensions from stretching individual desktop cards. */
@media(min-width:1100px){
 .video-four-desktop .video-player{width:100%;height:auto;min-height:0;aspect-ratio:3/4;overflow:hidden}
 .video-four-desktop .video-player video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
 .video-four-desktop .video-caption{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;align-content:center;min-height:140px;box-sizing:border-box}
 .video-four-desktop .video-caption>img{width:64px!important;height:58px!important;box-sizing:border-box}
 .video-four-desktop .video-caption h4{font-size:19px}
 .video-four-desktop .video-caption p{font-size:13px}
 .video-four-desktop .video-caption a{font-size:12px}
}
