.event-gallery-meta{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 26px;padding-top:8px}
.event-gallery-meta p{margin:0;color:var(--muted);font-size:.85rem;line-height:1.65}
.event-gallery-meta strong{color:var(--ink)}
.event-gallery-meta a,.event-photo-credit a{text-underline-offset:3px}
.event-gallery-count{flex-shrink:0;color:var(--wine);font-weight:700;font-size:.78rem;letter-spacing:.04em}
.event-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
.event-photo{margin:0;min-width:0;display:flex;flex-direction:column;background:#fffaf0;border:1px solid var(--line)}
.event-photo[hidden]{display:none}
.event-photo-cover{grid-column:span 2;grid-row:span 2}
.event-photo-link{display:block;position:relative;flex:1;min-height:0;overflow:hidden;background:#ded5c5;aspect-ratio:1.65}
.event-photo-cover .event-photo-link{aspect-ratio:auto;min-height:420px}
.event-photo-link img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.event-photo-link:hover img{transform:scale(1.035)}
.event-photo-link:focus-visible{outline:3px solid var(--wine);outline-offset:4px;z-index:1}
.event-photo-zoom{position:absolute;right:12px;bottom:12px;display:grid;place-items:center;width:34px;height:34px;border:1px solid #ffffff85;border-radius:50%;background:#251b13b8;color:#fff;font-size:1.25rem;pointer-events:none}
.event-photo-credit{display:flex;flex-wrap:wrap;justify-content:space-between;gap:2px 12px;padding:12px 15px;font-size:.66rem;line-height:1.7;color:#5e5345}
.event-photo-credit span{font-weight:700;color:#3c3026}
.event-photo-credit a{overflow-wrap:anywhere}
.event-gallery-actions{text-align:center;margin-top:30px}
.event-gallery-more{padding:15px 25px;border:1px solid var(--wine);background:var(--wine);color:#fffaf0;font:inherit;font-weight:700;font-size:.85rem;cursor:pointer}
.event-gallery-more:hover{background:var(--wine-dark)}
.event-gallery-more:focus-visible{outline:3px solid var(--wine);outline-offset:4px}
body.gallery-modal-open{overflow:hidden}
.gallery-lightbox{padding:0;border:1px solid #685342;background:#1b1714;color:#fff8ec;width:min(1420px,calc(100vw - 40px));height:min(960px,calc(100dvh - 40px));max-width:none;max-height:none;overflow:hidden;box-shadow:0 25px 100px #0008}
.gallery-lightbox[open]{display:flex;flex-direction:column}
.gallery-lightbox::backdrop{background:#130d09e8;backdrop-filter:blur(4px)}
.gallery-lightbox-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 22px;border-bottom:1px solid #ffffff26;flex-shrink:0}
.gallery-lightbox-header h3{font-family:var(--serif);font-size:1.13rem;margin:0}
.gallery-lightbox-tools{display:flex;align-items:center;gap:20px}
.gallery-lightbox-counter{font-size:.8rem;white-space:nowrap;color:#e5ceab}
.gallery-lightbox button{font:inherit;color:inherit;cursor:pointer}
.gallery-close{min-width:44px;min-height:44px;border:1px solid #ffffff55;background:transparent;padding:8px 13px;font-size:.85rem!important}
.gallery-close span{margin-left:8px;font-size:1.1rem}
.gallery-lightbox-figure{margin:0;display:flex;flex-direction:column;flex:1;min-height:0}
.gallery-lightbox-stage{position:relative;display:flex;align-items:center;justify-content:center;flex:1;min-height:0;padding:18px 72px;touch-action:pan-y}
.gallery-lightbox-image{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;min-height:0}
.gallery-lightbox-stage[aria-busy=true] .gallery-lightbox-image{opacity:.5}
.gallery-arrow{position:absolute;top:calc(50% - 25px);width:48px;height:50px;border:1px solid #ffffff55;background:#231a13d9;font-size:2rem!important;line-height:1}
.gallery-arrow:hover,.gallery-close:hover{background:#684b31}
.gallery-arrow-prev{left:12px}.gallery-arrow-next{right:12px}
.gallery-lightbox button:focus-visible,.gallery-lightbox a:focus-visible{outline:2px solid #efc780;outline-offset:4px}
.gallery-lightbox-caption{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 22px;border-top:1px solid #ffffff26;font-size:.76rem;line-height:1.6}
.gallery-lightbox-caption p{margin:0}
.gallery-lightbox-credit{color:#e5ceab;font-size:.73rem}
.gallery-lightbox-credit a{color:inherit;text-underline-offset:3px}
.gallery-download{color:#fff8ec;text-underline-offset:4px;white-space:nowrap}
@media(max-width:900px){.event-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.event-photo-cover{grid-row:auto}.event-photo-cover .event-photo-link{aspect-ratio:1.5;min-height:0}.event-photo-credit{flex-direction:column;font-size:.71rem}}
@media(max-width:600px){.event-gallery-meta{align-items:flex-start;gap:12px}.event-gallery-meta p{font-size:.78rem}.event-gallery-count{font-size:.7rem}.event-gallery-grid{gap:12px}.event-photo-link{aspect-ratio:1.2}.event-photo-credit{padding:10px 9px;font-size:.65rem}.event-photo-zoom{width:28px;height:28px;right:8px;bottom:8px;font-size:1rem}.event-gallery-more{width:100%;padding:16px 12px}.gallery-lightbox{width:100vw;height:100dvh;border:0}.gallery-lightbox-header{padding:10px 12px;gap:10px}.gallery-lightbox-header h3{font-size:.92rem}.gallery-lightbox-tools{gap:10px}.gallery-close{padding:8px 10px;font-size:.75rem!important}.gallery-lightbox-stage{padding:12px 0}.gallery-arrow{top:calc(50% - 22px);width:38px;height:44px;font-size:1.65rem!important;background:#21160d99}.gallery-arrow-prev{left:5px}.gallery-arrow-next{right:5px}.gallery-lightbox-caption{align-items:flex-start;flex-direction:column;padding:14px 16px;gap:10px;font-size:.75rem}.gallery-lightbox-credit{font-size:.71rem}}
@media(prefers-reduced-motion:reduce){.event-photo-link img{transition:none}.event-photo-link:hover img{transform:none}}
