.mo-box-gallery{margin:32px 0;color:#163447}
.mo-box-gallery h2{margin:0 0 7px;font-size:clamp(24px,4vw,34px)}
.mo-box-gallery p{margin:0 0 16px;color:#4c6474}
.mo-box-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.mo-box-gallery figure{margin:0}
.mo-box-gallery-grid figure{border:1px solid #d6e0e8;border-radius:10px;background:#fff}
.mo-box-gallery-link{display:block;border-radius:9px 9px 0 0;overflow:hidden;cursor:zoom-in;background:#edf2f5}
.mo-box-gallery-link img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.mo-box-gallery-grid figcaption{padding:10px 12px;font-size:14px;line-height:1.4}
.mo-box-gallery-grid figcaption span{display:block;margin-top:3px;color:#536a79;font-size:13px}
.mo-box-gallery-dialog{width:min(94vw,1100px);max-width:94vw;max-height:94vh;padding:12px;border:0;border-radius:12px;background:#fff;color:#163447;overflow:auto}
.mo-box-gallery-dialog::backdrop{background:#081723df}
.mo-box-gallery-dialog figure img{display:block;width:100%;height:min(68vh,680px);object-fit:contain;background:#edf2f5}
.mo-box-gallery-dialog figcaption{text-align:center;margin:8px 0;line-height:1.4}
.mo-box-gallery-bar{display:flex;justify-content:flex-end;margin-bottom:6px}
.mo-box-gallery-nav{display:flex;align-items:center;justify-content:center;gap:16px}
.mo-box-gallery-dialog button{min-width:44px;min-height:44px;background:#164b60;color:white;border:0;border-radius:6px;font-size:20px;cursor:pointer}
.mo-box-gallery :focus-visible{outline:3px solid #168e91;outline-offset:2px}
@media(max-width:760px){.mo-box-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.mo-box-gallery-grid figcaption{padding:8px}.mo-box-gallery-grid figcaption span{font-size:12px}}

