/* Option A: preserved brand, scoped detail hero and public navigation. */
.tour-detail-hero:has(tour-photo-collage:not([hidden])){display:flex;flex-direction:column;align-items:stretch;height:auto;min-height:0!important;background:#f6f1e7;overflow:visible;padding:32px max(24px,calc((100% - 1280px)/2)) 0}
.tour-detail-hero:has(tour-photo-collage:not([hidden])) .tour-detail-hero-overlay{display:none}
.tour-detail-hero:has(tour-photo-collage:not([hidden])) .tour-detail-hero-content{order:0;color:#173c2a;padding:0 0 24px}
.tour-detail-hero:has(tour-photo-collage:not([hidden])) .tour-detail-back{color:#254633;background:#fffdf8;border-color:#d6d0c3;margin-bottom:18px}
.tour-detail-hero:has(tour-photo-collage:not([hidden])) .tour-detail-hero-meta{color:#254633}
.tour-detail-hero:has(tour-photo-collage:not([hidden])) .tour-detail-hero-meta .meta-item{color:#254633}
.tour-detail-hero:has(tour-photo-collage:not([hidden])) h1{color:#173c2a;text-shadow:none}
.tour-detail-hero:has(tour-photo-collage:not([hidden])) .tour-detail-hero-badges>*{color:#254633;background:#fffdf8;border:1px solid #d6d0c3}
tour-photo-collage{display:block;order:1;min-width:0;color:#20352b}
tour-photo-collage[hidden]{display:none}
.tour-collage-grid{display:grid;gap:7px;grid-template-columns:repeat(12,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr));height:438px;border-radius:15px;overflow:hidden;background:#e9e2d4}
.tour-collage-frame{position:relative;overflow:hidden;min-width:0;min-height:0;padding:0;border:0;border-radius:0;background:#e9e2d4;cursor:pointer}
.tour-collage-frame:nth-child(1){grid-area:1/1/5/7}.tour-collage-frame:nth-child(2){grid-area:1/7/3/11}.tour-collage-frame:nth-child(3){grid-area:1/11/3/13}.tour-collage-frame:nth-child(4){grid-area:3/7/5/9}.tour-collage-frame:nth-child(5){grid-area:3/9/4/11}.tour-collage-frame:nth-child(6){grid-area:3/11/4/13}.tour-collage-frame:nth-child(7){grid-area:4/9/5/11}.tour-collage-frame:nth-child(8){grid-area:4/11/5/13}
.tour-collage-grid[data-frames="1"]>button{grid-area:1/1/5/13}
.tour-collage-grid[data-frames="2"]>button:nth-child(1){grid-area:1/1/5/9}.tour-collage-grid[data-frames="2"]>button:nth-child(2){grid-area:1/9/5/13}
.tour-collage-grid[data-frames="3"]>button:nth-child(2){grid-area:1/7/3/13}.tour-collage-grid[data-frames="3"]>button:nth-child(3){grid-area:3/7/5/13}
.tour-collage-grid[data-frames="4"]>button:nth-child(2){grid-area:1/7/3/13}.tour-collage-grid[data-frames="4"]>button:nth-child(3){grid-area:3/7/5/10}.tour-collage-grid[data-frames="4"]>button:nth-child(4){grid-area:3/10/5/13}
.tour-collage-grid[data-frames="5"]>button:nth-child(4){grid-area:3/7/5/10}.tour-collage-grid[data-frames="5"]>button:nth-child(5){grid-area:3/10/5/13}
.tour-collage-grid[data-frames="6"]>button:nth-child(5){grid-area:3/9/5/11}.tour-collage-grid[data-frames="6"]>button:nth-child(6){grid-area:3/11/5/13}
.tour-collage-grid[data-frames="7"]>button:nth-child(6){grid-area:3/11/5/13}
.tour-collage-grid img{display:block;width:100%;height:100%;object-fit:cover}.tour-collage-incoming{position:absolute;inset:0}
.tour-collage-unavailable{position:absolute;inset:0;display:grid;place-items:center;font:14px/1.4 system-ui;color:#405345;padding:10px}
.tour-collage-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:16px 0 22px;border-bottom:1px solid #dfd8c9}
.tour-collage-controls button,.tour-collage-viewer button{font:inherit;font-size:13px;min-height:44px;min-width:44px;padding:10px 14px;border:1px solid #bdb6a7;border-radius:7px;background:#fffdf8;color:#203e2c;cursor:pointer}
.tour-collage-controls button:disabled{cursor:default;opacity:.65}.tour-collage-note{font:12px/1.5 system-ui;color:#586858;margin-left:auto}
tour-photo-collage button:focus-visible{outline:3px solid #a97617;outline-offset:3px}.tour-collage-frame:focus-visible{outline-offset:-5px;z-index:1}
.tour-collage-viewer{box-sizing:border-box;width:min(1100px,94vw);max-height:94dvh;padding:18px;border:1px solid #d6d0c3;border-radius:14px;background:#fffdf8;color:#20352b}.tour-collage-viewer::backdrop{background:#10291fe6}
.tour-collage-viewer-image{position:relative;margin-top:12px;height:min(65dvh,700px);background:#e9e2d4}.tour-collage-viewer-image img{display:block;width:100%;height:100%;object-fit:contain}
.tour-collage-viewer-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px}.tour-collage-viewer-navigation p{font:14px/1.5 system-ui;text-align:center}body:has(.tour-collage-viewer[open]){overflow:hidden}
.navbar .logo-image{height:68px;max-width:260px;width:auto}
@media(max-width:1100px){.navbar .logo-image{height:54px;max-width:230px}}
@media(max-width:700px){.tour-detail-hero:has(tour-photo-collage:not([hidden])){padding:24px 18px 0}.tour-detail-hero:has(tour-photo-collage:not([hidden])) .tour-detail-hero-content{padding-bottom:18px}.tour-collage-grid{height:230px;display:block;border-radius:11px;overflow:hidden}.tour-collage-frame{width:100%;height:100%;display:block}.tour-collage-controls{gap:6px;padding:12px 0 18px}.tour-collage-controls button{font-size:12px;padding:8px 10px}.tour-collage-note{width:100%;margin:0;font-size:11px}.tour-collage-viewer{padding:12px}.tour-collage-viewer-navigation{gap:6px}.tour-collage-viewer-navigation p{font-size:12px}.tour-collage-viewer button{font-size:12px;padding:8px}.navbar .logo-image{height:52px;max-width:200px}}
