.ocmb-gallery{margin:3rem 0;padding:clamp(20px,4vw,38px);background:#f2f6f8;border:1px solid #d6e2e8;border-radius:16px;color:#18364c}
.ocmb-gallery__eyebrow{font-size:.76rem;font-weight:800;letter-spacing:.12em;color:#12547b;margin:0 0 7px}
.ocmb-gallery h2{color:#152f46;margin:0 0 8px}
.ocmb-gallery>p:not(.ocmb-gallery__eyebrow){margin:0 0 20px}
.ocmb-gallery__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.ocmb-gallery__item{position:relative;display:block;overflow:hidden;border-radius:9px;aspect-ratio:4/3;background:#dbe5e9}
.ocmb-gallery__item img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.ocmb-gallery__item span{position:absolute;inset:auto 0 0;padding:20px 14px 10px;color:#fff;background:linear-gradient(transparent,rgba(8,27,43,.8));font-size:.85rem;font-weight:700;opacity:0;transition:opacity .25s ease}
.ocmb-gallery__item:hover img,.ocmb-gallery__item:focus-visible img{transform:scale(1.06)}
.ocmb-gallery__item:hover span,.ocmb-gallery__item:focus-visible span{opacity:1}
.ocmb-gallery__item:focus-visible,.ocmb-gallery__dialog button:focus-visible{outline:3px solid #0071bc;outline-offset:3px}
.ocmb-gallery__dialog{width:min(95vw,1100px);max-width:none;max-height:95vh;padding:0;border:0;border-radius:12px;background:#10293e;color:#fff;overflow:auto}
.ocmb-gallery__dialog::backdrop{background:rgba(2,12,23,.88)}
.ocmb-gallery__viewer{position:relative;padding:48px 20px 14px;text-align:center}
.ocmb-gallery__viewer-image{display:flex;align-items:center;justify-content:center;min-height:140px}
.ocmb-gallery__viewer-image img{display:block;max-height:72vh;max-width:100%;width:auto;height:auto;object-fit:contain}
.ocmb-gallery__dialog button{font:inherit;cursor:pointer;color:#fff;background:#224962;border:1px solid #668195;border-radius:6px;min-width:44px;min-height:44px}
.ocmb-gallery__close{position:absolute;top:8px;right:10px;font-size:1.55rem!important}
.ocmb-gallery__controls{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:12px}
@media(max-width:650px){.ocmb-gallery__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ocmb-gallery__item span{opacity:1;font-size:.75rem}}
@media(max-width:340px){.ocmb-gallery__grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.ocmb-gallery__item img,.ocmb-gallery__item span{transition:none}}
