.single-event__flyer { margin: 0 auto 2rem; max-width: 680px; text-align: center; }
.single-event__flyer img { display: block; width: auto; max-width: 100%; max-height: 720px; margin: auto; object-fit: contain; }
.single-event__gallery { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--enka-line); scroll-margin-top: 130px; }
.single-event__gallery-grid, .single-event .gallery, .single-event .wp-block-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.single-event__gallery-grid figure, .single-event .gallery-item, .single-event .wp-block-gallery figure.wp-block-image { width: auto !important; margin: 0; min-width: 0; }
.single-event__gallery-grid a, .single-event .gallery-icon a { display: block; overflow: hidden; border-radius: 12px; background: #eeeae3; }
.single-event__gallery-grid img, .single-event .gallery-icon img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.single-event__gallery-grid figcaption { margin-top: .5rem; color: var(--enka-muted); }
.enka-photo-viewer { box-sizing: border-box; width: min(1100px,96vw); max-width: 96vw; max-height: 94dvh; padding: 1rem; border: 0; border-radius: 12px; background: #102d3a; color: #fff; }
.enka-photo-viewer::backdrop { background: rgb(0 0 0 / .85); }
.enka-photo-viewer__tools { display: flex; align-items: center; justify-content: space-between; gap: .7rem; flex-wrap: wrap; margin-bottom: .7rem; }
.enka-photo-viewer button { color: #fff; background: #204c60; border: 1px solid #8da3ad; border-radius: 6px; min-height: 44px; min-width: 44px; padding: .5rem .8rem; cursor: pointer; font: inherit; }
.enka-photo-viewer button:focus-visible { outline: 3px solid #ffc75f; outline-offset: 3px; }
.enka-photo-viewer button:disabled { opacity: .4; cursor: default; }
.enka-photo-viewer img { display: block; width: 100%; height: min(65dvh,760px); object-fit: contain; }
.enka-photo-viewer__caption { margin: .8rem 0 0; color: #fff; }
@media (max-width:680px) { .single-event__gallery-grid, .single-event .gallery, .single-event .wp-block-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .6rem; } }
@media (max-width:380px) { .single-event__gallery-grid, .single-event .gallery, .single-event .wp-block-gallery { grid-template-columns: 1fr; } }

.single-event__videos { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--enka-line); scroll-margin-top: 130px; }
.single-event__video-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.25rem; }
.single-event__video-grid figure { margin: 0; min-width: 0; }
.single-event__video-grid video { display: block; width: 100%; max-height: 70vh; aspect-ratio: 16/9; background: #102d3a; border-radius: 12px; object-fit: contain; }
.single-event__video-grid figcaption { margin-top: .5rem; color: var(--enka-muted); overflow-wrap: anywhere; }
@media (max-width:680px) { .single-event__video-grid { grid-template-columns: 1fr; } }
