.event-gallery-carousel{background:#fff;overflow:hidden}
.event-gallery-shell{position:relative}
.event-gallery-viewport{overflow-x:auto;overflow-y:hidden;scrollbar-width:none;scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;padding:4px;margin:-4px}
.event-gallery-viewport::-webkit-scrollbar{display:none}
.event-gallery-track.gal-grid{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:calc((100% - 72px)/4);gap:24px}
.event-gallery-card.gal-item{display:block;position:relative;padding:0;isolation:isolate;scroll-snap-align:start}
.event-gallery-card:after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(0deg,rgba(45,17,27,.66),rgba(45,17,27,.04) 62%);pointer-events:none}
.event-gallery-slides{position:absolute;inset:0;z-index:0}
.event-gallery-slide{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .8s ease}
.event-gallery-slide.is-active{opacity:1}
.event-gallery-card__open{position:absolute;inset:0;z-index:2;width:100%;height:100%;border:0;border-radius:18px;background:transparent;cursor:zoom-in}
.event-gallery-card__open:focus-visible{outline:3px solid #fff;outline-offset:-6px}
.event-gallery-card__link{position:absolute;right:0;bottom:0;left:0;z-index:3;display:flex;align-items:flex-end;padding:18px;color:#fff;text-decoration:none}
.event-gallery-card.is-gallery-empty .event-gallery-card__link{top:0}
.event-gallery-card div.event-gallery-card__link{pointer-events:none}
.event-gallery-card__link span{font-size:14.5px;font-weight:600;line-height:1.3;text-shadow:0 1px 8px rgba(0,0,0,.35)}
.event-gallery-card__link:hover span{text-decoration:underline}
a.event-gallery-card__link:focus-visible{outline:3px solid #fff;outline-offset:-6px;border-radius:18px}
.event-gallery-arrow{position:absolute;top:50%;z-index:5;width:48px;height:48px;border:1px solid rgba(64,24,80,.14);border-radius:50%;background:#fff;color:var(--fil-900);box-shadow:0 8px 24px rgba(45,17,27,.18);display:flex;align-items:center;justify-content:center;cursor:pointer;transform:translateY(-50%);transition:opacity .15s ease,transform .15s ease}
.event-gallery-arrow span{font-size:38px;line-height:1;margin-top:-4px}
.event-gallery-arrow:hover:not(:disabled){transform:translateY(-50%) scale(1.06)}
.event-gallery-arrow:focus-visible{outline:3px solid var(--ope-300);outline-offset:3px}
.event-gallery-arrow:disabled{cursor:default;opacity:.35}
.event-gallery-arrow[hidden]{display:none}
.event-gallery-arrow--prev{left:-24px}
.event-gallery-arrow--next{right:-24px}
.event-gallery-carousel .gal-note{margin-top:22px;font-size:14px;color:var(--cha-600)}
.event-gallery-carousel .gal-note a{color:var(--ope-700);font-weight:600}

body.event-gallery-modal-open{overflow:hidden}
.event-gallery-lightbox[hidden]{display:none}
.event-gallery-lightbox{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:32px;color:#fff}
.event-gallery-lightbox__backdrop{position:absolute;inset:0;background:rgba(18,9,18,.94);cursor:zoom-out}
.event-gallery-lightbox__panel{position:relative;z-index:1;display:grid;width:100%;height:100%;place-items:center;pointer-events:none}
.event-gallery-lightbox__figure{display:flex;max-width:calc(100vw - 180px);max-height:calc(100vh - 64px);margin:0;align-items:center;justify-content:center;flex-direction:column;pointer-events:auto;touch-action:pan-y}
.event-gallery-lightbox__image{display:block;width:auto;max-width:100%;height:auto;max-height:calc(100vh - 124px);object-fit:contain;border-radius:4px;box-shadow:0 18px 70px rgba(0,0,0,.45)}
.event-gallery-lightbox__caption{display:flex;width:100%;min-height:44px;padding:12px 2px 0;align-items:flex-start;justify-content:space-between;gap:24px;color:#fff;font-size:15px;line-height:1.35}
.event-gallery-lightbox__caption [data-event-gallery-modal-counter]{flex:none;font-variant-numeric:tabular-nums;opacity:.78}
.event-gallery-lightbox__close,.event-gallery-lightbox__arrow{position:absolute;z-index:2;display:flex;border:1px solid rgba(255,255,255,.32);align-items:center;justify-content:center;background:rgba(255,255,255,.12);color:#fff;cursor:pointer;pointer-events:auto;backdrop-filter:blur(10px);transition:background .15s ease,transform .15s ease}
.event-gallery-lightbox__close{top:0;right:0;width:48px;height:48px;border-radius:50%}
.event-gallery-lightbox__close span{font-size:34px;line-height:1;margin-top:-3px}
.event-gallery-lightbox__arrow{top:50%;width:54px;height:54px;border-radius:50%;transform:translateY(-50%)}
.event-gallery-lightbox__arrow span{font-size:42px;line-height:1;margin-top:-5px}
.event-gallery-lightbox__arrow--prev{left:0}
.event-gallery-lightbox__arrow--next{right:0}
.event-gallery-lightbox__close:hover,.event-gallery-lightbox__arrow:hover{background:rgba(255,255,255,.24)}
.event-gallery-lightbox__arrow:hover{transform:translateY(-50%) scale(1.05)}
.event-gallery-lightbox__close:focus-visible,.event-gallery-lightbox__arrow:focus-visible{outline:3px solid var(--ope-300);outline-offset:3px}
.event-gallery-lightbox__arrow[hidden]{display:none}

@media(max-width:1228px){
  .event-gallery-arrow--prev{left:8px}
  .event-gallery-arrow--next{right:8px}
}
@media(max-width:960px){
  .event-gallery-track.gal-grid{grid-template-columns:none;grid-auto-columns:calc((100% - 24px)/2)}
}
@media(max-width:560px){
  .event-gallery-track.gal-grid{grid-template-columns:none;grid-auto-columns:100%}
  .event-gallery-arrow{width:42px;height:42px}
  .event-gallery-arrow span{font-size:34px}
  .event-gallery-lightbox{padding:16px}
  .event-gallery-lightbox__figure{max-width:calc(100vw - 48px);max-height:calc(100vh - 32px)}
  .event-gallery-lightbox__image{max-height:calc(100vh - 112px)}
  .event-gallery-lightbox__close{top:0;right:0;width:44px;height:44px}
  .event-gallery-lightbox__arrow{width:44px;height:44px}
  .event-gallery-lightbox__arrow--prev{left:-8px}
  .event-gallery-lightbox__arrow--next{right:-8px}
  .event-gallery-lightbox__caption{padding-right:2px;padding-left:2px;font-size:13.5px}
}
@media(prefers-reduced-motion:reduce){
  .event-gallery-viewport{scroll-behavior:auto}
  .event-gallery-slide,.event-gallery-arrow,.event-gallery-lightbox__close,.event-gallery-lightbox__arrow{transition:none}
}
