.oneventlist-news-images { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1rem; max-width: 960px; margin: 1.5rem 0; }
.oneventlist-news-images figure { margin: 0; min-width: 0; }
.oneventlist-news-images img { display: block; width: 100%; height: 220px; object-fit: contain; background: #efefef; }
[data-gallery-image] { display: block; cursor: zoom-in; }
[data-gallery-image]:focus-visible { outline: 3px solid #002540; outline-offset: 4px; }
dialog.onevent-lightbox { box-sizing: border-box; width: min(1100px, 96vw); max-width: 96vw; max-height: 94vh; max-height: 94dvh; padding: 1rem; border: 0; border-radius: .25rem; background: #fff; color: #002540; }
.onevent-lightbox::backdrop { background: rgb(0 0 0 / 85%); }
.onevent-lightbox figure { margin: 1rem 0; text-align: center; }
.onevent-lightbox figure img { display: block; max-width: 100%; width: auto; height: auto; max-height: 65vh; max-height: 65dvh; margin: auto; object-fit: contain; }
.onevent-lightbox figcaption { margin-top: .5rem; }
.onevent-lightbox button { padding: .5rem .8rem; border: 2px solid #002540; background: #002540; color: white; cursor: pointer; font: inherit; }
.onevent-lightbox button:focus-visible { outline: 3px solid #355e98; outline-offset: 3px; }
.onevent-lightbox__close { display: block; margin-left: auto; }
.onevent-lightbox__nav { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.onevent-lightbox [hidden] { display: none; }
