.dlfg-gallery{width:100%;min-width:0}
.dlfg-gallery-stage{position:relative}
.dlfg-gallery-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.dlfg-gallery-track::-webkit-scrollbar{display:none}
.dlfg-gallery-slide{flex:0 0 100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always;aspect-ratio:4/3;background:#f5f5f5;display:flex;align-items:center;justify-content:center}
.dlfg-gallery-slide img{display:block;width:100%;height:100%;object-fit:contain}
.dlfg-gallery.is-mobile:not(.is-cards):not(.is-architecture) .dlfg-gallery-image img{object-fit:cover}
.dlfg-gallery .dlfg-gallery-prev,.dlfg-gallery .dlfg-gallery-next{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;padding:0;border:0;border-radius:50%;background:rgba(0,0,0,.6);color:white;cursor:pointer;font-size:22px;line-height:1}
.dlfg-gallery-prev{left:12px}.dlfg-gallery-next{right:12px}
.dlfg-gallery-status{text-align:center;font-size:13px;margin:8px 0}
.dlfg-gallery-thumbs{display:flex;justify-content:safe center;gap:10px;overflow-x:auto;padding:4px}
.dlfg-gallery-thumbs button{flex:0 0 80px;width:80px;height:65px;box-sizing:border-box;padding:0;border:1px solid #9998;background:transparent;cursor:pointer;opacity:1}
.dlfg-gallery-thumbs img{display:block;width:100%;height:100%;object-fit:cover}
.dlfg-gallery button:focus-visible,.dlfg-gallery-track:focus-visible{outline:3px solid #393939;outline-offset:2px}
.dlfg-gallery [hidden]{display:none!important}
.dlfg-gallery{display:flex;flex-direction:column;--thumb-width:100px}
.dlfg-thumbs-small{--thumb-width:64px}.dlfg-thumbs-large{--thumb-width:140px}.dlfg-thumbs-xlarge{--thumb-width:190px}
.dlfg-gallery .dlfg-gallery-thumbs button{flex-basis:var(--thumb-width);width:var(--thumb-width);height:auto;aspect-ratio:4/3}
.dlfg-thumbs-top .dlfg-gallery-thumbs{order:-1;margin-bottom:12px}
.dlfg-gallery .dlfg-gallery-image{display:block;width:100%;height:100%;padding:0;border:0;border-radius:0;background:transparent;cursor:zoom-in;color:inherit}
.dlfg-gallery-image:disabled{opacity:1;cursor:default}
.dlfg-gallery.is-cards .dlfg-gallery-stage{z-index:0}
.dlfg-gallery.is-cards .dlfg-gallery-status,.dlfg-gallery.is-cards .dlfg-gallery-thumbs{position:relative;z-index:1}
.dlfg-gallery.is-cards .dlfg-gallery-track{position:relative;display:block;overflow:visible;clip-path:inset(0 0 -144px);aspect-ratio:16/10;touch-action:pan-y;scroll-snap-type:none;background:var(--dlfg-table-background,transparent);border-radius:8px;isolation:auto}
.dlfg-gallery.is-cards .dlfg-gallery-slide{position:absolute;inset:auto;left:calc(50% - var(--dlfg-card-width)/2);top:calc(50% - var(--dlfg-card-height)/2);width:var(--dlfg-card-width);height:var(--dlfg-card-height);box-sizing:border-box;aspect-ratio:4/3;background:var(--dlfg-card-background,#fff);padding:7px 7px 14px;box-shadow:0 12px 25px #0003;transform:translate(var(--card-x,0),var(--card-y,0)) rotate(var(--card-angle,0deg)) scale(var(--card-scale,.88));transition:transform 500ms cubic-bezier(.22,.75,.25,1),opacity 350ms,box-shadow 350ms;will-change:transform}
.dlfg-gallery.is-cards .dlfg-gallery-slide.is-hovered{z-index:3!important;transform:translate(clamp(calc(-1 * var(--dlfg-hover-limit-x)),var(--card-x),var(--dlfg-hover-limit-x)),clamp(calc(-1 * var(--dlfg-hover-limit-y)),calc(var(--card-y) - 6px),var(--dlfg-hover-limit-y))) rotate(0deg) scale(var(--card-hover-scale,1.06));box-shadow:0 32px 62px rgb(0 0 0 / 30%)}
.dlfg-gallery.is-cards .dlfg-gallery-slide.is-hovered .dlfg-gallery-image{cursor:zoom-in}
.dlfg-gallery.is-cards .dlfg-gallery-image{cursor:pointer}
.dlfg-gallery.is-cards .dlfg-gallery-slide .dlfg-gallery-image img{object-fit:cover;opacity:var(--dlfg-rear-photo-opacity,1);transition:opacity 350ms}
.dlfg-gallery.is-cards .dlfg-gallery-slide.is-active .dlfg-gallery-image img,
.dlfg-gallery.is-cards .dlfg-gallery-slide.is-hovered .dlfg-gallery-image img{opacity:1}
@media(prefers-reduced-motion:reduce){.dlfg-gallery.is-cards .dlfg-gallery-slide .dlfg-gallery-image img{transition:none}}
.dlfg-gallery.is-cards .dlfg-gallery-slide.is-active .dlfg-gallery-image:not(:disabled){cursor:zoom-in}
.dlfg-gallery.is-cards:not(.cards-dealt) .dlfg-gallery-slide{transform:translate(0,18%) rotate(0deg) scale(.82)}
.dlfg-gallery.is-cards .dlfg-gallery-prev,.dlfg-gallery.is-cards .dlfg-gallery-next{z-index:1}
.dlfg-gallery .dlfg-lightbox{position:fixed;inset:0;margin:auto;width:96vw;height:94vh;max-width:1600px;max-height:94vh;padding:48px 56px;background:#161616;color:white;border:0;box-sizing:border-box;border-radius:8px}
.dlfg-lightbox::backdrop{background:rgba(0,0,0,.85)}
.dlfg-lightbox:not([open]){display:none}
.dlfg-lightbox .dlfg-lightbox-image{width:100%;height:100%;object-fit:contain;display:block}
.dlfg-lightbox button{position:absolute;border:0;background:#0009;color:#fff;width:44px;height:44px;padding:0;font-size:24px;border-radius:50%;cursor:pointer}
.dlfg-gallery .dlfg-lightbox button:focus-visible{outline-color:#fff}
.dlfg-lightbox-close{top:8px;right:8px}.dlfg-lightbox-prev{top:calc(50% - 22px);left:6px}.dlfg-lightbox-next{top:calc(50% - 22px);right:6px}
.dlfg-lightbox-status{position:absolute;bottom:8px;left:0;right:0;text-align:center;margin:0}
@media(max-width:767px){.dlfg-gallery.is-cards .dlfg-gallery-slide{padding:4px 4px 9px}.dlfg-gallery .dlfg-lightbox{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0;padding:60px 8px 76px}.dlfg-lightbox-prev{top:auto;bottom:16px;left:16px}.dlfg-lightbox-next{top:auto;bottom:16px;right:16px}.dlfg-lightbox-status{bottom:28px;left:65px;right:65px}.dlfg-lightbox-close{top:max(8px,env(safe-area-inset-top));right:12px}}
@media(prefers-reduced-motion:reduce){.dlfg-gallery.is-cards .dlfg-gallery-slide{transition:none}}
.dlfg-gallery.is-cards.has-featured-background .dlfg-gallery-track{background:var(--dlfg-photo-tint,#fff)}
.dlfg-gallery.is-cards.has-featured-background .dlfg-gallery-track::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;border-radius:inherit;background-image:var(--dlfg-photo-image);background-size:cover;background-position:center;opacity:var(--dlfg-photo-opacity,.2)}
.dlfg-gallery.is-cards.is-full-width .dlfg-gallery-stage{max-width:none;width:var(--dlfg-stage-width,100%);margin-left:var(--dlfg-stage-offset,0)}
.dlfg-gallery.is-cards.is-full-width .dlfg-gallery-track{aspect-ratio:auto;height:var(--dlfg-deck-height,900px);border-radius:0}
.dlfg-gallery.is-architecture{margin-block:24px;--dlfg-architecture-width:82%;--dlfg-architecture-gap:16px}
.dlfg-gallery.is-architecture .dlfg-gallery-track{position:relative;display:block;overflow:hidden;aspect-ratio:16/10;scroll-snap-type:none;touch-action:pan-y;background:#fff;cursor:grab}
.dlfg-gallery.is-architecture .dlfg-gallery-slide{position:absolute;top:0;bottom:0;left:calc((100% - var(--dlfg-architecture-width))/2);width:var(--dlfg-architecture-width);height:100%;aspect-ratio:auto;background:#f6f6f4;transform:translateX(calc(var(--architecture-offset,0) * (100% + var(--dlfg-architecture-gap)) + var(--architecture-drag,0px)));transition:transform 550ms cubic-bezier(.22,.75,.25,1);overflow:hidden}
.dlfg-gallery.is-architecture .dlfg-gallery-image{cursor:pointer}
.dlfg-gallery.is-architecture .is-active .dlfg-gallery-image{cursor:zoom-in}
.dlfg-gallery.is-architecture .dlfg-gallery-slide img{object-fit:cover;transition:filter 250ms,scale 350ms}
.dlfg-gallery.is-architecture .dlfg-gallery-slide:not(.is-active) img{filter:brightness(.88)}
@media(hover:hover){.dlfg-gallery.is-architecture .dlfg-gallery-slide:not(.is-active):hover img{filter:brightness(1);scale:1.025}}
.dlfg-gallery.is-architecture.is-dragging .dlfg-gallery-slide{transition:none}
.dlfg-gallery.is-architecture.is-dragging .dlfg-gallery-image{cursor:grabbing}
.dlfg-gallery.is-architecture .dlfg-gallery-prev,.dlfg-gallery.is-architecture .dlfg-gallery-next{border:1px solid #e6e6e6;border-radius:0;background:#fff;color:#515151;font-size:18px;z-index:1}
.dlfg-gallery.is-architecture .dlfg-gallery-prev:hover,.dlfg-gallery.is-architecture .dlfg-gallery-next:hover{color:#393939}
.dlfg-gallery.is-architecture .dlfg-gallery-status{text-align:right;margin:16px 0 0;color:#555;font-variant-numeric:tabular-nums;font-size:12px}
.dlfg-architecture-info{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 20px;align-items:center;margin:8px 0 18px;color:#555;font-size:13px}
.dlfg-architecture-caption{overflow-wrap:anywhere}
.dlfg-architecture-caption[hidden]{display:none}
.dlfg-architecture-caption[hidden] + .dlfg-architecture-expand{grid-column:2}
.dlfg-gallery .dlfg-architecture-expand{grid-column:2;padding:6px 0;border:0;border-radius:0;background:transparent;color:#555;font:inherit;cursor:pointer}
.dlfg-gallery .dlfg-architecture-expand:hover{color:#393939}
.dlfg-architecture-progress{grid-column:1/-1;height:2px;background:#e8e8e8}
.dlfg-architecture-progress span{display:block;height:100%;width:var(--architecture-progress,100%);background:#393939;transition:width 350ms}
.dlfg-gallery.is-architecture.is-mobile{--dlfg-architecture-width:88%;--dlfg-architecture-gap:8px}
.dlfg-gallery.is-architecture.is-mobile .dlfg-gallery-track{aspect-ratio:4/3}
.dlfg-gallery.is-architecture.is-mobile .dlfg-gallery-prev{left:4px}
.dlfg-gallery.is-architecture.is-mobile .dlfg-gallery-next{right:4px}
.dlfg-gallery.is-architecture.is-single{--dlfg-architecture-width:100%}
@media(prefers-reduced-motion:reduce){.dlfg-gallery.is-architecture .dlfg-gallery-slide,.dlfg-gallery.is-architecture .dlfg-gallery-slide img,.dlfg-architecture-progress span{transition:none}}
.dlfg-gallery.is-floating .dlfg-gallery-track{aspect-ratio:1.9;overflow:visible;clip-path:inset(-40px 0 -64px);background:linear-gradient(to bottom,transparent 65%,#fff 100%),radial-gradient(ellipse at 50% 80%,#f1f2ee 0%,#fff 65%);isolation:isolate}
.dlfg-gallery.is-floating .dlfg-gallery-slide{left:21%;top:9%;bottom:auto;width:58%;height:78%;overflow:visible;opacity:0;pointer-events:none;z-index:0;box-shadow:0 18px 28px -14px #18251955;transform:perspective(1200px) translateX(calc(var(--float-x,0%) + var(--architecture-drag,0px))) translateY(var(--float-lift,0px)) translateZ(var(--float-hover-depth,var(--float-depth,-100px))) rotateX(var(--float-tilt-x,0deg)) rotateY(calc(var(--float-angle,0deg) + var(--float-tilt-y,0deg))) scale(var(--float-scale,.72));transition:transform 700ms cubic-bezier(.22,.75,.25,1),opacity 450ms,box-shadow 400ms}
.dlfg-gallery.is-floating .dlfg-gallery-slide.is-neighbour{opacity:1;pointer-events:auto;z-index:1}
.dlfg-gallery.is-floating .dlfg-gallery-slide.is-active{opacity:1;pointer-events:auto;z-index:2;box-shadow:0 28px 40px -20px #18251966}
.dlfg-gallery.is-floating .dlfg-gallery-slide img{filter:none;scale:1}
.dlfg-gallery.is-floating .dlfg-gallery-slide:not(.is-active) img{filter:brightness(.94)}
.dlfg-gallery.is-floating:not(.floating-ready) .dlfg-gallery-slide:not(.is-active){transform:perspective(1200px) translateX(0) translateZ(-100px) scale(.72);opacity:0}
@media(hover:hover) and (pointer:fine){.dlfg-gallery.is-floating:not(.is-dragging) .dlfg-gallery-slide.is-neighbour:hover{--float-lift:-10px;--float-hover-depth:-30px;box-shadow:0 28px 35px -18px #18251966}}
.dlfg-gallery.is-floating .dlfg-gallery-prev,.dlfg-gallery.is-floating .dlfg-gallery-next{top:auto;bottom:0;transform:none;z-index:3}
.dlfg-gallery.is-floating.is-mobile .dlfg-gallery-track{aspect-ratio:1.25}
.dlfg-gallery.is-floating.is-mobile .dlfg-gallery-slide{left:15%;width:70%;top:12%;height:72%;--float-angle:0deg!important;--float-depth:0px!important}
.dlfg-gallery.is-floating.is-single .dlfg-gallery-slide{left:10%;width:80%}
.dlfg-gallery.is-floating.is-dragging .dlfg-gallery-slide{transition:none}
@media(prefers-reduced-motion:reduce){.dlfg-gallery.is-floating .dlfg-gallery-slide{transition:none;--float-tilt-x:0deg;--float-tilt-y:0deg;--float-lift:0px!important;--float-hover-depth:var(--float-depth)!important}}

.dlfg-gallery .dlfg-gallery-thumbs button[aria-pressed="true"] {
    border: 3px solid var(--dlfg-accent, #2ea3f2);
    box-shadow: 0 0 0 1px white, 0 0 0 2px #0008;
}
.dlfg-gallery.is-mobile button:focus-visible,
.dlfg-gallery.is-mobile .dlfg-gallery-track:focus-visible {
    outline-color: var(--dlfg-accent, #2ea3f2);
}
.dlfg-gallery.is-mobile .dlfg-lightbox-close {
    border: 2px solid var(--dlfg-accent, #2ea3f2);
}

.dlfg-gallery.has-light-labels .dlfg-gallery-status,
.dlfg-gallery.has-light-labels .dlfg-architecture-caption,
.dlfg-gallery.has-light-labels .dlfg-architecture-expand,
.dlfg-gallery .dlfg-lightbox-status { color: #fff; }

.dlfg-gallery.has-image-labels .dlfg-gallery-status,
.dlfg-gallery.has-image-labels .dlfg-architecture-caption,
.dlfg-gallery.has-image-labels .dlfg-architecture-expand {
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
    background: rgb(0 0 0 / 68%);
    border-radius: 4px;
    padding: 2px 7px;
}
.dlfg-gallery.has-image-labels .dlfg-gallery-status { align-self: center; }
.dlfg-gallery.has-image-labels.is-architecture .dlfg-gallery-status { align-self: flex-end; }
