.lv8-set-gallery{display:block;padding-top:var(--gallery-padding-top,48px);padding-bottom:var(--gallery-padding-bottom,48px);scroll-margin-top:10rem}
.lv8-set-gallery__header{display:flex;align-items:center;justify-content:space-between;gap:3rem;margin-bottom:3rem}
.lv8-set-gallery__header h2{margin:0;text-wrap:balance}
.lv8-set-gallery__description{max-width:65rem;margin-top:1.5rem;font-size:1.5rem;line-height:1.7}
.lv8-set-gallery__description p{margin:0}
.lv8-set-gallery__header>.button{flex-shrink:0}
.lv8-set-gallery__grid{display:grid;grid-template-columns:repeat(var(--gallery-columns,3),minmax(0,1fr));gap:3rem 2.4rem;list-style:none;padding:0;margin:0}
.lv8-set-gallery__grid>li{min-width:0}
.lv8-set-gallery__card{margin:0}
.lv8-set-gallery__open{display:block;color:rgb(var(--color-foreground));text-decoration:none}
.lv8-set-gallery__image{position:relative;aspect-ratio:1;background:#fff;border:1px solid rgba(var(--color-foreground),.18);overflow:hidden}
.lv8-set-gallery__image>img,.lv8-set-gallery__image>svg{display:block;width:100%;height:100%;object-fit:contain}
.lv8-set-gallery__zoom{position:absolute;right:1.2rem;bottom:1.2rem;display:grid;place-items:center;width:4.4rem;height:4.4rem;background:rgb(var(--color-background));color:rgb(var(--color-foreground));border:1px solid rgba(var(--color-foreground),.3)}
.lv8-set-gallery__open:hover .lv8-set-gallery__zoom{background:rgb(var(--color-foreground));color:rgb(var(--color-background))}
.lv8-set-gallery__open:focus-visible{outline:2px solid currentColor;outline-offset:5px}
.lv8-set-gallery__card figcaption{font-size:1.7rem;line-height:1.5;font-weight:600;margin-top:1.3rem}
.lv8-set-gallery__caption{margin:.5rem 0 0;font-size:1.4rem;line-height:1.6}
.lv8-set-gallery__editor-note{padding:1.6rem;border:1px dashed currentColor;font-size:1.4rem;margin:0 0 2rem}
.lv8-set-gallery__placeholder p{font-size:1.4rem;margin:1rem 0 0}
.lv8-set-gallery__dialog{padding:0;width:min(110rem,calc(100vw - 4rem));max-width:calc(100vw - 4rem);max-height:90dvh;background:rgb(var(--color-background));color:rgb(var(--color-foreground));border:1px solid rgba(var(--color-foreground),.3)}
.lv8-set-gallery__dialog:not([open]){display:none}
.lv8-set-gallery__dialog::backdrop{background:rgba(0,0,0,.8)}
.lv8-set-gallery__dialog-header{display:flex;justify-content:space-between;align-items:center;gap:2rem;padding:1.6rem 2rem;border-bottom:1px solid rgba(var(--color-foreground),.2)}
.lv8-set-gallery__dialog-header h2{margin:0;overflow-wrap:anywhere}
.lv8-set-gallery__close{display:inline-flex;align-items:center;justify-content:center;gap:1rem;min-height:4.4rem;padding:.8rem 1.2rem;font:inherit;color:inherit;background:transparent;border:1px solid currentColor;cursor:pointer;white-space:nowrap}
.lv8-set-gallery__close span{font-size:2.5rem;line-height:1}
.lv8-set-gallery__close:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.lv8-set-gallery__stage{display:grid;place-items:center;padding:1.6rem;background:#fff}
.lv8-set-gallery__stage img{display:block;width:100%;height:auto;max-height:calc(90dvh - 12rem);object-fit:contain}
@media(min-width:750px) and (max-width:989px){.lv8-set-gallery__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:749px){.lv8-set-gallery{padding-top:min(var(--gallery-padding-top,48px),36px);padding-bottom:min(var(--gallery-padding-bottom,48px),36px)}.lv8-set-gallery__header{display:block;margin-bottom:2.4rem}.lv8-set-gallery__header>.button{margin-top:2rem}.lv8-set-gallery__grid{grid-template-columns:repeat(var(--gallery-mobile-columns,1),minmax(0,1fr));gap:2.4rem 1.2rem}.lv8-set-gallery__description{font-size:1.4rem}.lv8-set-gallery__dialog{width:calc(100vw - 2rem);max-width:calc(100vw - 2rem)}.lv8-set-gallery__dialog-header{padding:1.2rem;gap:1rem}.lv8-set-gallery__stage{padding:.8rem}}

.lv8-set-gallery__open[hidden],.lv8-set-gallery [hidden]{display:none!important}
.lv8-set-gallery__set-images{display:block}
.lv8-set-gallery__count{position:absolute;left:1.2rem;bottom:1.2rem;padding:.5rem .9rem;background:rgb(var(--color-background));color:rgb(var(--color-foreground));border:1px solid rgba(var(--color-foreground),.3);font-size:1.3rem;line-height:1.6}
.lv8-set-gallery__navigation{display:flex;align-items:center;justify-content:center;gap:2rem;padding:1rem 1.6rem}
.lv8-set-gallery__arrow{width:4.4rem;min-height:4.4rem;background:transparent;color:inherit;border:1px solid currentColor;font:inherit;font-size:2rem;cursor:pointer}
.lv8-set-gallery__thumbnails{display:flex;justify-content:flex-start;gap:.8rem;padding:0 1.6rem 1.6rem;overflow-x:auto}
.lv8-set-gallery__thumbnail{flex:0 0 6.4rem;height:6.4rem;padding:2px;border:1px solid rgba(var(--color-foreground),.3);background:#fff;cursor:pointer}
.lv8-set-gallery__thumbnail[aria-pressed="true"]{border:2px solid currentColor}
.lv8-set-gallery__thumbnail img{width:100%;height:100%;object-fit:contain}
.lv8-set-gallery__arrow:focus-visible,.lv8-set-gallery__thumbnail:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.lv8-set-gallery__stage img{max-height:calc(90dvh - 26rem)}
@media(prefers-reduced-motion:no-preference){.lv8-set-gallery__arrow,.lv8-set-gallery__thumbnail{transition:transform 120ms cubic-bezier(.16,1,.3,1)}.lv8-set-gallery__arrow:active,.lv8-set-gallery__thumbnail:active{transform:scale(.95)}}
