/* The header, menu and footer every public page shares (markup:
   tools/chrome.mjs, behaviour: chrome.js). Taken from the homepage: a thin
   strip, a navy bar, the light editorial footer. Every class is dc- so the
   pages' own stylesheets cannot reach in, and the few bare-element rules
   those sheets have (ul, li, a, h3, label) are reset here. */
:root {
  --dc-navy: #0D2A7A;
  --dc-ink: #14203C;
  --dc-ink-2: #5B6478;
  --dc-ink-3: #8A92A6;
  --dc-line: #E3E5EA;
  --dc-yellow: #FFCB3D;
  --dc-blue: #1A46C2;
  --dc-font: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
  --dc-pad: 16px;
  --dc-strip: 0px;
  --dc-nav: 64px;
  --dc-ease: cubic-bezier(.22, .61, .36, 1);
  /* the bar the booking pages' sticky search sits under */
  --nav-h: 64px;
}
@media (min-width: 761px) { :root { --dc-pad: 32px; } }
@media (min-width: 1100px) { :root { --dc-pad: 56px; --dc-strip: 34px; } }

.dc-wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding-left: calc(var(--dc-pad) + env(safe-area-inset-left, 0px)); padding-right: calc(var(--dc-pad) + env(safe-area-inset-right, 0px)); box-sizing: border-box; }
.dc-top, .dc-foot, .dc-sheet { font-family: var(--dc-font); -webkit-font-smoothing: antialiased; }
.dc-top, .dc-foot { margin: 0; padding-top: 0; border: 0; text-align: left; }
.dc-top *, .dc-foot *, .dc-sheet * { box-sizing: border-box; }
.dc-top ul, .dc-foot ul { list-style: none; margin: 0; padding: 0; }
.dc-top li, .dc-foot li { margin: 0; font-size: inherit; }
.dc-top a, .dc-foot a, .dc-sheet a { text-decoration: none; }
.dc-top img, .dc-foot img, .dc-sheet img { display: block; max-width: none; }
.dc-top svg, .dc-sheet svg { display: block; }
.dc-top :focus-visible, .dc-foot :focus-visible { outline: 2px solid var(--dc-yellow); outline-offset: 2px; }
.dc-sheet :focus-visible { outline: 2px solid var(--dc-blue); outline-offset: 2px; }

/* ---------- the bar ---------- */
/* On every page but the homepage it is navy from the start, and sticky: the
   strip scrolls away and the bar stays. */
