/* EXP-SUPER-1B1 — the visible fixes on the experience pages (film dialog, photo lightbox, phone bar, chat launcher,
   back-to-top). Loaded after exp.css on pages where ve-exps1.php is on. Every rule is scoped to a B1 part and its switch
   class; nothing else on the page changes (B1-STYLE-DIFF.csv).
   No important overrides: every rule here wins on specificity or source order. Colours: the homepage's five. */
body.ve-exp-page{--x1-navy:#1A2142;--x1-cream:#FDF8F5;--x1-blush:#FBE6DD;--x1-terra:#CFA190;--x1-terra-ink:#7a5b4d}

/* -------------------------------------------------------- the photo lightbox (lightbox)
   Above the site header (z 70) and the chat launcher (z 99999); an opaque navy ground; the photograph at its own
   ratio; 240 ms in, 180 ms out, 240 ms crossfade between photographs. */
body.ve-exp-page.x1-lightbox .ve-exp .lb,
body.ve-exp-page.x1-film .ve-exp .vlb{z-index:100001;background:var(--x1-navy);display:flex;visibility:hidden;opacity:0;
  transition:opacity .18s ease,visibility 0s linear .18s}
body.ve-exp-page.x1-lightbox .ve-exp .lb.open,
body.ve-exp-page.x1-film .ve-exp .vlb.open{visibility:visible;opacity:1;transition:opacity .24s ease,visibility 0s}
body.ve-exp-page.x1-lightbox .ve-exp .lb{padding:72px 96px 28px}
body.ve-exp-page.x1-lightbox .ve-exp .lb-fig{width:100%;height:100%;max-width:1400px;margin:0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:0}
body.ve-exp-page.x1-lightbox .ve-exp .lb-media{position:relative;display:grid;place-items:center;flex:1 1 auto;min-height:0;width:100%}
body.ve-exp-page.x1-lightbox .ve-exp .lb-media img{grid-area:1/1;width:auto;height:auto;max-width:100%;max-height:calc(100vh - 250px);object-fit:contain;box-shadow:none;transition:opacity .24s ease}
body.ve-exp-page.x1-lightbox .ve-exp .lb-media img.x1-in{opacity:0}
body.ve-exp-page.x1-lightbox .ve-exp .lb-cap{flex:none;margin-top:18px;color:var(--x1-cream)}
body.ve-exp-page.x1-lightbox .ve-exp .lb-cap h3{color:var(--x1-cream);font-size:26px}
body.ve-exp-page.x1-lightbox .ve-exp .lb-cap p{color:var(--x1-cream);font:400 17px/1.5 var(--sans);font-style:normal;margin-top:6px}
body.ve-exp-page.x1-lightbox .ve-exp .lb-cap .cnt{color:var(--x1-blush);font-size:12px;letter-spacing:.18em}
body.ve-exp-page.x1-lightbox .ve-exp .lb .x,
body.ve-exp-page.x1-film .ve-exp .vlb .x{position:absolute;top:calc(12px + env(safe-area-inset-top,0px));right:calc(12px + env(safe-area-inset-right,0px));
  width:48px;height:48px;display:grid;place-items:center;color:var(--x1-cream);opacity:1;background:none;border:1px solid rgba(253,248,245,.5);border-radius:999px;font-size:28px;line-height:1;cursor:pointer;z-index:2}
body.ve-exp-page.x1-lightbox .ve-exp .lb .x svg{stroke:var(--x1-cream);width:20px;height:20px}
body.ve-exp-page.x1-lightbox .ve-exp .lb .x:focus-visible,
body.ve-exp-page.x1-film .ve-exp .vlb .x:focus-visible,
body.ve-exp-page.x1-lightbox .ve-exp .lb .nav:focus-visible,
body.ve-exp-page.x1-lightbox .ve-exp .lb-thumbs button:focus-visible{outline:2px solid var(--x1-cream);outline-offset:2px}
body.ve-exp-page.x1-lightbox .ve-exp .lb .nav{border-color:rgba(253,248,245,.5);color:var(--x1-cream);transition:background-color .2s ease,color .2s ease}
body.ve-exp-page.x1-lightbox .ve-exp .lb .nav:hover{background:var(--x1-cream);color:var(--x1-navy)}
body.ve-exp-page.x1-lightbox .ve-exp .lb-thumbs{flex:none;margin-top:14px}
@media (max-width:760px){
  body.ve-exp-page.x1-lightbox .ve-exp .lb{padding:72px 16px calc(84px + env(safe-area-inset-bottom,0px))}
  body.ve-exp-page.x1-lightbox .ve-exp .lb .nav{top:auto;bottom:calc(16px + env(safe-area-inset-bottom,0px));transform:none;width:48px;height:48px}
  body.ve-exp-page.x1-lightbox .ve-exp .lb-cap h3{font-size:22px}
  body.ve-exp-page.x1-lightbox .ve-exp .lb-cap p{font-size:16px}
  body.ve-exp-page.x1-lightbox .ve-exp .lb-media img{max-height:calc(100vh - 300px)}
}

/* ------------------------------------------------------------- the film lightbox (film) */
body.ve-exp-page.x1-film .ve-exp .vlb{padding:72px 40px 40px}
body.ve-exp-page.x1-film .ve-exp .vlb video{box-shadow:none;max-height:calc(100vh - 160px)}
body.ve-exp-page.x1-film .ve-exp .vlb figcaption{color:var(--x1-cream)}
@media (max-width:640px){body.ve-exp-page.x1-film .ve-exp .vlb{padding:72px 16px 24px}}
html.x1-modal{overflow:hidden}   /* only while a B1 dialog is open */
/* B1A (24 Nov 2026): the theme's #all_wrapper (position:relative; z-index:1) holds both dialogs, so their z-index cannot rise
   above the site header (z 70, outside that wrapper): with the page at the top the header painted over the film dialog's top
   and its close button. The header is hidden while a B1 dialog is open, only on the switch that owns the open dialog. */
html.x1-modal body.ve-exp-page.x1-film:has(.ve-exp .vlb.open) header.vhd,
html.x1-modal body.ve-exp-page.x1-lightbox:has(.ve-exp .lb.open) header.vhd{visibility:hidden}

/* ------------------------------------------------------------ the phone thumb zone (bar)
   One bar 64 px high: the tour name on one line, a navy Reserve pill 44 px high. The theme's back-to-top button is not
   used on this template. The chat launcher is 48 px and sits 12 px above the bar while the bar is up (CHAT-1 places it
   from --ve-chat1-bar and --ve-chat1-size). */
body.ve-exp-page.x1-bar a.backtop{display:none}
@media (max-width:760px){
  body.ve-exp-page.x1-bar .ve-exp .sticky{height:calc(64px + env(safe-area-inset-bottom,0px));padding:0 max(16px,env(safe-area-inset-right,0px)) env(safe-area-inset-bottom,0px) max(16px,env(safe-area-inset-left,0px));
    box-sizing:border-box;gap:12px;background:var(--x1-cream);backdrop-filter:none;box-shadow:0 -6px 18px rgba(26,33,66,.10);border-top:1px solid #E8DDD4;transition:transform .24s ease}
  body.ve-exp-page.x1-bar .ve-exp .sticky .t{flex:1 1 auto;min-width:0;font:500 20px/1.2 var(--serif);color:var(--x1-navy);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body.ve-exp-page.x1-bar .ve-exp .sticky .pill{flex:none;height:44px;padding:0 24px;display:inline-flex;align-items:center;justify-content:center;font-size:12px;letter-spacing:.18em}
  body.ve-exp-page.x1-bar{--ve-chat1-size:48px}
  html.x1-bar body.ve-exp-page.x1-bar{--ve-chat1-bar:calc(64px + env(safe-area-inset-bottom,0px))}
  html body.ve-exp-page.x1-bar .ve-widget-shim-btn{width:48px;height:48px}
  html.x1-aside body.ve-exp-page.x1-bar .ve-widget-shim-btn,
  html.x1-aside body.ve-exp-page.x1-bar .ve-widget-shim-bubble{opacity:0;visibility:hidden;pointer-events:none}
}

@media (prefers-reduced-motion:reduce){
  body.ve-exp-page.x1-lightbox .ve-exp .lb,body.ve-exp-page.x1-film .ve-exp .vlb,body.ve-exp-page.x1-lightbox .ve-exp .lb-media img{transition:none}
}
