/* Event thumbnails beneath the featured image; reuse the theme red and rounded corners. */
.gk-event-gallery{margin-top:24px;min-width:0}
.gk-gallery-strip{display:flex;align-items:center;gap:10px}
.gk-gallery-thumbs{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;flex:1;min-width:0}
.gk-gallery-thumbs::-webkit-scrollbar{display:none}
.gk-gallery-photo{flex:0 0 calc((100% - 36px)/4);scroll-snap-align:start;border:1px solid #e6e6e6;border-radius:6px;overflow:hidden;background:#f8f8f8}
.gk-gallery-photo img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover}
.gk-gallery-photo:hover,.gk-gallery-photo:focus-visible{border-color:#d40b1d;outline:2px solid #d40b1d;outline-offset:-2px}
.gk-event-gallery button{font-family:inherit;cursor:pointer;border:0;box-shadow:none}
.gk-event-gallery .gk-gallery-scroll{flex:0 0 24px;padding:0;background:transparent;color:#000;font-size:32px;line-height:1}
.gk-event-gallery .gk-gallery-scroll:disabled{opacity:.2;cursor:default}
.gk-event-gallery .gk-gallery-scroll:hover:not(:disabled){color:#d40b1d}
.gk-gallery-dialog{position:fixed;inset:0;width:100%;max-width:100%;height:100%;max-height:100%;margin:0;padding:56px 70px;border:0;background:rgba(0,0,0,.94);color:#fff;box-sizing:border-box}
.gk-gallery-dialog[open]{display:flex;align-items:center;justify-content:center}
.gk-gallery-dialog::backdrop{background:rgba(0,0,0,.85)}
.gk-gallery-dialog figure{margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center;max-width:100%;max-height:100%;pointer-events:none}
.gk-gallery-dialog .gk-gallery-full{display:block;width:auto;max-width:100%;height:auto;max-height:calc(100dvh - 160px);object-fit:contain;pointer-events:auto}
.gk-gallery-dialog figcaption,.gk-gallery-counter{text-align:center;font-size:14px;line-height:1.5;margin-top:10px}
.gk-gallery-dialog figcaption:empty{display:none}
.gk-event-gallery .gk-gallery-close,.gk-event-gallery .gk-gallery-prev,.gk-event-gallery .gk-gallery-next{position:absolute;background:transparent;color:#fff;padding:8px;line-height:1;font-size:40px;width:48px;height:48px}
.gk-gallery-close{right:14px;top:10px}
.gk-gallery-prev{left:12px;top:calc(50% - 24px)}
.gk-gallery-next{right:12px;top:calc(50% - 24px)}
.gk-event-gallery button:focus-visible{outline:2px solid #d40b1d;outline-offset:2px}
@media(max-width:767px){.gk-gallery-strip{gap:6px}.gk-gallery-thumbs{gap:8px}.gk-gallery-photo{flex-basis:calc((100% - 16px)/3)}.gk-gallery-dialog{padding:56px 40px}.gk-event-gallery .gk-gallery-prev{left:0}.gk-event-gallery .gk-gallery-next{right:0}.gk-event-gallery .gk-gallery-prev,.gk-event-gallery .gk-gallery-next{width:36px}.gk-gallery-dialog .gk-gallery-full{max-height:calc(100dvh - 140px)}}
