.news-photo-gallery a:focus-visible{outline:3px solid #df3348;outline-offset:4px}
dialog.news-gallery-viewer{position:fixed;inset:0;margin:auto;box-sizing:border-box;width:min(1200px,94vw,calc(82dvh * var(--news-gallery-ratio,1.5)));height:fit-content;max-width:94vw;max-height:96dvh;padding:0 0 32px;border:1px solid #ffffff14;border-radius:16px;background:#171c21;color:#fff;overflow:hidden;box-shadow:0 24px 90px #0007}
.news-gallery-viewer::backdrop{background:rgba(0,0,0,.76)}
.news-gallery-viewer .news-gallery-stage{position:relative;width:100%;margin:0;background:#111;line-height:0}
.news-gallery-viewer .news-gallery-image{display:block;margin:0;width:100%;height:auto;max-height:82dvh;object-fit:contain!important;object-position:center!important;background:transparent!important}
.news-gallery-viewer button{box-sizing:border-box;display:grid;place-items:center;cursor:pointer;border:0;color:white;line-height:1;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.news-gallery-viewer button[hidden],.news-gallery-viewer [hidden]{display:none}
.news-gallery-viewer button:focus-visible{outline:3px solid #fff;outline-offset:3px}
.news-gallery-viewer .news-gallery-control{width:52px;height:52px;padding:0;border-radius:50%;border:1px solid #ffffff50;background:rgba(17,23,31,.72);color:#fff;box-shadow:0 4px 18px #0005;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);transition:background .16s,border-color .16s,box-shadow .16s,scale .16s;isolation:isolate}
.news-gallery-viewer .news-gallery-control svg{display:block;width:24px;height:24px;flex-shrink:0;pointer-events:none}
.news-gallery-viewer .news-gallery-control:hover{background:rgba(38,47,59,.94);border-color:#ffffffa6;box-shadow:0 6px 22px #0007;scale:1.06}
.news-gallery-viewer .news-gallery-control:active{scale:.96}
.news-gallery-viewer .news-gallery-close{position:absolute;z-index:3;top:14px;right:14px}
.news-gallery-viewer .news-gallery-arrow{position:absolute;z-index:2;top:50%;transform:translateY(-50%)}
.news-gallery-arrow--previous{left:14px}.news-gallery-arrow--next{right:14px}
.news-gallery-viewer .news-gallery-dots{position:absolute;bottom:7px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:8px;max-width:90%;overflow-x:auto;margin:0;padding:3px}
.news-gallery-viewer .news-gallery-dot{flex:0 0 10px;width:10px;height:10px;min-width:10px;padding:0;border-radius:50%;background:#ffffff70}
.news-gallery-viewer .news-gallery-dot.is-active{background:#fff;box-shadow:0 0 0 1px #fff}
.news-gallery-viewer .news-gallery-counter{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;margin:0;padding:0}
@media(max-width:600px){dialog.news-gallery-viewer{border-radius:12px}.news-gallery-viewer .news-gallery-control{width:44px;height:44px}.news-gallery-viewer .news-gallery-control svg{width:22px;height:22px}.news-gallery-viewer .news-gallery-close{top:10px;right:10px}.news-gallery-arrow--previous{left:10px}.news-gallery-arrow--next{right:10px}}
@media(prefers-reduced-motion:reduce){.news-gallery-viewer .news-gallery-control{transition:none}}
