/* Show complete artwork and preserve source pixels instead of cropping poster text. */
body.public-site .enriched-tour-card .travel-image{background:#f4f5f5}
body.public-site .enriched-tour-card .travel-image>img{width:100%;height:auto;aspect-ratio:3/2;object-fit:scale-down;object-position:center;image-rendering:auto}
body.public-site .image-safe-gallery{height:auto;min-height:0;align-items:start;background:#f4f5f5;overflow:hidden;border-radius:18px;margin-bottom:28px}
body.public-site .image-safe-gallery>img.detail-cover{width:100%;height:auto;aspect-ratio:3/2;object-fit:scale-down;object-position:center;background:#f4f5f5;min-width:0}
body.public-site .image-safe-gallery .detail-thumbnails{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:470px;overflow-y:auto;align-content:start}
body.public-site .image-safe-gallery .detail-thumbnails img{width:100%;height:auto;aspect-ratio:3/2;object-fit:scale-down;object-position:center;background:#eef0ef;border-radius:8px}
body.public-site [data-image-view]{cursor:zoom-in}
body.home-page .tour-hero-background{object-position:50% 0%}
body.home-page .index-six-reference .card-popular.card-top-destination .card-image img[src="/assets/uploads/9b41c49948eefa06564e0869f9ac8bb473bcecbb.jpg"]{object-position:80% 50%}
body.home-page .index-six-reference .card-popular.card-top-destination .card-image img{image-rendering:auto}
body.public-site .image-viewer{width:fit-content;max-width:94vw;max-height:94dvh;border:0;border-radius:14px;background:#142019;color:#fff;padding:55px 18px 18px;box-shadow:0 20px 80px #0008;overflow:auto}
body.public-site .image-viewer::backdrop{background:#08130fe8}
body.public-site .image-viewer .image-viewer-photo{display:block;width:auto;height:auto;max-width:min(88vw,1600px);max-height:73dvh;object-fit:scale-down;margin:auto;background:#142019;border-radius:5px}
body.public-site .image-viewer .image-viewer-close{position:absolute;top:10px;inset-inline-end:12px;min-height:34px;height:34px;width:34px;border:1px solid #ffffff66;border-radius:50%;padding:0;background:#ffffff18;color:white;font-size:19px;line-height:1}
body.public-site .image-viewer-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:15px;flex-wrap:wrap}
body.public-site .image-viewer-caption{font-size:12px;color:#d9e4dc;margin:0;flex:1 1 200px;overflow-wrap:anywhere}
body.public-site .image-viewer-controls{display:flex;gap:10px;align-items:center}
body.public-site .image-viewer-controls button{min-height:34px;padding:5px 13px;background:#fff;color:#142019;border-radius:7px;border:0;font-size:15px}
body.public-site .image-viewer-original{font-size:12px;color:#e4edc0;text-decoration:underline}
body.home-page .index-six-reference .tour-search-hero .image-hero-preview{position:absolute;top:16px;inset-inline-end:18px;min-height:30px;padding:5px 10px;border:1px solid #ffffff66;background:#182322aa;color:#fff;border-radius:7px;font-size:11px;font-weight:500;z-index:2}
body.public-site [data-image-view]:focus-visible{outline:3px solid #8bab4d;outline-offset:3px}
@media(max-width:768px){body.public-site .image-safe-gallery.has-gallery{display:block}body.public-site .image-safe-gallery .detail-thumbnails{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-height:220px;padding:8px;gap:7px}body.public-site .image-safe-gallery .detail-thumbnails img{aspect-ratio:1/1}body.public-site .image-safe-gallery>img.detail-cover{aspect-ratio:auto;max-height:420px}body.public-site .image-viewer{padding:48px 12px 14px;max-width:96vw}body.public-site .image-viewer .image-viewer-photo{max-width:88vw;max-height:68dvh}body.home-page .tour-hero-background{object-position:65% 0%}body.home-page .index-six-reference .tour-search-hero .image-hero-preview{top:10px;inset-inline-end:12px;font-size:10px;min-height:27px}}
body.public-site .enriched-tour-card .travel-image .listing-discount{position:static;display:inline-flex;margin:9px 12px 0;max-width:calc(100% - 24px)}
body.home-page .index-six-reference .tour-search-hero .image-hero-preview{top:auto;bottom:14px}
@media(max-width:768px){body.home-page .index-six-reference .tour-search-hero .image-hero-preview{top:auto;bottom:10px}}
body.public-site .image-safe-gallery .detail-thumbnails:has(img:only-child){grid-template-columns:1fr}
@media(max-width:768px){body.public-site .image-safe-gallery .detail-thumbnails:has(img:only-child){grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Fit the gallery to its actual photographs rather than a fixed empty side panel. */
body.public-site .adaptive-gallery{display:block!important;background:transparent;overflow:hidden;min-height:0;height:auto}
body.public-site .adaptive-gallery .gallery-feature{display:grid;grid-template-columns:1.5fr 1fr;aspect-ratio:2.5;gap:10px;min-width:0}
body.public-site .adaptive-gallery img{display:block;min-width:0;min-height:0;width:100%;height:100%;aspect-ratio:auto;object-fit:contain;object-position:center;background:transparent;border-radius:10px}
body.public-site .adaptive-gallery .gallery-side{display:flex;flex-direction:column;gap:10px;min-width:0;min-height:0}
body.public-site .adaptive-gallery .gallery-row{display:flex;gap:10px;min-width:0;min-height:0;flex:1 1 0}
body.public-site .adaptive-gallery .gallery-row img{width:0;flex:1 1 0}
body.public-site .adaptive-gallery .gallery-more{margin-top:10px;aspect-ratio:3}
body.public-site .adaptive-gallery>img.detail-cover{height:auto;aspect-ratio:auto;max-height:520px}
body.public-site .adaptive-gallery .gallery-feature.gallery-flat{display:flex;margin-inline:auto}
body.public-site .adaptive-gallery .gallery-feature.gallery-flat .gallery-side,body.public-site .adaptive-gallery .gallery-feature.gallery-flat .gallery-row{display:contents}
body.public-site .adaptive-gallery .gallery-feature.gallery-flat img{width:0;min-width:0}
@media(max-width:768px){body.public-site .adaptive-gallery .gallery-feature{display:block;aspect-ratio:auto!important}body.public-site .adaptive-gallery .gallery-feature>img{height:auto;max-height:480px}body.public-site .adaptive-gallery .gallery-side{margin-top:10px}body.public-site .adaptive-gallery .gallery-side .gallery-row{flex:none!important;aspect-ratio:1.5}body.public-site .adaptive-gallery .gallery-more{flex-wrap:wrap;aspect-ratio:auto!important}body.public-site .adaptive-gallery .gallery-more img{width:calc(50% - 5px);flex:none!important;height:auto;max-height:300px}}
