
.studio-gallery{width:100%;min-width:0;margin:24px auto;color:#333;box-sizing:border-box}
.studio-gallery__controls{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-bottom:14px;font-size:14px}
.studio-gallery__controls span{margin-right:auto}.studio-gallery__controls button{width:44px;height:44px;border:1px solid #ccc;border-radius:50%;background:#fff;color:#222;cursor:pointer;font-size:22px}.studio-gallery__controls button:disabled{opacity:.3;cursor:default}
.studio-gallery__track{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x proximity;overscroll-behavior-x:contain;scrollbar-width:thin;touch-action:pan-x pan-y;padding-bottom:12px}
.studio-gallery__track:focus-visible,.studio-gallery a:focus-visible,.studio-gallery button:focus-visible{outline:3px solid #2671bd;outline-offset:3px}
.studio-gallery__page{flex:none;scroll-snap-align:start;display:flex;flex-direction:column;gap:8px}
.studio-gallery__row{display:flex;gap:8px;align-items:flex-start}
.studio-gallery .studio-gallery__item{flex:none;margin:0;width:280px;overflow:hidden}
.studio-gallery .studio-gallery__item a{display:block;width:100%}
.studio-gallery .studio-gallery__item img{display:block;width:100%;height:auto;max-width:none;object-fit:contain}
.studio-gallery figcaption{font-size:13px;line-height:1.5;padding-top:5px;overflow-wrap:anywhere}.studio-gallery figcaption:empty{display:none}
@media(max-width:600px){.studio-gallery__controls{font-size:12px;gap:8px}.studio-gallery{margin:16px auto}}

.studio-gallery{max-width:1200px;padding:0 16px}.studio-gallery__track{cursor:grab}.studio-gallery__track.is-dragging{cursor:grabbing;scroll-snap-type:none;user-select:none}
