.gallery-section .container{max-width:1100px}.page-shell:has(.gallery-section)>.container{max-width:1100px}.gallery-event+.gallery-event{margin-top:var(--section-space)}.gallery-event-header{margin-bottom:1rem}.gallery-event-title{font-size:var(--fs-md);color:var(--text-color);margin:0 0 .25rem;font-weight:700;line-height:1.35}.gallery-event-meta{font-size:var(--fs-sm);color:var(--accent-color);flex-wrap:wrap;gap:.4rem;margin:0;font-weight:600;display:flex}.gallery-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:.75rem;margin:0;padding:0;list-style:none;display:grid}.gallery-thumb{aspect-ratio:4/3;border:1px solid var(--border-color);border-radius:var(--shape-card);background:var(--surface-muted);cursor:zoom-in;width:100%;box-shadow:var(--elev-1);padding:0;transition:box-shadow .2s,transform .2s;display:block;position:relative;overflow:hidden}.gallery-thumb img{object-fit:cover;width:100%;height:100%;transition:transform .4s;display:block}.gallery-play{background:var(--lightbox-backdrop);width:3.5rem;height:3.5rem;box-shadow:var(--elev-2);border-radius:50%;transition:transform .2s;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.gallery-play:after{content:"";border-style:solid;border-width:.65rem 0 .65rem 1.05rem;border-color:transparent transparent transparent var(--lightbox-fg);position:absolute;top:50%;left:54%;transform:translate(-50%,-50%)}.gallery-thumb:hover .gallery-play{transform:translate(-50%,-50%)scale(1.08)}.gallery-lightbox-video{aspect-ratio:16/9;border-radius:var(--shape-card);pointer-events:auto;border:0;width:min(90vw,177.778dvh - 14.2222rem)}.gallery-thumb:hover{box-shadow:var(--elev-2)}.gallery-thumb:hover img{transform:scale(1.04)}.gallery-thumb:focus-visible{outline:2px solid var(--focus-color);outline-offset:2px}.gallery-lightbox{background:var(--lightbox-backdrop);width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;color:var(--lightbox-fg);border:0;margin:0;padding:0}.gallery-lightbox::backdrop{background:var(--lightbox-backdrop)}.gallery-lightbox[open]{justify-content:center;align-items:center;display:flex}.gallery-lightbox-figure{pointer-events:none;flex-direction:column;align-items:center;gap:.75rem;max-width:100%;max-height:100%;margin:0;padding:3.5rem 4rem 1.5rem;display:flex}.gallery-lightbox-figure img{object-fit:contain;border-radius:var(--shape-card);pointer-events:auto;-webkit-user-select:none;user-select:none;max-width:100%;max-height:calc(100dvh - 8rem)}.gallery-lightbox-figure figcaption{font-size:var(--fs-sm);text-align:center;gap:1rem;display:flex}.gallery-lightbox-count{opacity:.7;white-space:nowrap}.gallery-lightbox-btn{width:2.75rem;height:2.75rem;color:var(--lightbox-fg);font-size:var(--fs-2xl);cursor:pointer;opacity:.8;background:0 0;border:0;border-radius:50%;justify-content:center;align-items:center;padding:0;line-height:1;transition:opacity .2s;display:inline-flex;position:absolute}.gallery-lightbox-btn:hover{opacity:1}.gallery-lightbox-btn:focus-visible{opacity:1}.gallery-lightbox-close{top:.75rem;right:.75rem}.gallery-lightbox-prev{top:50%;left:.5rem;transform:translateY(-50%)}.gallery-lightbox-next{top:50%;right:.5rem;transform:translateY(-50%)}@media (max-width:480px){.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}.gallery-lightbox-figure{padding:3.5rem .75rem 1.5rem}.gallery-lightbox-prev,.gallery-lightbox-next{top:auto;bottom:.5rem;transform:none}}@media (prefers-reduced-motion:reduce){.gallery-thumb,.gallery-thumb img{transition:none}.gallery-thumb:hover img{transform:none}.gallery-thumb:hover .gallery-play{transform:translate(-50%,-50%)}}
