/* Navy, editorial photography and concise location details across page families. */
.discovery-panels,.discovery-panel-title{white-space:normal}
.cat-showcase .cat-opening-photo>span.photo-location-label{bottom:auto;top:18px;left:auto;right:18px;height:auto;min-height:0;max-width:70%;width:fit-content;display:inline-flex;flex-direction:row;align-items:center;padding:6px 9px;font-size:11px}
.inbound-page{--ib-blue:var(--th-navy);--ib-ink:var(--th-navy)}
.inbound-opening-art,.inbound-partner-banner,.inbound-dmc-art{background:var(--th-navy)}
.inbound-opening .eyebrow,.inbound-opening .inbound-lead{color:#e0e7f2}
.inbound-opening h1{font-size:clamp(42px,4.2vw,64px)}
.inbound-purpose-symbol{background:var(--th-navy)}
.inbound-page input:focus-visible,.inbound-page select:focus-visible,.inbound-page textarea:focus-visible{outline-color:var(--th-accent)}
.photo-location-label,.place-story-photo figcaption,.visual-discovery-grid figcaption,.structure-hero figcaption{background:linear-gradient(transparent,#172d5099);padding:28px 16px 12px;left:0;right:0;bottom:0;font-size:11px;line-height:1.4;font-weight:500;letter-spacing:.1px;text-shadow:0 1px 3px #0009;pointer-events:none;justify-content:flex-start}
.photo-location-label svg,.place-story-photo figcaption svg,.visual-discovery-grid figcaption svg{width:13px;height:13px;flex:none}
/* Country-library thumbnails keep location and attribution on separate lines. */
.flow-region-grid .located-photo:has(>.photo-source-credit)>.photo-location-label{padding-bottom:30px}
#app .flow-region-grid .located-photo>.photo-source-credit{bottom:8px;right:12px;max-width:calc(100% - 24px)}
.cat-opening-photo>.photo-location-label{top:18px;bottom:auto;left:auto;right:18px;max-width:70%;padding:6px 9px;background:#172d5066;display:flex;flex-direction:row;align-items:center;gap:6px;font-size:11px}
.inbound-opening-art{display:grid;grid-template-rows:minmax(0,1fr) auto;padding:0}
.inbound-opening-art .inbound-hero-photo{height:100%;min-height:0;max-height:none;width:100%;object-fit:cover}
.inbound-opening-art>.photo-location-label{bottom:39px;padding:28px 22px 14px}
.inbound-opening-art>.photo-credit-link{position:static;display:block;padding:9px 22px;color:#dce5f1;background:var(--th-navy);font-size:10px;line-height:21px;text-align:right;text-decoration:underline;text-underline-offset:3px;z-index:auto}
.recovery-notice.is-restored{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 20px;margin-bottom:18px;max-width:1120px;border-left:0;background:#edf2f6;font-size:13px}
.recovery-notice.is-restored p{margin:0}.recovery-notice.is-restored .text-link{font-size:12px;min-height:32px}.recovery-kept>span{color:var(--th-accent)}
.th-place-pin{width:34px;height:34px;background:var(--th-navy);color:#fff;border:3px solid #fff;font-size:15px;font-weight:700;box-shadow:0 2px 8px #172d5070;outline:1px solid #172d5040}
.th-place-pin.is-selected{background:var(--th-accent);outline:3px solid #354b9155;transform:scale(1.12)}
button.th-place-pin{padding:0;cursor:pointer}
button.th-place-pin:focus-visible{outline:3px solid #b9823f;outline-offset:3px}
.th-map-pin{color:var(--th-navy);border-color:var(--th-navy);padding:5px 12px 5px 5px;gap:8px;box-shadow:0 3px 12px #172d5040}.th-map-pin b{width:29px;height:29px;background:var(--th-navy);font-size:13px}.th-map-pin.is-current{background:var(--th-navy)}.th-map-pin.is-current b{color:var(--th-navy)}
.journey-nav [data-jump] small,.destination-base-grid .eyebrow>svg{color:var(--th-accent)}
.discovery-panels{display:flex;align-items:stretch;gap:5px;padding:20px 6% 0;margin:0;background:transparent;border:0;max-width:100%;min-width:0}
.discovery-panel{position:relative;isolation:isolate;flex:1 1 0;min-width:0;height:280px;color:white;background:var(--th-navy);overflow:hidden;transition:flex .45s ease}
.discovery-panel[open]{flex:2.5 1 0}.discovery-panel summary{list-style:none;height:100%;cursor:pointer;position:relative}.discovery-panel summary::-webkit-details-marker{display:none}.discovery-panel summary>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .6s ease}.discovery-panel summary::after{content:'';position:absolute;inset:0;background:linear-gradient(#172d5033 10%,#172d5055 35%,#172d50e6)}
.discovery-panel:hover summary>img{transform:scale(1.04)}.discovery-panel-title{position:absolute;inset:24px 22px auto;z-index:1;display:grid;gap:8px}.discovery-panel-title small{font-size:10px;letter-spacing:2px}.discovery-panel-title strong{font-size:clamp(20px,2vw,31px);font-weight:400;line-height:1.15;overflow-wrap:normal}.discovery-panel-title>.icon{width:19px;height:19px;position:absolute;right:0;top:0}.discovery-panel[open] .discovery-panel-title>.icon{transform:rotate(45deg)}
.discovery-panel-copy{position:absolute;z-index:2;left:22px;right:22px;bottom:46px;pointer-events:none}.discovery-panel-copy p{color:white;font-size:14px;line-height:1.65;max-width:36ch;margin:0 0 14px}.discovery-panel-link{pointer-events:auto;color:white!important;text-decoration:none!important;display:inline-flex;align-items:center;gap:22px;font-size:12px;padding:5px 0;border-bottom:1px solid #ffffff77}.discovery-panel-link .icon{width:17px;height:17px}.discovery-panel-location{position:absolute;z-index:2;bottom:15px;left:22px;right:16px;font-size:10px;color:#e9eff8;display:flex;align-items:center;gap:6px;pointer-events:none;white-space:normal}.discovery-panel-location .icon{width:11px;height:11px;flex:none}
.discovery-panel summary:focus-visible{outline:3px solid white;outline-offset:-5px}.discovery-panel-link:focus-visible{outline:2px solid white;outline-offset:4px}
.offers-index>.structure-title{padding:32px 7% 24px}.offers-index>.structure-title h1{font-size:clamp(36px,3.5vw,56px);margin:12px 0 18px;max-width:20ch}.offers-index>.structure-title>p:last-child{max-width:62ch}.offers-index .priced-package-feature{background:#fffefb;padding-block:32px}.offers-index .priced-package-feature:nth-of-type(even){background:#edf2f6}
.dmc-destinations>h2{margin:15px 0 20px}.dmc-destinations>p:not(.eyebrow){max-width:70ch;margin:0 0 30px}.dmc-country-cards{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:start}.dmc-country-card{border-bottom:1px solid #cbd5df;background:#edf2f6}.dmc-country-card summary{cursor:pointer;list-style:none;position:relative}.dmc-country-card summary::-webkit-details-marker{display:none}.dmc-country-card figure{position:relative;margin:0;overflow:hidden}.dmc-country-card img{width:100%;aspect-ratio:1.7;object-fit:cover;display:block;transition:transform .6s ease}.dmc-country-card summary:hover img{transform:scale(1.035)}.dmc-country-card figcaption{position:absolute;left:0;right:0;bottom:0;padding:24px 18px 12px;background:linear-gradient(transparent,#172d5099);color:white;font-size:11px;display:flex;gap:6px;align-items:center;pointer-events:none}.dmc-country-card figcaption .icon{width:13px;height:13px}.dmc-country-card summary>span{display:grid;grid-template-columns:1fr auto;gap:7px;padding:20px 24px}.dmc-country-card summary small{grid-column:1/-1;font-size:10px;letter-spacing:2px;color:var(--th-accent)}.dmc-country-card summary strong{font-size:30px;font-weight:400;color:var(--th-navy)}.dmc-country-card summary>span>.icon{width:22px;height:22px;align-self:center;color:var(--th-navy)}.dmc-country-card[open] summary>span>.icon{transform:rotate(45deg)}.dmc-country-copy{padding:0 24px 20px}.dmc-country-copy>p{font-size:15px}.dmc-country-services{display:grid;gap:0}.dmc-country-services>a{display:grid;grid-template-columns:20px 1fr 17px;align-items:center;gap:12px;padding:16px 0;border-top:1px solid #bac7d8;font-size:14px;color:var(--th-navy)}.dmc-country-services .icon{width:19px;height:19px}.dmc-country-scope{font-size:12px!important;line-height:1.9!important;margin:18px 0 0!important}.dmc-destinations .dmc-leisure-links{font-size:13px;margin:25px 0 0}.dmc-leisure-links a{text-decoration:underline;text-underline-offset:4px}.dmc-country-card summary:focus-visible{outline:3px solid var(--th-accent);outline-offset:3px}
@media(min-width:2100px){.discovery-panels{padding-inline:12%}}
@media(max-width:1050px){.discovery-panels{gap:4px}.discovery-panel{height:260px}.discovery-panel[open]{flex:2.8}.discovery-panel-title{inset:18px 14px auto}.discovery-panel-title strong{font-size:20px}.discovery-panel-copy{left:14px;right:14px}.discovery-panel-copy p{font-size:12px}.discovery-panel-location{left:14px;font-size:9px}}
@media(max-width:700px){.discovery-panels{display:grid;grid-template-columns:1fr 1fr;padding:18px 6% 0;gap:6px}.discovery-panel,.discovery-panel[open]{height:180px}.discovery-panel[open]{grid-column:1/-1;height:255px}.discovery-panel-title strong{font-size:23px}.discovery-panel[open] .discovery-panel-title strong{font-size:28px}.discovery-panel-copy{bottom:47px}.discovery-panel-copy p{font-size:14px}.discovery-panel-location{font-size:10px}.dmc-country-cards{grid-template-columns:1fr;gap:24px}.recovery-notice.is-restored{margin-inline:20px;gap:12px;flex-wrap:wrap}.inbound-opening-art>.photo-location-label{padding-left:6%}.offers-index>.structure-title{padding-top:28px}.cat-opening-photo>.photo-location-label{font-size:10px;top:12px;right:12px}.inbound-opening-art .inbound-hero-photo{height:330px}}
@media(prefers-reduced-motion:reduce){.discovery-panel,.discovery-panel summary>img,.dmc-country-card img{transition:none}}
@media(max-width:700px){.discovery-panels{grid-template-columns:repeat(3,minmax(0,1fr))}.discovery-panel{grid-row:2;height:105px}.discovery-panel[open]{grid-row:1;grid-column:1/-1;height:225px}.discovery-panel-title{inset:13px 10px auto}.discovery-panel:not([open]) .discovery-panel-title small,.discovery-panel:not([open]) .discovery-panel-title>.icon{display:none}.discovery-panel:not([open]) .discovery-panel-title strong{font-size:15px;line-height:1.2}.discovery-panel:not([open]) .discovery-panel-location{left:10px;right:7px;bottom:9px;font-size:8px;line-height:1.4}.discovery-panel:not([open]) .discovery-panel-location .icon{display:none}.discovery-panel[open] .discovery-panel-title{inset:18px 14px auto}.discovery-panel[open] .discovery-panel-title strong{font-size:27px}}
@media(max-width:700px){.discovery-panel[open]{height:auto;min-height:245px}.discovery-panel[open] summary{position:static;height:auto;min-height:78px;padding:18px 14px 12px}.discovery-panel[open] .discovery-panel-title{position:relative;inset:auto}.discovery-panel[open] .discovery-panel-copy{position:relative;left:auto;right:auto;bottom:auto;margin:0 14px 47px}.discovery-panel[open] .discovery-panel-copy p{max-width:none}.discovery-panel[open] .discovery-panel-location{bottom:15px}}
@media(max-width:700px){.discovery-panel:not([open]) .discovery-panel-title strong{font-size:clamp(11px,3.5vw,15px);min-width:0;overflow-wrap:anywhere}}
@media(max-width:700px){.discovery-panels:not(:has(.discovery-panel[open])){grid-template-columns:repeat(2,minmax(0,1fr))}.discovery-panels:not(:has(.discovery-panel[open])) .discovery-panel{grid-row:auto;height:148px}}
/* City captions and required credits occupy separate natural-height rows. */
#app .place-story-photo>figcaption{display:flex;flex-direction:column;align-items:stretch;gap:5px}
#app .place-story-photo .place-photo-location{display:flex;align-items:center;gap:8px;min-width:0}
#app .place-story-photo>figcaption>.photo-source-credit{position:static;display:block;max-width:100%;text-align:right;white-space:normal;overflow-wrap:anywhere}

/* Use a true panorama only where the approved source cannot fit an ultra-wide hero. */
#app .structure-hero>.structure-photo-wide{display:none}
@media(min-width:2200px){#app .structure-hero>.structure-photo-standard{display:none}#app .structure-hero>.structure-photo-wide{display:block}}

/* Keep long bilingual opening captions clear of their source credit. */
#app .structure-hero>figure>figcaption{flex-wrap:wrap;align-items:flex-end;gap:5px 12px}
#app .structure-photo-location{display:flex;align-items:center;gap:8px;min-width:0}
#app .discovery-map-stops button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
#app .discovery-map-stops button>.icon{flex:0 0 20px}
#app .structure-hero>figure>figcaption>.photo-source-credit{position:static;display:block;margin-left:auto;max-width:100%;text-align:right;white-space:normal;overflow-wrap:anywhere}
@media(max-width:780px){#app .structure-hero>figure>figcaption{flex-direction:column;align-items:stretch}}

/* Destination half-width panorama: preserve Giza tips without changing package crops. */
@media(min-width:2200px){#app .structure-hero>figure>img[src*="photo-egypt"]{object-position:50% 0!important}#app .structure-hero>figure>img[src*="photo-india"]{object-position:50% 30%!important}}

#app .destination-base-grid .place-story-photo{aspect-ratio:3/2}
@media(min-width:2200px){#app .structure-hero>figure>img[src*="photo-sri-lanka"]{object-position:50% 27%!important}}
@media(min-width:2200px){#app .structure-hero>figure>img[src*="photo-andalusia"]{object-position:50% 12%!important}}
@media(max-width:600px){html:lang(el) #app .structure-hero h1{hyphens:auto;hyphenate-limit-chars:14 6 4;overflow-wrap:break-word}}
@media(min-width:2200px){#app .structure-hero>figure>img[src*="photo-dubai-abu-dhabi"]{object-position:50% 0!important}}

/* Destination wide crop: preserve Essaouira skyline and visitors. */
@media(min-width:2200px){#app .structure-hero>figure>img[src*="photo-marrakech-essaouira"]{object-position:50% 20%!important}}

/* Cairns source has a thin scan border. Crop only the source edge inside its existing frame. */
#app figure:has(>img[src*="photo-journey-cairns-1"]){overflow:hidden}
#app figure>img[src*="photo-journey-cairns-1"]{transform:scale(1.035)}

/* Wide Vancouver destination panorama keeps the skyline above the stadium. */
@media(min-width:2200px){#app .structure-hero>figure>img[src*="photo-pacific-canada"]{object-position:50% 25%!important}}

/* Preserve Parliament spire in the shallow wide destination opening. */
@media(min-width:2200px){#app .structure-hero>figure>img[src*="photo-budapest-danube"]{object-position:50% 32%!important}}

/* Destination promo cards use the same on-photo caption as Discover. */
#app .priced-package-feature>figure{position:relative;overflow:hidden}
#app .priced-package-feature>figure>figcaption{position:absolute;left:0;right:0;bottom:0;margin:0;padding:36px 16px 16px;background:linear-gradient(transparent,#102541d9);color:#fff;display:flex;align-items:center;gap:8px;font-size:11px}

/* Keep Prague cathedral spires inside the wide destination crop. */
@media(min-width:2200px){#app .structure-hero>figure>img[src*="photo-prague-stories"]{object-position:50% 34%!important}}

/* Keep Krakow town-hall tower complete in the wide destination opening. */
@media(min-width:2200px){#app .structure-hero>figure>img[src*="photo-krakow-layers"]{object-position:50% 18%!important}}

/* Keep the Lapland horizon visible in the shallow wide destination header. */
@media(min-width:2200px){#app .structure-hero>figure>img[src*="photo-lapland-winter"]{object-position:50% 30%!important}}

/* Preserve the Kuala Lumpur skyline spires in the wide destination opening. */
@media (min-width:2200px){#app .structure-hero>figure>img[src*='photo-malaysia-skyline']{object-position:50% 20%!important}}

@media (max-width:2199px){#app .structure-hero>figure>img[src*='photo-malaysia-skyline']{object-position:0% 55%!important}}

/* Keep the Supertree crown within the shallow wide opening. */
@media (min-width:2200px){#app .structure-hero>figure>img[src*='photo-singapore-garden-city']{object-position:50% 15%!important}}

/* Preserve Himalayan peaks in the wide Nepal destination header. */
@media (min-width:2200px){#app .structure-hero>figure>img[src*='photo-nepal-valley-lakes']{object-position:50% 10%!important}}

/* Wide Namibia destination: keep the upper tree silhouette inside the shallow frame. */
@media(min-width:2200px){#app .structure-hero>figure>img[src*='photo-journey-sesriem-3']{object-position:50% 37%!important}}
/* Keep Tikal's temple roof visible in the shallow wide destination opening. */
@media(min-width:2200px){#app .structure-hero>figure>img[src*='photo-journey-tikal-2']{object-position:50% 15%!important}}
/* Keep the Tiger's Nest roofline inside the shallow wide destination opening. */
@media(min-width:2200px){#app .structure-hero>figure>img[src*='photo-journey-tigers-0']{object-position:50% 24%!important}}
/* Keep Angkor's temples and reflection, rather than only sky, in the wide opening. */
@media(min-width:2200px){#app .structure-hero>figure>img[src*='photo-journey-angkor-2']{object-position:50% 78%!important}}
/* Japan journey: preserve the pagoda spire in the approved desktop opening. */
@media(min-width:781px) and (max-width:1600px){#app .japan-opening-image{object-position:50% 30%}}
/* Long destination names must fit beside the country thumbnail on narrow screens. */
@media(max-width:600px){
  .flow-region-grid>a>div{min-width:0}
  .flow-region-grid>a h2,.flow-region-grid .photo-location-label{hyphens:auto;overflow-wrap:anywhere}
  /* At thumbnail size the two captions belong beneath the picture. */
  #app .flow-region-grid>a>.located-photo{display:grid;align-self:start;gap:3px;height:auto;aspect-ratio:auto;overflow:visible}
  #app .flow-region-grid>a>.located-photo>img{position:static!important;height:auto!important;aspect-ratio:1.6;object-fit:cover}
  #app .flow-region-grid>a>.located-photo>:is(.photo-location-label,.photo-source-credit){position:static;inset:auto;display:block;max-width:100%;padding:0;background:none;color:var(--muted,#495c70);text-shadow:none;text-align:start;white-space:normal;overflow-wrap:anywhere}
  #app .flow-region-grid>a>.located-photo>.photo-location-label svg{display:none}
}
@media(min-width:781px){.inbound-idea-opening .inbound-opening-art{position:relative;min-height:0}.inbound-idea-opening .inbound-opening-art>.inbound-hero-photo{position:absolute;inset:0;height:100%;width:100%;object-fit:cover}.inbound-opening.inbound-idea-opening{min-height:clamp(440px,35vw,550px)}}
.inbound-idea-opening .idea-photo-source{position:absolute;z-index:3;right:.6rem;bottom:.4rem;color:white;background:#142a43d9;padding:.1rem .35rem;font-size:.75rem}.inbound-idea-opening .inbound-opening-art:has(.idea-photo-source) .photo-source-credit{display:none}

/* At the journey opening ratio, keep the village and lake together. */
@media(min-width:2200px){.japan-opening .japan-opening-image[src*="photo-switzerland-wide-brienz"]{object-position:50% 55%!important}}
/* Shallow journey openings: preserve the subject, not the empty sky in the source. */
@media(min-width:2200px){
#app .japan-opening-image[src*="photo-greece."]{object-position:50% 20%!important}
#app .japan-opening-image[src*="photo-sri-lanka."]{object-position:50% 25%!important}
#app .japan-opening-image[src*="photo-approved-park-hyatt-tokyo."]{object-position:50% 23%!important}
#app .japan-opening-image[src*="photo-journey-angkor-2."]{object-position:50% 65%!important}
#app .japan-opening-image[src*="photo-journey-uluru-0."]{object-position:50% 66%!important}
#app .japan-opening-image[src*="photo-egypt."]{object-position:50% 18%!important}
#app .japan-opening-image[src*="photo-india."]{object-position:50% 27%!important}
#app .japan-opening-image[src*="photo-finalisation-pantanal."]{object-position:50% 35%!important}
#app .japan-opening-image[src*="photo-approved-icehotel-jukkasjarvi."]{object-position:50% 62%!important}
}
/* The bottom corners of this slideshow are reserved for navigation. */
#app .cat-opening-photo > .photo-source-credit{inset:8px 10px auto auto;max-width:calc(100% - 20px);padding:2px 5px;background:#142a43d9;color:white}
