.studio-gallery{display:block;position:relative;isolation:isolate;background:#183b37;touch-action:pan-y}
.studio-gallery-viewport{position:absolute;inset:0;overflow:hidden}
.studio-gallery-slide{position:absolute;inset:0;overflow:hidden}
.studio-gallery-viewport img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain}
.studio-gallery-caption{position:absolute;bottom:0;left:0;right:0;min-height:0;margin:0;padding:10px 12px;display:flex;align-items:center;justify-content:center;background:transparent;color:#fff;text-align:center;font:700 clamp(16px,2.8vw,38px)/1.2 system-ui,sans-serif;text-shadow:0 2px 5px #000d,0 0 12px #000b;box-sizing:border-box}
.studio-gallery-caption--long{font-size:clamp(10px,calc(1vw + 6px),15px);line-height:1.3}
.studio-gallery button{border:0;border-radius:999px;background:#07594de6;color:#fff;font:700 14px/1 system-ui,sans-serif;cursor:pointer;min-width:44px;min-height:44px}
.studio-gallery button:hover{background:#005449}
.studio-gallery button:focus-visible{outline:3px solid #fff;outline-offset:2px}
.studio-gallery-previous,.studio-gallery-next{position:absolute;top:50%;transform:translateY(-50%);font-size:28px!important}
.studio-gallery-previous{left:6px}.studio-gallery-next{right:6px}
.studio-gallery-toolbar{position:absolute;bottom:6px;left:8px;right:8px;display:flex;align-items:center;justify-content:space-between;gap:8px;pointer-events:none}
.studio-gallery-toolbar .studio-gallery-counter{background:#07594de6;padding:4px 9px;font-size:11px;line-height:1.4;color:white;pointer-events:auto}
.studio-gallery-toolbar .studio-gallery-toggle{font-size:11px;min-height:32px;padding:0 10px;pointer-events:auto}

.studio-gallery.course-gallery{height:auto;aspect-ratio:3/2;}
.gear-gallery .studio-gallery-viewport img{object-fit:cover;object-position:right top;}
.studio-gallery[data-gallery-type="wingfoil"] .studio-gallery-viewport img{object-fit:cover;object-position:right center;}
.studio-gallery.lagoon-gallery{height:auto;aspect-ratio:3/2;flex-shrink:0;}
.lagoon-gallery .studio-gallery-toolbar,.has-photo-captions .studio-gallery-toolbar{top:8px;bottom:auto;right:auto;justify-content:flex-start;}

.gear-gallery .studio-gallery-viewport img[src$="evo-navigation-avec-logo.png"],.gear-gallery .studio-gallery-viewport img[src$="kite-184602-avec-logo.png"]{object-fit:contain;object-position:center;}
