/* Konteners Gallery / RC 10.21.67. Isolated layout, desktop edge-overlap arrows and mobile thumbnail peek. */
.konteners-gallery{--kg-border:#dbe4ee;--kg-active:#145ea1;--kg-ink:#295784;--kg-stage:505px;width:100%;min-width:0;max-width:100%;color:inherit;font-family:inherit}
.konteners-gallery,.konteners-gallery *{box-sizing:border-box}
.konteners-gallery [hidden]{display:none!important}
.konteners-gallery__layout{display:flex;flex-direction:column;gap:12px;min-width:0}
.konteners-gallery__thumb-nav{position:relative;display:block;width:100%;min-width:0;min-height:0}
.konteners-gallery__rail{display:block;min-width:0;width:100%;height:104px;overflow:hidden}
.konteners-gallery__thumb-arrow{appearance:none;position:absolute;z-index:6;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:40px;height:40px;margin:0;padding:0;background:rgba(255,255,255,.96);border:1px solid var(--kg-border);border-radius:50%;color:var(--kg-ink);box-shadow:0 2px 12px rgba(12,50,86,.14);cursor:pointer;touch-action:manipulation;transition:background .18s ease,border-color .18s ease,opacity .18s ease}
.konteners-gallery__thumb-arrow--prev{left:var(--kg-thumb-inset-left,0px);transform:translate(-50%,-50%)}
.konteners-gallery__thumb-arrow--next{right:var(--kg-thumb-inset-right,0px);transform:translate(50%,-50%)}
.konteners-gallery__thumb-arrow:not(:disabled):hover{background:#f3f8fd;border-color:#b7ccdf}
.konteners-gallery__thumb-arrow:disabled{opacity:.38;cursor:default}
.konteners-gallery__thumb-arrow[hidden]{display:none!important}
.konteners-gallery .material-symbols-rounded{font-family:'Material Symbols Rounded'!important;font-size:24px;font-style:normal;font-weight:normal;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;font-variation-settings:'FILL' 0,'wght' 300,'GRAD' 0,'opsz' 24}

.konteners-gallery__rail>.swiper-wrapper{align-items:stretch}
/* Swiper sets actual slide widths from the container's measured capacity. */
.konteners-gallery__thumb-slide{height:104px!important;min-width:0;flex-shrink:0}
.konteners-gallery__thumb{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:104px;margin:0;padding:6px;overflow:hidden;background:#fff;border:1px solid var(--kg-border);border-radius:8px;color:inherit;cursor:pointer;isolation:isolate}
.konteners-gallery__thumb.is-active,.konteners-gallery__thumb[aria-pressed="true"]{border:2px solid var(--kg-active);padding:5px;box-shadow:inset 0 0 0 1px #e3f1fe}
.konteners-gallery__thumb img{display:block;width:100%;height:100%;object-fit:contain}
.konteners-gallery__thumb--media{padding:0}
.konteners-gallery__thumb--media img{object-fit:contain;opacity:.82;filter:saturate(.88)}
/* Both media thumbnails have one centered, icon-only badge. No FILM strip. */
.konteners-gallery__spin-badge{position:absolute;z-index:2;top:50%;left:50%;transform:translate(-50%,-50%);width:32px;height:32px;display:grid;place-items:center;background:#fff;border:1px solid #d5e2ef;border-radius:50%;color:#164b82;box-shadow:0 2px 9px rgba(12,50,86,.22);pointer-events:none}
.konteners-gallery__spin-badge .material-symbols-rounded{font-size:23px;line-height:1;font-variation-settings:'FILL' 0,'wght' 400,'GRAD' 0,'opsz' 24}
.konteners-gallery .konteners-gallery__play-symbol{position:absolute;z-index:2;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#fff;color:#0d4070;box-shadow:0 2px 9px rgba(12,50,86,.22);font-size:24px;line-height:1;font-variation-settings:'FILL' 1,'wght' 400,'GRAD' 0,'opsz' 24;font-feature-settings:'liga';pointer-events:none}
.konteners-gallery__stage{height:var(--kg-stage);width:100%;min-width:0;background:#fff;border:1px solid var(--kg-border);border-radius:9px;overflow:hidden;position:relative}
/* The mobile counter stays within the main media frame, without adding a row. */
.konteners-gallery__counter--stage{display:none}
.konteners-gallery__stage>.swiper-wrapper{height:100%}
.konteners-gallery__slide{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;height:100%;padding:8px;background:#fff}
.konteners-gallery__slide>[data-gallery-image]{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;display:block}
.konteners-gallery__slide video{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;background:#111b28}
.konteners-gallery__main-arrow{appearance:none;position:absolute;z-index:5;top:50%;transform:translateY(-50%);width:44px;height:44px;display:grid;place-items:center;margin:0;padding:0;border:1px solid var(--kg-border);border-radius:50%;background:rgba(255,255,255,.96);color:var(--kg-ink);box-shadow:0 2px 12px rgba(12,50,86,.14);cursor:pointer;opacity:1;pointer-events:auto;touch-action:manipulation;user-select:none;transition:opacity .18s ease,background .18s ease,border-color .18s ease}
/* Missing icon fonts must not turn ligature labels into overflowing text. */
.konteners-gallery :is(.konteners-gallery__main-arrow,.konteners-gallery__thumb-arrow)>.material-symbols-rounded{display:grid;place-items:center;width:24px;max-width:24px;height:24px;overflow:hidden;text-align:center}
.konteners-gallery__main-arrow--prev{left:16px}
.konteners-gallery__main-arrow--next{right:16px}
.konteners-gallery__main-arrow:disabled{opacity:.34;cursor:default;pointer-events:none}
.konteners-gallery__main-arrow:not(:disabled):hover{background:#f3f8fd;border-color:#b7ccdf}
.konteners-gallery__main-arrow:not(:disabled):active{background:#e9f3fd}
.konteners-gallery__zoom{position:absolute;z-index:4;bottom:17px;right:17px;display:grid;place-items:center;width:42px;height:42px;padding:0;border:1px solid var(--kg-border);background:#fff;color:var(--kg-ink);border-radius:50%;font-size:20px;cursor:pointer}
.konteners-gallery__foot{display:flex;align-items:center;flex-wrap:wrap;gap:11px;padding:12px 1px;font-size:12px;color:#536a81;line-height:1.5}
.konteners-gallery__foot-dot{width:6px;height:6px;background:#d8e6f0;border-radius:50%}
.konteners-gallery__spin{position:relative;width:100%;height:100%;display:grid;place-items:center;touch-action:pan-y;user-select:none;cursor:grab;outline-offset:-4px}
.konteners-gallery__spin:active{cursor:grabbing}
.konteners-gallery__spin img{pointer-events:none;display:block;width:100%;height:100%;max-height:100%;object-fit:contain}
/* A single, visually centred control group. The desktop slide provides 18px
   inset below .spin; the small negative offset lowers the arrows without
   clipping the instruction pill against the stage border. */
.konteners-gallery__spin-ui{position:absolute;z-index:3;left:50%;bottom:-15px;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;width:max-content;max-width:calc(100% - 24px);pointer-events:none}
.konteners-gallery__spin-instruction{position:static;display:block;width:max-content;max-width:100%;box-sizing:border-box;margin:0;padding:5px 12px;border:1px solid #e0e9f2;border-radius:999px;background:#f5f8fc;color:#536a81;font-size:12px;font-weight:500;line-height:1.4;text-align:center;white-space:nowrap;box-shadow:none;pointer-events:none}
.konteners-gallery__spin-controls{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:12px;padding:5px 9px;background:#fff;border:1px solid var(--kg-border);border-radius:24px;white-space:nowrap}
.konteners-gallery__spin-ui .konteners-gallery__spin-controls{position:static;left:auto;bottom:auto;transform:none;pointer-events:auto}
.konteners-gallery__spin-controls button{appearance:none;display:inline-grid;place-items:center;flex:0 0 36px;box-sizing:border-box;width:36px;height:36px;margin:0;padding:0;border:0;border-radius:50%;background:#f4f8fc;color:#174a7c;cursor:pointer;font-size:20px;line-height:1;letter-spacing:normal;text-indent:0;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.konteners-gallery__spin-controls button>.material-symbols-rounded{display:grid;place-items:center;flex:none;width:22px;height:22px;font-size:22px;line-height:1;font-variation-settings:'FILL' 0,'wght' 400,'GRAD' 0,'opsz' 24}
.konteners-gallery__spin-controls button.is-holding{background:#dcebf9;color:#0b427b;box-shadow:inset 0 0 0 1px #a8cae8}
.konteners-gallery__spin-controls button:disabled{opacity:.45;cursor:default}
.konteners-gallery__media-error{position:absolute;z-index:2;left:10px;top:10px;right:10px;background:#fff8e9;padding:8px 12px;color:#774a0a;font-size:12px}
/* The native dialog defaults to overflow:auto, which produces an inner scrollbar
   for large source photos (or wider browser/font metrics). The viewport is fixed:
   every media type must fit its allocated box; never scroll the lightbox. */
/* Lightbox tracks its media's natural aspect ratio. The JS-supplied dimensions
   are an upper-bounded fit to the available viewport, not a fixed 90% rectangle.
   Before JS computes size, this 4:3 fallback also remains inside the viewport. */
.konteners-gallery__lightbox{position:fixed;inset:0;box-sizing:border-box;margin:auto;padding:6px;width:var(--kg-lightbox-width,min(90vw,calc(90dvh * 4 / 3)));height:var(--kg-lightbox-height,auto);aspect-ratio:var(--kg-lightbox-aspect,4 / 3);max-width:90vw;max-height:90vh;max-height:90dvh;min-width:0;min-height:0;overflow:hidden;overscroll-behavior:contain;border:0;border-radius:8px;background:#fff;box-shadow:0 25px 90px #0008;color:#1b2535}
.konteners-gallery__lightbox::backdrop{background:#081a2bd1}
/* RC66: suppress the programmatic initial focus ring on the dialog itself.
   Keyboard focus remains visibly outlined on the actual controls. */
.konteners-gallery__lightbox:focus{outline:none}
.konteners-gallery__lightbox-host{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:100%;height:100%;max-width:100%;max-height:100%;min-width:0;min-height:0;overflow:hidden;padding:0}
.konteners-gallery__lightbox-image{display:block;width:100%;height:100%;max-width:100%;max-height:100%;min-width:0;min-height:0;object-fit:contain;object-position:center}
.konteners-gallery__lightbox-host>video{display:block;width:100%;height:100%;max-width:100%;max-height:100%;min-width:0;min-height:0;object-fit:contain;object-position:center;background:#111b28}
.konteners-gallery__lightbox-host>.konteners-gallery__spin{width:100%;height:100%;max-width:100%;max-height:100%;min-width:0;min-height:0;overflow:hidden}
.konteners-gallery__lightbox-host>.konteners-gallery__spin>[data-spin-image]{width:100%;height:100%;max-width:100%;max-height:100%;min-width:0;min-height:0;object-fit:contain;object-position:center}
.konteners-gallery__lightbox-host .konteners-gallery__spin-ui{bottom:14px}
.konteners-gallery__lightbox-arrow{position:absolute;z-index:5;top:50%;transform:translateY(-50%);display:grid;place-items:center;height:44px;width:44px;margin:0;padding:0;border-radius:50%;border:1px solid var(--kg-border);background:rgba(255,255,255,.96);color:var(--kg-ink);cursor:pointer;touch-action:manipulation;box-shadow:0 2px 12px rgba(12,50,86,.14)}
.konteners-gallery__lightbox-arrow--prev{left:12px}
.konteners-gallery__lightbox-arrow--next{right:12px}
.konteners-gallery__lightbox-arrow>.material-symbols-rounded{display:block;width:24px;max-width:24px;overflow:hidden;text-align:center}
.konteners-gallery__lightbox-arrow:disabled{opacity:.35;cursor:default}
.konteners-gallery__lightbox-arrow:not(:disabled):hover{background:#f3f8fd;border-color:#b7ccdf}
.konteners-gallery__lightbox-announcement{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.konteners-gallery__zoom--media{top:17px;bottom:auto;right:17px}

.konteners-gallery__lightbox-close{position:absolute;z-index:6;right:12px;top:12px;width:44px;height:44px;margin:0;padding:0;background:rgba(255,255,255,.96);border:0;box-shadow:none;border-radius:50%;cursor:pointer;touch-action:manipulation;font:inherit;font-size:25px}
.konteners-gallery :is(.konteners-gallery__thumb,.konteners-gallery__thumb-arrow,.konteners-gallery__main-arrow,.konteners-gallery__zoom,.konteners-gallery__spin,.konteners-gallery__spin-controls button,.konteners-gallery__lightbox-close,.konteners-gallery__lightbox-arrow):focus-visible{outline:3px solid #58a0d5;outline-offset:2px}
.konteners-gallery__empty{grid-column:1/-1}
@media(max-width:1180px){.konteners-gallery{--kg-stage:465px}}
@media(max-width:950px) and (min-width:671px){.konteners-gallery{--kg-stage:415px}}
/* Mobile, including phones held in landscape: a stable 4:3 frame with contain media. */
@media (max-width:670px), (max-height:500px) and (pointer:coarse){
 .konteners-gallery__layout{gap:9px}
 .konteners-gallery__stage{width:100%;height:auto;aspect-ratio:4/3;max-height:min(74dvh,440px)}
 .konteners-gallery__thumb-nav{width:100%;gap:0}
 .konteners-gallery__thumb-arrow{display:none!important}
 .konteners-gallery__main-arrow{width:44px;height:44px}
 .konteners-gallery__main-arrow--prev{left:8px}
 .konteners-gallery__main-arrow--next{right:8px}
 .konteners-gallery__rail{height:82px;width:100%;display:block}
 .konteners-gallery__thumb-slide{height:82px!important}
 .konteners-gallery__thumb{height:82px;padding:4px}
 .konteners-gallery__thumb.is-active{padding:3px}
 .konteners-gallery__slide{padding:4px}
 .konteners-gallery__foot{font-size:11px;gap:8px;padding:8px 0}
 .konteners-gallery__zoom{right:10px;bottom:10px}
 .konteners-gallery__spin-ui{bottom:2px;gap:9px}
 .konteners-gallery__spin-instruction{font-size:11px;white-space:normal}
 .konteners-gallery__counter--stage{position:absolute;z-index:5;display:block;top:9px;right:9px;width:auto;min-width:43px;max-width:calc(100% - 24px);margin:0;padding:5px 9px;background:rgba(255,255,255,.96);border:1px solid var(--kg-border);border-radius:999px;box-shadow:0 1px 6px rgba(12,50,86,.09);color:#1b4675;font-size:12px;font-weight:600;line-height:1.3;text-align:center;pointer-events:none}
 .konteners-gallery__counter--foot{display:none!important}
 .konteners-gallery__categories{display:flex;flex:1 1 100%;min-width:0;max-width:100%;overflow-x:auto;overflow-y:hidden;flex-wrap:nowrap;gap:7px;scrollbar-width:thin;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;padding-bottom:3px}
 .konteners-gallery__categories>.konteners-gallery__category{flex:0 0 auto;white-space:nowrap}
}
/* Keep the gallery usable on a short landscape phone without swallowing the whole viewport. */
@media (max-height:500px) and (pointer:coarse){.konteners-gallery__stage{max-height:65dvh}}

/* Small ratio changes are smoothed; accessibility motion preferences always win. */
@media(prefers-reduced-motion:no-preference){.konteners-gallery__lightbox[open]{transition:width .18s ease,height .18s ease}}
@media(prefers-reduced-motion:reduce){.konteners-gallery *{scroll-behavior:auto!important;transition:none!important}}
/* If Swiper is missing, show only the first original photo; no inert thumbnails. */
.konteners-gallery:not([data-gallery-ready="1"]) .konteners-gallery__thumb-nav{display:none}
.konteners-gallery:not([data-gallery-ready="1"]) .konteners-gallery__counter--stage{display:none}
.konteners-gallery__stage>.swiper-wrapper{height:100%}
.konteners-gallery:not([data-gallery-ready="1"]) .konteners-gallery__slide{display:none}
.konteners-gallery:not([data-gallery-ready="1"]) .konteners-gallery__slide:first-child{display:flex;width:100%}
/* With JavaScript unavailable, only the first media item is visible: hide inactive navigation. */
.konteners-gallery:not([data-gallery-ready="1"]) .konteners-gallery__main-arrow{display:none}
@media(prefers-reduced-motion:reduce){.konteners-gallery__thumb-arrow,.konteners-gallery__main-arrow{transition:none}}

@media(max-width:670px){.konteners-gallery__lightbox{padding:4px}.konteners-gallery__lightbox-host{padding:0}.konteners-gallery__lightbox-arrow{width:44px;height:44px}.konteners-gallery__lightbox-arrow--prev{left:8px}.konteners-gallery__lightbox-arrow--next{right:8px}.konteners-gallery__lightbox-close{right:8px;top:8px}}

.konteners-gallery__lightbox-error{position:absolute;z-index:5;left:50%;bottom:18px;transform:translateX(-50%);max-width:calc(100% - 120px);margin:0;border:1px solid #e8d3a8;border-radius:5px;background:#fff8e9;padding:8px 12px;color:#774a0a;font-size:12px;text-align:center}

/* RC 10.21.65: click-to-enlarge image only, without interrupting Swiper gestures.
   Desktop cue is a non-blocking visual state of the existing accessible button. */
.konteners-gallery__slide>[data-gallery-image]{cursor:zoom-in;-webkit-user-drag:none;user-select:none}
.konteners-gallery__zoom-label{display:none}
@media (hover:hover) and (pointer:fine){
 .konteners-gallery__slide:has(>[data-gallery-image])>.konteners-gallery__zoom{
   top:50%;left:50%;bottom:auto;right:auto;transform:translate(-50%,-50%);
   display:flex;align-items:center;justify-content:center;gap:8px;
   width:auto;min-width:172px;height:46px;padding:0 14px;border-radius:8px;
   background:rgba(255,255,255,.94);box-shadow:0 3px 18px rgba(20,45,70,.17);
   opacity:0;pointer-events:none;transition:opacity .15s ease;
 }
 .konteners-gallery__slide:has(>[data-gallery-image]):hover>.konteners-gallery__zoom,
 .konteners-gallery__slide:has(>[data-gallery-image])>.konteners-gallery__zoom:focus-visible{
   opacity:1;
 }
 .konteners-gallery__slide:has(>[data-gallery-image])>.konteners-gallery__zoom:focus-visible{pointer-events:auto}
 .konteners-gallery__zoom-label{display:inline;font-size:13px;line-height:1.3;font-weight:600;white-space:nowrap}
}
/* On touch devices, preserve a persistent bottom-right zoom button. */
@media (hover:none), (pointer:coarse){
 .konteners-gallery__slide:has(>[data-gallery-image])>.konteners-gallery__zoom{
   opacity:1;pointer-events:auto;transform:none;top:auto;left:auto;
 }
}
/* Zoom gestures are isolated to the image, never video/360 or the full dialog. */
.konteners-gallery__lightbox-host>[data-lightbox-image]{touch-action:none;transform-origin:center center;will-change:transform;cursor:zoom-in;user-select:none;-webkit-user-drag:none;transition:transform .16s ease}
.konteners-gallery__lightbox-host.is-zoomed>[data-lightbox-image]{cursor:grab}
.konteners-gallery__lightbox-host.is-zoomed>[data-lightbox-image].is-gesturing{cursor:grabbing}
.konteners-gallery__lightbox-host>[data-lightbox-image].is-gesturing{transition:none}
.konteners-gallery__lightbox-zoom-controls{position:absolute;z-index:7;bottom:12px;left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:4px;padding:4px;border:1px solid var(--kg-border);border-radius:999px;background:rgba(255,255,255,.96);box-shadow:0 2px 12px rgba(12,50,86,.14)}
.konteners-gallery__lightbox-zoom-controls button{display:grid;place-items:center;min-width:38px;min-height:38px;border:0;background:transparent;border-radius:50%;color:var(--kg-ink);font:600 22px/1 Arial,sans-serif;cursor:pointer;touch-action:manipulation}
.konteners-gallery__lightbox-zoom-controls button:disabled{opacity:.32;cursor:default}
.konteners-gallery__lightbox-zoom-controls button:not(:disabled):hover{background:#edf5fd}
.konteners-gallery__lightbox-zoom-controls output{min-width:52px;text-align:center;font-size:12px;font-weight:600;color:#1b4675}
.konteners-gallery__lightbox-zoom-controls button:focus-visible{outline:3px solid #58a0d5;outline-offset:2px}
@media (max-width:670px){.konteners-gallery__lightbox-zoom-controls{bottom:8px}.konteners-gallery__lightbox-zoom-controls button{min-width:40px;min-height:40px}}
@media (prefers-reduced-motion:reduce){.konteners-gallery__lightbox-host>[data-lightbox-image]{transition:none!important}}

/* V4 / Stage IV: genuine three-zone lightbox, with NO photo-covering controls. */
.konteners-gallery__lightbox{
 --kg-lightbox-header-height:48px;--kg-lightbox-toolbar-height:60px;
 --kg-safe-top:env(safe-area-inset-top,0px);--kg-safe-bottom:env(safe-area-inset-bottom,0px);
 --kg-safe-left:env(safe-area-inset-left,0px);--kg-safe-right:env(safe-area-inset-right,0px);
 padding:6px;aspect-ratio:auto;max-width:min(90vw,calc(100vw - var(--kg-safe-left) - var(--kg-safe-right)));max-height:min(90dvh,calc(100dvh - var(--kg-safe-top) - var(--kg-safe-bottom)));
}
.konteners-gallery__lightbox[open]{display:flex;flex-direction:column}
.konteners-gallery__lightbox-header{display:flex;flex:0 0 var(--kg-lightbox-header-height);min-height:0;align-items:center;justify-content:space-between;gap:8px;padding:0 4px 0 12px;background:#fff}
.konteners-gallery__lightbox-heading{font-size:13px;font-weight:600;color:#344f6e}
.konteners-gallery__lightbox-close{position:static;flex:0 0 40px;width:40px;height:40px;z-index:auto;background:#fff;color:#253c52}
.konteners-gallery__lightbox-host{flex:1 1 auto;height:auto;min-height:0;max-height:none;position:relative;isolation:isolate}
.konteners-gallery__lightbox-toolbar{display:flex;flex:0 0 var(--kg-lightbox-toolbar-height);align-items:center;justify-content:space-between;gap:4px;padding:0 5px;background:#fff;min-width:0}
.konteners-gallery__lightbox-toolbar .konteners-gallery__lightbox-arrow{position:static;z-index:auto;transform:none;flex:0 0 42px;width:42px;height:42px}
.konteners-gallery__lightbox-toolbar .konteners-gallery__lightbox-zoom-controls{position:static;z-index:auto;transform:none;flex:0 1 auto;max-width:calc(100% - 96px);box-shadow:none;padding:2px}
.konteners-gallery__lightbox-position{flex:1;text-align:center;font-size:13px;font-weight:600;color:#344f6e}
.konteners-gallery__lightbox-error{bottom:calc(var(--kg-lightbox-toolbar-height) + 8px);max-width:calc(100% - 24px)}
@media (max-width:670px), (max-height:500px) and (pointer:coarse){
 .konteners-gallery__lightbox{--kg-lightbox-header-height:44px;--kg-lightbox-toolbar-height:56px;padding:4px}
 .konteners-gallery__lightbox-header{padding-left:6px}
 .konteners-gallery__lightbox-toolbar{padding:0 2px}
 .konteners-gallery__lightbox-toolbar .konteners-gallery__lightbox-arrow{flex-basis:40px;width:40px;height:40px}
 .konteners-gallery__lightbox-toolbar .konteners-gallery__lightbox-zoom-controls{max-width:calc(100% - 90px)}
}
/* The stage counter appears once the gallery is interactive; no late CSS override. */
@media(max-width:670px), (max-height:500px) and (pointer:coarse){
 .konteners-gallery[data-gallery-ready="1"] .konteners-gallery__counter--stage{display:block}
}
/* Author-level display rules must not defeat HTML's hidden contract. In
   particular, video/360 must not retain a 100%-size hidden image element. */
.konteners-gallery__lightbox [hidden]{display:none!important}
