/* ============================================================
   Charter Base — final v3
   ============================================================ */

.cb{
  --navy:#15264d; --royal:#27408b; --accent:#d92b2e; --sea:#1f7a86;
  --paper:#f6f2ea; --surface:#ffffff; --surface-2:#f4f0e8;
  --ink:#15213f; --body:#3b424f; --muted:#7c7f88;
  --line:rgba(21,33,63,.12); --line-soft:rgba(21,33,63,.07);
  --font-head:'Newsreader',Georgia,serif;
  --font-body:'Public Sans',system-ui,sans-serif;
  --font-mono:'IBM Plex Mono',ui-monospace,monospace;
  --r-sm:8px; --r-md:14px; --r-lg:22px;
  --shadow-sm:0 1px 2px rgba(21,33,63,.05),0 2px 10px rgba(21,33,63,.05);
  --shadow-md:0 12px 40px rgba(21,33,63,.12);
  --ease:cubic-bezier(.4,.7,.3,1);
  --ico:var(--sea);
  --pagebg:#ffffff;
  font-family:var(--font-body);color:var(--body);background:var(--pagebg);
  -webkit-font-smoothing:antialiased;
}
.cb *{box-sizing:border-box}

/* CRITICAL OVERRIDE: template.css applies column-count:2/3 to all <article> elements at >=900px.
   This forces our itinerary cards into multi-column layout. Defeat it here for ALL elements in .cb. */
.cb article,
.cb article:first-of-type,
.cb .cb-itin,
.cb .cb-itin:first-of-type,
.cb .cb-overview,
.cb .cb-overview__details,
.cb .cb-detail-list,
.cb .cb-drow,
.cb .cb-drow__value,
.cb .cb-useful,
.cb .cb-info,
.cb .cb-itin__head,
.cb .cb-itin__body,
.cb .cb-timeline,
.cb .cb-day,
.cb .cb-day__body{
  column-count:1 !important;
  column-gap:0 !important;
  columns:auto !important;
  -webkit-columns:auto !important;
  -moz-columns:auto !important;
}
.cb .cb-itin > *,
.cb .cb-itin__head > *,
.cb .cb-itin__body > *{
  break-inside:avoid;
  -webkit-column-break-inside:avoid;
  page-break-inside:avoid;
}
.cb img{max-width:100%}
.cb-shell{max-width:1200px;margin:0 auto;padding:0 32px}
.cb a{color:inherit}

