/* Shared gallery layout for every yacht, including LOBSTER. */
.yacht-page .yacht-gallery { width: 100%; min-width: 0; }
.lobster-page .lobster-overview-grid { display: block; }
.lobster-page .lobster-overview-grid > .lobster-summary { margin-top: 40px; }
.yacht-page .yacht-gallery .gallery-enlarge-icon .icon { width: 18px; height: 18px; }
.yacht-spread { display: block; }
.yacht-spread .yacht-gallery { width: 100%; min-width: 0; }
.yacht-page .yacht-gallery .yacht-main { background: transparent; }
.yacht-page .yacht-gallery .gallery-open { overflow: hidden; }
.yacht-page .yacht-gallery .gallery-open > img { display: block; width: 100%; height: auto; aspect-ratio: 12 / 5; object-fit: cover; }
.yacht-gallery .gallery-stage { position: relative; }
.yacht-page .yacht-gallery .gallery-enlarge-icon { right: 20px; top: 20px; bottom: auto; width: 38px; height: 38px; border: 0; background: rgba(255,255,255,.92); color: var(--navy); border-radius: 50%; }
.gallery-arrows { display: none; }
.yacht-page .yacht-gallery .gallery-arrows { position: absolute; right: 20px; bottom: 20px; left: auto; top: auto; display: flex; gap: 8px; }
.yacht-page .yacht-gallery .gallery-arrows button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--navy); cursor: pointer; }
.yacht-page .yacht-gallery .gallery-arrows button:first-child svg { transform: rotate(180deg); }
.yacht-page .yacht-gallery .yacht-main > figcaption { position: static; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 0; background: none; color: var(--navy); font-size: 14px; line-height: 1.6; }
.yacht-page .yacht-gallery .yacht-main > figcaption > span:first-child { font-family: 'Red Rose',sans-serif; font-weight: 500; font-size: 12px; letter-spacing: .12em; }
.yacht-page .yacht-gallery .gallery-count { color: #788087; margin-left: 18px; font-variant-numeric: tabular-nums; }
.yacht-page .yacht-gallery .photo-thumbnails { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0; padding: 0 0 8px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #cbd0d2 transparent; }
.yacht-page .yacht-gallery .photo-thumbnails button { flex: 0 0 clamp(120px,14.4vw,192px); position: relative; padding: 0; border: 0; outline: 0; background: #eef0f1; min-height: 0; aspect-ratio: 12 / 5; box-shadow: none; }
.yacht-page .yacht-gallery .photo-thumbnails button[aria-pressed=true] { border: 0; box-shadow: none; }
.yacht-page .yacht-gallery .photo-thumbnails button:focus-visible { outline: 2px solid #899295; outline-offset: -2px; }
.yacht-page .yacht-gallery .photo-thumbnails img { display: block; width: 100%; height: 100%; aspect-ratio: 12 / 5; object-fit: cover; opacity: .5; }
.yacht-page .yacht-gallery .photo-thumbnails button[aria-pressed=true] img { opacity: 1; }
@media(hover:hover) and (pointer:fine) { .yacht-page .yacht-gallery .photo-thumbnails button:hover img { opacity: 1; } }
.yacht-page .yacht-gallery .gallery-footnote { margin: 10px 0 0; color: #798187; font-size: 11px; letter-spacing: .04em; }
.yacht-spread .yacht-sheet { display: grid; grid-template-columns: 1fr 1.15fr; gap: 36px 64px; margin-top: 40px; padding: clamp(24px,4vw,54px); background: #f3f4f4; border: 1px solid #eceeef; }
.yacht-spread .sheet-category { max-width: none; margin: 0 0 12px; font-size: clamp(23px,2.2vw,32px); line-height: 1.2; letter-spacing: -.035em; }
.yacht-spread .sheet-model { margin: 0 0 24px; font-size: 14px; color: #657078; }
.yacht-spread .sheet-description { margin: 0; font-size: 17px; line-height: 1.9; color: #48545c; }
.yacht-spread .key-facts { margin: 0 0 24px; background: transparent; color: var(--navy); }
.yacht-spread .key-facts > div { padding: 0 20px; border-right: 1px solid #dce0e2; }
.yacht-spread .key-facts > div:first-child { padding-left: 0; }
.yacht-spread .key-facts > div:last-child { border: 0; padding-right: 0; }
.yacht-spread .key-facts strong { font-size: 30px; font-weight: 500; }
.yacht-spread .key-facts strong.word { font-size: 25px; }
.yacht-spread .key-facts small { font-size: 12px; letter-spacing: 0; }
.yacht-spread .key-facts span { color: #737d84; font-size: 12px; line-height: 1.5; margin-top: 8px; }
.yacht-spread .spec-table { margin: 0; width: 100%; font-size: 14px; }
.yacht-spread .spec-table th, .yacht-spread .spec-table td { padding: 13px 0; border-color: #dfe3e5; font-size: 14px; line-height: 1.7; }
.yacht-spread .spec-table th { width: 28%; padding-right: 20px; color: #737d84; font-weight: 400; }
.yacht-spread .spec-table td { color: #35434d; }
.yacht-spread .sheet-enquiry { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 28px; }
.yacht-spread .sheet-enquiry .button { width: auto; min-width: 240px; font-family: 'Red Rose',sans-serif; font-size: 12px; letter-spacing: .04em; }
.yacht-spread .sheet-note { margin: 0; text-align: left; color: #737d84; font-size: 14px; }
@media(max-width: 900px) {
 .yacht-spread .yacht-sheet { gap: 30px; grid-template-columns: 1fr; }
 .yacht-spread .sheet-description { max-width: 65ch; }
}
@media(max-width: 600px) {
 .yacht-intro { padding-top: 24px; }
 .yacht-page .yacht-gallery .gallery-arrows { right: 10px; bottom: 10px; gap: 6px; }
 .yacht-page .yacht-gallery .gallery-arrows button { width: 44px; height: 44px; }
 .yacht-page .yacht-gallery .gallery-enlarge-icon { width: 30px; height: 30px; }
 .yacht-page .yacht-gallery .gallery-enlarge-icon { right: 10px; top: 10px; }
 .yacht-page .yacht-gallery .yacht-main > figcaption { align-items: flex-start; font-size: 11px; gap: 8px; padding: 12px 0; }
 .yacht-page .yacht-gallery .yacht-main > figcaption > span:first-child { font-size: 10px; letter-spacing: .06em; }
 .yacht-page .yacht-gallery .yacht-main > figcaption > span:last-child { text-align: right; }
 .yacht-page .yacht-gallery .gallery-count { display: block; margin-left: 0; }
 .yacht-page .yacht-gallery .photo-thumbnails { gap: 8px; }
 .yacht-page .yacht-gallery .photo-thumbnails button { flex-basis: 102.4px; }
 .yacht-page .yacht-gallery .gallery-footnote { font-size: 9px; }
 .yacht-spread .yacht-sheet { margin-top: 28px; padding: 24px 20px; gap: 28px; }
 .yacht-spread .sheet-description { font-size: 15px; }
 .yacht-spread .key-facts > div { padding: 0 10px; }
 .yacht-spread .key-facts strong { font-size: 27px; }
 .yacht-spread .key-facts strong.word { font-size: 21px; }
 .yacht-spread .key-facts span { font-size: 11px; }
 .yacht-spread .spec-table th, .yacht-spread .spec-table td { font-size: 13px; }
 .yacht-spread .sheet-enquiry { flex-direction: column; align-items: stretch; gap: 14px; margin-top: 24px; }
 .yacht-spread .sheet-enquiry .button { min-width: 0; width: 100%; }
 .yacht-spread .sheet-note { font-size: 12px; }
}


/* A fixed gallery stage prevents portrait photos from changing page height. */
.yacht-page .yacht-gallery .gallery-open{box-sizing:border-box;aspect-ratio:12/5;max-height:553.333px;border:1px solid #dce0e2;padding:6px;background:#fff;overflow:hidden}
.yacht-page .yacht-gallery .gallery-open>img{display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:contain;object-position:center;background:#fff}
.yacht-page .yacht-gallery .gallery-open>img.gallery-portrait{object-fit:contain}
@media(max-width:1024px){.yacht-page .yacht-gallery .gallery-open{aspect-ratio:1/1;max-height:none}}
.yacht-page .thumbnail-carousel{--thumbnail-size:100px;--thumbnail-gap:12px;display:flex;align-items:center;justify-content:center;gap:12px;min-width:0}
.yacht-page .yacht-gallery .photo-thumbnails{position:relative;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:var(--thumbnail-gap);width:calc(var(--thumbnail-count) * (var(--thumbnail-size) + var(--thumbnail-gap)) - var(--thumbnail-gap));min-width:0;max-width:100%;margin:0;padding:4px 0;overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain}
.yacht-page .yacht-gallery .photo-thumbnails::-webkit-scrollbar{display:none}
.yacht-page .yacht-gallery .photo-thumbnails>button{flex:0 0 var(--thumbnail-size);height:var(--thumbnail-size);padding:0;border:0;aspect-ratio:1;background:#fff;min-height:44px;opacity:1}
.yacht-page .thumbnail-arrow{flex:0 0 44px;height:44px;display:grid;place-items:center;padding:0;border:1px solid #dce0e2;background:#fff;color:var(--navy);cursor:pointer}
.yacht-page .thumbnail-arrow-prev .icon{transform:rotate(180deg)}
@media(hover:hover) and (pointer:fine){.yacht-page .thumbnail-arrow:hover{background:#f3f4f4}}
.yacht-page .thumbnail-arrow:focus-visible{outline:2px solid var(--navy);outline-offset:3px}
.yacht-page .yacht-gallery .photo-thumbnails img{display:block;width:100%;height:100%;aspect-ratio:1;object-fit:cover;background:#fff;opacity:1}
.yacht-page .yacht-gallery .photo-thumbnails>button[aria-pressed=true]{outline:3px solid #dce0e2;outline-offset:-3px}
.yacht-page .yacht-gallery .photo-thumbnails img.gallery-portrait{object-fit:cover}
.yacht-page .lightbox-figure>img{background:#fff}
@media(max-width:600px){.yacht-page .thumbnail-carousel{--thumbnail-size:72px;--thumbnail-gap:8px;gap:8px}}
