/* All views share Foundation axes; only media composition varies. */
#home section[data-july-unified]>.studio-gallery-shell{display:none!important}
#home section[data-july-unified][hidden]{display:none!important}
.july-gallery-unified{box-sizing:border-box;width:min(100%,var(--july-shell-max,1200px));margin-inline:auto;padding-inline:var(--july-gutter,32px)}
#home .kitchen-gallery .july-gallery-unified .gallery-head{width:100%;margin-inline:0;padding:0 0 24px;box-sizing:border-box}
.july-gallery-body{min-width:0;width:100%}
.july-gallery-row{display:flex;margin-bottom:11px;max-width:100%}
.july-gallery-row:last-child{margin-bottom:0}
.july-gallery-photo{position:relative;flex-shrink:0;min-width:0;overflow:hidden;background:transparent}
.july-gallery-photo img{display:block;width:100%;height:100%;object-fit:contain}
.july-gallery-slider{display:flex;gap:16px;width:100%;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;align-items:stretch}
.july-gallery-slider::-webkit-scrollbar{display:none}
.july-gallery-slider .july-gallery-photo{width:calc((100% - 32px)/3);scroll-snap-align:start;aspect-ratio:3/4}
[data-view=landscape] .july-gallery-slider .july-gallery-photo{aspect-ratio:4/3}
.july-gallery-nav{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:16px;font:400 var(--july-font-meta-size,14px)/1.4 var(--july-font-body,Arial)}
.july-gallery-nav:empty{display:none}
.july-gallery-nav button{display:grid;place-items:center;width:40px;height:40px;border:1px solid #c7a5ae;border-radius:50%;background:#fffaf5;color:#651328;font:400 28px/1 Arial;cursor:pointer}
.july-gallery-nav button:disabled{opacity:.35}
.july-gallery-controls:empty{display:none}
@media(max-width:700px){
 .july-gallery-slider .july-gallery-photo{width:100%}
 .july-gallery-slider{gap:0}
 .july-gallery-unified:not([data-view=collage]) .july-gallery-body{width:100vw;margin-inline:calc(-1 * var(--july-gutter,18px))}
 .july-gallery-row{margin-bottom:8px}
}
/* The section itself never adds a second horizontal gutter. */
#home section[data-july-unified]{padding-inline:0}
#home .kitchen-gallery .july-gallery-unified .gallery-head{display:block}

@media(min-width:701px){
 .july-gallery-centered{position:relative;display:block;overflow:hidden;scroll-snap-type:none;touch-action:pan-y;cursor:grab}
 .july-gallery-centered:active{cursor:grabbing}
 .july-gallery-centered .july-gallery-photo{position:absolute;left:0;top:0;aspect-ratio:auto;transform-origin:center;will-change:transform;user-select:none;-webkit-user-select:none}
 .july-gallery-centered.is-ready .july-gallery-photo{transition:transform 360ms cubic-bezier(.22,1,.36,1),opacity 240ms ease}
 .july-gallery-centered img{pointer-events:none}
}
@media(prefers-reduced-motion:reduce){.july-gallery-centered.is-ready .july-gallery-photo{transition:none}}
/* Compact neighbours are navigation previews; editing controls remain on the main photo. */
@media(min-width:701px){
 .july-gallery-centered .july-gallery-photo:not([data-active=true]) .july-gallery-remove,
 .july-gallery-centered .july-gallery-photo:not([data-active=true]) .july-upload-state{display:none}
}