body.com_ny_charter_bases{background-color:#ffffff}
body.com_ny_charter_bases #sp-main-body,
body.com_ny_charter_bases #sp-footer-top{background-color:#ffffff !important}

.cb-ph{position:relative;background:
  repeating-linear-gradient(135deg,rgba(21,38,77,.05) 0 11px,rgba(21,38,77,.02) 11px 22px),
  var(--surface-2);
  display:flex;align-items:center;justify-content:center;overflow:hidden}
.cb-ph__lbl{font-family:var(--font-mono);font-size:.62rem;letter-spacing:.18em;
  text-transform:uppercase;color:var(--muted);background:rgba(255,255,255,.7);
  padding:5px 10px;border-radius:4px}

/* ============================================================
   BUTTONS
   ============================================================ */
.cb a.cb-btn,
.cb button.cb-btn,
.cb .cb-btn{
  display:inline-flex !important;
  align-items:center;
  gap:8px;
  cursor:pointer;
  border:none;
  font-family:var(--font-body);
  font-weight:600;
  font-size:.9rem;
  letter-spacing:.01em;
  padding:13px 24px;
  border-radius:8px !important;
  text-decoration:none !important;
  white-space:nowrap;
  transition:transform .15s var(--ease),box-shadow .2s,background .2s,color .2s;
  line-height:1.2;
}
.cb .cb-btn .naut-ico{width:17px;height:17px}
.cb .cb-btn:hover{transform:translateY(-1px)}

.cb a.cb-btn--primary,
.cb .cb-btn--primary{
  background:var(--accent) !important;
  background-color:var(--accent) !important;
  color:#ffffff !important;
  border:0 !important;
  box-shadow:0 6px 18px rgba(217,43,46,.28);
}
.cb a.cb-btn--primary:hover,
.cb .cb-btn--primary:hover{
  background:#b8242c !important;
  background-color:#b8242c !important;
  color:#ffffff !important;
  box-shadow:0 10px 26px rgba(217,43,46,.4);
}

.cb a.cb-btn--navy,
.cb .cb-btn--navy{background:var(--navy) !important;color:#ffffff !important;box-shadow:0 6px 18px rgba(21,38,77,.25)}
.cb a.cb-btn--navy:hover,
.cb .cb-btn--navy:hover{background:#1d3262 !important;color:#ffffff !important}

.cb a.cb-btn--outline,
.cb .cb-btn--outline{background:transparent !important;color:var(--navy) !important;border:1.5px solid var(--line) !important;box-shadow:none}
.cb a.cb-btn--outline:hover,
.cb .cb-btn--outline:hover{border-color:var(--navy) !important;background:var(--navy) !important;color:#ffffff !important}

.cb a.cb-btn--ghost,
.cb .cb-btn--ghost{background:rgba(255,255,255,.12) !important;color:#ffffff !important;border:1px solid rgba(255,255,255,.3) !important}
.cb a.cb-btn--ghost:hover,
.cb .cb-btn--ghost:hover{background:rgba(255,255,255,.2) !important;color:#ffffff !important}

.cb .cb-btn--sm{padding:9px 16px !important;font-size:.82rem !important;border-radius:7px !important}

.cb-kick{font-family:var(--font-mono);font-size:.68rem;letter-spacing:.22em;
  text-transform:uppercase;color:var(--sea);display:inline-flex;align-items:center;gap:9px}
.cb-kick::before{content:"";width:22px;height:1px;background:currentColor;opacity:.7}

.cb-h{font-family:var(--font-head);font-weight:440;color:var(--ink);
  font-size:clamp(1.7rem,2.8vw,2.3rem);line-height:1.08;letter-spacing:-.01em;
  margin:14px 0 0;text-wrap:balance}
.cb-section{padding:64px 0}
.cb-section__head{margin-bottom:34px;max-width:60ch}
.cb-section__head p{margin:14px 0 0;font-size:1.05rem;line-height:1.6;color:var(--body);max-width:54ch}

/* ============================================================
   HERO
   ============================================================ */
.cb-hero{position:relative}
.cb-breadcrumb{display:inline-flex;align-items:center;gap:9px;font-size:.84rem;
  text-decoration:none;color:var(--muted);font-weight:500;transition:.2s}
.cb-breadcrumb .naut-ico{width:16px;height:16px;transform:rotate(180deg)}
.cb-breadcrumb:hover{color:var(--accent)}

.cb-hero__cat{display:inline-flex;align-items:center;gap:9px;font-family:var(--font-mono);
  font-size:.68rem;letter-spacing:.2em;text-transform:uppercase;color:var(--sea)}
.cb-hero__cat::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--accent)}
.cb-hero h1{font-family:var(--font-head);font-weight:430;color:var(--ink);
  font-size:clamp(2.3rem,5vw,3.7rem);line-height:1.04;letter-spacing:-.015em;
  margin:18px 0 0;max-width:18ch;text-wrap:balance}
.cb-hero__sub{font-family:var(--font-head);font-weight:340;font-size:1.3rem;line-height:1.5;
  color:var(--body);max-width:46ch;margin:20px 0 0}
.cb-hero__stats{display:flex;flex-wrap:wrap;gap:0;margin-top:32px;border-top:1px solid var(--line)}
.cb-stat{padding:18px 28px 18px 0;margin-right:28px;border-right:1px solid var(--line-soft)}
.cb-stat:last-child{border-right:0}
.cb-stat .v{font-family:var(--font-head);font-size:1.7rem;color:var(--navy);line-height:1;font-weight:500}
.cb-stat .k{font-family:var(--font-mono);font-size:.62rem;letter-spacing:.13em;
  text-transform:uppercase;color:var(--muted);margin-top:8px}

.cb-hero--minimal{padding:30px 0 8px}
.cb-hero--minimal .cb-hero__top{display:flex;justify-content:space-between;align-items:center;padding-bottom:30px}

/* ============================================================
   OVERVIEW : marina details + map
   ============================================================ */
.cb-overview{display:grid;grid-template-columns:1fr 1fr;gap:0;
  border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden;
  box-shadow:var(--shadow-sm);background:var(--surface)}
.cb-overview__details{padding:38px 40px}
.cb-overview__map{position:relative;min-height:420px}
.cb-overview__map iframe,.cb-overview__map .cb-ph{position:absolute;inset:0;width:100%;height:100%;border:0}
.cb-map__badge{position:absolute;left:16px;bottom:16px;z-index:3;display:flex;gap:8px;
  align-items:center;background:rgba(255,255,255,.94);border-radius:8px;padding:8px 12px;
  font-family:var(--font-mono);font-size:.66rem;letter-spacing:.06em;color:var(--navy);
  box-shadow:var(--shadow-sm);text-decoration:none}
.cb-map__badge .naut-ico{width:15px;height:15px;color:var(--accent)}
@media(max-width:840px){.cb-overview{grid-template-columns:1fr}
  .cb-overview__map{min-height:300px;order:-1}}

.cb-detail-list{display:flex;flex-direction:column}
.cb-drow{display:grid;grid-template-columns:30px 130px 1fr;gap:16px;align-items:start;
  padding:17px 0;border-top:1px solid var(--line-soft)}
.cb-drow:first-child{border-top:0;padding-top:0}
.cb-drow .naut-ico{width:21px;height:21px;color:var(--ico);margin-top:2px}
.cb-drow__label{font-family:var(--font-mono);font-size:.66rem;letter-spacing:.13em;
  text-transform:uppercase;color:var(--muted);padding-top:3px}
.cb-drow__value{font-size:1rem;line-height:1.55;color:var(--ink);min-width:0;word-wrap:break-word}
.cb-drow--lead .cb-drow__value{font-family:var(--font-head);font-size:1.18rem;font-weight:480}

.cb-drow--haslink{background:color-mix(in srgb,var(--sea) 5%,#fff);
  border-radius:10px;padding:14px 16px;margin:6px -16px;border-top-color:transparent;
  border:1px solid color-mix(in srgb,var(--sea) 20%,#fff)}
.cb-drow--haslink + .cb-drow{border-top-color:transparent}
.cb-drow--haslink .naut-ico{color:var(--sea)}
.cb-drow--haslink .cb-drow__value a{color:var(--accent);font-weight:600;
  text-decoration:none;border-bottom:1.5px solid currentColor;
  transition:color .2s,border-color .2s;padding-bottom:1px}
.cb-drow--haslink .cb-drow__value a:hover{color:var(--navy);border-color:var(--navy)}
.cb-drow--haslink .cb-drow__value a::after{
  content:" →";font-family:var(--font-body);font-weight:600;
  display:inline-block;margin-left:3px;transition:transform .2s;border:none}
.cb-drow--haslink .cb-drow__value a:hover::after{transform:translateX(3px)}

/* ============================================================
   USEFUL INFORMATION
   ============================================================ */
.cb-useful{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:1px;
  background:var(--line-soft);
  border:1px solid var(--line-soft);
  border-radius:var(--r-md);
  overflow:hidden;
}
.cb-info{
  background:var(--surface);
  padding:22px 24px;
  display:flex;
  gap:16px;
  align-items:anchor-center;
  position:relative;
}
.cb-info__ico{
  flex-shrink:0;
  width:38px;
  height:38px;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:color-mix(in srgb,var(--ico) 11%,#fff);
  color:var(--ico);
  margin-top:-2px; /* lift slightly so icon-center aligns with label baseline area */
  margin-right: 10px;
}
.cb-info__ico .naut-ico{width:19px;height:19px}
.cb-info > div:not(.cb-info__ico){
  flex:1;
  min-width:0;
  padding-top:2px; /* small top padding so label sits at same eyeline as icon center */
}
.cb-info__label{
  font-family:var(--font-mono);
  font-size:.64rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:6px;
  line-height:1.2;
}
.cb-info__value{font-size:.97rem;line-height:1.55;color:var(--ink);word-wrap:break-word;overflow-wrap:break-word}
.cb-info__value.mono{font-family:var(--font-mono);font-size:.9rem;letter-spacing:.02em}
.cb-info__value a{color:var(--accent);font-weight:600;text-decoration:none;border-bottom:1px solid currentColor}

.cb-info--flag{background:color-mix(in srgb,var(--accent) 5%,#fff)}
.cb-info--flag .cb-info__ico{background:color-mix(in srgb,var(--accent) 12%,#fff);color:var(--accent)}

/* Subtle treatment for any grid row that happens to contain a link
   (the prominent "Useful Links" itself is rendered as a featured CTA card below) */
.cb-info--haslink{
  background:color-mix(in srgb,var(--sea) 5%,#fff);
}
.cb-info--haslink .cb-info__ico{
  background:color-mix(in srgb,var(--sea) 18%,#fff);
  color:var(--sea);
}
.cb-info--haslink .cb-info__value a{
  color:var(--accent);
  font-weight:600;
  border-bottom:1.5px solid currentColor;
  transition:color .2s,border-color .2s;
}
.cb-info--haslink .cb-info__value a:hover{color:var(--navy);border-color:var(--navy)}
.cb-info--haslink .cb-info__value a::after{
  content:" →";
  display:inline-block;
  margin-left:3px;
  font-weight:600;
  transition:transform .2s;
  border:none;
}
.cb-info--haslink .cb-info__value a:hover::after{transform:translateX(3px)}

@media(max-width:720px){
  .cb-useful{grid-template-columns:1fr}
  .cb-info{padding:18px 18px;gap:14px}
  .cb-info__ico{width:38px;height:38px;border-radius:10px}
  .cb-info__ico .naut-ico{width:19px;height:19px}
}

/* ============================================================
   FEATURED CTA ROWS
   ============================================================ */
.cb-featured{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:24px}
.cb-feat{position:relative;overflow:hidden;border-radius:var(--r-lg);padding:32px 32px 30px;
  display:flex;flex-direction:column;gap:8px;min-height:210px;
  box-shadow:var(--shadow-sm);border:0;text-decoration:none;
  transition:transform .25s var(--ease),box-shadow .25s}
.cb-feat:hover{transform:translateY(-3px);box-shadow:var(--shadow-md)}
.cb-feat__ico{width:46px;height:46px;border-radius:12px;display:flex;align-items:center;
  justify-content:center;margin-bottom:6px;background:rgba(255,255,255,.18);color:#fff}
.cb-feat__ico .naut-ico{width:23px;height:23px;color:#fff}
.cb-feat .cb-kick{color:#ffffff;opacity:1;font-weight:600}
.cb-feat .cb-kick::before{background:#ffffff;opacity:.7}
.cb-feat h3{font-family:var(--font-head);font-weight:500;font-size:1.55rem;line-height:1.18;
  margin:6px 0 0;letter-spacing:-.005em;color:#ffffff;text-shadow:0 1px 2px rgba(0,0,0,.18)}
.cb-feat p{margin:0;font-size:.96rem;line-height:1.5;color:rgba(255,255,255,.92);max-width:34ch}
.cb-feat__cta{margin-top:auto;padding-top:16px;display:inline-flex;align-items:center;gap:9px;
  font-weight:700;font-size:.93rem;color:#ffffff;text-decoration:none}
.cb-feat__cta .naut-ico{width:18px;height:18px;color:#ffffff;transition:transform .2s}
.cb-feat:hover .cb-feat__cta .naut-ico{transform:translateX(4px)}
.cb-feat--boats{background:linear-gradient(150deg,#0e1d40,#15264d 65%,#1d3566)}
.cb-feat--guide{background:linear-gradient(150deg,#0e3a44,#155e6b 60%,#1f7a86)}
@media(max-width:720px){.cb-featured{grid-template-columns:1fr}}

/* ============================================================
   ITINERARIES — full width container + cards
   AGGRESSIVE OVERRIDES to defeat any inherited width constraints
   ============================================================ */

/* Itineraries container: takes 100% of its parent (.cb-shell content) */
.cb .cb-itins{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  margin:0 !important;
  padding:0 !important;
  grid-template-columns:none !important;
  box-sizing:border-box;
}

/* Each card: 100% width of the container — BLOCK layout, children stack vertically */
.cb .cb-itin{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  flex:none !important;
  float:none !important;
  margin:0 0 18px 0 !important;
  border:1px solid var(--line);
  border-radius:var(--r-lg);
  background:var(--surface);
  box-shadow:var(--shadow-sm);
  overflow:hidden;
  transition:box-shadow .25s,border-color .25s;
  box-sizing:border-box;
  /* defeat any inherited grid/flex from parent template */
  grid-template-columns:none !important;
  grid-template-rows:none !important;
  flex-direction:column !important;
}
/* Force direct children of cb-itin to be block, full-width, stacked
   EXCEPT .cb-itin__body which needs display:grid for collapse animation */
.cb .cb-itin > .cb-itin__head{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  flex:none !important;
  float:none !important;
  grid-column:1 / -1 !important;
  box-sizing:border-box;
}
.cb .cb-itin:last-child{margin-bottom:0 !important}
.cb .cb-itin.is-open{box-shadow:var(--shadow-md);border-color:var(--line)}

/* Head button: full width clickable target */
.cb .cb-itin__head{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  text-align:left;
  background:none;
  border:0;
  cursor:pointer;
  padding:26px 28px;
  font-family:inherit;
  color:inherit;
  transition:background .2s;
  box-sizing:border-box;
  grid-template-columns:none !important;
  grid-template-rows:none !important;
  flex-direction:column !important;
  column-count:auto !important;
  columns:auto !important;
}
/* Force every direct child of the head to be block, full-width, vertically stacked */
.cb .cb-itin__head > *{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  float:none !important;
  flex:none !important;
  grid-column:1 / -1 !important;
  grid-row:auto !important;
  box-sizing:border-box;
  clear:both;
}
/* Re-enable flex inside specific elements that need it */
.cb .cb-itin__head > .cb-itin__tagrow{display:flex !important;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:12px}
.cb .cb-itin__head > .cb-itin__title{display:flex !important;justify-content:space-between;align-items:center;gap:14px;flex-wrap:nowrap;margin:0}
.cb .cb-itin__head > .cb-itin__stats{display:grid !important;grid-template-columns:repeat(3,1fr) !important;gap:0;margin-top:20px;border-top:1px solid var(--line-soft);padding-top:16px}
.cb .cb-itin__head > .cb-mini{display:flex !important;align-items:center;gap:0;margin-top:18px;overflow:hidden}
.cb .cb-itin__head:hover{background:color-mix(in srgb,var(--sea) 3%,#fff)}
.cb .cb-itin.is-open .cb-itin__head{background:color-mix(in srgb,var(--sea) 4%,#fff)}

.cb-itin__tagrow{display:flex;align-items:center;gap:10px;margin-bottom:12px;flex-wrap:wrap}
.cb-itin__region{font-family:var(--font-mono);font-size:.62rem;letter-spacing:.16em;
  text-transform:uppercase;color:var(--sea);background:color-mix(in srgb,var(--sea) 10%,#fff);
  padding:5px 11px;border-radius:999px}
.cb-itin__dur{font-family:var(--font-mono);font-size:.62rem;letter-spacing:.13em;
  text-transform:uppercase;color:var(--muted)}

.cb-itin__title{font-family:var(--font-head);font-weight:480;font-size:1.3rem;line-height:1.25;
  color:var(--ink);letter-spacing:-.01em;margin:0;display:flex;justify-content:space-between;
  align-items:center;gap:14px;flex-wrap:nowrap;width:100%}
.cb-itin__title > span:first-child{flex:1;min-width:0;word-wrap:break-word}
.cb-itin__route{font-size:.9rem;color:var(--muted);margin:8px 0 0}

.cb-itin__chev{flex-shrink:0;width:32px;height:32px;border-radius:50%;border:1px solid var(--line);
  display:flex;align-items:center;justify-content:center;color:var(--navy);transition:.3s var(--ease)}
.cb-itin__chev .naut-ico{width:17px;height:17px}
.cb-itin.is-open .cb-itin__chev{transform:rotate(180deg);background:var(--navy);color:#fff;border-color:var(--navy)}

.cb-itin__stats{display:grid;grid-template-columns:repeat(3,1fr);gap:0;
  margin-top:20px;border-top:1px solid var(--line-soft);padding-top:16px;align-items:stretch;width:100%}
.cb-itin__stat{padding:0 18px;border-right:1px solid var(--line-soft);min-width:0}
.cb-itin__stat:first-child{padding-left:0}
.cb-itin__stat:last-child{padding-right:0;border-right:0}
.cb-itin__stat .v{font-family:var(--font-head);font-size:1.45rem;color:var(--navy);line-height:1;
  font-weight:500;white-space:nowrap}
.cb-itin__stat .v .u{font-size:.7rem;font-family:var(--font-mono);color:var(--muted);margin-left:3px}
.cb-itin__stat .k{font-family:var(--font-mono);font-size:.58rem;letter-spacing:.11em;
  text-transform:uppercase;color:var(--muted);margin-top:7px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.cb-mini{display:flex;align-items:center;gap:0;margin-top:18px;overflow:hidden;width:100%}
.cb-mini__dot{width:9px;height:9px;border-radius:50%;background:var(--sea);flex-shrink:0;
  position:relative;z-index:2}
.cb-mini__dot.end{background:var(--accent)}
.cb-mini__seg{height:2px;flex:1;background:var(--line);min-width:8px}

.cb-itin__body{
  display:grid !important;
  grid-template-rows:0fr !important;
  transition:grid-template-rows .4s var(--ease);
  width:100% !important;
  overflow:hidden;
}
.cb-itin.is-open .cb-itin__body{grid-template-rows:1fr !important}
.cb-itin__bodyin{
  overflow:hidden;
  width:100%;
  min-height:0;
}

/* ============================================================
   ZIG-ZAG TIMELINE
   ============================================================ */
.cb-timeline{
  position:relative;
  padding:30px 16px 30px;
  border-top:1px solid var(--line-soft);
  width:100%;
}

/* Central vertical spine line */
.cb-timeline::before{
  content:"";
  position:absolute;
  left:50%;
  top:24px;
  bottom:24px;
  width:2px;
  background:linear-gradient(to bottom,
    transparent 0%,
    rgba(31,122,134,.28) 6%,
    rgba(31,122,134,.28) 94%,
    transparent 100%);
  transform:translateX(-50%);
  z-index:0;
}

.cb-day{
  position:relative;
  width:50%;
  padding:12px 42px 12px 0;
  z-index:1;
  display:grid;
  grid-template-columns:1fr;
  grid-template-rows:auto auto;
  gap:2px;
  align-items:start;
  min-height:64px;
  box-sizing:border-box;
}

/* Even days flip to the right side */
.cb-day:nth-child(even){
  margin-left:50%;
  padding:12px 0 12px 42px;
}

/* Day label and content layout — DAY n label stacks above place name on both sides
   On odd (left) days, content right-aligned (toward spine)
   On even (right) days, content left-aligned (toward spine) */
.cb-day:nth-child(odd) .cb-day__num{
  grid-column:1 / -1;
  grid-row:1;
  text-align:right;
  padding-top:0;
  margin-bottom:2px;
}
.cb-day:nth-child(odd) .cb-day__body{
  grid-column:1 / -1;
  grid-row:2;
  text-align:right;
}
.cb-day:nth-child(odd) .cb-day__meta{
  justify-content:flex-end;
}

.cb-day:nth-child(even) .cb-day__num{
  grid-column:1 / -1;
  grid-row:1;
  text-align:left;
  padding-top:0;
  margin-bottom:2px;
}
.cb-day:nth-child(even) .cb-day__body{
  grid-column:1 / -1;
  grid-row:2;
  text-align:left;
}
.cb-day:nth-child(even) .cb-day__meta{
  justify-content:flex-start;
}

.cb-day__num{
  font-family:var(--font-mono);
  font-size:.65rem;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--accent);
  font-weight:700;
  white-space:nowrap;
}

.cb-day__body{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:4px;
  word-wrap:break-word;
}

/* ============================================================
   DAY NODE — sits ON the central spine line
   Odd (left) days: dot at the RIGHT edge of .cb-day (touching spine)
   Even (right) days: dot at the LEFT edge of .cb-day (touching spine)
   ============================================================ */
.cb-day__node{
  position:absolute;
  top:24px;
  width:12px;
  height:12px;
  border-radius:50%;
  background:var(--sea);
  border:0;
  box-shadow:
    0 0 0 4px #ffffff,
    0 0 0 5px rgba(31,122,134,.30);
  z-index:2;
  transform:none;
  margin:0;
}
/* Odd day: dot at right edge of the 50%-wide day box = on the spine */
.cb-day:nth-child(odd) .cb-day__node{
  right:-6px;
  left:auto;
}
/* Even day: dot at left edge of the 50%-wide day box = on the spine */
.cb-day:nth-child(even) .cb-day__node{
  left:-6px;
  right:auto;
}
/* Port stop days (with NM distance) — red dot */
.cb-day--port .cb-day__node{
  background:var(--accent);
  box-shadow:
    0 0 0 4px #ffffff,
    0 0 0 5px rgba(217,43,46,.30);
}
/* First and last day — navy dot (embarkation/disembarkation) */
.cb-day:first-child .cb-day__node,
.cb-day:last-child .cb-day__node{
  background:var(--navy);
  box-shadow:
    0 0 0 4px #ffffff,
    0 0 0 5px rgba(21,38,77,.30);
}

.cb-day__place{
  font-family:var(--font-head);
  font-weight:500;
  font-size:1.08rem;
  color:var(--ink);
  line-height:1.3;
  letter-spacing:-.005em;
  white-space:normal;
  word-wrap:break-word;
}

.cb-day__meta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px 12px;
  font-size:.82rem;
  line-height:1.4;
  color:var(--body);
  margin-top:2px;
}

.cb-day__nm{
  display:inline-flex;
  align-items:center;
  gap:5px;
  font-family:var(--font-mono);
  font-size:.78rem;
  color:var(--sea);
  font-weight:500;
  white-space:nowrap;
}
.cb-day__nm .naut-ico{width:16px;height:16px;opacity:.7}

.cb-day__note{
  font-size:.82rem;
  color:var(--muted);
  font-style:italic;
  white-space:normal;
}
.cb-day__note[href]{
  color:var(--sea);
  text-decoration:none;
  font-style:normal;
  border-bottom:1px dotted currentColor;
  transition:color .2s;
}
.cb-day__note[href]:hover{color:var(--accent)}

/* Footer — centered buttons */
.cb-itin__foot{
  padding:24px 28px 26px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:center;
  border-top:1px solid var(--line-soft);
  width:100%;
  box-sizing:border-box;
}
.cb-itin__foot .cb-btn{
  white-space:normal;
  text-align:center;
  flex:0 1 auto;
  min-width:160px;
  max-width:100%;
}

/* ============================================================
   CLOSING CTA
   ============================================================ */
.cb-close{position:relative;overflow:hidden;border-radius:var(--r-lg);
  background:linear-gradient(120deg,#15264d 0%,#1d3566 58%,#1f7a86 128%);color:#fff;
  display:grid;grid-template-columns:1.3fr 1fr;box-shadow:var(--shadow-md)}
.cb-close__copy{padding:46px 48px}
.cb-close .cb-kick{color:#9fe0e8}
.cb-close h2{font-family:var(--font-head);font-weight:460;font-size:2.1rem;line-height:1.1;
  margin:14px 0 14px;color:#fff;max-width:18ch}
.cb-close p{margin:0 0 26px;color:rgba(255,255,255,.92);font-size:1.02rem;line-height:1.55;max-width:40ch}
.cb-close__actions{display:flex;gap:14px;flex-wrap:wrap}
.cb-close__media{position:relative;min-height:280px}
.cb-close__media .cb-ph{position:absolute;inset:0;
  background:repeating-linear-gradient(135deg,rgba(255,255,255,.07) 0 14px,rgba(255,255,255,.02) 14px 28px),
    linear-gradient(160deg,#1a3a4a,#0c1733)}
.cb-close__media .cb-ph__lbl{background:rgba(255,255,255,.15);color:rgba(255,255,255,.85)}
.cb-close__img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;   /* fills the panel, crops instead of leaving a gap */
  display:block;
}


@media(max-width:780px){.cb-close{grid-template-columns:1fr}.cb-close__media{min-height:180px;order:-1}
  .cb-close__copy{padding:34px 28px}}

/* ============================================================
   MOBILE
   ============================================================ */
@media(max-width:768px){
  .cb-itin__head{padding:20px 18px !important}
  .cb-itin__title{font-size:1.1rem}

  .cb-itin__stats{grid-template-columns:repeat(3,1fr)}
  .cb-itin__stat{padding:0 10px}
  .cb-itin__stat .v{font-size:1.15rem}
  .cb-itin__stat .k{font-size:.55rem}

  /* Zig-zag collapses to single left column */
  .cb-timeline{padding:14px 18px 18px}
  .cb-timeline::before{left:11px;transform:none}

  .cb-day,
  .cb-day:nth-child(even){
    width:100%;
    margin-left:0;
    padding:12px 0 12px 32px;
    grid-template-columns:1fr;
    gap:2px;
    text-align:left;
  }
  .cb-day__node,
  .cb-day:nth-child(odd) .cb-day__node,
  .cb-day:nth-child(even) .cb-day__node{
    left:6px !important;
    right:auto !important;
    margin-left:0 !important;
    top:20px;
    width:10px;
    height:10px;
    box-shadow:
      0 0 0 3px #ffffff,
      0 0 0 4px rgba(31,122,134,.30);
  }
  .cb-day--port .cb-day__node{
    box-shadow:
      0 0 0 3px #ffffff,
      0 0 0 4px rgba(217,43,46,.30);
  }
  .cb-day:first-child .cb-day__node,
  .cb-day:last-child .cb-day__node{
    box-shadow:
      0 0 0 3px #ffffff,
      0 0 0 4px rgba(21,38,77,.30);
  }
  .cb-day:nth-child(odd) .cb-day__num,
  .cb-day:nth-child(even) .cb-day__num{
    grid-column:1;grid-row:1;text-align:left;padding-top:0;
    margin-bottom:-2px;font-size:.62rem;
  }
  .cb-day:nth-child(odd) .cb-day__body,
  .cb-day:nth-child(even) .cb-day__body{
    grid-column:1;grid-row:2;text-align:left;
  }
  .cb-day:nth-child(odd) .cb-day__meta,
  .cb-day:nth-child(even) .cb-day__meta{
    justify-content:flex-start;
  }
  .cb-day__place{font-size:1rem}

  .cb-itin__foot{padding:18px 18px 22px}
  .cb-itin__foot .cb-btn{flex:1 1 100%;min-width:0}

  .cb-overview{grid-template-columns:1fr}
  .cb-overview__map{min-height:280px}
  .cb-useful{grid-template-columns:1fr;gap:8px}

  .cb-hero h1{font-size:1.85rem;line-height:1.15}
  .cb-hero__stats{gap:20px}

  .cb-close{grid-template-columns:1fr}
  .cb-close__media{min-height:180px}
}

@media(max-width:620px){
  .cb-shell{padding-left:18px;padding-right:18px}
  .cb-overview__details{padding:28px 22px}
  .cb-section{padding:48px 0}
  /* Mobile drow: icon (24px) on left, label + value stacked in column 2 */
  .cb-drow{
    grid-template-columns:24px 1fr !important;
    grid-template-rows:auto auto;
    gap:6px 12px !important;
    column-gap:12px;
    row-gap:6px;
  }
  .cb-drow .naut-ico{
    grid-column:1;
    grid-row:1 / span 2;
    margin-top:4px;
  }
  .cb-drow__label{
    grid-column:2 !important;
    grid-row:1;
    padding-top:0 !important;
  }
  .cb-drow__value{
    grid-column:2 !important;
    grid-row:2;
    min-width:0;
    word-wrap:break-word;
    overflow-wrap:break-word;
    word-break:normal;
    hyphens:none;
  }
  .cb-drow--haslink{margin:6px 0;padding:12px 14px}
}

@media(max-width:480px){
  .cb-day__place{font-size:.98rem}
  .cb-day__meta{font-size:.75rem}
  .cb-day__nm{font-size:.72rem}
  .cb-hero h1{font-size:1.55rem}
}

