#reviews .review-proof-actions{display:flex;align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap}
.testimonial-watch{display:inline-flex;align-items:center;gap:12px;border:1px solid #b9cee5;border-radius:9px;padding:14px 19px;min-height:48px;background:white;color:#173247;font:600 15px/1.5 var(--sans);cursor:pointer;text-align:left;transition:background .15s,border-color .15s}
.testimonial-watch[hidden]{display:none}
.testimonial-watch svg{width:23px;height:23px;flex-shrink:0;color:#276bd3}
.testimonial-watch:hover{background:#e5effb;border-color:#276bd3}
.testimonial-watch:focus-visible,.testimonial-close:focus-visible{outline:3px solid #276bd3;outline-offset:4px}
.testimonial-dialog{width:min(940px,calc(100% - 32px));max-width:calc(100% - 32px);max-height:calc(100dvh - 32px);padding:0;border:1px solid #ccdef0;border-radius:18px;background:white;color:#173247;box-shadow:0 24px 80px #071c3266;overflow:auto}
.testimonial-dialog::backdrop{background:rgba(8,27,42,.78)}
.testimonial-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 24px}
.testimonial-dialog-header h2{margin:0;font:600 23px/1.3 var(--sans);letter-spacing:-.5px}
.testimonial-close{display:inline-flex;align-items:center;justify-content:center;align-self:center;gap:8px;height:44px;min-height:44px;flex-shrink:0;border:1px solid #ccdef0;border-radius:8px;background:#f4f8fd;color:#173247;padding:8px 12px;font:600 14px/1 var(--sans);white-space:nowrap;cursor:pointer}
.testimonial-close:hover{background:#e5effb}
.testimonial-close>span:first-child{display:block;line-height:1}
/* Draw the close icon in a fixed square, independent of font glyph baselines. */
.testimonial-close span[aria-hidden]{position:relative;display:block;width:16px;height:16px;flex:0 0 16px;font-size:0;line-height:0}
.testimonial-close span[aria-hidden]::before,.testimonial-close span[aria-hidden]::after{content:"";position:absolute;left:50%;top:50%;width:14px;height:2px;border-radius:1px;background:currentColor;transform:translate(-50%,-50%) rotate(45deg)}
.testimonial-close span[aria-hidden]::after{transform:translate(-50%,-50%) rotate(-45deg)}
.testimonial-dialog video{display:block;width:100%;height:auto;max-height:calc(100dvh - 200px);aspect-ratio:16/9;background:#102838;object-fit:contain}
.testimonial-dialog-caption{margin:0;padding:17px 24px 21px;font:15px/1.6 var(--sans);color:#466178}
@media(max-width:600px){#reviews .review-proof-actions{align-items:flex-start;flex-direction:column;gap:20px}.testimonial-watch{font-size:14px;padding:13px 15px}.testimonial-dialog-header{padding:15px;gap:10px}.testimonial-dialog-header h2{font-size:19px}.testimonial-close{padding:8px 10px}.testimonial-dialog-caption{padding:15px;font-size:13px}}
@media(prefers-reduced-motion:reduce){.testimonial-watch{transition:none}}

/* Keep the video invitation directly below the featured review at every breakpoint. */
#reviews .review-feature-column{display:flex;flex-direction:column;align-items:flex-start;gap:18px;min-width:0}
#reviews .review-feature-column>.review-feature{width:100%;box-sizing:border-box}
#reviews .review-feature-column>.testimonial-watch{max-width:100%;text-align:left}
