/* Extra layouts only: the existing project grid keeps its original CSS. */
[data-project-gallery] figure{margin:0;min-width:0}
[data-project-gallery] a[data-furniture-image]{display:block}
[data-project-gallery] img{display:block;width:100%;height:auto}
[data-project-gallery] figcaption{font-size:14px;line-height:1.5;margin-top:10px;overflow-wrap:anywhere}
[data-project-gallery] a:focus-visible,.furniture-project-gallery-track:focus-visible,.furniture-project-gallery-controls button:focus-visible{outline:2px solid currentColor;outline-offset:4px}
.furniture-project-gallery-editorial{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:clamp(24px,4vw,56px)}
.furniture-project-gallery-editorial>figure:nth-child(3n+1){grid-column:1/-1}
.furniture-project-gallery-editorial img{max-height:85svh;object-fit:contain}
[data-project-gallery="masonry"]{align-items:start}
[data-project-gallery="masonry"].is-masonry-ready{grid-auto-rows:4px;row-gap:0;align-items:start}
[data-project-gallery="masonry"]>figure{align-self:start}
.furniture-project-gallery-carousel{--furniture-project-carousel-height:clamp(300px,56svh,640px);min-width:0}
.furniture-project-gallery-track{display:flex;gap:clamp(16px,2vw,28px);overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;cursor:grab}
.furniture-project-gallery-track::-webkit-scrollbar{display:none}
.furniture-project-gallery-track>figure{flex:0 0 auto;width:min(90%,calc(var(--furniture-project-carousel-height) * var(--furniture-project-image-ratio,1.33333)));scroll-snap-align:start}
.furniture-project-gallery-track>figure:only-child{width:100%}
.furniture-project-gallery-track a[data-furniture-image]{height:var(--furniture-project-carousel-height)}
.furniture-project-gallery-track img{width:100%;height:100%;object-fit:contain}
.furniture-project-gallery-track.is-dragging{cursor:grabbing;user-select:none;scroll-snap-type:none}
.furniture-project-gallery-controls{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:20px;font-size:14px}
.furniture-project-gallery-controls[hidden]{display:none}
.furniture-project-gallery-controls button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid currentColor;border-radius:50%;background:transparent;color:inherit;font:inherit;font-size:20px;cursor:pointer}
.furniture-project-gallery-controls button[aria-disabled="true"]{opacity:.4;cursor:default}
@media(max-width:767px){.furniture-project-gallery-editorial{grid-template-columns:1fr;gap:24px}.furniture-project-gallery-carousel{--furniture-project-carousel-height:clamp(260px,48svh,440px)}.furniture-project-gallery-track>figure{width:min(90%,calc(var(--furniture-project-carousel-height) * var(--furniture-project-image-ratio,1.33333)))}}
@media print{.furniture-project-gallery-track{display:grid;grid-template-columns:1fr 1fr;overflow:visible}.furniture-project-gallery-track>figure{width:auto;break-inside:avoid}.furniture-project-gallery-track a[data-furniture-image]{height:auto}.furniture-project-gallery-track img{height:auto}.furniture-project-gallery-controls{display:none}}

@media print{[data-project-gallery="masonry"].is-masonry-ready{grid-auto-rows:auto;row-gap:24px}[data-project-gallery="masonry"]>figure{grid-row:auto!important}}
