.sheetbend-gallery{--sbg-parchment: var(--parchment, #F5EFE3);--sbg-parchment-deep: var(--parchment-deep, #EDE4D2);--sbg-cream-shadow: var(--cream-shadow, #E0D5C0);--sbg-sepia: var(--sepia, #2A2620);--sbg-sepia-soft: var(--sepia-soft, #4A4339);--sbg-sepia-faint: var(--sepia-faint, #6B6358);--sbg-bookcloth: var(--bookcloth, #2C4159);--sbg-gold: var(--gold, #B68B3F);--sbg-script: var(--script, "Caveat", cursive);--sbg-sans: var(--sans, system-ui, sans-serif);column-count:3;column-gap:1.5rem;margin:2rem 0}@media(max-width: 991.98px){.sheetbend-gallery{column-count:2}}@media(max-width: 575.98px){.sheetbend-gallery{column-count:1}}.sheetbend-gallery--cols-2{column-count:2}.sheetbend-gallery--cols-3{column-count:3}.sheetbend-gallery--cols-4{column-count:4}.sheetbend-gallery--cols-5{column-count:5}@media(max-width: 1199.98px){.sheetbend-gallery--cols-5{column-count:4}.sheetbend-gallery--cols-4{column-count:3}}@media(max-width: 991.98px){.sheetbend-gallery--cols-3,.sheetbend-gallery--cols-4,.sheetbend-gallery--cols-5{column-count:2}}@media(max-width: 575.98px){.sheetbend-gallery--cols-2,.sheetbend-gallery--cols-3,.sheetbend-gallery--cols-4,.sheetbend-gallery--cols-5{column-count:1}}.sheetbend-gallery__item{break-inside:avoid;page-break-inside:avoid;margin:0 0 1.5rem;position:relative}.sheetbend-gallery__item img{display:block;width:100%;height:auto}.sheetbend-gallery__item--portrait img,.sheetbend-gallery__item--landscape img{object-fit:cover}.sheetbend-gallery__link{display:block;position:relative;overflow:hidden;transition:transform .3s ease}.sheetbend-gallery__link::after{content:"";position:absolute;inset:0;background:rgba(44,65,89,0);transition:background .25s ease;pointer-events:none}.sheetbend-gallery__link:hover::after,.sheetbend-gallery__link:focus::after{background:rgba(44,65,89,.08)}.sheetbend-gallery__link:focus{outline:2px solid var(--sbg-bookcloth);outline-offset:4px}.sheetbend-gallery--paper-mat .sheetbend-gallery__item{background:var(--sbg-parchment-deep);padding:10px;box-shadow:0 1px 0 var(--sbg-cream-shadow),0 8px 20px rgba(42,38,32,.1);transition:transform .3s ease,box-shadow .3s ease}.sheetbend-gallery--paper-mat .sheetbend-gallery__item:hover{transform:translateY(-3px);box-shadow:0 1px 0 var(--sbg-cream-shadow),0 12px 28px rgba(42,38,32,.14)}.sheetbend-gallery--paper-mat.sheetbend-gallery--captions .sheetbend-gallery__item{padding-bottom:0}.sheetbend-gallery__caption{font-family:var(--sbg-script);font-size:1.05rem;line-height:1.25;color:var(--sbg-sepia-soft);text-align:center;padding:.75rem .5rem .5rem;margin:0}.sheetbend-gallery__empty{font-family:var(--sbg-sans);font-style:italic;color:var(--sbg-sepia-faint);text-align:center;margin:2rem auto;max-width:40ch}.sbg-lightbox{position:fixed;inset:0;z-index:2000;background:rgba(42,38,32,.92);display:flex;align-items:center;justify-content:center;padding:clamp(1rem,4vw,3rem);opacity:0;visibility:hidden;transition:opacity .25s ease,visibility .25s ease}.sbg-lightbox[hidden]{display:none}.sbg-lightbox.is-open{opacity:1;visibility:visible}.sbg-lightbox__figure{margin:0;max-width:min(100%,1400px);max-height:100%;display:flex;flex-direction:column;align-items:center;gap:1rem}.sbg-lightbox__image{display:block;max-width:100%;max-height:calc(100vh - 8rem);object-fit:contain;background:var(--sbg-parchment-deep);padding:10px;box-shadow:0 20px 40px rgba(0,0,0,.5)}.sbg-lightbox__caption{font-family:var(--sbg-script);font-size:1.25rem;color:var(--sbg-parchment);text-align:center;max-width:60ch;margin:0;min-height:1.5rem}.sbg-lightbox__caption:empty{display:none}.sbg-lightbox__close,.sbg-lightbox__prev,.sbg-lightbox__next{position:absolute;background:rgba(0,0,0,0);border:0;color:var(--sbg-parchment);cursor:pointer;padding:0;font-family:var(--sbg-sans);font-weight:300;line-height:1;transition:opacity .15s ease,transform .15s ease;opacity:.75}.sbg-lightbox__close:hover,.sbg-lightbox__close:focus,.sbg-lightbox__prev:hover,.sbg-lightbox__prev:focus,.sbg-lightbox__next:hover,.sbg-lightbox__next:focus{opacity:1;outline:0}.sbg-lightbox__close{top:clamp(.75rem,2vw,1.5rem);right:clamp(.75rem,2vw,1.5rem);width:3rem;height:3rem;font-size:2.5rem;display:flex;align-items:center;justify-content:center}.sbg-lightbox__close:focus{outline:2px solid var(--sbg-parchment);outline-offset:2px}.sbg-lightbox__prev,.sbg-lightbox__next{top:50%;width:3.5rem;height:3.5rem;font-size:3rem;display:flex;align-items:center;justify-content:center;transform:translateY(-50%)}.sbg-lightbox__prev:hover,.sbg-lightbox__prev:focus,.sbg-lightbox__next:hover,.sbg-lightbox__next:focus{transform:translateY(-50%) scale(1.1)}.sbg-lightbox__prev:focus,.sbg-lightbox__next:focus{outline:2px solid var(--sbg-parchment);outline-offset:2px}.sbg-lightbox__prev{left:clamp(.5rem,2vw,1.5rem)}.sbg-lightbox__next{right:clamp(.5rem,2vw,1.5rem)}@media(max-width: 575.98px){.sbg-lightbox__prev,.sbg-lightbox__next{top:auto;bottom:clamp(.75rem,3vw,1.5rem);transform:none;width:3rem;height:3rem;font-size:2.25rem}.sbg-lightbox__prev:hover,.sbg-lightbox__prev:focus,.sbg-lightbox__next:hover,.sbg-lightbox__next:focus{transform:scale(1.1)}}@media(prefers-reduced-motion: reduce){.sheetbend-gallery--paper-mat .sheetbend-gallery__item,.sheetbend-gallery__link,.sbg-lightbox,.sbg-lightbox__close,.sbg-lightbox__prev,.sbg-lightbox__next{transition:none}}
