/* ============================================================
   USVI Cruise Ship Schedule — Global Stylesheet
   Shared design system with the FlySTT network
   Font: Plus Jakarta Sans + JetBrains Mono
   Primary: gradient #667eea→#a855f7 | Ink: #0d1f35 | Muted: #6b7a8d
   ============================================================ */

:root {
  --sky: #f8f9fc; --white: #fff; --ink: #0d1f35; --muted: #6b7a8d;
  --border: #eaeef2;
  --grad: linear-gradient(90deg, #667eea 0%, #f093fb 60%, #f5a623 100%);
  --grad-btn: linear-gradient(90deg, #667eea, #a855f7);
  --primary: #667eea;
  --primary-mid: #a855f7;
  --primary-light: #f0f0ff;
  --primary-dark: #4f63d2;
  /* Legacy coral tokens, now aliased to the purple palette.
     Kept as aliases so existing var(--coral*) usages across the site
     resolve to purple. Retire the names gradually. */
  --coral: var(--primary); --coral-mid: var(--primary-mid);
  --coral-light: var(--primary-light); --coral-dark: var(--primary-dark);
  --on-time: #16a34a; --on-time-bg: #dcfce7;
  --delayed: #d97706; --delayed-bg: #fef3c7;
  --cancelled: #dc2626; --cancelled-bg: #fee2e2;
  --landed: #2563eb; --landed-bg: #dbeafe;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.07);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --radius: 14px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Plus Jakarta Sans', sans-serif; background: var(--sky); color: var(--ink); font-size: 15px; }

/* ── HEADER ── */
.site-header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 300; box-shadow: 0 1px 6px rgba(0,0,0,0.06); }
.header-top { max-width: 1240px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 20px; }
.logo-wrap { display: flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0; }
.logo-mark { width: 42px; height: 42px; background: var(--grad-btn); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; box-shadow: 0 2px 8px rgba(102,126,234,0.3); }
.logo-full-img { height: 36px; width: auto; display: block; }
.logo-text strong { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16px; font-weight: 900; color: #0d1f35; display: block; line-height: 1.15; }
.logo-text span { font-size: 11px; color: #6b7a8d; letter-spacing: .2px; }
.header-pill-nav { display: flex; gap: 6px; align-items: center; margin: 0 auto; flex-wrap: wrap; }
.hpill { padding: 8px 18px; border-radius: 24px; border: 1.5px solid var(--border); background: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 700; color: #3d5068; cursor: pointer; transition: all .18s; white-space: nowrap; text-decoration: none; display: inline-block; }
.hpill:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.hpill.active { background: var(--grad-btn); border-color: transparent; color: #fff; box-shadow: 0 2px 8px rgba(102,126,234,0.28); }
.header-datetime { flex-shrink: 0; text-align: right; }
.hdt-time { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 18px; font-weight: 900; color: #0d1f35; line-height: 1; }
.hdt-date { font-size: 11px; color: #6b7a8d; margin-top: 2px; white-space: nowrap; }

/* ── MOBILE TOP BAR ── */
.mobile-topbar { display: none; background: #f8f9fc; border-bottom: 1px solid var(--border); padding: 6px 16px; font-size: 11px; color: #6b7a8d; font-weight: 600; justify-content: space-between; align-items: center; }
.mobile-topbar-left { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mobile-nav { display: none; }

/* ── HAMBURGER ── */
.hamburger-btn { display: none; flex-direction: column; justify-content: center; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; z-index: 1001; flex-shrink: 0; margin-left: auto; margin-right: 4px; }
.hamburger-btn span { display: block; width: 24px; height: 2px; background: #0d1f35; border-radius: 2px; transition: all 0.25s ease; }
.hamburger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU OVERLAY ── */
.mobile-menu-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,0.98); backdrop-filter: blur(12px); z-index: 999; flex-direction: column; padding: 80px 32px 40px; overflow-y: auto; }
.mobile-menu-overlay.open { display: flex; }
.mobile-menu-overlay a { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 20px; font-weight: 800; color: #0d1f35; text-decoration: none; padding: 14px 0; border-bottom: 1px solid #eee; width: 100%; transition: color 0.15s; }
.mobile-menu-overlay a:last-child { border-bottom: none; }
.mobile-menu-overlay a:hover, .mobile-menu-overlay a.active { color: var(--primary); }
.mobile-menu-overlay .mob-sub { font-size: 15px !important; font-weight: 600 !important; color: #6b7a8d !important; padding: 10px 0 10px 16px !important; border-bottom: none !important; }
.mobile-menu-overlay .mob-sub:hover { color: var(--primary) !important; }
.mobile-menu-close { position: absolute; top: 20px; right: 24px; background: none; border: none; font-size: 28px; cursor: pointer; color: #0d1f35; z-index: 1002; }

/* ── NAV DROPDOWN ── */
.nav-dropdown { position: relative; }
.nav-dropdown > .hpill::after { content: ' ▾'; font-size: 10px; opacity: 0.6; }
.nav-dropdown-menu { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); padding-top: 10px; z-index: 999; min-width: 200px; }
.nav-dropdown-inner { background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,0.10); padding: 6px; }
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a { display: block; padding: 9px 14px; font-size: 13px; font-weight: 700; color: #3d5068; text-decoration: none; border-radius: 8px; transition: background .15s, color .15s; white-space: nowrap; }
.nav-dropdown-menu a:hover { background: var(--primary-light); color: var(--primary); }
.nav-divider { height: 1px; background: var(--border); margin: 4px 8px; }

/* ── HERO ── */
.welcome-inner { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding: 48px 24px 44px; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.welcome-left { flex: 1; min-width: 280px; max-width: 580px; }
.welcome-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); border-radius: 20px; padding: 5px 14px; font-size: 12px; font-weight: 700; color: rgba(255,255,255,.90); letter-spacing: .3px; margin-bottom: 16px; backdrop-filter: blur(4px); }
.welcome-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 42px; font-weight: 900; color: #fff; line-height: 1.08; margin-bottom: 12px; text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.welcome-title span { background: linear-gradient(90deg, #f093fb, #f5a623); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.welcome-sub { font-size: 15px; color: rgba(255,255,255,.82); line-height: 1.6; max-width: 460px; text-shadow: 0 1px 4px rgba(0,0,0,.4); margin-bottom: 22px; }
.welcome-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.welcome-pill { padding: 6px 14px; border-radius: 20px; border: 1.5px solid rgba(255,255,255,.38); background: rgba(255,255,255,.10); backdrop-filter: blur(4px); color: #fff; font-size: 12px; font-weight: 700; cursor: pointer; transition: background .15s; }
.welcome-pill:hover { background: rgba(255,255,255,.20); }
.welcome-card { background: #fff; border-radius: 18px; box-shadow: 0 8px 40px rgba(0,0,0,.25); padding: 24px 22px; width: 300px; flex-shrink: 0; }
.wc-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16px; font-weight: 900; color: #0d1f35; margin-bottom: 4px; }
.wc-date { font-size: 12px; color: #6b7a8d; margin-bottom: 16px; }
.wc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.wc-stat { background: var(--primary-light); border-radius: 10px; padding: 11px 12px; text-align: center; }
.wc-stat-n { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 22px; font-weight: 900; background: var(--grad-btn); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; }
.wc-stat-l { font-size: 11px; color: #6b7a8d; margin-top: 2px; }
.wc-flights { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.wc-flight-row { display: flex; align-items: center; justify-content: space-between; padding: 7px 10px; border-radius: 8px; background: #f8f9fc; border: 1px solid var(--border); font-size: 12px; }
.wc-flight-num { font-family: 'JetBrains Mono', monospace; font-weight: 500; color: var(--ink); }
.wc-flight-dest { color: var(--muted); }
.wc-cta { display: block; width: 100%; padding: 11px; background: var(--grad-btn); color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 800; border-radius: 10px; text-align: center; border: none; cursor: pointer; transition: opacity .15s; text-decoration: none; }
.wc-cta:hover { opacity: .88; }
.wc-sub { font-size: 11px; color: #6b7a8d; text-align: center; margin-top: 8px; }

/* ── FLIGHTS ── */
.flights-section, .cruise-section { background: var(--white); border-bottom: 1px solid var(--border); padding: 28px 24px; }
.flights-inner, .cruise-inner { max-width: 1200px; margin: 0 auto; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; flex-wrap: wrap; gap: 12px; }
.section-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 22px; font-weight: 900; color: var(--ink); }
.section-sub { font-size: 13px; color: var(--muted); margin-top: 3px; }
.section-sub-note { font-size: 11px; color: var(--primary); font-style: italic; margin-top: 2px; }
.tab-row { display: flex; gap: 6px; align-items: center; }
.ftab { padding: 8px 18px; border-radius: 24px; border: 1.5px solid var(--border); background: var(--white); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 700; color: var(--muted); cursor: pointer; transition: all .15s; white-space: nowrap; }
.ftab.active { background: var(--grad-btn); border-color: transparent; color: #fff; box-shadow: 0 2px 8px rgba(102,126,234,0.25); }
.flight-table-wrap, .ship-table-wrap { overflow-x: auto; }
.flight-table, .ship-table { width: 100%; border-collapse: collapse; }
.flight-table th, .ship-table th { padding: 10px 12px; text-align: left; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; border-bottom: 2px solid var(--border); white-space: nowrap; }
.flight-table td, .ship-table td { padding: 13px 12px; border-top: 1px solid var(--border); vertical-align: middle; }
.flight-table tr:hover td, .ship-table tr:hover td { background: var(--primary-light); }
.fn { font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 500; color: var(--ink); }
.airline-name { font-size: 11px; color: var(--muted); margin-top: 2px; }
.city-name { font-size: 14px; color: var(--ink); font-weight: 600; }
.iata { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--muted); margin-top: 1px; }
.sched-time { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--ink); }
.est-time { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--delayed); }
.strike { text-decoration: line-through; color: var(--muted); }
.gate-num { font-family: 'JetBrains Mono', monospace; font-size: 12px; background: var(--sky); border-radius: 6px; padding: 3px 8px; color: var(--ink); }
.badge { display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.badge-ontime { background: var(--on-time-bg); color: var(--on-time); }
.badge-landed { background: var(--landed-bg); color: var(--landed); }
.badge-delayed { background: var(--delayed-bg); color: var(--delayed); }
.badge-cancelled { background: var(--cancelled-bg); color: var(--cancelled); }
.badge-boarding { background: #f0fdf4; color: #15803d; }
.badge-departed { background: #ede9fe; color: #7c3aed; }
.flights-loading { text-align: center; padding: 40px; color: var(--muted); font-size: 14px; }
.flights-error { text-align: center; padding: 32px; color: var(--cancelled); font-size: 14px; background: var(--cancelled-bg); border-radius: 10px; }
.see-all-row { text-align: right; margin-top: 14px; }
.see-all-link { font-size: 13px; font-weight: 700; text-decoration: none; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.see-all-link:hover { opacity: .8; }
.section-headline { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 22px; font-weight: 900; color: var(--ink); }

/* ── FOOTER ── */
.site-footer { background: #f5f7fa; color: #4a5568; font-size: 14px; margin-top: -48px; border-top: 1px solid var(--border); position: relative; z-index: 2; border-radius: 24px 24px 0 0; box-shadow: 0 -4px 24px rgba(0,0,0,0.08); }
.footer-main { max-width: 1200px; margin: 0 auto; padding: 40px 24px 32px; display: grid; grid-template-columns: 2fr 1.3fr 1.1fr 1.1fr; gap: 40px; }
.fc-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.fc-logo-mark { width: 36px; height: 36px; background: var(--grad-btn); border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.fc-logo-mark-img { width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0; display: block; }
.fc-logo-name { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 900; color: #0d1f35; }
.fc-tagline { font-size: 13px; color: #6b7a8d; line-height: 1.65; margin-bottom: 20px; max-width: 280px; }
.fc-contact { display: flex; flex-direction: column; gap: 10px; }
.fc-contact-item { display: flex; align-items: center; gap: 9px; font-size: 13px; color: #4a5568; }
.fc-contact-item a { color: var(--primary); text-decoration: none; }
.fc-contact-item a:hover { color: var(--primary-dark); text-decoration: underline; }
.fc-contact-icon { font-size: 15px; flex-shrink: 0; }
.fc-social { display: flex; gap: 8px; margin-top: 18px; }
.fc-social-btn { width: 34px; height: 34px; border-radius: 8px; background: #f5f7fa; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; text-decoration: none; transition: all .15s; color: #9aa5b4; }
.fc-social-btn:hover { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }
.fc-heading { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 11px; font-weight: 800; color: #9aa5b4; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 14px; }
.fc-links { display: flex; flex-direction: column; gap: 9px; }
.fc-link { font-size: 13px; color: #4a5568; text-decoration: none; transition: color .15s; display: flex; align-items: center; gap: 6px; }
.fc-link:hover { color: #0d1f35; }
.fc-ad-box { background: #fff; border: 1.5px dashed var(--border); border-radius: 12px; padding: 18px 14px; text-align: center; margin-bottom: 12px; }
.fc-ad-eyebrow { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: #9aa5b4; margin-bottom: 8px; }
.fc-ad-icon { font-size: 30px; margin-bottom: 8px; }
.fc-ad-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 800; color: #0d1f35; margin-bottom: 6px; line-height: 1.3; }
.fc-ad-desc { font-size: 12px; color: #6b7a8d; line-height: 1.5; margin-bottom: 14px; }
.fc-ad-note { font-size: 11px; color: #aaa; margin-top: 10px; }
.fc-ad-btn { display: inline-block; padding: 8px 16px; background: var(--grad-btn); color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12px; font-weight: 800; border-radius: 7px; text-decoration: none; transition: opacity .15s; }
.fc-ad-btn:hover { opacity: .88; }
.fc-source-list { display: flex; flex-direction: column; gap: 7px; }
.fc-source { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border); border-radius: 7px; padding: 8px 10px; font-size: 12px; color: #4a5568; text-decoration: none; transition: all .15s; }
.fc-source:hover { background: var(--primary-light); color: #0d1f35; }
.fc-source-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.footer-bottom { border-top: 1px solid var(--border); padding: 16px 24px; }
.footer-bottom-in { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.fb-copy { font-size: 12px; color: #aaa; }
.fb-links { display: flex; gap: 20px; flex-wrap: wrap; }
.fb-link { font-size: 12px; color: #aaa; text-decoration: none; transition: color .15s; }
.fb-link:hover { color: #0d1f35; }

/* ── RESPONSIVE ── */
@media(max-width: 920px) { .footer-main { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media(max-width: 768px) {
  .header-pill-nav { display: none !important; }
  .mobile-nav { display: none !important; }
  .hamburger-btn { display: flex !important; }
  .header-datetime { display: none; }
  .mobile-topbar { display: flex; }
  .welcome-title { font-size: 28px; }
  .welcome-banner { min-height: unset; }
  .welcome-card { width: 100%; }
  .welcome-inner { padding: 32px 20px; }
  .intel-grid { grid-template-columns: 1fr; }
  .routes-grid { grid-template-columns: 1fr 1fr; }
  .flight-table th:nth-child(3), .flight-table td:nth-child(3) { display: none; }
  .flight-table th:nth-child(5), .flight-table td:nth-child(5) { display: none; }
  .flight-table th:nth-child(1) { width: 30%; }
  .flight-table th:nth-child(2) { width: 28%; }
  .flight-table th:nth-child(4) { width: 22%; }
  .flight-table th:nth-child(6) { width: 20%; }
  .flight-table td { padding: 10px 8px; }
  .fn { font-size: 12px; } .airline-name { font-size: 10px; }
  .city-name { font-size: 12px; } .iata { font-size: 10px; }
  .sched-time { font-size: 11px; } .badge { font-size: 10px; padding: 3px 6px; }
  .tab-row { width: 100%; } .ftab { padding: 8px 12px; font-size: 12px; flex: 1; text-align: center; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .see-all-row { text-align: center; margin-top: 16px; }
}
@media(max-width: 560px) { .footer-main { grid-template-columns: 1fr; gap: 22px; } }
@media(max-width: 480px) {
  .flight-table th:nth-child(2), .flight-table td:nth-child(2) { display: none; }
  .flight-table th:nth-child(1) { width: 50%; }
  .flight-table th:nth-child(4) { width: 30%; }
  .flight-table th:nth-child(6) { width: 20%; }
}

/* ── FOOTER BANNER ── */
.footer-banner { position: relative; background-size: cover; background-position: center 40%; min-height: 320px; display: flex; align-items: center; margin-top: 40px; overflow: hidden; }
.footer-banner-overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(0,15,45,0.85) 0%, rgba(0,25,60,0.70) 55%, rgba(0,10,30,0.45) 100%); z-index: 0; }
.footer-banner-inner { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 60px 24px; width: 100%; }
.footer-banner-h { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 36px; font-weight: 900; color: #fff; line-height: 1.1; margin-bottom: 12px; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.footer-banner-p { font-size: 16px; color: rgba(255,255,255,.85); margin-bottom: 28px; max-width: 520px; line-height: 1.65; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.footer-banner-btn { display: inline-block; padding: 13px 30px; background: var(--grad-btn); color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 800; border-radius: 999px; text-decoration: none; transition: opacity .15s; box-shadow: 0 4px 16px rgba(102,126,234,0.35); }
.footer-banner-btn:hover { opacity: .88; }

@media(max-width: 768px) { .footer-banner-h { font-size: 26px; } .footer-banner { min-height: 320px; } .footer-banner-inner { padding: 36px 20px; } .footer-banner-p { margin-bottom: 20px; font-size: 14px; } }

/* ============================================================
   CRUISE COMPONENTS
   Built on the same tokens as the flight board above.
   Port accents are the only new colors.
   ============================================================ */

:root {
  --wico: #667eea;
  --crown: #a855f7;
  --stj: #f093fb;
  --stx: #f5a623;
  --quiet: #16a34a;
  --light: #65a30d;
  --moderate: #d97706;
  --busy: #ea580c;
  --very-busy: #dc2626;
}

/* ── PAGE HERO (interior pages) ── */
.page-hero { position: relative; min-height: 240px; display: flex; align-items: center; background-size: cover; background-position: center 42%; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(13,31,53,0.88) 0%, rgba(23,20,70,0.72) 55%, rgba(10,10,30,0.42) 100%); }
.page-hero-inner { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 44px 24px; width: 100%; }
.page-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); border-radius: 20px; padding: 5px 14px; font-size: 12px; font-weight: 700; color: rgba(255,255,255,.90); letter-spacing: .3px; margin-bottom: 14px; backdrop-filter: blur(4px); }
.page-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 36px; font-weight: 900; color: #fff; line-height: 1.08; margin-bottom: 10px; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.page-title span { background: linear-gradient(90deg,#f093fb,#f5a623); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-sub { font-size: 15px; color: rgba(255,255,255,.82); line-height: 1.65; max-width: 560px; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
@media(max-width: 768px) { .page-title { font-size: 26px; } .page-hero { min-height: 190px; } .page-hero-inner { padding: 32px 20px; } }

/* ── HOME HERO ── */
.welcome-banner { position: relative; background-size: cover; background-position: center 38%; min-height: 440px; display: flex; align-items: stretch; }
.welcome-banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(13,31,53,0.86) 0%, rgba(23,20,70,0.66) 48%, rgba(10,10,30,0.30) 100%); }

/* Today card in the hero */
.wc-ships { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.wc-ship-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 8px; background: #f8f9fc; border: 1px solid var(--border); font-size: 12px; }
.wc-ship-name { font-weight: 700; color: var(--ink); line-height: 1.25; }
.wc-ship-port { font-size: 11px; color: var(--muted); margin-top: 1px; }
.wc-ship-time { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--muted); white-space: nowrap; flex-shrink: 0; }
.wc-empty { text-align: center; padding: 22px 8px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.wc-empty-icon { font-size: 30px; display: block; margin-bottom: 8px; }

/* ── BUSY DOTS ── */
.busy-dots { display: inline-flex; align-items: center; gap: 4px; }
.busy-dots .dot { width: 7px; height: 7px; border-radius: 50%; background: #dde3ea; display: inline-block; }
.busy-dots .dot.inactive { background: #e6eaf0; }
.busy-dots .dot.active-1 { background: var(--light); }
.busy-dots .dot.active-2 { background: var(--moderate); }
.busy-dots .dot.active-3 { background: var(--busy); }
.busy-dots .dot.active-4 { background: var(--very-busy); }
.busy-label { font-size: 11px; font-weight: 800; margin-left: 5px; white-space: nowrap; }
.busy-label.l0 { color: var(--quiet); }
.busy-label.l1 { color: var(--light); }
.busy-label.l2 { color: var(--moderate); }
.busy-label.l3 { color: var(--busy); }
.busy-label.l4 { color: var(--very-busy); }

/* ── TODAY SNAPSHOT ── */
.snap-totals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 24px; }
.snap-stat { background: var(--sky); border: 1.5px solid var(--border); border-radius: 12px; padding: 18px 16px; text-align: center; }
.snap-stat-n { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 30px; font-weight: 900; background: var(--grad-btn); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; }
.snap-stat-l { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: 6px; }
@media(max-width: 560px) { .snap-totals { grid-template-columns: 1fr; gap: 10px; } .snap-stat { display: flex; align-items: center; justify-content: space-between; text-align: left; padding: 14px 16px; } .snap-stat-l { margin-top: 0; } }

.island-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.island-col { background: #fff; border: 1.5px solid var(--border); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.island-col-head { padding: 14px 16px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.island-col-name { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 900; color: var(--ink); display: flex; align-items: center; gap: 7px; }
.island-col-body { padding: 12px 14px 14px; flex: 1; }
.island-empty { color: var(--muted); font-size: 13px; text-align: center; padding: 20px 6px; line-height: 1.6; }
@media(max-width: 860px) { .island-cols { grid-template-columns: 1fr; } }

/* ── SHIP CARD ── */
.ship-card { display: flex; align-items: flex-start; gap: 11px; padding: 11px 0; border-top: 1px solid var(--border); }
.ship-card:first-child { border-top: none; padding-top: 2px; }
.ship-card-bar { width: 4px; align-self: stretch; border-radius: 3px; flex-shrink: 0; min-height: 40px; }
.ship-card-main { flex: 1; min-width: 0; }
.ship-card-name { font-size: 14px; font-weight: 800; color: var(--ink); line-height: 1.3; }
.ship-card-line { font-size: 12px; color: var(--muted); margin-top: 1px; }
.ship-card-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.ship-card-time { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--muted); }
.ship-card-pax { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--muted); }

/* ── PORT CHIP ── */
.port-chip { display: inline-block; padding: 3px 9px; border-radius: 20px; font-size: 10px; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.chip-wico  { background: rgba(102,126,234,.12); color: #4f63d2; }
.chip-crown { background: rgba(168,85,247,.12);  color: #8b3fd6; }
.chip-stj   { background: rgba(240,147,251,.15); color: #c23fa8; }
.chip-stx   { background: rgba(245,166,35,.15);  color: #b06f00; }

/* ── WEEK STRIP ── */
.week-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.wn-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16px; font-weight: 900; color: var(--ink); }
.wn-btns { display: flex; gap: 6px; }
.wn-btn { padding: 7px 14px; border-radius: 20px; border: 1.5px solid var(--border); background: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12px; font-weight: 700; color: #3d5068; cursor: pointer; text-decoration: none; transition: all .15s; }
.wn-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }

.week-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-bottom: 22px; }
.ws-day { background: #fff; border: 1.5px solid var(--border); border-radius: 12px; padding: 11px 8px; text-align: center; text-decoration: none; transition: all .15s; display: block; }
.ws-day:hover { border-color: var(--primary); box-shadow: 0 4px 14px rgba(102,126,234,.14); }
.ws-day.sel { border-color: transparent; background: var(--grad-btn); box-shadow: 0 4px 14px rgba(102,126,234,.28); }
.ws-day.sel .ws-dow, .ws-day.sel .ws-num, .ws-day.sel .ws-count { color: #fff; }
.ws-day.today:not(.sel) { border-color: var(--primary); }
.ws-dow { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.ws-num { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 19px; font-weight: 900; color: var(--ink); line-height: 1.15; margin: 3px 0 4px; }
.ws-count { font-size: 10px; font-weight: 700; color: var(--muted); }
.ws-dots { display: flex; justify-content: center; gap: 3px; margin-top: 5px; min-height: 6px; }
.ws-dots i { width: 5px; height: 5px; border-radius: 50%; display: block; }
@media(max-width: 700px) { .week-strip { grid-template-columns: repeat(4, 1fr); } }
@media(max-width: 420px) { .week-strip { grid-template-columns: repeat(3, 1fr); } }

/* ── CROWD MONITOR ── */
.day-card { background: #fff; border: 1.5px solid var(--border); border-radius: 14px; overflow: hidden; }
.day-card-head { padding: 16px 18px; border-bottom: 1px solid var(--border); background: var(--sky); }
.day-card-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 17px; font-weight: 900; color: var(--ink); }
.day-card-sub { font-size: 13px; color: var(--muted); margin-top: 3px; }
.mon-island { padding: 16px 18px; border-top: 1px solid var(--border); }
.mon-island:first-of-type { border-top: none; }
.mon-island-name { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 12px; }
.loc-row { display: grid; grid-template-columns: 210px 1fr 100px; gap: 14px; align-items: center; padding: 9px 0; border-top: 1px solid #f2f5f8; }
.loc-row:first-of-type { border-top: none; }
.loc-name { font-size: 13px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 7px; }
.loc-note { font-size: 11px; color: var(--muted); line-height: 1.45; margin-top: 2px; font-weight: 400; }
.heat-bar { display: flex; gap: 2px; }
.heat-bar i { flex: 1; height: 22px; border-radius: 3px; display: block; }
.hb-0 { background: #eef2f6; }
.hb-1 { background: #d9f2e0; }
.hb-2 { background: #fdeec4; }
.hb-3 { background: #fbd4b4; }
.hb-4 { background: #f7b6b6; }
.heat-hours { display: flex; gap: 2px; margin-top: 4px; }
.heat-hours i { flex: 1; font-size: 8px; color: #b6c0cc; text-align: center; font-style: normal; }
.risk-badge { padding: 5px 11px; border-radius: 20px; font-size: 11px; font-weight: 800; text-align: center; white-space: nowrap; }
.rb-quiet { background: #dcfce7; color: #15803d; }
.rb-low   { background: #ecfccb; color: #4d7c0f; }
.rb-med   { background: #fef3c7; color: #b45309; }
.rb-high  { background: #fee2e2; color: #b91c1c; }
@media(max-width: 720px) { .loc-row { grid-template-columns: 1fr; gap: 8px; } .risk-badge { justify-self: start; } .heat-hours i { font-size: 7px; } }

/* ── SCHEDULE FILTERS ── */
.sc-filters { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.sc-search { display: flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--border); border-radius: 10px; padding: 9px 14px; flex: 1; min-width: 220px; transition: border-color .15s; }
.sc-search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(102,126,234,.10); }
.sc-search input { flex: 1; border: none; outline: none; background: none; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; color: var(--ink); }
.sc-search input::placeholder { color: #a0aab4; }
.sc-sel { border: 1.5px solid var(--border); border-radius: 10px; padding: 10px 14px; background: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 700; color: #3d5068; cursor: pointer; outline: none; }
.sc-sel:focus { border-color: var(--primary); }
.sc-count { font-size: 13px; color: var(--muted); margin-bottom: 14px; }

/* ── SCHEDULE DAY GROUPS ── */
.sc-day { margin-bottom: 10px; background: #fff; border: 1.5px solid var(--border); border-radius: 14px; overflow: hidden; }
.sc-day-head { padding: 12px 18px; background: var(--sky); border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sc-day-date { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 900; color: var(--ink); }
.sc-day-today { background: var(--grad-btn); color: #fff; padding: 2px 9px; border-radius: 20px; font-size: 10px; font-weight: 800; margin-left: 8px; }
.sc-empty { text-align: center; padding: 60px 24px; color: var(--muted); }
.sc-empty-icon { font-size: 42px; margin-bottom: 12px; }
.sc-month-head { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 26px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.sc-month-head:first-child { margin-top: 0; }

/* Calendar buttons */
.cal-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.cal-btn { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 20px; border: 1.5px solid var(--border); background: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 11px; font-weight: 700; color: #3d5068; cursor: pointer; text-decoration: none; transition: all .15s; }
.cal-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }

/* ── PORT GUIDE CARDS ── */
.port-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.port-card { background: var(--sky); border: 1.5px solid var(--border); border-radius: 14px; padding: 20px; transition: border-color .15s, background .15s; }
.port-card:hover { border-color: var(--primary); background: #f0f0ff; }
.port-card-icon { font-size: 26px; margin-bottom: 10px; }
.port-card-name { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 900; color: var(--ink); margin-bottom: 2px; }
.port-card-island { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 9px; }
.port-card-note { font-size: 13px; color: var(--muted); line-height: 1.55; margin-bottom: 12px; }
.port-card-stat { font-size: 12px; color: var(--ink); font-weight: 700; }

/* ── FAQ ── */
.faq-list { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 17px 34px 17px 0; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 800; color: var(--ink); cursor: pointer; position: relative; }
.faq-q::after { content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 20px; font-weight: 400; color: var(--primary); }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a { display: none; padding: 0 0 17px; font-size: 14px; color: var(--muted); line-height: 1.7; }
.faq-item.open .faq-a { display: block; }

/* ── AD SLOT ── */
.ad-slot { display: flex; align-items: center; gap: 12px; background: var(--sky); border: 1.5px dashed var(--border); border-radius: 12px; padding: 14px 16px; margin-top: 14px; }
.ad-slot-icon { font-size: 22px; flex-shrink: 0; }
.ad-slot-text { flex: 1; font-size: 12px; color: var(--muted); line-height: 1.5; }
.ad-slot-text strong { color: var(--ink); display: block; font-size: 13px; margin-bottom: 2px; }
.ad-slot-link { flex-shrink: 0; padding: 8px 15px; background: var(--grad-btn); color: #fff; border-radius: 8px; font-size: 12px; font-weight: 800; text-decoration: none; white-space: nowrap; transition: opacity .15s; }
.ad-slot-link:hover { opacity: .88; }
@media(max-width: 560px) { .ad-slot { flex-direction: column; text-align: center; } }

/* ── DISCLAIMER ── */
.model-note { background: var(--sky); border: 1px solid var(--border); border-left: 3px solid var(--primary); border-radius: 8px; padding: 13px 16px; font-size: 12px; color: var(--muted); line-height: 1.65; margin-top: 18px; }
.model-note strong { color: var(--ink); }

/* ============================================================
   SECTION LAYOUT
   In FlySTT these live in index.php's $extra_css. This site uses
   them on several pages, so they belong in the shared stylesheet.
   ============================================================ */

/* Alternating section bands. Every band is full-bleed; the inner
   wrapper is what constrains content to the 1200px column. */
.cruise-section { padding: 52px 24px 48px; }
.routes-section { background: var(--sky); padding: 52px 24px 48px; border-bottom: 1px solid var(--border); }
.intel-strip    { background: var(--white); padding: 52px 24px 48px; border-bottom: 1px solid var(--border); }

.routes-inner,
.intel-strip-inner { max-width: 1200px; margin: 0 auto; }

/* Section intro: small gradient eyebrow, large title, muted description */
.section-eyebrow {
  font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  background: var(--grad-btn); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 8px;
}
.section-desc { font-size: 15px; color: var(--muted); line-height: 1.6; margin-bottom: 32px; max-width: 720px; }

/* A title that follows an eyebrow is a section heading, not a row label,
   so it gets the larger size. Titles inside .section-header stay small. */
.section-eyebrow + .section-title { font-size: 28px; margin-bottom: 6px; }

.routes-header { margin-bottom: 28px; }
.routes-header .section-desc { margin-bottom: 0; }
.routes-header-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.routes-see-all {
  font-size: 13px; font-weight: 700; white-space: nowrap; text-decoration: none;
  background: var(--grad-btn); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.routes-see-all:hover { opacity: .78; }

@media(max-width: 768px) {
  .cruise-section, .routes-section, .intel-strip { padding: 36px 20px 32px; }
  .section-eyebrow + .section-title { font-size: 22px; }
  .section-desc { font-size: 14px; margin-bottom: 24px; }
}

/* Days with nothing in port shouldn't compete with days that have ships */
.ws-day.empty { background: transparent; border-style: dashed; }
.ws-day.empty .ws-num { color: #b6c0cc; }
.ws-day.empty .ws-count { color: #c3ccd6; }

/* ── FIXES ── */

/* Hero pills are anchors, not buttons, so kill the default underline */
.welcome-pill { text-decoration: none; display: inline-block; }

/* Empty island columns were top-aligning their message inside a tall card */
.island-col-body { display: flex; flex-direction: column; }
.island-empty { margin: auto 0; }

/* Footer banner overlay is declared inline in footer.php; make sure the
   stylesheet version matches so the gradient survives if that inline
   attribute is ever removed */
.footer-banner-overlay { z-index: 0; }

/* Filter submit button on the schedule page */
.sc-btn {
  background: var(--grad-btn); color: #fff; border: none; border-radius: 10px;
  padding: 11px 24px; font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px; font-weight: 800; cursor: pointer; white-space: nowrap;
  transition: opacity .15s;
}
.sc-btn:hover { opacity: .88; }

/* ── SHIP TABLE COLUMN ALIGNMENT ──────────────────────────────
   Each day on the schedule page renders its own <table>. With the
   default auto layout every table sizes columns from its own
   content, so day-to-day the columns don't line up. Fixed layout
   with explicit widths keeps them consistent down the page.
   ─────────────────────────────────────────────────────────────── */
.ship-table { table-layout: fixed; }

/* Ship · Dock · Arrives · All Aboard · Berths
   (schedule.php and crowd-monitor.php) */
.ship-table th:nth-child(1), .ship-table td:nth-child(1) { width: 34%; }
.ship-table th:nth-child(2), .ship-table td:nth-child(2) { width: 22%; }
.ship-table th:nth-child(3), .ship-table td:nth-child(3) { width: 15%; }
.ship-table th:nth-child(4), .ship-table td:nth-child(4) { width: 15%; }
.ship-table th:nth-child(5), .ship-table td:nth-child(5) { width: 14%; }

/* Date · Ship · Arrives · All Aboard · Berths (ports.php) */
.ship-table--dated th:nth-child(1), .ship-table--dated td:nth-child(1) { width: 16%; }
.ship-table--dated th:nth-child(2), .ship-table--dated td:nth-child(2) { width: 40%; }
.ship-table--dated th:nth-child(3), .ship-table--dated td:nth-child(3) { width: 15%; }
.ship-table--dated th:nth-child(4), .ship-table--dated td:nth-child(4) { width: 15%; }
.ship-table--dated th:nth-child(5), .ship-table--dated td:nth-child(5) { width: 14%; }

/* Times and counts are numeric, so right-align them to a common edge */
.ship-table th:nth-child(3), .ship-table td:nth-child(3),
.ship-table th:nth-child(4), .ship-table td:nth-child(4),
.ship-table th:nth-child(5), .ship-table td:nth-child(5) { text-align: right; }

/* Long ship names wrap rather than forcing the column wider */
.ship-table td .city-name { overflow-wrap: anywhere; }

/* Keep the port chip and its island label on their own lines */
.ship-table td .port-chip { margin-bottom: 3px; }

@media(max-width: 720px) {
  /* Drop the dock column on narrow screens; the chip repeats info
     already visible from context, and five columns won't fit */
  .ship-table { table-layout: auto; }
  .ship-table th:nth-child(2), .ship-table td:nth-child(2) { display: none; }
  .ship-table--dated th:nth-child(2), .ship-table--dated td:nth-child(2) { display: table-cell; }
  .ship-table th, .ship-table td { width: auto !important; padding: 10px 8px; }
  .ship-table td .city-name { font-size: 13px; }
  .ship-table td .airline-name { font-size: 10px; }
  .ship-table .sched-time { font-size: 11px; }
}

/* Times must never wrap mid-value ("11:00 / AM") */
.sched-time, .est-time { white-space: nowrap; }

/* Dock shown inside the ship cell only when its column is hidden */
.mob-dock { display: none; margin-top: 5px; }
@media(max-width: 720px) {
  .mob-dock { display: block; }
  .ship-table--dated .mob-dock { display: none; }
}

/* ============================================================
   SHORE DAY GUIDE
   ============================================================ */

.sh-tabs { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.sh-tab {
  padding: 10px 22px; border-radius: 24px; border: 1.5px solid var(--border);
  background: #fff; font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px; font-weight: 700; color: #3d5068; cursor: pointer;
  transition: all .18s; white-space: nowrap;
}
.sh-tab:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.sh-tab.active { background: var(--grad-btn); border-color: transparent; color: #fff; box-shadow: 0 2px 8px rgba(102,126,234,.28); }

.sh-panel { display: none; }
.sh-panel.visible { display: block; }

.sh-tip-bar {
  display: flex; align-items: flex-start; gap: 10px;
  background: var(--primary-light); border: 1px solid rgba(102,126,234,.22);
  border-radius: 12px; padding: 14px 18px; margin-bottom: 20px;
  font-size: 13px; color: #3d5068; line-height: 1.6;
}
.sh-tip-bar span { flex-shrink: 0; font-size: 16px; line-height: 1.3; }

/* Vibe filter */
.sh-filters { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; margin-bottom: 20px; }
.sh-filter-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-right: 4px; }
.sh-filter {
  padding: 6px 14px; border-radius: 20px; border: 1.5px solid var(--border);
  background: #fff; font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px; font-weight: 700; color: #3d5068; cursor: pointer; transition: all .15s;
}
.sh-filter:hover { border-color: var(--primary); color: var(--primary); }
.sh-filter.active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Cards */
.sh-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 16px; }
.sh-card {
  background: #fff; border: 1.5px solid var(--border); border-radius: 16px;
  padding: 22px; display: flex; flex-direction: column;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.sh-card:hover { border-color: var(--primary); box-shadow: 0 6px 24px rgba(102,126,234,.13); transform: translateY(-2px); }
.sh-card.hidden { display: none; }

.sh-card-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.sh-card-icon {
  font-size: 22px; flex-shrink: 0; width: 42px; height: 42px; border-radius: 11px;
  background: var(--sky); display: flex; align-items: center; justify-content: center;
}
.sh-card-headings { flex: 1; min-width: 0; }
.sh-card-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16px; font-weight: 900; color: var(--ink); line-height: 1.3; margin: 0 0 3px; }
.sh-card-meta { font-size: 12px; color: var(--muted); font-family: 'JetBrains Mono', monospace; }
.sh-card-desc { font-size: 14px; color: #4a5568; line-height: 1.65; margin-bottom: 14px; flex: 1; }

.sh-vibe {
  flex-shrink: 0; padding: 4px 11px; border-radius: 20px;
  font-size: 10px; font-weight: 800; letter-spacing: .02em; white-space: nowrap;
}
.vibe-beach       { background: #fef3c7; color: #b45309; }
.vibe-water       { background: #dbeafe; color: #1d4ed8; }
.vibe-shopping    { background: #fce7f3; color: #be185d; }
.vibe-views       { background: #ede9fe; color: #6d28d9; }
.vibe-food-drink  { background: #dcfce7; color: #15803d; }
.vibe-culture     { background: #ffedd5; color: #c2410c; }

.sh-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.sh-card-tags span {
  font-size: 11px; color: var(--muted); background: var(--sky);
  border: 1px solid var(--border); border-radius: 20px; padding: 4px 10px; white-space: nowrap;
}

/* Ad slot inside a card */
.sh-ad-slot {
  display: flex; align-items: center; gap: 11px; margin-top: auto;
  background: var(--sky); border: 1.5px dashed var(--border);
  border-radius: 11px; padding: 12px 14px;
}
.sh-ad-slot.sponsor { background: var(--primary-light); border-style: solid; border-color: rgba(102,126,234,.32); }
.sh-ad-icon { font-size: 20px; flex-shrink: 0; }
.sh-ad-label { font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #9aa5b4; flex-shrink: 0; }
.sh-ad-text { flex: 1; font-size: 12px; color: var(--muted); line-height: 1.5; min-width: 0; }
.sh-ad-slot.sponsor .sh-ad-text { color: var(--ink); }
.sh-ad-text strong { display: block; color: var(--primary); font-size: 13px; margin-bottom: 2px; }
.sh-ad-link {
  flex-shrink: 0; font-size: 12px; font-weight: 800; text-decoration: none;
  color: var(--primary); white-space: nowrap;
}
.sh-ad-slot.sponsor .sh-ad-link {
  background: var(--grad-btn); color: #fff; padding: 8px 14px; border-radius: 8px;
  transition: opacity .15s;
}
.sh-ad-slot.sponsor .sh-ad-link:hover { opacity: .88; }
.sh-ad-link:hover { text-decoration: underline; }
.sh-ad-slot.sponsor .sh-ad-link:hover { text-decoration: none; }

/* Timing strip */
.timing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.timing-card { background: #fff; border: 1.5px solid var(--border); border-radius: 14px; padding: 20px; }
.timing-num { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 26px; font-weight: 900; background: var(--grad-btn); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; margin-bottom: 8px; }
.timing-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 800; color: var(--ink); margin-bottom: 5px; }
.timing-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }

.sh-warning {
  background: #fef3c7; border: 1px solid #fcd34d; border-left: 3px solid #d97706;
  border-radius: 10px; padding: 16px 18px; font-size: 13px; color: #78350f; line-height: 1.7;
}
.sh-warning strong { color: #78350f; }

@media(max-width: 560px) {
  .sh-grid { grid-template-columns: 1fr; }
  .sh-card { padding: 18px; }
  .sh-tab { flex: 1; text-align: center; padding: 10px 12px; font-size: 13px; }
  .sh-ad-slot { flex-wrap: wrap; }
}

/* Four-up stat row. Declared as a class rather than an inline style so the
   responsive rules below can actually override it. */
.snap-totals.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media(max-width: 860px) { .snap-totals.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media(max-width: 560px) {
  .snap-totals.cols-4 { grid-template-columns: 1fr; }
  .snap-totals.cols-4 .snap-stat { display: flex; align-items: center; justify-content: space-between; text-align: left; padding: 14px 16px; }
  .snap-totals.cols-4 .snap-stat-l { margin-top: 0; }
}

/* ── BREADCRUMBS ── */
.crumbs { background: var(--white); border-bottom: 1px solid var(--border); }
.crumbs-inner { max-width: 1200px; margin: 0 auto; padding: 11px 24px; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.crumbs-inner a { color: var(--muted); text-decoration: none; transition: color .15s; }
.crumbs-inner a:hover { color: var(--primary); }
.crumbs-inner [aria-current="page"] { color: var(--ink); font-weight: 700; }
.crumb-sep { color: #c3ccd6; }
@media(max-width: 768px) { .crumbs-inner { padding: 9px 20px; font-size: 11px; } }

/* Grid and flex items default to min-width:auto, so a single wide child
   (a table, a long unbroken string) forces the whole column open and the
   page scrolls sideways. Pinning min-width:0 lets them shrink properly. */
.taxi-content, .taxi-main > *, .page-content, .page-main > *, .cruise-inner > *, .routes-inner > * { min-width: 0; }
.taxi-content table, .page-content table { max-width: 100%; }

/* ── BRAND WORDMARK ── */
/* Header uses logo-mark.png (no tagline, 467x132) so the wordmark itself
   reads larger at the same header height. The footer uses the full lockup. */
.logo-full-img { height: 38px; width: auto; display: block; }
.fc-logo-img   { height: 34px; width: auto; display: block; }
.fc-logo       { margin-bottom: 16px; }
@media(max-width: 768px) { .logo-full-img { height: 34px; } }
@media(max-width: 380px) { .logo-full-img { height: 30px; } }
