/* Plain, clickable screenshots; controls appear only in the image viewer. */
.screen-gallery{min-width:0;margin:28px 0;border:0;border-radius:0;background:transparent;overflow:visible}
.screen-gallery-stage{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}
.screen-slide{display:none;min-width:0;cursor:zoom-in;background:transparent;text-decoration:none}
.screen-slide img{display:block;width:100%;height:auto;max-height:650px;object-fit:contain;border-radius:4px}
@media(min-width:1001px){
 :is(.service-example-grid,.topic-intro-grid,.topic-case-grid,.security-split,.bol-promo-grid,.home-work)>.screen-gallery .screen-slide img{max-height:none}
}
.screen-gallery.is-ready .screen-slide:not([hidden]){display:block}
.screen-gallery[data-preview-count="2"] .screen-gallery-stage{grid-template-columns:repeat(2,minmax(0,1fr))}
.module-screen-gallery[data-preview-count="4"] .screen-gallery-stage{grid-template-columns:repeat(2,minmax(0,1fr))}
.module-screen-gallery .screen-slide{border:1px solid #cbd5df;border-radius:5px;overflow:hidden;background:#071c33}
.module-screen-gallery .screen-slide img{border-radius:0}
.module-screen-title{display:block;padding:8px 9px;background:#fff;color:#17324b;font-size:12px;line-height:1.5;font-weight:600}
.module-screen-gallery-caption{font-size:12px;line-height:1.6;color:#526477;margin:12px 0 8px}
.module-screen-gallery-all{font:inherit;font-size:13px;font-weight:600;line-height:1.5;color:#175c91;background:#fff;border:1px solid #b3c7d7;border-radius:5px;padding:9px 12px;cursor:pointer;min-height:42px}
.module-screen-gallery-all:hover{background:#edf4fa}
.screen-gallery:not(.is-ready) .screen-slide[data-screen-preview="desktop"],.screen-gallery:not(.is-ready)[data-screen-desktop-count="0"] .screen-slide[data-screen-preview="mobile"]{display:block}
.screen-gallery:not(.is-ready)[data-screen-desktop-count="0"]:not([data-screen-mobile-count="1"]) .screen-gallery-stage{grid-template-columns:repeat(2,minmax(0,1fr))}
.bol-promo-grid>.screen-gallery,.home-work>.screen-gallery{margin:0;align-self:center}
main .case-screen,main .website-preview,main .news-image,main .bol-promo-screen{border:0;border-radius:0;background:transparent;overflow:visible}
main .case-screen img{background:transparent}
main .case-screen>a,main .website-preview>a,main .news-image>a,main .bol-promo-screen>a{cursor:zoom-in}
.image-viewer button{border:1px solid #c4cfd9;border-radius:5px;background:#fff;color:var(--brand-blue,#051d40);font:600 13px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;min-height:42px;padding:8px 12px;cursor:pointer}
.image-viewer button:hover{background:#e8eef4}
.image-viewer{padding:0;border:1px solid #516579;border-radius:9px;width:min(1240px,calc(100vw - 40px));height:min(920px,calc(100dvh - 40px));max-width:none;max-height:none;background:#eef2f6;color:var(--brand-blue,#051d40);box-shadow:0 20px 80px #0008}
.image-viewer::backdrop{background:#071627d9}
.image-viewer-shell{display:flex;flex-direction:column;height:100%;min-height:0}
.image-viewer-header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 18px;background:#fff;border-bottom:1px solid #cbd5df;flex-shrink:0}
.image-viewer-header strong{display:block;line-height:1.4;font-size:17px}
.image-viewer-kind{display:block;color:#526477;font-size:12px;margin-top:4px}
.image-viewer-credits{display:inline-block;color:#175c91;font-size:12px;line-height:1.5;margin-top:6px}
.image-viewer-credits[hidden]{display:none}
.image-viewer .image-viewer-close{flex-shrink:0;background:var(--brand-blue,#051d40);color:#fff;border-color:var(--brand-blue,#051d40);font-size:15px;min-height:45px;padding:9px 17px}
.image-viewer .image-viewer-close:hover{background:#244b6e}
.image-viewer-stage{flex:1;min-height:0;overflow:auto;display:flex;align-items:center;justify-content:center;padding:16px;touch-action:pan-y pinch-zoom;overscroll-behavior:contain}
.image-viewer-stage img{display:block;width:100%;height:100%;object-fit:contain;max-width:100%;max-height:100%}
.image-viewer-stage.is-zoomed{display:block;touch-action:auto}
.image-viewer-stage.is-zoomed img{width:200%;height:auto;max-height:none;max-width:none;object-fit:initial}
.image-viewer-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 18px;background:#fff;border-top:1px solid #cbd5df;flex-shrink:0}
.image-viewer-arrows{display:flex;gap:8px}
.image-viewer-count{font-size:13px;color:#41566a;white-space:nowrap}
.image-viewer button:disabled{opacity:.45;cursor:default}
@media(max-width:760px) and (orientation:portrait){.image-viewer{width:100vw;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0}.image-viewer-header{padding:12px max(12px,env(safe-area-inset-right)) 12px max(12px,env(safe-area-inset-left));align-items:flex-start}.image-viewer-header strong{font-size:15px}.image-viewer .image-viewer-close{padding:9px 13px;font-size:14px}.image-viewer-stage{padding:10px}.image-viewer-footer{padding:10px 12px max(10px,env(safe-area-inset-bottom));gap:9px;flex-wrap:wrap}.image-viewer button{min-height:44px;padding:9px 11px;font-size:12px}.image-viewer-zoom{margin-left:auto}.image-viewer-arrows{gap:7px}.image-viewer-count{font-size:12px}}
.image-viewer-header>div{min-width:0}
.image-viewer-arrows button{font-size:20px;line-height:1;min-width:44px;padding:8px}
@media(max-width:760px) and (orientation:portrait){
.screen-gallery-stage{gap:12px}
.screen-gallery:not(.is-ready):not([data-screen-mobile-count="0"]) .screen-slide[data-screen-preview="desktop"]{display:none}
.screen-gallery:not(.is-ready) .screen-slide[data-screen-preview="mobile"]{display:block}
.screen-gallery:not(.is-ready):not([data-screen-mobile-count="0"]):not([data-screen-mobile-count="1"]) .screen-gallery-stage{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(prefers-reduced-motion:reduce){.image-viewer-stage{scroll-behavior:auto}}