.dc-top { position: sticky; top: calc(var(--dc-strip) * -1); z-index: 60; color: #fff; background: var(--dc-navy); }
.dc-strip { display: none; }
@media (min-width: 1100px) {
  .dc-strip { display: block; height: var(--dc-strip); background: #fff; color: var(--dc-ink-2); font-size: 12px; line-height: 1; border-bottom: 1px solid var(--dc-line); transition: margin-top .35s var(--dc-ease); }
  .dc-strip-in { display: flex; justify-content: space-between; align-items: stretch; height: 100%; }
  .dc-strip ul { display: flex; align-items: stretch; }
  .dc-strip li { display: flex; align-items: center; padding: 0 16px; border-right: 1px solid var(--dc-line); }
  .dc-strip-l li:first-child { padding-left: 0; }
  .dc-strip-r li { border-right: 0; border-left: 1px solid var(--dc-line); }
  .dc-strip-r li:last-child { padding-right: 0; }
  .dc-strip b { color: var(--dc-ink); font-weight: 600; letter-spacing: .01em; }
  .dc-strip a { color: var(--dc-ink-2); }
  .dc-strip a:hover { color: var(--dc-ink); }
  .dc-strip .dc-soon { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--dc-ink-3); margin-left: 4px; }
}
.dc-nav { height: var(--dc-nav); display: flex; align-items: center; gap: 24px; transition: height .35s var(--dc-ease); }
.dc-brand { display: flex; align-items: center; min-height: 44px; flex: 0 0 auto; }
.dc-brand img { width: 112px; height: auto; }
.dc-links { display: none; margin-left: auto; gap: 34px; }
.dc-links a { color: #fff; font-size: 16px; letter-spacing: -.005em; min-height: 44px; display: flex; align-items: center; opacity: .94; }
.dc-links a:hover, .dc-links a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
@media (min-width: 900px) { .dc-links { display: flex; } }
.dc-nav-r { display: flex; align-items: center; gap: 6px; margin-left: auto; }
@media (min-width: 900px) { .dc-nav-r { margin-left: 24px; } }
.dc-ico { width: 44px; height: 44px; display: grid; place-items: center; color: #fff; }
.dc-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.dc-menu { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 4px 0 8px; color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.dc-menu svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }

/* The homepage: clear over the photo, larger, navy once you scroll. */
.dc-top.dc-over { position: fixed; top: 0; left: 0; right: 0; background: transparent; transition: background-color .35s var(--dc-ease), box-shadow .35s var(--dc-ease); }
.dc-top.dc-over .dc-strip { background: rgba(255,255,255,.96); }
@media (min-width: 761px) { .dc-top.dc-over .dc-nav { height: 76px; } }
@media (min-width: 1100px) { .dc-top.dc-over .dc-nav { height: 84px; } .dc-top.dc-over .dc-brand img { width: 128px; } }
.dc-top.dc-over.dc-solid { background: rgba(13,42,122,.94); -webkit-backdrop-filter: saturate(150%) blur(14px); backdrop-filter: saturate(150%) blur(14px); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.dc-top.dc-over.dc-solid .dc-strip { margin-top: calc(var(--dc-strip) * -1); }
.dc-top.dc-over.dc-solid .dc-nav { height: 64px; }

/* ---------- the footer ---------- */
.dc-foot { background: var(--dc-navy); color: rgba(255,255,255,.78); padding: 64px 0 calc(40px + env(safe-area-inset-bottom, 0px)); font-size: 14px; line-height: 1.55; }
.dc-foot-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.2); }
.dc-foot-top .dc-brand img { width: 132px; }
.dc-foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; padding: 40px 0; }
@media (min-width: 900px) { .dc-foot-cols { grid-template-columns: repeat(4, 1fr); } }
.dc-foot h3 { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin: 0 0 14px; line-height: 1.4; font-family: var(--dc-font); }
.dc-foot li { margin: 0 0 6px; color: rgba(255,255,255,.78); font-size: 14px; }
.dc-foot a { color: rgba(255,255,255,.86); display: inline-flex; align-items: center; min-height: 32px; }
.dc-foot a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.dc-legal { padding-top: 28px; margin: 0; border-top: 1px solid rgba(255,255,255,.2); line-height: 1.6; font-size: 14px; color: rgba(255,255,255,.78); }
.dc-copy { margin: 8px 0 0; font-size: 14px; color: rgba(255,255,255,.78); }
.dc-copy a { margin-left: 12px; }
.dc-btn-line { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border: 1px solid rgba(255,255,255,.75); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; border-radius: 2px; transition: background-color .25s, color .25s, border-color .25s; }
.dc-btn-line:hover { background: #fff; color: var(--dc-navy); border-color: #fff; text-decoration: none; }

/* ---------- the menu sheet ---------- */
.dc-sheet { border: 0; padding: 0; margin: 0 0 0 auto; height: 100%; max-height: none; width: min(440px, 100%); max-width: 100%; background: #fff; color: var(--dc-ink); }
.dc-sheet::backdrop { background: rgba(6,16,46,.5); }
.dc-sheet [hidden] { display: none !important; }
.dc-sheet-in { display: flex; flex-direction: column; height: 100%; padding: 16px 24px calc(24px + env(safe-area-inset-bottom, 0px)); }
.dc-sheet-head { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.dc-sheet-head img { width: 104px; height: auto; }
.dc-sq { width: 44px; height: 44px; display: grid; place-items: center; background: transparent; border: 1px solid var(--dc-line); border-radius: 2px; color: var(--dc-ink); cursor: pointer; padding: 0; margin: 0; }
.dc-sq svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dc-rows { display: flex; flex-direction: column; margin-top: 24px; }
.dc-rows a, .dc-rows button { display: flex; align-items: center; justify-content: space-between; min-height: 56px; width: 100%; border: 0; border-bottom: 1px solid var(--dc-line); background: none; padding: 0; margin: 0; font: inherit; font-size: 22px; font-weight: 400; letter-spacing: -.015em; text-align: left; cursor: pointer; color: var(--dc-ink); border-radius: 0; }
.dc-rows a[aria-current="page"] { color: var(--dc-navy); font-weight: 500; }
.dc-rows small { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--dc-ink-3); }
.dc-sheet-foot { margin: auto 0 0; padding-top: 24px; color: var(--dc-ink-2); font-size: 14px; line-height: 1.5; }
.dc-sheet-foot a { color: var(--dc-ink); text-decoration: underline; text-underline-offset: 3px; }

/* public.css hides its old bar's sign-in button by this class; the shared one
   keeps the class (public.js turns it into "My account") and stays visible. */
#publicSite .dc-rows a.nav-signin, .dc-rows a.nav-signin { display: flex; }
#publicSite .dc-strip a.nav-signin, .dc-strip a.nav-signin { display: inline; }

/* ---------- the WhatsApp button, the same on every page ---------- */
.wa-float { background: var(--dc-navy) !important; color: #fff !important; border-radius: 999px; box-shadow: 0 10px 26px rgba(7,27,85,.22); font-family: var(--dc-font); font-weight: 600; }
.wa-float svg { fill: #fff; }

@media (prefers-reduced-motion: reduce) {
  .dc-strip, .dc-nav, .dc-top.dc-over, .dc-btn-line { transition: none; }
}
