.hey-gallery{width:100%;min-width:0;color:inherit;--hg-accent:#1254ff}
.hey-gallery [hidden]{display:none!important}
.hey-gallery-menu{display:flex;margin:4rem 0 2rem;align-items:center;gap:clamp(1.25rem,2.4vw,2.8rem);border-bottom:1px solid #cbdbe7;overflow-x:auto;scrollbar-width:thin}
.hey-gallery-menu button{position:relative;flex:0 0 auto;min-height:3.5rem;padding:0 0 .15rem;border:0;color:#71808c;background:transparent;font:inherit;font-size:.76rem;font-weight:650;letter-spacing:.1em;text-transform:uppercase;cursor:pointer}
.hey-gallery-menu button::after{position:absolute;right:0;bottom:0;left:0;height:2px;background:var(--hg-accent);content:"";transform:scaleX(0);transition:transform .2s}
.hey-gallery-menu button:hover,.hey-gallery-menu button[aria-pressed=true]{color:#102433}
.hey-gallery-menu button[aria-pressed=true]::after{transform:scaleX(1)}
.hey-gallery-menu button:focus-visible{outline:2px solid var(--hg-accent);outline-offset:-2px}
.hey-gallery-grid{display:grid;grid-template-columns:repeat(var(--hg-columns,3),minmax(0,1fr));gap:var(--hg-gap,16px)}
.hey-gallery-item{display:flex;min-width:0;flex-direction:column;margin:0;overflow:hidden}
.hey-gallery-image{position:relative;display:block;flex:1;width:100%;aspect-ratio:var(--hg-ratio,4 / 3);padding:0;overflow:hidden;border:0;background:#111820;color:inherit;cursor:zoom-in}
a.hey-gallery-image{cursor:pointer}
.hey-gallery-image img{display:block;width:100%;height:100%;object-fit:var(--hg-fit,cover);transition:transform .5s,filter .3s}
.hey-gallery-image:hover img{filter:brightness(.86);transform:scale(1.045)}
.hey-gallery-image:focus-visible{outline:3px solid var(--hg-accent);outline-offset:-3px}
.hey-gallery-item figcaption{padding:.75rem .25rem;font-size:.9rem;overflow-wrap:anywhere}
.hey-gallery--original .hey-gallery-image{aspect-ratio:auto;flex:0 0 auto}
.hey-gallery--original .hey-gallery-image img{height:auto}
.hey-gallery-pagination{display:flex;justify-content:center;margin-top:2rem}
.hey-gallery-more{display:inline-flex;min-height:3.6rem;padding:0 1.5rem;align-items:center;justify-content:center;gap:1rem;border:1px solid var(--hg-accent);color:#102433;background:transparent;font:inherit;font-size:.76rem;font-weight:750;letter-spacing:.1em;text-transform:uppercase;cursor:pointer}
.hey-gallery-more span{color:var(--hg-accent);font-size:1.1rem}
.hey-gallery-more:hover,.hey-gallery-more:focus-visible{color:#fff;background:var(--hg-accent);outline:2px solid var(--hg-accent);outline-offset:3px}
.hey-gallery-more:hover span{color:#fff}
.hey-gallery-count{text-align:center;font-size:.9rem;margin:1rem 0}
.hey-gallery-link{display:inline-flex;padding:.6rem 0;color:var(--hg-accent);text-decoration:underline}
.hey-gallery-empty{padding:1rem;border:1px solid #cbdbe7}
.hey-gallery .hey-gallery-dialog{position:fixed;width:min(92vw,96rem);max-width:96vw;height:min(90vh,64rem);max-height:94vh;margin:auto;padding:0;overflow:visible;border:0;background:transparent;color:#fff}
.hey-gallery-dialog::backdrop{background:rgba(3,7,11,.92);backdrop-filter:blur(4px)}
.hey-gallery-dialog[open]{display:grid;place-items:center}
.hey-gallery-dialog-inner{display:flex;max-width:100%;max-height:90vh;min-height:0;flex-direction:column;align-items:center;justify-content:center}
.hey-gallery-dialog [data-hey-full]{display:block;width:auto;max-width:100%;height:auto;max-height:82vh;min-height:0;object-fit:contain;user-select:none;touch-action:pan-y;box-shadow:0 2rem 6rem rgba(0,0,0,.4)}
.hey-gallery-dialog-caption{max-width:100%;margin:.7rem 0 0;text-align:center;font-size:.9rem;overflow-wrap:anywhere}
.hey-gallery-close,.hey-gallery-prev,.hey-gallery-next{position:absolute;z-index:2;display:grid;width:3.5rem;height:3.5rem;padding:0;place-items:center;border:0;border-radius:50%;color:#102433;background:rgba(255,255,255,.96);font-family:Arial,sans-serif;font-size:2rem;line-height:1;cursor:pointer}
.hey-gallery-dialog button svg{display:block;width:1.6rem;height:1.6rem;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.hey-gallery-close{top:0;right:0;width:3rem;height:3rem}
.hey-gallery-prev{left:.5rem;top:50%;transform:translateY(-50%)}
.hey-gallery-next{right:.5rem;top:50%;transform:translateY(-50%)}
.hey-gallery-close:hover,.hey-gallery-prev:hover,.hey-gallery-next:hover,.hey-gallery-dialog button:focus-visible{color:#fff;background:var(--hg-accent);outline:2px solid #fff;outline-offset:2px}
.hey-gallery-sr{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:1100px){.hey-gallery-grid{grid-template-columns:repeat(var(--hg-tablet,2),minmax(0,1fr))}}
@media(max-width:600px){.hey-gallery-grid{grid-template-columns:repeat(var(--hg-mobile,1),minmax(0,1fr))}.hey-gallery-menu{margin-top:2rem;gap:1.3rem}.hey-gallery-menu button{font-size:.7rem}.hey-gallery-prev,.hey-gallery-next{width:2.6rem;height:2.6rem}.hey-gallery .hey-gallery-dialog{width:94vw;max-width:94vw}.hey-gallery-close{width:2.5rem;height:2.5rem}}
@media(prefers-reduced-motion:reduce){.hey-gallery *{transition:none!important}}
