.tour-media{min-width:0;align-self:start}.tour-gallery{margin-top:14px;min-width:0}.gallery-track{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#007e80 #edf7f6;padding-bottom:8px}.detailtop .gallery-track img{flex:0 0 calc((100% - 20px)/3);width:calc((100% - 20px)/3);height:auto;aspect-ratio:941/1672;object-fit:contain;border-radius:8px;scroll-snap-align:start;background:#edf7f6;min-width:0}.gallery-controls{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:4px}.gallery-controls button{width:44px;height:44px;border:1px solid #dce6e6;border-radius:50%;background:#fff;color:#007e80;font-size:28px;line-height:1;display:grid;place-items:center}.gallery-controls button:disabled{opacity:.35;cursor:default}.gallery-count{font-size:14px;font-variant-numeric:tabular-nums;color:#5c7178;min-width:38px;text-align:center}@media(max-width:760px){.detailtop .gallery-track img{flex-basis:calc((100% - 20px)/2.4);width:calc((100% - 20px)/2.4)}}
/* Dolphin gallery: consistent portrait frames matching the first photo. */
.detailtop #gallery-dauphins img{aspect-ratio:941/1672;object-fit:cover;object-position:center}

/* Sunset photographs retain their landscape format. */
.detailtop #gallery-sunset-en-mer img{flex-basis:85%;width:85%;aspect-ratio:768/473;object-fit:cover}

.detailtop #gallery-24h-en-catamaran img{flex-basis:85%;width:85%;aspect-ratio:768/513;object-fit:cover}

.gallery-with-video{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 12px}
.gallery-with-video .gallery-track{grid-column:1;grid-row:1}
.gallery-with-video .gallery-controls{grid-column:1;grid-row:2}
.gallery-video-link{grid-column:2;grid-row:1;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 14px;min-height:44px;border-radius:24px;background:#006f71;color:white;font-weight:700;text-decoration:none;white-space:nowrap}
.gallery-video-link::before{content:"";border-style:solid;border-width:5px 0 5px 8px;border-color:transparent transparent transparent currentColor}
.gallery-video-link:hover,.gallery-video-link:focus-visible{background:#00595c;color:white}
@media(max-width:760px){.gallery-with-video .gallery-track{grid-column:1/-1}.gallery-video-link{grid-row:2}.gallery-with-video .gallery-controls{justify-self:start}}

.gallery-video-pair{grid-column:2;grid-row:1;display:flex;flex-direction:column;gap:8px}
@media(max-width:760px){.gallery-video-pair{grid-column:1/-1;grid-row:3;flex-direction:row;flex-wrap:wrap;justify-content:flex-end}}
