/* Vista Zanzibar V32.3: CRM-image cinematic service heroes.
   Only photo hero presentation: no booking/cart/price behavior changes.
   Brand lock: Vista Navy / Gold / Ivory. */
body.vista-v3-public .vista-v323-photo-hero {
  --v323-navy: #061b33;
  --v323-gold: #e3b658;
  position: relative !important;
  isolation: isolate;
  overflow: hidden !important;
  color: #fff !important;
  background-color: #072447 !important;
}
body.vista-v3-public .vista-v323-photo-hero > .vista-v323-hero-media {
  position: absolute !important;
  z-index: -2 !important;
  inset: 0;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center 42% !important;
  pointer-events: none;
  opacity: .58;
  filter: saturate(.92) brightness(.82) blur(.6px);
  transform: scale(1.05);
}
body.vista-v3-public .vista-v323-photo-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(104deg, rgba(5,30,58,.78) 0%, rgba(7,39,73,.66) 38%, rgba(8,45,82,.54) 68%, rgba(6,31,58,.48) 100%),
    linear-gradient(180deg, rgba(3,20,40,.22) 0%, rgba(5,31,58,.12) 38%, rgba(4,24,46,.28) 100%);
}
body.vista-v3-public .vista-v323-photo-hero::after {
  content: "";
  z-index: -1;
  position: absolute;
  pointer-events: none;
  inset: 0;
  background: radial-gradient(ellipse at 83% 12%, rgba(227,182,88,.10), transparent 42%),
              radial-gradient(circle at 18% 24%, rgba(31,96,167,.16), transparent 34%),
              linear-gradient(180deg, rgba(255,255,255,.04), transparent 42%, rgba(2,16,31,.08));
}
body.vista-v3-public .vista-v323-photo-hero > :not(.vista-v323-hero-media):not(.v31-detail-overlay) {
  position: relative;
  z-index: 1;
}
/* Tours and experiences: use original CRM featured image as the hero, no duplicated photo strip. */
body.vista-v3-public .v3-tour-hero.vista-v323-photo-hero {
  min-height: clamp(500px, 42vw, 635px) !important;
  display: flex !important;
  align-items: center !important;
  padding: clamp(48px, 6.2vw, 92px) 0 !important;
  background-image: none !important;
}
body.vista-v3-public .v3-tour-hero.vista-v323-photo-hero .container {width: min(calc(100% - 36px), 1220px); margin-inline: auto;}
body.vista-v3-public .v3-tour-hero.vista-v323-photo-hero .v3-tour-hero-grid {align-items:center!important;gap:clamp(24px,5vw,76px)!important;}
body.vista-v3-public .v3-tour-hero.vista-v323-photo-hero :is(h1, h2, h3) {color:#fff!important;text-shadow:0 2px 18px rgba(2,15,29,.16);}
body.vista-v3-public .v3-tour-hero.vista-v323-photo-hero .vista-v321-summary,
body.vista-v3-public .v3-tour-hero.vista-v323-photo-hero .vista-v321-intro > p {color:#f2f3f4!important;line-height:1.68!important;text-shadow:0 1px 3px rgba(5,20,36,.25);max-width:65ch;}
body.vista-v3-public .v3-tour-hero.vista-v323-photo-hero .eyebrow {color:var(--v323-gold)!important;}
body.vista-v3-public .v3-tour-hero.vista-v323-photo-hero .v3-tour-facts-row span {
  color:#fff!important; background:rgba(18,66,114,.24)!important;
  border:1px solid rgba(234,206,147,.4)!important;
  border-radius:999px!important; -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
}
body.vista-v3-public .v3-tour-hero.vista-v323-photo-hero .v3-tour-hero-price {
  background:linear-gradient(140deg,rgba(12,52,94,.62),rgba(6,28,52,.44))!important;
  border:1px solid rgba(239,209,147,.42)!important;
  -webkit-backdrop-filter:blur(24px) saturate(1.05);backdrop-filter:blur(24px) saturate(1.05);
  box-shadow:0 22px 58px rgba(0,12,26,.31),inset 0 1px 0 rgba(255,255,255,.12)!important;
}
body.vista-v3-public .v3-tour-hero.vista-v323-photo-hero .v3-tour-hero-price :is(.vista-v321-quoted-price,.vista-v321-quote-unavailable) {color:#fff!important;}
body.vista-v3-public .v3-tour-hero.vista-v323-photo-hero .v3-tour-hero-price :is(.vista-v321-price-eyebrow,.vista-v321-starting-rate strong) {color:#f0c979!important;}
/* Standard hotel: new hero takes the existing featured image; gallery becomes a separate section below. */
body.vista-v3-public .vista-v323-hotel-hero {
  padding:clamp(75px,8vw,112px) 0!important;
  min-height:clamp(420px,36vw,570px);
  display:flex;align-items:center;
}
body.vista-v3-public .vista-v323-hotel-hero .vista-v323-hotel-hero-content {width:min(calc(100% - 36px),1220px);margin-inline:auto;}
body.vista-v3-public .vista-v323-hotel-hero .vista-listing-copy {padding:0!important;max-width:840px;}
body.vista-v3-public .vista-v323-hotel-hero .vista-listing-copy .eyebrow {color:var(--v323-gold)!important;font-size:.78rem!important;letter-spacing:.17em;}
body.vista-v3-public .vista-v323-hotel-hero .vista-listing-copy h1 {
  color:#fff!important;font-size:clamp(2.7rem,6vw,5.3rem)!important;line-height:1.02!important;
  letter-spacing:-.035em!important;text-wrap:balance;margin:14px 0 20px!important;
}
body.vista-v3-public .vista-v323-hotel-hero .vista-listing-copy>p {
  color:#f2f5f7!important;max-width:69ch;line-height:1.7!important;font-size:clamp(1rem,1.35vw,1.22rem)!important;
}
body.vista-v3-public .vista-v323-hotel-hero .vista-detail-pills {margin-top:25px;display:flex;flex-wrap:wrap;gap:9px;}
body.vista-v3-public .vista-v323-hotel-hero .vista-detail-pills span {
  background:rgba(18,66,114,.24)!important;border:1px solid rgba(239,209,147,.37)!important;
  color:#fff!important;border-radius:999px!important;padding:9px 14px!important;
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
}
body.vista-v3-public .vista-v323-hotel-content {padding-top:clamp(34px,4.5vw,62px)!important;background:#faf7f0!important;}
/* Hotel availability: replace the separate photo column with the same subdued full-width backdrop. */
body.vista-v3-public .vbh-hotel-hero.vista-v323-photo-hero {
  min-height:clamp(450px,40vw,590px)!important;
  padding:clamp(55px,7.5vw,100px) 0!important;
  display:flex;align-items:center;
  background-image:none!important;
}
body.vista-v3-public .vbh-hotel-hero.vista-v323-photo-hero .vbh-container {width:min(calc(100% - 36px),1180px);margin-inline:auto;}
body.vista-v3-public .vbh-hotel-hero.vista-v323-photo-hero .vbh-hotel-hero-grid {grid-template-columns:1fr!important;gap:0!important;max-width:820px;}
body.vista-v3-public .vbh-hotel-hero.vista-v323-photo-hero .vbh-hero-copy {max-width:820px;}
body.vista-v3-public .vbh-hotel-hero.vista-v323-photo-hero .vbh-back {color:#f8e8c6!important;}
body.vista-v3-public .vbh-hotel-hero.vista-v323-photo-hero :is(.vbh-eyebrow,.vbh-from small) {color:#efc879!important;}
body.vista-v3-public .vbh-hotel-hero.vista-v323-photo-hero .vbh-hero-copy h1 {
  color:#fff!important;font-size:clamp(2.9rem,6vw,5.2rem)!important;line-height:1.06!important;margin:12px 0 22px!important;
}
body.vista-v3-public .vbh-hotel-hero.vista-v323-photo-hero .vbh-hero-copy>p {color:#f1f4f7!important;max-width:67ch;font-size:clamp(1rem,1.3vw,1.13rem)!important;}
body.vista-v3-public .vbh-hotel-hero.vista-v323-photo-hero .vbh-hero-badges span {
  background:rgba(18,66,114,.24)!important;color:#fff!important;border:1px solid rgba(237,206,139,.33)!important;
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
}
body.vista-v3-public .vbh-hotel-hero.vista-v323-photo-hero .vbh-from {
  display:inline-grid!important;max-width:100%;padding:16px 20px!important;border-radius:18px;
  border:1px solid rgba(235,201,135,.36)!important;background:rgba(8,42,78,.38)!important;
  -webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);
}
body.vista-v3-public .vbh-hotel-hero.vista-v323-photo-hero .vbh-from strong {color:#fff!important;}
body.vista-v3-public .vbh-hotel-hero.vista-v323-photo-hero .vbh-from span {color:#e8edf2!important;line-height:1.4!important;}
/* Transfers already had a hero image: unify overlay, imagery and spacing without duplicating content. */
body.vista-v3-public .v31-detail-hero.vista-v323-photo-hero {
  min-height:clamp(480px,40vw,610px)!important;
  height:auto!important;
  align-items:center!important;
  padding:clamp(78px,8.5vw,126px) 0!important;
  background-image:none!important;
}
body.vista-v3-public .v31-detail-hero.vista-v323-photo-hero > .v31-detail-overlay {
  background:transparent!important;pointer-events:none;z-index:0;
}
body.vista-v3-public .v31-detail-hero.vista-v323-photo-hero .v31-detail-copy {padding:0!important;color:#fff!important;max-width:min(1220px,calc(100% - 36px));margin-inline:auto;}
body.vista-v3-public .v31-detail-hero.vista-v323-photo-hero :is(h1,.eyebrow) {color:#fff!important;}
body.vista-v3-public .v31-detail-hero.vista-v323-photo-hero .eyebrow {color:var(--v323-gold)!important;}
body.vista-v3-public .v31-detail-hero.vista-v323-photo-hero p {color:#edf1f4!important;max-width:65ch;line-height:1.65!important;}
/* Holidays: image already comes from CRM via --v24-hero, keep that binding. */
body.vista-v3-public .v24-package-detail-hero.vista-v323-photo-hero {
  min-height:clamp(510px,44vw,650px)!important;
  padding:clamp(75px,8vw,120px) 0!important;
  display:flex!important;align-items:center!important;
  background-image:linear-gradient(104deg,rgba(5,30,58,.76),rgba(7,39,73,.63) 42%,rgba(8,45,82,.52)),var(--v24-hero)!important;
  background-position:center,center 43%!important;
  background-size:cover,cover!important;
  background-repeat:no-repeat!important;
}
body.vista-v3-public .v24-package-detail-hero.vista-v323-photo-hero::before {background:linear-gradient(180deg,rgba(2,15,30,.12),rgba(2,18,34,.22));}
body.vista-v3-public .v24-package-detail-hero.vista-v323-photo-hero .v24-detail-copy {max-width:810px;}
body.vista-v3-public .v24-package-detail-hero.vista-v323-photo-hero :is(h1,.v24-back) {color:#fff!important;}
body.vista-v3-public .v24-package-detail-hero.vista-v323-photo-hero .v24-detail-copy p {color:#eef1f5!important;}
body.vista-v3-public .v24-package-detail-hero.vista-v323-photo-hero .v24-detail-meta span {
  color:#fff!important;background:rgba(255,255,255,.1)!important;border:1px solid rgba(238,211,154,.34)!important;
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
}
/* Respect small screens without moving content or covering buttons. */
@media(max-width:820px) {
  body.vista-v3-public .v3-tour-hero.vista-v323-photo-hero,
  body.vista-v3-public .vista-v323-hotel-hero,
  body.vista-v3-public .vbh-hotel-hero.vista-v323-photo-hero,
  body.vista-v3-public .v31-detail-hero.vista-v323-photo-hero,
  body.vista-v3-public .v24-package-detail-hero.vista-v323-photo-hero {min-height:0!important;padding:54px 0!important;}
  body.vista-v3-public .v3-tour-hero.vista-v323-photo-hero .v3-tour-hero-grid {grid-template-columns:1fr!important;gap:22px!important;}
  body.vista-v3-public .v3-tour-hero.vista-v323-photo-hero .v3-tour-hero-price {max-width:520px!important;width:100%!important;}
  body.vista-v3-public .v3-tour-hero.vista-v323-photo-hero .v3-tour-hero-grid :is(h1,p) {max-width:100%;}
}
@media(max-width:560px) {
  body.vista-v3-public .vista-v323-photo-hero > .vista-v323-hero-media {object-position:52% center!important;transform:scale(1.08);}
  body.vista-v3-public .v3-tour-hero.vista-v323-photo-hero,
  body.vista-v3-public .vista-v323-hotel-hero,
  body.vista-v3-public .vbh-hotel-hero.vista-v323-photo-hero,
  body.vista-v3-public .v31-detail-hero.vista-v323-photo-hero,
  body.vista-v3-public .v24-package-detail-hero.vista-v323-photo-hero {padding:40px 0!important;}
  body.vista-v3-public .vista-v323-hotel-hero .vista-listing-copy h1,
  body.vista-v3-public .vbh-hotel-hero.vista-v323-photo-hero .vbh-hero-copy h1 {font-size:clamp(2.1rem,10.2vw,3.15rem)!important;}
  body.vista-v3-public .v31-detail-hero.vista-v323-photo-hero h1 {font-size:clamp(2.1rem,10vw,3.2rem)!important;line-height:1.05!important;}
  body.vista-v3-public .v3-tour-hero.vista-v323-photo-hero .v3-tour-hero-price {padding:18px!important;}
  body.vista-v3-public .v3-tour-hero.vista-v323-photo-hero .v3-tour-facts-row,
  body.vista-v3-public .vista-v323-hotel-hero .vista-detail-pills {gap:7px!important;}
  body.vista-v3-public .vista-v323-photo-hero .v3-tour-facts-row span,
  body.vista-v3-public .vista-v323-hotel-hero .vista-detail-pills span {font-size:.77rem!important;}
}
@media(prefers-reduced-motion:reduce) {
  body.vista-v3-public .vista-v323-photo-hero > .vista-v323-hero-media {transform:none!important;}
}


/*
 V32.5 contrast correction — intentionally after the V32.3/V32.4 rules.
 V32.1 defined .v3-tour-hero::before using three body/element classes,
 preventing the weaker V32.3 ::before from becoming the navy scrim.
 The rules below resolve the cascade and remove the washed-out hero effect.
 The foreground and pricing/booking DOM are not changed.
*/
body.vista-v3-public .vista-v323-photo-hero,
body.vista-v3-public.vista-v321-tour-detail .v3-tour-hero.vista-v323-photo-hero {
  background-color:#061b33 !important;
}
/* Full-opacity image is essential: half-opacity images over ivory produce a milky wash. */
body.vista-v3-public .vista-v323-photo-hero > img.vista-v323-hero-media {
  opacity:1 !important;
  filter:saturate(.92) contrast(1.08) brightness(.82) !important;
  transform:scale(1.04);
}
/* This is an actual navy overlay, not a gray / translucent white overlay. */
body.vista-v3-public .vista-v323-photo-hero.vista-v323-photo-hero::before,
body.vista-v3-public.vista-v321-tour-detail .v3-tour-hero.vista-v323-photo-hero::before {
  background:
    linear-gradient(100deg,
      rgba(3,19,39,.94) 0%,
      rgba(4,25,48,.90) 29%,
      rgba(5,30,57,.84) 53%,
      rgba(5,32,59,.76) 77%,
      rgba(4,25,47,.74) 100%),
    linear-gradient(180deg, rgba(3,17,33,.12), transparent 44%, rgba(2,16,33,.2)) !important;
  opacity:1 !important;
  filter:none !important;
  mix-blend-mode:normal !important;
  z-index:-1 !important;
}
/* Suppress any light glass sheen above the entire image; keep only a subtle blue highlight. */
body.vista-v3-public .vista-v323-photo-hero.vista-v323-photo-hero::after {
  background:
     radial-gradient(ellipse at 87% 12%, rgba(41,99,151,.10), transparent 48%),
     linear-gradient(180deg, rgba(255,255,255,.015), transparent 28%,rgba(2,18,37,.08)) !important;
  pointer-events:none;
}
/* True high-contrast white/soft ivory copy; keep official gold accents. */
body.vista-v3-public .vista-v323-photo-hero :is(h1,h2,h3),
body.vista-v3-public .vista-v323-photo-hero .vista-listing-copy h1,
body.vista-v3-public .vista-v323-photo-hero .vbh-hero-copy h1 {
  color:#fff !important;
  text-shadow:0 3px 18px rgba(0,9,22,.40) !important;
}
body.vista-v3-public .vista-v323-photo-hero :is(.seo-breadcrumbs,.seo-breadcrumbs a,.seo-breadcrumbs span,.v24-back,.vbh-back) {
  color:#f3f5f7 !important;
  text-shadow:0 1px 5px rgba(0,9,22,.43) !important;
}
body.vista-v3-public .vista-v323-photo-hero :is(.eyebrow,.vbh-eyebrow) {
  color:#f3ce82 !important;
  text-shadow:0 1px 4px rgba(0,9,22,.35);
}
body.vista-v3-public .vista-v323-photo-hero :is(.vista-v321-summary,.vista-v321-intro>p,.vista-listing-copy>p,.vbh-hero-copy>p,.v24-detail-copy>p,.v31-detail-copy>p) {
  color:#f5f7fa !important;
  text-shadow:0 1px 7px rgba(0,9,22,.45) !important;
}
body.vista-v3-public .vista-v323-photo-hero :is(.v3-tour-facts-row span,.vista-detail-pills span,.vbh-hero-badges span,.v24-detail-meta span) {
  color:#fff !important;
  background:rgba(7,39,74,.63) !important;
  border:1px solid rgba(237,201,133,.50) !important;
  -webkit-backdrop-filter:blur(13px) saturate(1.1);
  backdrop-filter:blur(13px) saturate(1.1);
  text-shadow:0 1px 4px rgba(0,9,22,.38);
}
body.vista-v3-public .v3-tour-hero.vista-v323-photo-hero .v3-tour-hero-price,
body.vista-v3-public .vbh-hotel-hero.vista-v323-photo-hero .vbh-from {
  background:linear-gradient(140deg,rgba(10,48,88,.86),rgba(4,23,45,.83)) !important;
  border-color:rgba(237,201,133,.52) !important;
  -webkit-backdrop-filter:blur(24px) saturate(1.10);
  backdrop-filter:blur(24px) saturate(1.10);
}
/* Holiday-package uses CSS background-image rather than an <img> element. */
body.vista-v3-public .v24-package-detail-hero.vista-v323-photo-hero {
  background-image:
     linear-gradient(101deg,rgba(3,19,39,.93),rgba(4,26,50,.85) 43%,rgba(5,32,58,.73)),
     var(--v24-hero) !important;
  background-color:#061b33!important;
}
body.vista-v3-public .v24-package-detail-hero.vista-v323-photo-hero::before {
  background:linear-gradient(180deg,rgba(3,18,34,.12),rgba(2,17,34,.21)) !important;
}
@media (max-width:820px) {
  body.vista-v3-public .vista-v323-photo-hero.vista-v323-photo-hero::before,
  body.vista-v3-public.vista-v321-tour-detail .v3-tour-hero.vista-v323-photo-hero::before {
    background:linear-gradient(180deg,
      rgba(3,19,39,.93) 0%,rgba(4,24,47,.88) 49%,rgba(4,25,48,.82) 100%) !important;
  }
  body.vista-v3-public .v24-package-detail-hero.vista-v323-photo-hero {
    background-image:linear-gradient(180deg,rgba(3,19,39,.90),rgba(4,26,50,.85)),var(--v24-hero)!important;
  }
}
