/* Approved customer-story card layout, loaded only by the AX homepage. */
.structure-testimonials{width:var(--content);margin:40px auto 42px;padding:0;color:var(--ink)}
.structure-testimonials-head{position:relative;margin:0 24px 34px;padding-bottom:18px;text-align:center}
.structure-testimonials-head h2{margin:0;font-family:var(--body);font-size:clamp(26px,3vw,38px);font-weight:950;letter-spacing:-.035em;line-height:1.05}
.structure-testimonials-head::after{content:"";position:absolute;left:50%;bottom:0;width:54px;height:4px;transform:translateX(-50%);background:var(--gold-400)}
.testimonial-video-row{display:flex;align-items:flex-start;justify-content:safe center;gap:0;overflow-x:auto;padding:20px 22px 22px;scroll-snap-type:x mandatory;scroll-padding-inline:22px;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;background:var(--navy-950);border:1px solid rgba(241,199,91,.72);border-bottom:5px solid var(--gold-400);border-radius:12px;box-shadow:var(--shadow)}
.testimonial-video-row::-webkit-scrollbar{display:none}
.testimonial-card{flex:0 0 220px;margin:0;scroll-snap-align:start}
.testimonial-media{position:relative;overflow:hidden;aspect-ratio:9/16;background:#020b12;border:1px solid rgba(255,255,255,.18);box-shadow:0 12px 30px rgba(0,0,0,.22)}
.testimonial-media video{width:100%;height:100%;display:block;object-fit:cover;background:#000;cursor:pointer}
.testimonial-play,.testimonial-toggle{position:absolute;display:grid;place-items:center;padding:0;color:var(--navy-950);background:var(--gold-400);border:0;border-radius:50%;box-shadow:0 8px 24px rgba(0,0,0,.34);cursor:pointer}
.testimonial-play{inset:50% auto auto 50%;width:54px;height:54px;transform:translate(-50%,-50%);transition:opacity 140ms ease,visibility 140ms ease}
.testimonial-toggle{right:10px;bottom:10px;width:40px;height:40px;z-index:3}
.testimonial-play svg,.testimonial-toggle svg{width:20px;height:20px;fill:currentColor}
.testimonial-play svg{transform:translateX(1px)}
.testimonial-card.is-started .testimonial-play{opacity:0;visibility:hidden;pointer-events:none}
.testimonial-toggle[hidden]{display:none!important}
.testimonial-toggle-play{display:none}
.testimonial-card.is-paused .testimonial-toggle-pause{display:none}
.testimonial-card.is-paused .testimonial-toggle-play{display:block}
.testimonial-card.is-playing .testimonial-toggle-pause{display:block}
.testimonial-card.is-playing .testimonial-toggle-play{display:none}
.testimonial-gap-arrow{flex:0 0 70px;display:grid;place-items:center;align-self:stretch}
.testimonial-gap-arrow button{width:30px;height:30px;display:grid;place-items:center;padding:0;color:var(--navy-950);background:var(--gold-400);border:2px solid rgba(255,255,255,.95);border-radius:50%;box-shadow:0 5px 15px rgba(0,0,0,.34);cursor:pointer}
.testimonial-gap-arrow svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.structure-testimonials button:focus-visible{outline:3px solid #fff;outline-offset:4px}
@media(max-width:620px){
 .structure-testimonials{width:calc(100% - 24px);margin:28px auto 34px}
 .structure-testimonials-head{margin:0 10px 34px}
 .structure-testimonials-head h2{font-size:27px}
 .testimonial-video-row{justify-content:flex-start;padding:16px 14px 18px;scroll-padding-inline:14px}
 .testimonial-card{flex-basis:min(60vw,250px)}
 .testimonial-play{width:52px;height:52px}
 .testimonial-toggle{right:8px;bottom:8px;width:38px;height:38px}
}
