.ms-gallery{margin:20px 0 12px;padding-top:16px;border-top:1px solid #dce5ed}.ms-gallery h2{font-size:22px}.ms-gallery-stage{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;gap:12px;background:#edf2f7;border-radius:8px;padding:16px}.ms-gallery-main{display:block!important;width:100%;height:480px!important;object-fit:contain;margin:0!important}.ms-gallery-stage button{border:0;background:#125c91;color:white;border-radius:50%;width:44px;height:44px;font-size:32px;line-height:1}.ms-gallery-count{text-align:center;margin:12px!important}.ms-gallery-thumbs{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.ms-gallery-thumbs button{padding:3px;border:2px solid transparent;background:white;border-radius:6px}.ms-gallery-thumbs button[aria-pressed=true]{border-color:#125c91}.ms-gallery-thumbs img{width:100px;height:65px!important;object-fit:cover;margin:0!important}.ms-gallery-hint{text-align:center;color:#647487;font-size:15px}@media(max-width:767px){.ms-gallery-stage{grid-template-columns:32px minmax(0,1fr) 32px;gap:4px;padding:8px}.ms-gallery-main{height:260px!important}.ms-gallery-stage button{width:30px;height:30px;font-size:26px}.ms-gallery-thumbs img{width:72px;height:48px!important}}
.ms-gallery-full{min-width:0;display:block}.ms-gallery button{cursor:pointer}.ms-gallery button:focus-visible{outline:3px solid currentColor;outline-offset:3px}

.ms-photo-dialog{position:fixed;inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;border:0;padding:64px 72px;background:#101820f5;color:#fff;box-sizing:border-box;overflow:hidden}.ms-photo-dialog[open]{display:flex;align-items:center;justify-content:center}.ms-photo-dialog::backdrop{background:#101820}.ms-photo-dialog .ms-photo-image{display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:calc(100dvh - 128px)!important;object-fit:contain;margin:0!important}.ms-photo-dialog button{position:absolute;z-index:2;width:48px;height:48px;padding:0;border:1px solid #ffffff80;border-radius:50%;background:#203b4e;color:#fff!important;font:38px/1 sans-serif;cursor:pointer}.ms-photo-dialog button:hover{background:#375e76}.ms-photo-dialog button:focus-visible{outline:3px solid #fff;outline-offset:4px}.ms-photo-close{right:18px;top:14px}.ms-photo-prev{left:12px;top:calc(50% - 24px)}.ms-photo-next{right:12px;top:calc(50% - 24px)}.ms-photo-counter{position:absolute;bottom:12px;left:0;right:0;margin:0;text-align:center;color:#fff;font-size:18px}@media(max-width:600px){.ms-photo-dialog{padding:64px 8px 88px}.ms-photo-dialog .ms-photo-image{max-height:calc(100dvh - 152px)!important}.ms-photo-dialog .ms-photo-prev,.ms-photo-dialog .ms-photo-next{top:auto;bottom:20px}.ms-photo-dialog .ms-photo-prev{left:calc(50% - 110px)}.ms-photo-dialog .ms-photo-next{right:calc(50% - 110px)}.ms-photo-counter{bottom:32px}}
