.vsi-gallery { box-sizing:border-box; width:100%; max-width:740px; margin:0 auto 28px; }
.vsi-gallery * { box-sizing:border-box; }
.vsi-gallery-track { width:100%; }
.vsi-gallery-slide { margin:0; text-align:center; }
.vsi-gallery-slide[hidden] { display:none !important; }
.vsi-gallery-image-link { display:block; width:fit-content; max-width:100%; margin:0 auto; cursor:zoom-in; text-decoration:none; }
.vsi-gallery-image-link:focus-visible { outline:3px solid #0b3c5d; outline-offset:3px; border-radius:8px; }
.vsi-gallery-image { display:block; width:auto; max-width:100%; height:auto; max-height:900px; margin:0 auto; object-fit:contain; border-radius:8px; }
.vsi-gallery-controls { display:flex; align-items:center; justify-content:center; gap:20px; padding:12px 0; }
.vsi-gallery-controls button { appearance:none; border:1px solid #dedede; border-radius:8px; background:#fff; color:#0b3c5d; font-size:22px; line-height:1; width:44px; height:42px; cursor:pointer; }
.vsi-gallery-controls button:hover, .vsi-gallery-controls button:focus-visible { background:#f4f6f8; outline-offset:3px; }
.vsi-gallery-counter { font:600 14px/1.4 Arial,sans-serif; color:#0b3c5d; min-width:54px; text-align:center; }
@media(max-width:600px) { .vsi-gallery-image { max-height:75vh; } }
