#gallery{scroll-margin-top:90px}
/* v1.6.0 Approved gallery: click-to-open photos and compact announcements. */
#gallery .ug-grid{display:grid;grid-template-columns:1fr 1fr .96fr;grid-template-rows:230px 230px;gap:16px}
#gallery .ug-photo{position:relative;display:block;border:0;border-radius:17px;padding:0;overflow:hidden;background:var(--surface);text-align:left;color:white;cursor:zoom-in;min-width:0}
#gallery .ug-photo--real{grid-row:1/3}
#gallery .ug-photo--stock{grid-column:3}
#gallery .ug-photo img{display:block;width:100%;height:100%;object-fit:cover}
#gallery .ug-photo--real:nth-child(2) img{object-position:43% 62%}
#gallery .ug-photo--stock:last-child img{object-position:50% 57%}
#gallery .ug-photo:focus-visible{outline:3px solid var(--yellow);outline-offset:4px}
#gallery .ug-caption{position:absolute;inset:auto 0 0;padding:42px 20px 18px;background:linear-gradient(transparent,rgba(5,13,39,.87));pointer-events:none}
#gallery .ug-caption small{display:block;font-size:10px;letter-spacing:.05em;line-height:1.4;margin-bottom:5px;color:#e8eaff}
#gallery .ug-caption strong{display:block;font-size:15px;line-height:1.3;color:#fff}
#gallery .ug-zoom{position:absolute;right:15px;top:15px;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#07174666;font-size:20px;opacity:0;transition:opacity .2s}
#gallery .ug-photo:hover .ug-zoom,#gallery .ug-photo:focus-visible .ug-zoom{opacity:1}
#gallery .ug-sources{margin:12px 0 22px;color:var(--muted);font-size:10px;line-height:1.5}
#gallery .ug-updates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#gallery .ug-update{display:flex;flex-direction:column;min-width:0;padding:21px 24px;border:1px solid var(--border);border-radius:15px;background:var(--surface)}
#gallery .ug-update h3{font:400 clamp(21px,2vw,25px)/1.1 UnitDisplay,Montserrat,sans-serif;text-transform:uppercase;margin:0;color:var(--text)}
#gallery .ug-update p{font-size:11px;line-height:1.6;color:var(--muted);margin:10px 0 8px}
#gallery .ug-update__links{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin-top:auto}
#gallery .ug-update__links a{display:inline-flex;align-items:center;gap:8px;min-height:32px;color:var(--brand);font-size:11px;font-weight:700;border-radius:4px}
#gallery .ug-update__links a:hover,#gallery .ug-update__links a:focus-visible{color:#967300}
.unit-site[data-theme="dark"] #gallery .ug-update__links a:hover,.unit-site[data-theme="dark"] #gallery .ug-update__links a:focus-visible{color:#a9eb78}
#gallery .ug-update__links a:focus-visible{outline:2px solid currentColor;outline-offset:3px}
#gallery .ug-lightbox{border:0;padding:24px;background:#071746;color:#fff;max-width:94vw;max-height:96dvh;border-radius:16px;overflow:auto}
#gallery .ug-lightbox::backdrop{background:rgba(2,7,25,.88)}
#gallery .ug-lightbox img{display:block;max-width:min(1000px,85vw);max-height:78dvh;width:auto;height:auto;border-radius:10px;margin:auto}
#gallery .ug-lightbox p{margin:12px 0 0;text-align:center;font:12px/1.5 Montserrat,sans-serif}
#gallery .ug-close{position:absolute;right:8px;top:8px;border:0;border-radius:50%;width:40px;height:40px;background:#071746cc;color:white;font:30px/1 sans-serif;cursor:pointer}
@media(max-width:1000px){#gallery .ug-grid{grid-template-rows:200px 200px}#gallery .ug-caption{padding:35px 14px 14px}#gallery .ug-caption strong{font-size:13px}}
@media(max-width:760px){#gallery .ug-grid{grid-template-columns:1fr 1fr;grid-template-rows:auto;gap:12px}#gallery .ug-photo--real{grid-row:auto;grid-column:1/-1;aspect-ratio:3/4}#gallery .ug-photo--stock{grid-column:auto;aspect-ratio:1/1.1}#gallery .ug-caption strong{font-size:14px}#gallery .ug-photo--stock .ug-caption strong{font-size:12px}#gallery .ug-photo--stock .ug-caption small{font-size:9px}#gallery .ug-sources{font-size:10px}#gallery .ug-updates{grid-template-columns:1fr;gap:12px}#gallery .ug-update{padding:18px 20px}#gallery .ug-update__links a{min-height:40px}#gallery .ug-lightbox{padding:14px}}
@media(max-width:760px){#gallery .unit-section__head h2{font-size:clamp(30px,10vw,40px)}}
@media(prefers-reduced-motion:reduce){#gallery .ug-zoom{transition:none}}
