/* Atlas / education — one gallery for every Atlas-powered news article. */
.atlas-news-gallery{clear:both!important;width:100%!important;margin:28px 0 8px;padding:0;float:none!important;display:block}
.atlas-news-gallery .atlas-news-photo-grid{--atlas-photo-side:215px;--atlas-photo-gap:13px;display:grid!important;grid-template-columns:repeat(var(--atlas-news-cols,4),minmax(0,1fr));gap:var(--atlas-photo-gap);align-items:start;width:100%;max-width:899px;margin:0;clear:both}
.atlas-news-gallery .atlas-news-photo-card{min-width:0;max-width:none!important;width:100%!important;box-sizing:border-box;margin:0!important;padding:6px;border:1px solid #d9e4df;border-radius:10px;background:#f4f8f6;box-shadow:0 2px 8px #1d4b3720;float:none!important;break-inside:avoid}
.atlas-news-gallery .atlas-news-photo-card.atlas-news-photo-left{justify-self:start}
.atlas-news-gallery .atlas-news-photo-card.atlas-news-photo-center{justify-self:center}
.atlas-news-gallery .atlas-news-photo-card.atlas-news-photo-right{justify-self:end}
.atlas-news-gallery .atlas-news-photo-open{position:relative;display:flex!important;align-items:center;justify-content:center;aspect-ratio:4/3;width:100%;overflow:hidden;cursor:zoom-in;border-radius:6px;background:#e8f1eb;text-decoration:none!important}
.atlas-news-gallery .atlas-news-photo-open img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;border:none!important;border-radius:0!important;margin:0!important;padding:0!important;float:none!important;box-shadow:none!important;background:transparent!important}
.atlas-news-gallery .atlas-news-photo-open::after{content:'+';position:absolute;right:7px;bottom:7px;width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:#fffffff0;color:#2c614f;box-shadow:0 1px 6px #152b2340;font:21px/1 system-ui;pointer-events:none}
.atlas-news-gallery .atlas-news-photo-open:focus-visible{outline:3px solid #b59154;outline-offset:3px}
.atlas-news-gallery figcaption{margin-top:7px;padding:0 2px;font:12px/1.5 system-ui;color:#576d63}
.atlas-news-lightbox{box-sizing:border-box;position:fixed;width:min(1120px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);margin:auto;border:0;border-radius:15px;padding:14px;background:#101b18;color:white;box-shadow:0 14px 55px #071e16b5}
.atlas-news-lightbox::backdrop{background:#081c15e8}
.atlas-news-lightbox-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;font:13px/1.5 system-ui}
.atlas-news-lightbox button{cursor:pointer;border:1px solid #ffffff6a;background:#ffffff16;color:#fff;padding:8px 12px;border-radius:9px;font:inherit}
.atlas-news-lightbox-view{display:grid;grid-template-columns:38px minmax(0,1fr) 38px;gap:10px;align-items:center}
.atlas-news-lightbox-view img{display:block;max-height:min(78dvh,850px);max-width:100%;width:100%;height:auto;min-height:70px;object-fit:contain}
.atlas-news-lightbox-view button{font-size:23px;padding:10px 4px}
.atlas-news-lightbox-caption{margin:9px 0 0;text-align:center;font:12px/1.5 system-ui;color:#d8e3dc}
@media(max-width:760px){.atlas-news-gallery .atlas-news-photo-grid{grid-template-columns:repeat(min(2,var(--atlas-news-cols,4)),minmax(0,1fr));width:min(100%,443px)}.atlas-news-lightbox-view{grid-template-columns:26px minmax(0,1fr) 26px;gap:3px}.atlas-news-lightbox-view button{padding:9px 2px}}
@media(max-width:380px){.atlas-news-gallery .atlas-news-photo-grid{gap:8px}.atlas-news-gallery .atlas-news-photo-card{padding:4px}.atlas-news-lightbox{padding:8px}}
@media print{.atlas-news-gallery .atlas-news-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.atlas-news-lightbox{display:none!important}}

.atlas-news-gallery .atlas-news-photo-grid[data-columns="1"]{max-width:215px}
.atlas-news-gallery .atlas-news-photo-grid[data-columns="2"]{max-width:443px}
.atlas-news-gallery .atlas-news-photo-grid[data-columns="3"]{max-width:671px}
.atlas-news-gallery .atlas-news-photo-grid[data-columns="4"]{max-width:899px}
