/* Sitewide navigation: "Lessons" dropdown + Hotels on desktop, app-style tab bar on phones. */
nav.main-nav ul{gap:26px}
.nav-dd{position:relative}
.nav-dd-btn{display:inline-flex;align-items:center;gap:6px;border:0;background:none;padding:0;font:inherit;font-weight:500;color:var(--ink);cursor:pointer}
.nav-dd-btn.current,.nav-dd-btn:hover{color:var(--teal)}
.nav-dd-btn::after{content:"";width:6px;height:6px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg)}
nav.main-nav ul.nav-dd-menu{display:none;position:absolute;top:100%;left:-14px;z-index:120;flex-direction:column;align-items:stretch;gap:0;min-width:200px;margin:0;padding:8px;list-style:none;background:#fff;border:1px solid var(--grey-light);border-radius:12px;box-shadow:0 12px 30px rgba(10,61,92,.16)}
.nav-dd::after{content:"";position:absolute;left:0;right:0;top:100%;height:12px}
.nav-dd:hover .nav-dd-menu,.nav-dd:focus-within .nav-dd-menu{display:flex}
nav.main-nav ul.nav-dd-menu{margin-top:10px}
.nav-dd-menu a{display:block;padding:9px 12px;border-radius:8px;white-space:nowrap}
.nav-dd-menu a:hover{background:var(--sand);text-decoration:none}
.tabbar{display:none}

@media (max-width:899px){
  /* compact app header */
  .nav-wrap{padding:10px 16px}
  .logo{font-size:1.25rem}
  /* bottom tab bar */
  .tabbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:210;background:rgba(255,255,255,.97);-webkit-backdrop-filter:saturate(1.6) blur(12px);backdrop-filter:saturate(1.6) blur(12px);border-top:1px solid var(--grey-light);padding:6px 4px calc(6px + env(safe-area-inset-bottom,0px))}
  .tabbar a{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:3px;padding:4px 0;border-radius:12px;color:#66757d;font-size:.69rem;font-weight:600;letter-spacing:.01em;text-decoration:none;-webkit-tap-highlight-color:transparent}
  .tabbar a:hover{text-decoration:none}
  .tabbar a:active{background:var(--teal-light)}
  .tabbar svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .tabbar a[aria-current=page]{color:var(--primary)}
  .tabbar a[aria-current=page] svg{stroke-width:2.3}
  body.has-tabbar{padding-bottom:calc(62px + env(safe-area-inset-bottom,0px))}
  /* the "Book now" bar sits on top of the tab bar on product pages, and is dropped elsewhere */
  body.has-tabbar .sticky-mobile-cta{bottom:calc(58px + env(safe-area-inset-bottom,0px));z-index:205;padding:8px 14px;box-shadow:0 -4px 14px rgba(0,0,0,.06)}
  body.has-tabbar.tb-nocta .sticky-mobile-cta{display:none!important}
  body.has-tabbar:not(.tb-nocta){padding-bottom:calc(124px + env(safe-area-inset-bottom,0px))}
  body.has-tabbar .wa-fab{bottom:calc(132px + env(safe-area-inset-bottom,0px))}
  body.has-tabbar.tb-nocta .wa-fab{bottom:calc(74px + env(safe-area-inset-bottom,0px))}
  /* phone-sized type and spacing */
  .section{padding:38px 0}
  .section-tight{padding:22px 0}
  .container{padding-left:16px;padding-right:16px}
}

/* ---------- flat desktop nav (Nov 2026) ---------- */
nav.main-nav a{white-space:nowrap}
@media (min-width:900px) and (max-width:1199px){
  nav.main-nav ul{gap:18px}
  nav.main-nav a{font-size:.94rem}
  .header-contact{display:none}
}

/* ---------- lesson pages: sport switcher + live wind link ---------- */
.lesson-bar{display:flex;align-items:center;justify-content:space-between;gap:12px 18px;flex-wrap:wrap;margin:-4px 0 22px}
.sport-switch{display:none}
.wind-today{display:inline-flex;align-items:center;gap:8px;padding:8px 14px 8px 11px;border-radius:999px;background:#fff;border:1.5px solid var(--grey-light);font-weight:700;font-size:.92rem;color:var(--deep-blue);text-decoration:none;white-space:nowrap;transition:border-color .15s}
.wind-today:hover{border-color:var(--teal);text-decoration:none;color:var(--deep-blue)}
.wind-today svg{width:19px;height:19px;fill:none;stroke:var(--primary);stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.wind-today .wind-chip{padding:2px 8px 2px 6px}
.wind-today b{color:var(--primary);font-weight:800}

/* ---------- tab bar: live knots on the Wind tab ---------- */
.tb-ico{position:relative;display:inline-flex}
.tb-kn{display:none}

@media (max-width:899px){
  .lesson-bar{margin:-6px 0 18px;gap:10px}
  .sport-switch{display:flex;width:100%;gap:4px;padding:4px;border-radius:14px;background:var(--sand);overflow-x:auto;scrollbar-width:none}
  .sport-switch::-webkit-scrollbar{display:none}
  .sport-switch a{flex:1 1 0;min-width:0;text-align:center;padding:9px 6px;border-radius:10px;font-size:.88rem;font-weight:700;color:#5c6b73;text-decoration:none;white-space:nowrap;-webkit-tap-highlight-color:transparent}
  .sport-switch a[aria-current=page]{background:#fff;color:var(--deep-blue);box-shadow:0 2px 8px rgba(10,61,92,.12)}
  .wind-today{width:100%;justify-content:center}
  .tabbar .tb-kn{display:inline-flex;position:absolute;top:-7px;left:13px;padding:1px 5px;gap:0;font-size:.58rem;line-height:1.35;border-radius:999px;background:var(--primary);border:1.5px solid #fff;color:#fff;font-weight:800;letter-spacing:-.01em}
  .tabbar .tb-kn:empty{display:none}
  .tabbar .tb-kn .wc-dot,.tabbar .tb-kn .wc-arrow{display:none}
  .tabbar .tb-kn .wc-kn small{margin-left:1px;opacity:.9}
}

/* Blue Lagoon quick-facts box */
.bl-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px 18px;max-width:900px;margin:22px 0 8px;padding:18px 20px;background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:14px;box-shadow:0 2px 10px rgba(0,0,0,.04)}
.bl-facts div{margin:0}.bl-facts dt{font-size:.78rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#0b7a75;margin:0 0 2px}.bl-facts dd{margin:0;font-size:.95rem;line-height:1.4}
.bl-map{margin:6px 0 0;font-size:.92rem}

/* Dahab weather by month table (wind pages) */
.wbm-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin-top:18px;border:1px solid rgba(0,0,0,.08);border-radius:14px;background:#fff}
.wbm{width:100%;border-collapse:collapse;font-size:.95rem;min-width:560px}
.wbm th,.wbm td{padding:10px 14px;text-align:left;border-bottom:1px solid rgba(0,0,0,.06);white-space:nowrap}
.wbm thead th{font-size:.78rem;letter-spacing:.04em;text-transform:uppercase;color:#0b7a75;background:#f5faf9}
.wbm tbody th{font-weight:600}
.wbm tbody tr:last-child th,.wbm tbody tr:last-child td{border-bottom:0}
.wbm tbody tr:nth-child(n+5):nth-child(-n+8) td:nth-child(5){font-weight:700;color:#0b7a75}
@media (max-width:600px){.wbm{min-width:0;font-size:.78rem}.wbm th,.wbm td{padding:8px 4px}.wbm td{white-space:nowrap}.wbm td:last-child,.wbm thead th{white-space:normal}.wbm td:last-child{min-width:70px}.wbm thead th{font-size:.6rem;letter-spacing:.02em;vertical-align:bottom}.wbm tbody th{padding-left:8px}.wbm-wrap{border-radius:10px}}

/* Guide pages: text table, numbered activity cards, day plan */
.wbm.wbm-text td,.wbm.wbm-text th{white-space:normal;vertical-align:top}
.wbm.wbm-text td:nth-child(2){font-weight:600;white-space:nowrap}
.wbm.wbm-text{min-width:0}
.ttd-grid .card-body{position:relative}
.ttd-n{font-size:.78rem;font-weight:800;letter-spacing:.08em;color:#0b7a75;margin:0 0 6px}
.ttd-plan{padding-left:20px;line-height:1.7}.ttd-plan li{margin:6px 0}
@media (max-width:600px){.wbm.wbm-text td:nth-child(2){white-space:normal}}
