/*
Theme Name: afs3theme
Theme URI: https://example.com/
Author: Your Name
Description: Airfare Spot-style flight deals theme.
Version: 2.0
Text Domain: afs3theme
*/

/* ─── Variables ─────────────────────────────────────────────── */
:root {
  /* Midnight Navy scale */
  --slate-50:  #f9fafb;
  --slate-100: #f0f2f7;
  --slate-200: #dde2ee;
  --slate-300: #b8c2d8;
  --slate-400: #8896b3;
  --slate-500: #5a6a8a;
  --slate-600: #3d4f6e;
  --slate-700: #253657;
  --slate-800: #1e3a5f;
  --slate-900: #0a1628;
  /* Accent (D2 Golden Amber — managed in AFS3 Settings → Palette & Colors) */
  --orange-50:  #fffbeb;
  --orange-100: #fef3c7;
  --orange-400: #fbbf24;
  --orange-500: #f59e0b;
  --orange-600: #d97706;
  --orange-500-rgb: 245, 158, 11;  /* RGB channels for rgba() usage */
  --sky-600:   #0284c7;
  --white:     #ffffff;

  /* Cabin class badge backgrounds (semantic — not tied to brand palette) */
  --cabin-premium:  rgba(139, 92, 246, 0.85);  /* purple — Premium Economy */
  --cabin-business: rgba(184,  68,  24, 0.90);  /* coral dark — Business    */
  --cabin-first:    rgba( 15,  23,  42, 0.88);  /* near-black — First Class */

  /* Social platform brand colors */
  --social-x:       #000000;
  --social-fb:      #1877F2;
  --social-ig:      #C13584;
  --social-wa:      #25D366;
  --social-tg:      #229ED9;
  --social-bsky:    #0085FF;
  --social-yt:      #FF0000;
  --social-tt:      #010101;
  --social-threads: #000000;

  /* Affiliate partner brand colors */
  --affiliate-expedia:    #003580;
  --affiliate-priceline:  #004b8d;
  --affiliate-skyscanner: #00b0f0;

  /* Shadow ink — dark navy base for all shadows */
  --ink:        rgba(10, 22, 40, 1);
  --ink-sm:     rgba(10, 22, 40, 0.06);
  --ink-md:     rgba(10, 22, 40, 0.10);
  --ink-lg:     rgba(10, 22, 40, 0.14);
  --ink-xl:     rgba(10, 22, 40, 0.45);  /* backdrop/overlay */

  /* Semantic status colors */
  --status-ok-bg:      #f0fdf4;
  --status-ok-border:  #86efac;
  --status-ok-text:    #166534;
  --status-err-bg:     #fffbeb;
  --status-err-border: #fdba74;
  --status-err-text:   #9a3412;
  --copy-ok-bg:        #d1fae5;
  --copy-ok-text:      #065f46;
  --copy-ok-border:    #6ee7b7;

  /* Tag taxonomy colors */
  --tag-purple:        #6d28d9;

  --font-display: 'Sora', system-ui, sans-serif;
  --font-sans:    'Sora', system-ui, sans-serif;
  --font-mono:    'DM Mono', 'Courier New', monospace;

  --radius-sm:  0.5rem;
  --radius-md:  0.75rem;
  --radius-lg:  1rem;
  --radius-xl:  1.5rem;
  --radius-full: 9999px;

  /* Primary (D2 Deep Coast — managed in AFS3 Settings → Palette & Colors) */
  --accent:        #0e7490;
  --accent-dark:   #155e75;
  --accent-rgb:    14, 116, 144;  /* RGB channels for rgba() usage */
  --accent-glow:   rgba(var(--accent-rgb), 0.25);
  --accent-urg-glow: rgba(var(--orange-500-rgb), 0.28);  /* amber glow for CTA shadows   */
  --sky-500-rgb:   14, 165, 233;  /* sky-500 — semantic region tag color      */

  /* Layout tokens */
  --bg:            #f0f9ff;
  --bg-alt:        #e0f2fe;
  --bg-card:       #ffffff;
  --bg-dark:       #0a1628;
  --text-1:        #0a1628;
  --text-2:        #4b6272;
  --text-3:        #94a3b8;
  --border:        #e2e8f0;
  --glass-nav-bg:  rgba(255, 255, 255, 0.07);
  --glass-nav-blur: blur(40px) saturate(180%) brightness(1.1);
  --ease:          cubic-bezier(0.165, 0.84, 0.44, 1);

  /* Timing tokens */
  --duration-fast:  150ms;
  --duration-base:  280ms;
  --duration-slow:  550ms;
  --duration-crawl: 800ms;

  /* Deal card image height */
  --card-img-h: 235px;
}

/* ─── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }

/* ── Global focus-visible baseline ─────────────────────────── */
/* Restore keyboard focus rings suppressed by outline:none rules */
:focus-visible {
  outline: 2px solid var(--orange-500);
  outline-offset: 2px;
}
/* Suppress outline only for mouse/pointer users */
:focus:not(:focus-visible) { outline: none; }

/* ── Scroll reveal system ───────────────────────────────────── */
.v1-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 600ms cubic-bezier(0.165,0.84,0.44,1),
              transform 600ms cubic-bezier(0.165,0.84,0.44,1);
}
.v1-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}
body {
  font-family: var(--font-sans);
  background: var(--slate-50);
  color: var(--slate-900);
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ─── Utilities ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ─── Navbar ─────────────────────────────────────────────────── */
/* Full-width frosted glass strip — edge-to-edge, no rounded corners */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.80);
  backdrop-filter: blur(20px) saturate(180%) brightness(1.02);
  -webkit-backdrop-filter: blur(20px) saturate(180%) brightness(1.02);
  border-bottom: 1px solid rgba(15,23,42,0.07);
  padding: 0;
  transition: background 350ms ease, border-color 350ms ease, box-shadow 350ms ease;
}
/* More opaque once scrolled past hero */
#site-header.is-scrolled {
  background: rgba(255,255,255,0.94);
  border-bottom-color: rgba(15,23,42,0.10);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}
/* Deals page: let the main header scroll away so the .df-bar search
   stays as the only sticky element — matches mobile behavior. */
body:has(.df-page) #site-header { position: relative; top: auto; }
body:has(.df-page) .df-bar { top: 0; }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  gap: 1.5rem;
  background: none;
}

/* ─── Mega menu — hover trigger ─────────────────────────────── */
#mega-trigger-li {
  position: static;
  height: 100%;
  display: flex;
  align-items: center;
}

/* ─── Mega menu panel — floating glass ──────────────────────── */
.mega-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 20px;
  right: 20px;
  z-index: 200;
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  pointer-events: none;
  transition: opacity 200ms var(--ease), transform 200ms var(--ease);
}
/* Bridge — prevents flicker when mouse moves from trigger to panel */
.mega-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}
.mega-menu.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}
.mega-menu-inner {
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: var(--radius-xl);
  box-shadow: 0 16px 48px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ─── Mega menu search bar ──────────────────────────────────── */
.mega-search-wrap {
  position: relative;
  margin: 12px 16px 0;
}
.mega-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(15,23,42,0.05);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.mega-search-bar > svg, .mega-search-bar > i { color: var(--slate-400); flex-shrink: 0; font-size: 16px; }
.mega-search-bar:focus-within > svg, .mega-search-bar:focus-within > i { color: var(--accent, #0e7490); }
.mega-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.84rem;
  color: var(--slate-800);
  background: transparent;
  font-family: var(--font-sans);
}
.mega-search-input::placeholder { color: var(--slate-400); }
.mega-search-clear {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--slate-100);
  border: none;
  cursor: pointer;
  color: var(--slate-500);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}
.mega-search-clear:hover { background: var(--slate-200); color: var(--slate-900); }

/* ── Predictive search results dropdown ── */
.mega-search-results {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  z-index: 20;
  max-height: 320px;
  overflow-y: auto;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  padding: 6px;
}
.mega-search-results[hidden] { display: none; }
.mega-search-result {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--slate-800);
  font-size: 0.84rem;
  font-weight: 500;
  transition: background 0.15s;
}
.mega-search-result:hover, .mega-search-result.is-highlighted {
  background: rgba(14,116,144,0.08);
}
.mega-search-result-iata {
  display: inline-block;
  font-family: var(--font-mono, 'DM Mono', monospace);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent, #0e7490);
  background: rgba(14,116,144,0.08);
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}
.mega-search-result-region {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--slate-400);
}
.mega-search-no-results {
  padding: 16px 12px;
  text-align: center;
  color: var(--slate-400);
  font-size: 0.82rem;
}

/* ─── Mega menu body — regions sidebar + cities panel ───────── */
.mega-body {
  display: flex;
  margin-top: 10px;
  padding-top: 6px;
  border-top: 1px solid rgba(15,23,42,0.06);
}

/* ── Regions sidebar ── */
.mega-regions {
  width: 160px;
  flex-shrink: 0;
  padding: 12px 8px;
  border-right: 1px solid rgba(15,23,42,0.06);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mega-region {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-lg);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--slate-500);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  text-decoration: none;
}
.mega-region:hover { background: rgba(255,255,255,0.6); color: var(--slate-700); }
.mega-region.is-active {
  background: rgba(255,255,255,0.7);
  color: var(--accent, #0e7490);
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.mega-region-emoji { font-size: 1.2rem; line-height: 1; }

/* ── Cities panel ── */
.mega-cities {
  flex: 1;
  padding: 16px 20px;
}
.mega-cities-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.mega-cities-icon { color: var(--accent, #0e7490); font-size: 16px; }
.mega-cities-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--slate-900);
}

/* ── Sub-region pills ── */
.mega-sub-scroll { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.mega-sub-pill {
  padding: 6px 14px;
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--slate-500);
  background: rgba(255,255,255,0.5);
  border: 1px solid var(--slate-200);
  cursor: pointer;
  transition: all 0.2s ease;
}
.mega-sub-pill:hover { color: var(--slate-900); background: rgba(255,255,255,0.8); border-color: var(--slate-400); }
.mega-sub-pill.is-active { background: var(--accent, #0e7490); color: #fff; border-color: var(--accent, #0e7490); box-shadow: 0 2px 8px rgba(14,116,144,0.25); }

/* ── City chips ── */
.mega-chip-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.mega-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--slate-700);
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.7);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  text-decoration: none;
}
.mega-chip:hover {
  background: var(--slate-900);
  border-color: var(--slate-900);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15,23,42,0.12);
}
.mega-chip:hover .mega-iata { color: rgba(255,255,255,0.5); border-left-color: rgba(255,255,255,0.2); }
.mega-chip.is-geo { background: var(--accent, #0e7490); color: #fff; border-color: var(--accent, #0e7490); font-weight: 600; }
.mega-chip.is-geo .mega-iata { color: rgba(255,255,255,0.6); border-left-color: rgba(255,255,255,0.25); }
.mega-chip[hidden] { display: none !important; }
.mega-iata {
  font-family: var(--font-mono, 'DM Mono', monospace);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent, #0e7490);
  letter-spacing: 0.02em;
  margin-left: 5px;
  padding-left: 7px;
  border-left: 1.5px solid var(--slate-200);
}

/* ── Chip stagger animation ── */
@keyframes chipFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mega-chip-grid .mega-chip {
  opacity: 0;
  animation: chipFadeIn 0.25s var(--ease) forwards;
}
.mega-chip-grid .mega-chip:nth-child(1)  { animation-delay: 0.02s; }
.mega-chip-grid .mega-chip:nth-child(2)  { animation-delay: 0.04s; }
.mega-chip-grid .mega-chip:nth-child(3)  { animation-delay: 0.06s; }
.mega-chip-grid .mega-chip:nth-child(4)  { animation-delay: 0.08s; }
.mega-chip-grid .mega-chip:nth-child(5)  { animation-delay: 0.10s; }
.mega-chip-grid .mega-chip:nth-child(6)  { animation-delay: 0.12s; }
.mega-chip-grid .mega-chip:nth-child(7)  { animation-delay: 0.14s; }
.mega-chip-grid .mega-chip:nth-child(8)  { animation-delay: 0.16s; }
.mega-chip-grid .mega-chip:nth-child(9)  { animation-delay: 0.18s; }
.mega-chip-grid .mega-chip:nth-child(10) { animation-delay: 0.20s; }
.mega-chip-grid .mega-chip:nth-child(11) { animation-delay: 0.22s; }
.mega-chip-grid .mega-chip:nth-child(12) { animation-delay: 0.24s; }
.mega-chip-grid .mega-chip:nth-child(n+13) { animation-delay: 0.26s; }
@media (prefers-reduced-motion: reduce) {
  .mega-chip-grid .mega-chip { animation: none; opacity: 1; }
}

/* ── Special sidebar (right of cities) ── */
.mega-sidebar {
  width: 180px;
  flex-shrink: 0;
  padding: 16px 18px;
  border-left: 1px solid rgba(15,23,42,0.08);
  display: flex;
  flex-direction: column;
}
.mega-special-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 12px;
}
.mega-special-title i { color: var(--accent, #0e7490); font-size: 16px; }
.mega-special-col { display: flex; flex-direction: column; gap: 6px; }
.mega-special-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--slate-700);
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(14,116,144,0.12);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  text-decoration: none;
}
.mega-special-chip:hover { background: rgba(255,255,255,0.8); border-color: var(--accent, #0e7490); color: var(--accent, #0e7490); }
.mega-special-chip i { font-size: 16px; color: var(--accent, #0e7490); }

/* Search: no results */
.mega-no-results {
  padding: 0.75rem 1.25rem;
  font-size: 0.84rem;
  color: var(--slate-400);
  display: none;
}
.mega-no-results.is-visible { display: block; }
.mega-no-results a { color: var(--accent, #0e7490); }

/* ─── Mega menu footer ──────────────────────────────────────── */
.mega-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.5);
}
.mega-footer-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent, #0e7490);
  transition: color 0.18s;
}
.mega-footer-all:hover { color: var(--slate-900); }
.mega-footer-all svg:last-child, .mega-footer-all i:last-child { transition: transform 0.18s cubic-bezier(0.165,0.84,0.44,1); }
.mega-footer-all:hover svg:last-child, .mega-footer-all:hover i:last-child { transform: translateX(4px); }
.mega-footer-note {
  font-size: 0.72rem;
  color: var(--slate-400);
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-900);
  white-space: nowrap;
}
.site-logo svg { flex-shrink: 0; }
.logo-wordmark { font-weight: 800; letter-spacing: -0.04em; }
.logo-wordmark span { font-weight: 400; color: var(--accent); }
.footer-logo .logo-wordmark span { color: var(--slate-400); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-transform: lowercase;
  color: var(--slate-800);
  border: none;
  position: relative;
  transition: color var(--duration-fast) ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0.875rem;
  right: 0.875rem;
  height: 2px;
  background: var(--accent, #0e7490);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease);
}
.nav-links a:hover {
  color: var(--slate-900);
}
.nav-links a:hover::after {
  transform: scaleX(1);
}
.nav-links a.active {
  color: var(--slate-900);
  font-weight: 800;
}
.nav-links a.active::after {
  transform: scaleX(1);
  background: var(--accent);
}
/* mega-trigger legacy — now handled by .nav-links a.active */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 20px;
  border-radius: 9999px;
  background: var(--slate-900, #0f172a);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  white-space: nowrap;
}
.nav-cta:hover { background: var(--slate-800, #1e293b); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(15,23,42,0.2); }
.nav-cta i { font-size: 15px; color: var(--accent, #0e7490); }

/* ── Nav load stagger ───────────────────────────────────────── */
@keyframes navDrop {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-links > li:nth-child(1) > * { animation: navDrop 380ms var(--ease) 180ms both; }
.nav-links > li:nth-child(2) > * { animation: navDrop 380ms var(--ease) 260ms both; }
.nav-links > li:nth-child(3) > * { animation: navDrop 380ms var(--ease) 340ms both; }
.nav-cta                          { animation: navDrop 380ms var(--ease) 420ms both; }
@media (prefers-reduced-motion: reduce) {
  .nav-links > li > *, .nav-cta { animation: none; }
}


/* ─── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--slate-900);
}
/* D2 atmospheric colour orbs — cyan brand + amber urgency glow */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(ellipse 55% 60% at 78% 25%, rgba(var(--accent-rgb), 0.22) 0%, transparent 65%),
    radial-gradient(ellipse 40% 45% at 15% 70%, rgba(var(--orange-500-rgb), 0.14) 0%, transparent 60%);
}
/* Noise texture overlay — adds filmic grain depth over the video */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ── Slide 1: video background ──────────────────────────────── */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.90) 0%, rgba(10,22,40,0.45) 55%, rgba(10,22,40,0.15) 100%);
}
/* Hero container: fills space above ticker, content pinned to its bottom-left */
.hero > .container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding-bottom: 2rem;
}
.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 560px;
  text-align: left;
}

/* ── Slides 2–3: photo background ──────────────────────────── */
.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.92) 0%, rgba(10,22,40,0.50) 50%, rgba(10,22,40,0.20) 100%);
}
.hero-deal-content {
  position: relative;
  z-index: 10;
  padding: 2rem 0;
  max-width: 680px;
  text-align: center;
  margin: 0 auto;
}
.hero-deal-badge {
  display: inline-block;
  background: var(--orange-500);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}
.hero-deal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.70);
  margin-bottom: 0.75rem;
}
.hero-deal-route {
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 0.75rem;
}
.hero-deal-arrow { color: var(--orange-500); }
.hero-deal-price {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.80);
  margin-bottom: 2rem;
  line-height: 1.5;
}
.hero-deal-price strong { color: #fff; font-size: 1.3rem; }

/* .hero-bottom removed — ticker is now a direct hero flex child */

/* ── Dot navigation ─────────────────────────────────────────── */
.hero-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 0 0.7rem;
}
.hero-dots .fhd-dot {
  position: relative;
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.45); border: none; padding: 0; cursor: pointer;
  transition: background 0.18s, width 0.22s cubic-bezier(0.165,0.84,0.44,1), border-radius 0.22s;
}
.hero-dots .fhd-dot::after {
  content: '';
  position: absolute;
  inset: -19px; /* expands hit area to 44×44px */
}
.hero-dots .fhd-dot.is-active { background: var(--accent); width: 20px; border-radius: 3px; }

/* ── Entrance animations ────────────────────────────────────── */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* Slide 1 — only animate on first appearance (not on loop-back) */
.hero-slide--1.is-active:not(.hero-slide--1--settled) .hero-eyebrow { animation: heroIn 700ms var(--ease) both; animation-delay:   0ms; }
.hero-slide--1.is-active:not(.hero-slide--1--settled) .hero-title   { animation: heroIn 700ms var(--ease) both; animation-delay: 120ms; }
.hero-slide--1.is-active:not(.hero-slide--1--settled) .hero-sub     { animation: heroIn 700ms var(--ease) both; animation-delay: 260ms; }
.hero-slide--1.is-active:not(.hero-slide--1--settled) .hero-actions { animation: heroIn 700ms var(--ease) both; animation-delay: 400ms; }
/* Slides 2-3 */
.hero-slide--2.is-active .hero-deal-badge,
.hero-slide--3.is-active .hero-deal-badge  { animation: heroIn 700ms var(--ease) both; animation-delay:   0ms; }
.hero-slide--2.is-active .hero-deal-route,
.hero-slide--3.is-active .hero-deal-route  { animation: heroIn 700ms var(--ease) both; animation-delay: 120ms; }
.hero-slide--2.is-active .hero-deal-price,
.hero-slide--3.is-active .hero-deal-price  { animation: heroIn 700ms var(--ease) both; animation-delay: 260ms; }
.hero-slide--2.is-active .hero-actions,
.hero-slide--3.is-active .hero-actions     { animation: heroIn 700ms var(--ease) both; animation-delay: 400ms; }
@media (prefers-reduced-motion: reduce) {
  .hero-slide--1.is-active:not(.hero-slide--1--settled) .hero-eyebrow,
  .hero-slide--1.is-active:not(.hero-slide--1--settled) .hero-title,
  .hero-slide--1.is-active:not(.hero-slide--1--settled) .hero-sub,
  .hero-slide--1.is-active:not(.hero-slide--1--settled) .hero-actions,
  .hero-slide--2.is-active .hero-deal-badge,
  .hero-slide--2.is-active .hero-deal-route,
  .hero-slide--2.is-active .hero-deal-price,
  .hero-slide--2.is-active .hero-actions,
  .hero-slide--3.is-active .hero-deal-badge,
  .hero-slide--3.is-active .hero-deal-route,
  .hero-slide--3.is-active .hero-deal-price,
  .hero-slide--3.is-active .hero-actions { animation: none; }
}

/* ── Mobile ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
  #site-header { position: relative; top: auto; }
  .hero { min-height: 100svh; }
  .hero-content { padding: 0; width: 100%; }
  .hero > .container { padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px)); }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(var(--accent-rgb),0.12);
  border: 1px solid rgba(var(--accent-rgb),0.3);
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}
.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.hero-title span { color: var(--orange-500); }
.hero-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  align-items: center;
  justify-content: center;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  background: var(--orange-500);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 16px var(--accent-urg-glow);
  transition: filter 280ms ease, box-shadow 280ms ease, transform 280ms ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn-primary:hover {
  filter: brightness(0.90);
  transform: scale(1.05);
  box-shadow: 0 8px 28px var(--accent-urg-glow);
}
/* Ripple */
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.32);
  transform: scale(0);
  pointer-events: none;
  animation: btnRipple 600ms ease-out forwards;
}
@keyframes btnRipple {
  to { transform: scale(4); opacity: 0; }
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid rgba(255,255,255,0.80);
  backdrop-filter: blur(8px);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  cursor: pointer;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  transform: scale(1.04);
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-value {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.25rem;
}

/* Stat counter color pulse */
.js-count { transition: color 300ms ease; }
.js-count.is-counting { color: var(--accent); }


/* ─── Section Headings ───────────────────────────────────────── */
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.section-eyebrow i {
  font-size: 0.85rem;
  flex-shrink: 0;
}
i.is-pulse { color: var(--accent); }
.is-pulse-wrap {
  animation: eyebrow-pulse 2s ease-in-out infinite;
}
@keyframes eyebrow-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .65; }
}
.section-title {
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--slate-900);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.section-sub {
  font-size: 1rem;
  color: var(--slate-500);
  max-width: 520px;
}

/* ─── Front-page Ad Banners ─────────────────────────────────── */
.fp-ad-banner { padding: 1.75rem 0 0; }
.fp-ad-inner {
  width: 100%; min-height: 90px;
  background: linear-gradient(135deg, var(--slate-100) 0%, #e8edf5 100%);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.3rem;
  position: relative; overflow: hidden;
}
.fp-ad-inner::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg, transparent, transparent 18px,
    rgba(184, 194, 216, 0.07) 18px, rgba(184, 194, 216, 0.07) 19px
  );
}
.fp-ad-label {
  position: relative; z-index: 1;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--slate-400);
}
.fp-ad-size {
  position: relative; z-index: 1;
  font-size: 0.72rem; font-weight: 500; color: var(--slate-300);
}
.fp-ad-section {
  background: var(--slate-100);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
  padding: 1.1rem 1.5rem;
  text-align: center;
}
.fp-ad-section-label {
  display: block; margin-bottom: 0.6rem;
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--slate-400);
}
.fp-ad-section-unit {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.25rem;
  width: 100%; max-width: 728px; min-height: 90px;
  background: linear-gradient(135deg, var(--slate-100) 0%, var(--slate-200) 100%);
  border: 1px solid var(--slate-200); border-radius: var(--radius-md);
  position: relative; overflow: hidden;
}
.fp-ad-section-unit::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg, transparent, transparent 18px,
    rgba(184, 194, 216, 0.08) 18px, rgba(184, 194, 216, 0.08) 19px
  );
}
.fp-ad-section-unit span { position: relative; z-index: 1; }
.fp-ad-section-unit .fp-ad-unit-label {
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-400);
}
.fp-ad-section-unit .fp-ad-unit-size {
  font-size: 0.7rem; font-weight: 400; color: var(--slate-300);
}

/* ─── Deals Section ──────────────────────────────────────────── */
.deals-section {
  padding-block: 5rem;
  background: var(--white);
}
.deals-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.deals-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.filter-btn {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-600);
  cursor: pointer;
  transition: all 0.15s;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--slate-900);
  color: var(--white);
  border-color: var(--slate-900);
}
.deals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (min-width: 769px) and (max-width: 1023px) {
  .deals-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .deals-grid { grid-template-columns: 1fr; }
}

/* ─── Deal Card ──────────────────────────────────────────────── */
/* ═══════════════════════════════════════════════════════════════
   DEAL CARD — unified across front-page, deals page, archive
   ═══════════════════════════════════════════════════════════════ */

.deal-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--slate-200);
  box-shadow: 0 2px 12px rgba(10,22,40,0.06);
  transition: transform var(--duration-base) var(--ease),
              box-shadow var(--duration-base) var(--ease),
              border-color var(--duration-base);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  -webkit-tap-highlight-color: transparent;
}
.deal-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 60px rgba(10,22,40,0.18),
    0 8px 24px rgba(10,22,40,0.12),
    0 0 0 1px rgba(var(--orange-500-rgb),0.08);
  border-color: transparent;
}

/* Staggered entrance for initial grid load */
@keyframes dealCardIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
#dp-grid .deal-card, .fhd-viewport .deal-card, .deals-grid .deal-card {
  animation: dealCardIn 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
#dp-grid .deal-card:nth-child(1),  .deals-grid .deal-card:nth-child(1)  { animation-delay:   0ms; }
#dp-grid .deal-card:nth-child(2),  .deals-grid .deal-card:nth-child(2)  { animation-delay:  60ms; }
#dp-grid .deal-card:nth-child(3),  .deals-grid .deal-card:nth-child(3)  { animation-delay: 120ms; }
#dp-grid .deal-card:nth-child(4),  .deals-grid .deal-card:nth-child(4)  { animation-delay: 180ms; }
#dp-grid .deal-card:nth-child(5),  .deals-grid .deal-card:nth-child(5)  { animation-delay: 240ms; }
#dp-grid .deal-card:nth-child(6),  .deals-grid .deal-card:nth-child(6)  { animation-delay: 300ms; }
#dp-grid .deal-card:nth-child(7),  .deals-grid .deal-card:nth-child(7)  { animation-delay: 350ms; }
#dp-grid .deal-card:nth-child(8),  .deals-grid .deal-card:nth-child(8)  { animation-delay: 400ms; }
#dp-grid .deal-card:nth-child(9),  .deals-grid .deal-card:nth-child(9)  { animation-delay: 440ms; }
#dp-grid .deal-card:nth-child(10), .deals-grid .deal-card:nth-child(10) { animation-delay: 480ms; }
#dp-grid .deal-card:nth-child(11), .deals-grid .deal-card:nth-child(11) { animation-delay: 510ms; }
#dp-grid .deal-card:nth-child(12), .deals-grid .deal-card:nth-child(12) { animation-delay: 540ms; }

/* Scroll-triggered fade-up for below-fold cards */
.deal-card.fade-up {
  opacity: 0;
  transform: translateY(12px) scale(0.98);
}
.deal-card.fade-up,
.deal-card.fade-up.is-visible {
  transition:
    opacity 600ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 600ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 250ms var(--ease),
    border-color 250ms ease;
}
.deal-card.fade-up.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.deal-card.fade-up.is-visible:hover { transform: translateY(-6px); }
.deals-grid .deal-card:nth-child(3n+2),
#dp-grid     .deal-card:nth-child(3n+2) { transition-delay: 50ms; }
.deals-grid  .deal-card:nth-child(3n+3),
#dp-grid     .deal-card:nth-child(3n+3) { transition-delay: 100ms; }
@media (prefers-reduced-motion: reduce) {
  #dp-grid .deal-card, .fhd-viewport .deal-card, .deals-grid .deal-card { animation: none; }
  .deal-card.fade-up { opacity: 1 !important; transform: none !important; }
}

/* ── Image wrapper ───────────────────────────────────────────── */
.deal-card-img {
  position: relative;
  height: var(--card-img-h);
  overflow: hidden;
  flex-shrink: 0;
  display: block;
}
/* Shimmer while loading */
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.deal-card-img {
  background: linear-gradient(90deg, var(--slate-100) 25%, var(--slate-50) 50%, var(--slate-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite ease-in-out;
}
.deal-card-img:has(img.img-loaded) { animation: none; background: none; }

.deal-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.0);
  transition: transform 550ms var(--ease), opacity 400ms ease;
  will-change: transform, opacity;
}
.deal-card-img img.img-loaded { opacity: 1; transform: scale(1.0); }
.deal-card:hover .deal-card-img img.img-loaded { transform: scale(1.06); }

.deal-card-no-img {
  width: 100%;
  height: 100%;
  background: var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-400);
}

/* Gradient: heavier at bottom so route text is always readable */
.deal-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,22,40,0.85) 0%,
    rgba(10,22,40,0.35) 50%,
    rgba(10,22,40,0.06) 72%,
    transparent 100%
  );
  transition: background 300ms var(--ease);
}
.deal-card:hover .deal-card-overlay {
  background: linear-gradient(
    to top,
    rgba(10,22,40,0.80) 0%,
    rgba(10,22,40,0.30) 50%,
    rgba(var(--orange-500-rgb),0.06) 80%,
    transparent 100%
  );
}

/* ── Discount badge — upper left: "45% off" ──────────────────── */
.dc-discount {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--orange-500);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 10px rgba(var(--orange-500-rgb),0.45);
}

/* ── Cabin class chip — unified badge size ───────────────────── */
.dc-cabin {
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 600;
  color: var(--white);
  background: var(--slate-800);
  padding: .24rem .72rem;
  border-radius: 9999px;
  box-shadow: 0 1px 6px rgba(0,0,0,.25);
  line-height: 1.2;
}
.dc-cabin--premium {
  background: var(--cabin-premium);
  color: #fff;
}
.dc-cabin--business {
  background: var(--cabin-business);
  color: #fff;
}
.dc-cabin--first {
  background: var(--cabin-first);
  color: #f8fafc;
  border: 1px solid rgba(255,255,255,0.18);
}

/* ── Route bar — bottom of image ─────────────────────────────── */
.dc-route {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.7rem 0.875rem 0.8rem;
}
.dc-route-airport {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex-shrink: 0;
}
.dc-route-from { align-items: flex-start; }
.dc-route-to   { align-items: flex-end; text-align: right; }
.dc-iata {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.04em;
}
.dc-city {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.68);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

/* Connector: vertical stack (stops label → line+plane → duration) */
.dc-route-connector {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  min-width: 0;
}
.dc-stops-label {
  font-size: 0.73rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.dc-duration {
  font-size: 0.67rem;
  font-weight: 600;
  color: rgba(255,255,255,0.68);
  white-space: nowrap;
  letter-spacing: 0.03em;
}
.dc-connector-inner {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 0.3rem;
}
.dc-route-line {
  flex: 1;
  height: 1px;
  background: rgba(var(--orange-500-rgb),0.45);
}

/* Filled airplane icon — rotated to face right */
.dc-plane {
  flex-shrink: 0;
  color: rgba(255,255,255,0.92);
  transform: rotate(90deg);
  transition: transform 300ms var(--ease);
}
.deal-card:hover .dc-plane:not(.dc-plane--both) {
  transform: rotate(90deg) translateX(4px);
}
/* Bidirectional: opposite rotation (facing left = both ways) + orange tint */
.dc-plane--both {
  color: var(--orange-500);
  transform: rotate(-90deg);
}

/* ── Card body ───────────────────────────────────────────────── */
.deal-card-body {
  padding: 1.1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}
.deal-destination {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.deal-destination a { color: inherit; }
.deal-destination a:hover { color: var(--orange-500); }


/* ── CTA button with price ───────────────────────────────────── */
.deal-book-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-full);
  background: var(--orange-500);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: filter 0.18s;
  margin-top: auto;
  overflow: visible;
}
.deal-book-btn--has-price {
  justify-content: space-between;
  gap: 0;
}
.deal-book-btn:hover { filter: brightness(0.90); box-shadow: 0 4px 14px var(--accent-urg-glow); }

.dc-btn-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.08rem;
  padding-right: 0.9rem;
}
.dc-btn-price {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.dc-btn-trip {
  font-size: 0.6rem;
  font-weight: 500;
  color: rgba(255,255,255,0.68);
  letter-spacing: 0.02em;
}

/* ── Torn ticket divider ─────────────────────────────────── */
.dc-btn-tear {
  flex-shrink: 0;
  width: 0;
  align-self: stretch;
  border-left: 2px dashed rgba(255,255,255,0.22);
  margin: 4px 0;
}

.dc-btn-cta {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  padding-left: 0.9rem;
}

/* ═══════════════════════════════════════════════════════════════
   BH HYBRID DEAL CARD v2
   Replaces .deal-card visual design. Articles carry both .card
   and .deal-card so existing grid / animation selectors still fire.
   CSS ordering: .card rules come after .deal-card → win on conflicts.
═══════════════════════════════════════════════════════════════ */

/* ── Primary badges (disc shape) ──────────────────────────────── */
.dc-disc {
  font-family: var(--font-sans); font-size: .7rem; font-weight: 700;
  color: var(--white); background: var(--orange-500);
  padding: .24rem .72rem; border-radius: 9999px;
  box-shadow: 0 1px 6px rgba(0,0,0,.25); line-height: 1.2;
}
.dc-disc--curated { background: #6d28d9; }
.dc-nonstop {
  font-family: var(--font-mono); font-size: .7rem; font-weight: 600;
  color: var(--slate-800); background: rgba(255,255,255,.93);
  padding: .24rem .72rem; border-radius: 9999px;
  box-shadow: 0 1px 6px rgba(0,0,0,.25); line-height: 1.2;
}
.dc-type-promo {
  font-family: var(--font-mono); font-size: .7rem; font-weight: 600;
  color: var(--white); background: var(--slate-700);
  padding: .24rem .72rem; border-radius: 9999px;
  box-shadow: 0 1px 6px rgba(0,0,0,.25); line-height: 1.2;
}

/* ── Card base ─────────────────────────────────────────────────── */
.card {
  background: var(--white); border-radius: var(--radius-xl);
  overflow: hidden; cursor: pointer;
  display: flex; flex-direction: column;
  box-shadow: 0 2px 10px rgba(0,0,0,.09);
  transition: transform var(--duration-base) var(--ease), box-shadow var(--duration-base) var(--ease);
  position: relative;
}
.card:hover {
  transform: translateY(-7px);
  box-shadow: 0 28px 56px -8px rgba(var(--accent-rgb),.20), 0 6px 18px rgba(0,0,0,.10);
}

/* ── Photo zone ────────────────────────────────────────────────── */
.card-photo {
  display: block; position: relative; overflow: hidden;
  background: var(--slate-300); flex-shrink: 0;
}
.card-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .75s var(--ease);
}
.card:hover .card-photo img { transform: scale(1.07); }
.card-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(0,0,0,.14) 0%, rgba(0,0,0,0) 42%,
    rgba(0,0,0,0) 55%, rgba(0,0,0,.55) 100%);
}
.card-badges {
  position: absolute; top: .75rem; left: .8rem; right: .8rem;
  display: flex; align-items: center; gap: .3rem; flex-wrap: wrap; z-index: 3;
}
.card-chips { display: contents; }
.card-no-img {
  width: 100%; height: 100%; background: var(--slate-100);
  display: flex; align-items: center; justify-content: center; color: var(--slate-400);
}

/* ── Frosted glass strip ───────────────────────────────────────── */
.card-glass {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  height: 3.5rem;
  display: flex; flex-direction: column; justify-content: center;
  padding: .55rem .9rem .65rem;
  background: rgba(8,17,34,.5);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border-top: 1px solid rgba(255,255,255,.09);
  transition: background .3s;
}
.card-glass > * { width: 100%; }
.card:hover .card-glass { background: rgba(8,17,34,.6); }

.glass-route { display: flex; align-items: center; gap: .4rem; }
.glass-apt { display: flex; flex-direction: column; }
.glass-iata {
  font-family: var(--font-mono); font-size: 1.4rem; font-weight: 500;
  color: var(--white); letter-spacing: -.04em; line-height: 1;
}
.glass-city {
  font-size: .57rem; color: rgba(255,255,255,.45);
  margin-top: .12rem; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; max-width: 90px;
}
.glass-conn {
  flex: 1; display: flex; align-items: center;
  justify-content: center; position: relative;
}
.glass-line {
  position: absolute; left: 0; right: 0; height: 1px;
  background: rgba(255,255,255,.18); transition: background .3s;
}
.card:hover .glass-line { background: rgba(255,255,255,.35); }
.glass-plane {
  position: relative; z-index: 1;
  padding: 0 3px; color: rgba(255,255,255,.65); line-height: 0;
}

/* T3 right-side region label — uses .glass-iata font, wider than an IATA code. */
.glass-apt--region .glass-iata {
  letter-spacing: -.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 9rem;
}

/* Airline promo glass */
.glass-promo { display: flex; flex-direction: column; justify-content: center; }
.glass-promo-airline {
  font-family: var(--font-sans); font-size: 1.15rem; font-weight: 700;
  color: var(--white); letter-spacing: -.025em; line-height: 1;
}
.glass-promo-sub {
  font-family: var(--font-mono); font-size: .58rem;
  color: rgba(255,255,255,.44); margin-top: .22rem; letter-spacing: .01em;
}

/* Itinerary full-width chain */
.glass-itinerary { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.glass-itin-stop { display: flex; align-items: center; flex: 1; justify-content: center; }
.glass-itin-iata {
  font-family: var(--font-mono); font-size: 1.4rem; font-weight: 500;
  color: var(--white); letter-spacing: -.04em; line-height: 1;
}
.glass-itin-arrow { font-size: .85rem; color: rgba(255,255,255,.35); flex-shrink: 0; padding: 0 .06rem; }

/* ── Card body ─────────────────────────────────────────────────── */
.card-body {
  padding: .85rem 1rem 1rem;
  flex: 1; display: flex; flex-direction: column; justify-content: space-between;
}
h2.card-title, h3.card-title {
  font-size: .88rem; font-weight: 700; color: var(--slate-800);
  margin-bottom: .4rem; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
h2.card-title a, h3.card-title a { color: inherit; transition: color .15s; }
h2.card-title a:hover, h3.card-title a:hover { color: var(--orange-500); }
.card-desc {
  font-size: .68rem; color: var(--slate-500);
  line-height: 1.45; margin-bottom: .4rem;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.card-bottom { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.card-from { font-family: var(--font-mono); font-size: .54rem; color: var(--slate-400); }
.card-price {
  font-size: 1.7rem; font-weight: 800; color: var(--slate-900);
  letter-spacing: -.04em; line-height: 1;
}
.card-pp { font-size: .55rem; color: var(--slate-400); margin-top: .1rem; }

/* ── View Deal button ──────────────────────────────────────────── */
.btn-view {
  display: inline-flex; align-items: center; gap: .28rem;
  padding: .52rem .85rem; border-radius: 9999px;
  color: var(--white); font-size: .72rem; font-weight: 700;
  font-family: var(--font-sans); cursor: pointer; white-space: nowrap;
  transition: background .22s var(--ease), box-shadow .22s; text-decoration: none;
}
.btn-cyan { background: var(--accent); box-shadow: 0 2px 10px rgba(var(--accent-rgb),.28); }
.card:hover .btn-cyan { background: var(--accent-dark); box-shadow: 0 4px 16px rgba(var(--accent-rgb),.38); }
.btn-view svg, .btn-view i { transition: transform .2s var(--ease); }
.card:hover .btn-view svg, .card:hover .btn-view i { transform: translateX(3px); }

/* ─── View All ───────────────────────────────────────────────── */
.view-all-wrap {
  text-align: center;
  margin-top: 3rem;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  border: 2px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-700);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.15s;
  cursor: pointer;
}
.btn-outline:hover {
  border-color: var(--slate-900);
  background: var(--slate-900);
  color: var(--white);
}


/* ─── Featured In ────────────────────────────────────────────── */
.featured-section {
  padding-block: 2.5rem 2.75rem;
  background: var(--slate-900);
  overflow: hidden;
  position: relative;
}
/* Inside hero: container flex:1 fills space above; ticker sits at natural bottom */
.featured-section--hero {
  background: transparent;
  padding: 1rem 0 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 10;
}
/* Ticker edge fades — match hero dark overlay, not page bg */
.featured-section--hero .ticker-wrap::before {
  background: linear-gradient(to right, rgba(10,22,40,0.80) 0%, transparent 100%);
}
.featured-section--hero .ticker-wrap::after {
  background: linear-gradient(to left, rgba(10,22,40,0.80) 0%, transparent 100%);
}
.featured-section--hero .featured-label { margin-bottom: 0.75rem; }
.featured-section--hero::before { display: none; }
.featured-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 100% at 50% 0%, rgba(var(--orange-500-rgb),0.06) 0%, transparent 70%);
  pointer-events: none;
}
.featured-label {
  display: flex; align-items: center; justify-content: center; gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  text-align: center;
  margin-bottom: 1.75rem;
}
.featured-label::before,
.featured-label::after {
  content: '';
  flex: 1; max-width: 80px; height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.15));
}
.featured-label::after {
  background: linear-gradient(to left, transparent, rgba(255,255,255,0.15));
}

/* ─── Ticker / Marquee ───────────────────────────────────────── */
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-wrap {
  position: relative;
  overflow: hidden;
}
/* Edge fade */
.ticker-wrap::before,
.ticker-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 6rem;
  z-index: 1;
  pointer-events: none;
}
.ticker-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--slate-900) 5%, transparent);
}
.ticker-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--slate-900) 5%, transparent);
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: ticker-scroll 34s linear infinite;
  will-change: transform;
}
.ticker-wrap:hover .ticker-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

.ticker-sep {
  display: inline-block;
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,0.1);
  margin-inline: 3rem;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ── Base logo style ── */
.ticker-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  color: rgba(255,255,255,0.35);
  transition: color 350ms var(--ease);
  flex-shrink: 0;
  line-height: 1;
  vertical-align: middle;
  user-select: none;
}
.ticker-logo:hover { color: rgba(255,255,255,1); }
.logo-time:hover    { color: #e01d24; }
.logo-people:hover  { color: #e20028; }
.logo-cnt:hover     { color: #c9a84c; }
.logo-forbes:hover  { color: #bf0000; }
.logo-thrillist:hover { color: #ff3e00; }

/* ── TIME ── bold italic slab serif */
.logo-time {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.75rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.03em;
}

/* ── PEOPLE ── condensed bold uppercase */
.logo-people {
  font-family: 'Arial Black', 'Impact', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}
.logo-people-star {
  flex-shrink: 0;
  vertical-align: middle;
  opacity: 0.7;
}

/* ── FOX NEWS ── bold compressed */
.logo-foxnews {
  font-family: 'Arial Black', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  align-items: baseline;
  gap: 0.35em;
}
.logo-foxnews-sub {
  font-size: 0.65em;
  font-weight: 700;
  letter-spacing: 0.06em;
  opacity: 0.8;
}

/* ── The Washington Post ── thin serif */
.logo-wapo {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.01em;
}

/* ── Condé Nast Traveler ── spaced caps */
.logo-cnt {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ── Forbes ── bold italic serif */
.logo-forbes {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.4rem;
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.01em;
  align-items: baseline;
  gap: 0.3em;
}
.logo-forbes-sub {
  font-size: 0.55em;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
}

/* ── Thrillist ── bold lowercase sans */
.logo-thrillist {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: lowercase;
}

/* ─── FAQ Section ───────────────────────────────────────────── */
.faq-section {
  padding: 4.5rem 0 5rem;
  background: var(--bg-card);
  border-top: 1px solid var(--slate-100);
}
.faq-eyebrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.6rem;
}
.faq-eyebrow i { font-size: 0.85rem; flex-shrink: 0; }
.faq-heading {
  font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--slate-900);
  margin: 0 0 0.5rem; line-height: 1.2;
}
.faq-sub {
  font-size: 1rem; color: var(--slate-500); margin: 0 0 2.75rem; max-width: 520px;
}
.faq-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 0 3rem;
  align-items: start;
}
.faq-qlist { list-style: none; margin: 0; padding: 0; }
.faq-qitem { border-bottom: 1px solid var(--slate-100); }
.faq-qbtn {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; gap: 0.875rem;
  padding: 0.95rem 0.5rem 0.95rem 0;
  text-align: left; font-family: inherit;
}
.faq-qnum {
  flex-shrink: 0; min-width: 1.75rem;
  font-size: 0.7rem; font-weight: 700; font-family: var(--font-mono);
  color: var(--slate-300); transition: color 0.2s;
}
.faq-qtext {
  flex: 1; font-size: 0.9rem; font-weight: 600; color: var(--slate-600);
  line-height: 1.4; transition: color 0.2s;
}
.faq-qarr {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--slate-200);
  border: 1.5px solid var(--slate-300);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.22s, border-color 0.22s, transform 0.35s var(--ease);
}
.faq-qarr svg { width: 12px; height: 12px; stroke: var(--slate-600); fill: none; stroke-width: 2.5; transition: stroke 0.22s; }
.faq-qbtn:hover .faq-qtext { color: var(--slate-900); }
.faq-qbtn:hover .faq-qnum  { color: var(--slate-500); }
.faq-qbtn:hover .faq-qarr  { background: var(--slate-800); border-color: var(--slate-800); }
.faq-qbtn:hover .faq-qarr svg { stroke: #fff; }
.faq-qitem.is-active .faq-qnum  { color: var(--accent); }
.faq-qitem.is-active .faq-qtext { color: var(--slate-900); font-weight: 700; }
.faq-qitem.is-active .faq-qarr  { background: var(--accent); border-color: transparent; transform: rotate(45deg); }
.faq-qitem.is-active .faq-qarr svg { stroke: #fff; }
.faq-apanel {
  position: sticky; top: 88px;
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2.5rem;
  display: grid;
  grid-template-areas: "slide";
}
.faq-aslide {
  grid-area: slide; opacity: 0; transform: translateY(10px);
  transition: opacity 0.38s var(--ease), transform 0.38s var(--ease);
  pointer-events: none; visibility: hidden;
}
.faq-aslide.is-active { opacity: 1; transform: translateY(0); pointer-events: auto; visibility: visible; }
.faq-atag {
  display: inline-block;
  font-size: 0.67rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); background: rgba(var(--accent-rgb),0.09);
  padding: 0.22rem 0.65rem; border-radius: var(--radius-full); margin-bottom: 1rem;
}
.faq-aquestion { font-size: 1.05rem; font-weight: 800; color: var(--slate-900); margin: 0 0 0.8rem; line-height: 1.35; }
.faq-atext { font-size: 0.92rem; color: var(--slate-500); line-height: 1.78; margin: 0; }
.faq-atext a { color: var(--accent); text-decoration: none; }
.faq-atext a:hover { text-decoration: underline; }
.faq-mob-body { display: none; }
@media (max-width: 767px) {
  .faq-section  { padding: 2.75rem 0 3rem; }
  .faq-sub      { margin-bottom: 1.75rem; }
  .faq-layout   { display: block; }
  .faq-apanel   { display: none; }
  .faq-qarr     { display: none; }
  .faq-mob-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.34s var(--ease); }
  .faq-mob-body.is-open { grid-template-rows: 1fr; }
  .faq-mob-inner { overflow: hidden; }
  .faq-mob-inner p { margin: 0; padding: 0.25rem 0 1.1rem; font-size: 0.9rem; color: var(--slate-500); line-height: 1.72; }
  .faq-mob-inner a { color: var(--accent); text-decoration: none; }
  .faq-qbtn { padding: 1rem 0; }
  .faq-qnum { font-size: 0.65rem; min-width: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) { .faq-aslide, .faq-mob-body { transition: none; } }

/* ─── Subscribe Section ──────────────────────────────────────── */
.subscribe-section {
  padding-block: 6rem;
  background: var(--slate-900);
  position: relative;
  overflow: hidden;
}
.subscribe-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(var(--orange-500-rgb),0.12) 0%, transparent 70%);
  pointer-events: none;
}
.subscribe-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 560px;
  margin-inline: auto;
}
.subscribe-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.subscribe-title {
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 0.875rem;
}
.subscribe-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 2rem;
}
.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 440px;
  margin-inline: auto;
  border-radius: var(--radius-xl);
  transition: box-shadow 0.25s ease;
}
.subscribe-form input {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-size: 0.9rem;
  font-family: var(--font-sans);
  backdrop-filter: blur(8px);
  outline: none;
  transition: border-color 0.15s;
}
.subscribe-form input::placeholder { color: rgba(255,255,255,0.35); }
.subscribe-form input:focus { border-color: rgba(var(--accent-rgb),0.55); outline: none; }
.subscribe-form:focus-within {
  border-color: rgba(var(--accent-rgb),0.45);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb),0.15);
}
.subscribe-form .btn-primary { width: 100%; justify-content: center; }
.subscribe-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  margin-top: 1rem;
}

/* ─── Footer ─────────────────────────────────────────────────── */
#site-footer {
  background: radial-gradient(
    ellipse 80% 40% at 50% 0%,
    #0f2040 0%,
    var(--slate-900) 60%
  );
  border-top: 1px solid var(--slate-800);
  padding-block: 3.5rem 2rem;
}
.footer-wrap {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem 2.5rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.footer-tagline {
  font-size: 0.82rem;
  color: var(--slate-400);
  line-height: 1.6;
  margin: 0;
}
.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-300);
  margin-bottom: 1rem;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-col ul a {
  font-size: 0.82rem;
  color: var(--slate-400);
  transition: color var(--duration-fast);
}
.footer-col ul a:hover { color: var(--white); }
.footer-help-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-400);
  transition: color var(--duration-fast);
}
.footer-help-link:hover { color: var(--white); }
.footer-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--slate-600);
  background: transparent;
  color: var(--slate-300);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: background var(--duration-fast), color var(--duration-fast), border-color var(--duration-fast);
}
.footer-cta-btn:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.footer-cta-btn i { font-size: 16px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--slate-800);
}
.footer-bottom p {
  font-size: 0.75rem;
  color: var(--slate-500);
  margin: 0;
}
.footer-legal {
  display: flex;
  gap: 1.5rem;
}
.footer-legal a {
  font-size: 0.75rem;
  color: var(--slate-500);
  transition: color var(--duration-fast);
}
.footer-legal a:hover { color: var(--white); }
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-legal {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
}


/* ─── Archive ────────────────────────────────────────────────── */
.archive-wrap {
  padding-block: 3rem 5rem;
  background: var(--slate-50);
  min-height: 60vh;
}
.archive-header {
  margin-bottom: 2.5rem;
}
.archive-title {
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--slate-900);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.archive-desc {
  font-size: 1rem;
  color: var(--slate-500);
  margin-top: 0.5rem;
  max-width: 560px;
}
/* ── Archive sub-nav (mega-menu style) ── */
.arc-nav {
  margin-top: 1.5rem;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 14px;
}
.arc-pills {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.arc-pill {
  padding: 6px 14px;
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--slate-500);
  background: var(--white);
  border: 1px solid var(--slate-200);
  cursor: pointer;
  transition: all 0.2s ease;
}
.arc-pill:hover {
  color: var(--slate-900);
  background: var(--white);
  border-color: var(--slate-400);
}
.arc-pill.is-active {
  background: var(--accent, #0e7490);
  color: #fff;
  border-color: var(--accent, #0e7490);
  box-shadow: 0 2px 8px rgba(14,116,144,0.25);
}
.arc-chip-grid {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
}
.arc-chip-grid.is-active {
  display: flex;
}
.arc-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--slate-700);
  background: var(--white);
  border: 1px solid var(--slate-200);
  text-decoration: none;
  transition: all 0.2s var(--ease);
}
.arc-chip:hover {
  background: var(--slate-900);
  border-color: var(--slate-900);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15,23,42,0.12);
}
.arc-chip:hover .arc-iata {
  color: rgba(255,255,255,0.5);
  border-left-color: rgba(255,255,255,0.2);
}
.arc-iata {
  font-family: var(--font-mono, 'DM Mono', monospace);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent, #0e7490);
  letter-spacing: 0.02em;
  margin-left: 5px;
  padding-left: 7px;
  border-left: 1.5px solid var(--slate-200);
}
/* No pills — flat chip grid */
.arc-nav[data-has-pills="0"] .arc-chip-grid { display: flex; }
@media (max-width: 640px) {
  .arc-nav { padding: 10px; border-radius: var(--radius-lg); }
  .arc-pills { gap: 4px; margin-bottom: 10px; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 2px; }
  .arc-pills::-webkit-scrollbar { display: none; }
  .arc-pill { white-space: nowrap; flex-shrink: 0; padding: 5px 12px; font-size: 0.75rem; }
  .arc-chip-grid { gap: 6px; }
  .arc-chip { padding: 6px 10px; font-size: 0.75rem; }
  .arc-iata { margin-left: 4px; padding-left: 5px; font-size: 0.6rem; }
}

/* deal-card-no-img fallback */
.deal-card-no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--slate-800) 0%, var(--slate-700) 100%);
  color: rgba(255,255,255,0.3);
}
/* make deal-card-img work as anchor */
a.deal-card-img {
  display: block;
  position: relative;
  height: var(--card-img-h);
  overflow: hidden;
  text-decoration: none;
}
a.deal-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.deal-card:hover a.deal-card-img img { transform: scale(1.05); }

/* deal destination title as link */
.deal-destination a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}
.deal-destination a:hover { color: var(--orange-500); }

/* Pagination */
.archive-pagination {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}
.archive-pagination .page-numbers {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}
.archive-pagination .page-numbers li a,
.archive-pagination .page-numbers li span {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-600);
  transition: all 0.15s;
  text-decoration: none;
}
.archive-pagination .page-numbers li a:hover {
  border-color: var(--slate-900);
  background: var(--slate-900);
  color: var(--white);
}
.archive-pagination .page-numbers li span.current {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  font-weight: 700;
}
.archive-pagination .page-numbers li span.dots {
  border: none;
  background: none;
}

/* Empty state */
.archive-empty {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--slate-400);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.archive-empty p { font-size: 1.1rem; }

/* ─── Page hero atmospheric overlay ─────────────────────────── */
/* Adds subtle gradient depth to light-bg page heroes so the frosted
   glass nav has visual contrast. Apply to hero sections on subpages. */
.page-hero-atmos {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    var(--slate-900) 0%,
    color-mix(in srgb, var(--slate-900) 85%, transparent) 18%,
    color-mix(in srgb, var(--slate-900) 40%, transparent) 40%,
    transparent 65%
  );
}
.page-hero-atmos > * { position: relative; z-index: 1; }
.page-hero-atmos::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 60% at 75% 10%, rgba(var(--accent-rgb), 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 35% 40% at 20% 30%, rgba(var(--orange-500-rgb), 0.06) 0%, transparent 55%);
}
/* Text on atmospheric hero */
.page-hero-atmos .contact-eyebrow,
.page-hero-atmos .archive-eyebrow { color: var(--accent); }
.page-hero-atmos .contact-title,
.page-hero-atmos .archive-title { color: var(--white); }
.page-hero-atmos .contact-sub,
.page-hero-atmos .archive-desc { color: rgba(255,255,255,0.65); }

/* ─── Contact Page ───────────────────────────────────────────── */
.contact-wrap {
  background: var(--slate-50);
  min-height: 70vh;
  padding-bottom: 5rem;
}
.contact-hero {
  padding: 5rem 0 4rem;
  text-align: center;
  border-bottom: 1px solid var(--slate-100);
  margin-bottom: 3rem;
}
.contact-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent, #0e7490);
  margin-bottom: 1.25rem;
}
.contact-title {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--slate-900);
  margin-bottom: 1rem;
  line-height: 1.15;
}
.contact-sub {
  font-size: 1.0625rem;
  color: var(--slate-500);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── Contact form ──────────────────────────────────────────────────── */
.contact-form-wrap {
  max-width: 620px;
  margin: 0 auto 3.5rem;
}
.contact-notice {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.875rem 1.125rem;
  border-radius: var(--radius-lg);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.contact-notice--ok {
  background: var(--status-ok-bg);
  border: 1.5px solid var(--status-ok-border);
  color: var(--status-ok-text);
}
.contact-notice--err {
  background: var(--status-err-bg);
  border: 1.5px solid var(--status-err-border);
  color: var(--status-err-text);
}
.contact-form {
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2rem 2rem 1.75rem;
}
.cf-row { display: flex; gap: 1rem; }
.cf-row--2 > .cf-field { flex: 1; min-width: 0; }
.cf-field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.25rem; }
.cf-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate-700);
}
.cf-input {
  padding: 0.6rem 0.875rem;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-lg);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--slate-800);
  background: var(--slate-50);
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}
.cf-input:focus {
  border-color: var(--accent, #0e7490);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(14,116,144,0.12);
}
.cf-textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.cf-footer {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 0.25rem;
}
.cf-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  background: var(--accent, #0e7490);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.2s ease;
}
.cf-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14,116,144,0.3);
}
.cf-reply-note {
  font-size: 0.8rem;
  color: var(--slate-400);
}
@media (max-width: 540px) {
  .contact-form { padding: 1.5rem 1.25rem; }
  .cf-row--2 { flex-direction: column; gap: 0; }
  .cf-footer { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}

/* ─── Single Post ────────────────────────────────────────────── */
.single-wrap {
  padding-block: 3rem 5rem;
  background: var(--slate-50);
  min-height: 60vh;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--slate-400);
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--slate-500); transition: color 0.15s; }
.breadcrumb a:hover { color: var(--orange-500); }
.post-header { margin-bottom: 2rem; }
.post-cats { margin-bottom: 0.75rem; }
.post-cats a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-500);
  background: transparent;
  border: 1.5px solid rgba(var(--orange-500-rgb),0.35);
  padding: 0.28rem 0.8rem;
  border-radius: var(--radius-full);
  margin-right: 0.375rem;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.2s ease,
              border-color 0.2s ease;
}
.post-cats a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(var(--orange-500-rgb),0.2);
  border-color: rgba(var(--orange-500-rgb),0.7);
}
.post-cats-icon {
  flex-shrink: 0;
  opacity: 0.9;
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
.post-cats a:hover .post-cats-icon {
  transform: scale(1.25);
}
.post-title {
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--slate-900);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--slate-500);
}
.post-meta time,
.post-meta span {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.post-thumbnail {
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 2.5rem;
  max-height: 480px;
}
.post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-content {
  max-width: 720px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--slate-700);
}
.post-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-900);
  margin: 2rem 0 0.75rem;
}
.post-content h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--slate-900);
  margin: 1.5rem 0 0.5rem;
}
.post-content p { margin-bottom: 1.25rem; }
.post-content strong { color: var(--slate-800); font-weight: 600; }
.post-content a { color: var(--orange-500); text-decoration: underline; text-decoration-color: rgba(var(--orange-500-rgb),0.3); }
.post-content a:hover { text-decoration-color: var(--orange-500); }
.post-content img {
  border-radius: var(--radius-lg);
  margin-block: 1.5rem;
  max-width: 100%;
  height: auto;
}
.post-content ul,
.post-content ol {
  margin: 0 0 1.25rem 1.5rem;
}
.post-content li { margin-bottom: 0.375rem; }
.post-content blockquote {
  border-left: 3px solid var(--orange-500);
  padding-left: 1.25rem;
  color: var(--slate-600);
  font-style: italic;
  margin-block: 1.5rem;
}

/* ─── Image credit line (CC BY attribution) ────────────────────── */
.image-credit { font-size: 0.7rem; color: var(--slate-400); margin-top: 1.5rem; }
.image-credit a { color: var(--slate-400); text-decoration: underline; }

/* ─── Gutenberg buttons inside posts ─────────────────────────── */
.wp-block-button__link,
.wp-block-button .wp-block-button__link {
  background: var(--orange-500) !important;
  color: var(--white) !important;
  border-radius: var(--radius-full) !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  padding: 0.75rem 1.75rem !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(var(--orange-500-rgb),0.2);
  transition: opacity 0.15s, transform 0.15s !important;
  text-decoration: none !important;
}
.wp-block-button__link:hover,
.wp-block-button .wp-block-button__link:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  color: var(--white) !important;
}
.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent !important;
  border: 2px solid var(--orange-500) !important;
  color: var(--orange-500) !important;
  box-shadow: none;
}

/* su_button shim */
.su-btn-wrap { margin-block: 1.5rem; }
.su-btn-wrap.su-btn--center { text-align: center; }
.su-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  background: var(--orange-500);
  color: var(--white) !important;
  font-weight: 700;
  font-size: 1rem;
  transition: opacity 0.15s, transform 0.15s;
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(var(--orange-500-rgb),0.2);
}
.su-btn--wide { width: 100%; }
.su-btn:hover { opacity: 0.88; transform: translateY(-1px); }

/* Post tags */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--slate-100);
}
.post-tag {
  font-size: 0.8rem;
  padding: 0.3rem 0.875rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--slate-200);
  color: var(--slate-600);
  background: var(--white);
  transition: all 0.15s;
}
.post-tag:hover {
  border-color: var(--slate-900);
  background: var(--slate-900);
  color: var(--white);
}

/* ── Smart deal tags (single-post-mockup) ──────────────────── */
.dp2-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--slate-100);
}
.dp2-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.775rem;
  font-weight: 500;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--slate-200);
  color: var(--slate-600);
  background: transparent;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.2s ease,
              border-color 0.2s ease;
}
.dp2-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
}
/* Destination — orange */
.dp2-tag--destination {
  border-color: rgba(var(--orange-500-rgb),0.38);
  color: var(--orange-600);
}
.dp2-tag--destination:hover {
  border-color: rgba(var(--orange-500-rgb),0.72);
  box-shadow: 0 4px 16px rgba(var(--orange-500-rgb),0.18);
}
/* Departure — kept for edge cases; not emitted by afs3_smart_tags() in normal flow */
.dp2-tag--departure {
  border-color: var(--slate-200);
  color: var(--slate-500);
}
.dp2-tag--departure:hover {
  border-color: var(--slate-400);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
/* Icon shared */
.dp2-tag-icon {
  flex-shrink: 0;
  opacity: 0.85;
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
.dp2-tag:hover .dp2-tag-icon {
  transform: scale(1.25);
  opacity: 1;
}
/* Region / country — sky */
.dp2-tag--region {
  border-color: rgba(var(--sky-500-rgb),0.35);
  color: var(--sky-600);
}
.dp2-tag--region:hover {
  border-color: rgba(var(--sky-500-rgb),0.68);
  box-shadow: 0 4px 16px rgba(var(--sky-500-rgb),0.15);
}
/* Vibe / interest — violet */
.dp2-tag--vibe {
  border-color: rgba(109,40,217,0.3);
  color: var(--tag-purple);
}
.dp2-tag--vibe:hover {
  border-color: rgba(109,40,217,0.62);
  box-shadow: 0 4px 16px rgba(109,40,217,0.15);
}


/* ─── Single post wrapper ─────────────────────────────────────── */
.single-wrap {
  padding-block: 0 4rem;
}

/* ─── Post hero ───────────────────────────────────────────────── */
.post-hero {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: 2.5rem;
}
.post-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.post-hero-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: var(--orange-500);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}
.post-hero-price {
  position: absolute;
  bottom: 1.5rem;
  left: 1.75rem;
}
.post-hero-price-value {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.post-hero-price-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
  margin-top: 0.25rem;
  text-transform: lowercase;
  letter-spacing: 0.02em;
}

/* ─── Single layout (2-col grid) ─────────────────────────────── */
.single-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items: start;
}

/* ─── Deal sidebar ────────────────────────────────────────────── */
.deal-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.deal-sidebar-card {
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: 0 4px 24px rgba(10,22,40,0.07);
}
.deal-sidebar-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--orange-500);
  margin-bottom: 1rem;
}
.deal-sidebar-price {
  font-family: var(--font-mono);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.deal-sidebar-trip {
  font-size: 0.82rem;
  color: var(--slate-500);
  margin-bottom: 1.5rem;
}
.deal-sidebar-meta {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 1.5rem;
  border-top: 1px solid var(--slate-100);
}
.deal-sidebar-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--slate-100);
  gap: 0.5rem;
}
.deal-sidebar-meta-label {
  font-size: 0.78rem;
  color: var(--slate-500);
  font-weight: 500;
}
.deal-sidebar-meta-value {
  font-size: 0.82rem;
  color: var(--slate-800);
  font-weight: 600;
  text-align: right;
}
.deal-sidebar-book {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.875rem 1.5rem;
  background: var(--orange-500);
  color: var(--white);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.15s, transform 0.15s;
  margin-bottom: 0.875rem;
  box-shadow: 0 4px 16px rgba(var(--orange-500-rgb),0.25);
}
.deal-sidebar-book:hover {
  background: var(--orange-600);
  color: var(--white);
  transform: translateY(-1px);
}
.deal-sidebar-cta-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-3);
  margin: 0 0 0.5rem;
  text-align: center;
}
.deal-sidebar-book--expedia  { background: #003580; box-shadow: 0 4px 16px rgba(0,53,128,0.25); }
.deal-sidebar-book--expedia:hover  { background: #002a6b; }
.deal-sidebar-book--priceline { background: #003087; box-shadow: 0 4px 16px rgba(0,48,135,0.25); }
.deal-sidebar-book--priceline:hover { background: #00236e; }
.deal-sidebar-book--skyscanner { background: #00b2f3; box-shadow: 0 4px 16px rgba(0,178,243,0.25); }
.deal-sidebar-book--skyscanner:hover { background: #009fd9; }
.deal-sidebar-disclaimer {
  font-size: 0.72rem;
  color: var(--slate-400);
  text-align: center;
  line-height: 1.5;
  margin: 0;
}

/* ─── Sidebar widgets (alert + follow) ───────────────────────── */
@keyframes widgetSlideIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.sidebar-widget {
  border-radius: var(--radius-xl);
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--border);
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 2px 12px rgba(10,22,40,0.06);
  animation: widgetSlideIn 500ms var(--ease) both;
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.sidebar-widget:hover {
  box-shadow: 0 8px 28px rgba(var(--accent-rgb),0.13);
  transform: translateY(-2px);
}
.sidebar-widget--follow { animation-delay: 80ms; }
.sidebar-widget::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
}
.sidebar-widget-icon {
  width: 40px; height: 40px;
  background: rgba(var(--accent-rgb),0.10);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.6rem;
  color: var(--accent);
  transition: background 0.2s, transform 0.2s;
}
.sidebar-widget:hover .sidebar-widget-icon {
  background: rgba(var(--accent-rgb),0.18);
  transform: scale(1.08);
}
.sidebar-widget-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 0.25rem;
}
.sidebar-widget-sub {
  font-size: 0.75rem;
  color: var(--text-2);
  margin-bottom: 0.875rem;
  line-height: 1.5;
}
.sidebar-widget-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.65rem 1rem;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.82rem;
  text-align: center;
  transition: filter 0.15s, transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 3px 12px var(--accent-glow);
}
.sidebar-widget-btn:hover {
  filter: brightness(0.88);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--accent-glow);
}

/* ─── Legacy affiliate links ─────────────────────────────────── */
.legacy-search-links { margin-bottom: 0.75rem; }
.legacy-search-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-3);
  margin-bottom: 0.4rem;
  text-align: center;
}
.legacy-search-row {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}
.legacy-search-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
}
.legacy-search-link:hover {
  background: rgba(var(--accent-rgb),0.08);
  color: var(--accent-dark);
}

/* ─── Shared carousel (fhd-*) ───────────────────────────────── */
.deals-header-nav {
  display: flex; gap: 0.5rem; flex-shrink: 0; padding-bottom: 0.25rem;
}

/* Region filter tabs */
.fhd-tabs {
  display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 1.5rem; justify-content: center;
}
.fhd-tab {
  padding: 0.42rem 1.1rem; border-radius: var(--radius-full);
  border: 1.5px solid var(--slate-200);
  background: var(--bg-card); font-size: 0.82rem; font-weight: 600; color: var(--slate-500);
  cursor: pointer; transition: border-color var(--duration-fast), background var(--duration-fast), color var(--duration-fast);
}
.fhd-tab:hover { border-color: var(--slate-400); color: var(--slate-800); }
.fhd-tab.is-active { border-color: var(--accent); background: var(--accent); color: #fff; }
.fhd-panel[hidden] { display: none !important; }

.fhd-nav {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border); background: #fff; color: var(--slate-600);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.12s;
}
.fhd-nav:hover:not(:disabled) {
  background: var(--accent); border-color: var(--accent); color: #fff;
  transform: scale(1.06);
}
.fhd-nav:disabled { opacity: 0.25; cursor: default; }
.fhd-viewport {
  overflow: hidden;
  padding: 20px;
  margin: -20px;
}
.fhd-track {
  display: flex; gap: 1.5rem;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  will-change: transform;
}
.fhd-track > .deal-card { flex: 0 0 calc(33.333% - 1rem); min-width: 0; }
@media (min-width: 561px) and (max-width: 860px) {
  .fhd-track > .deal-card { flex: 0 0 calc(50% - 0.75rem); }
}
.fhd-dots {
  display: flex; justify-content: center; align-items: center;
  gap: 0.35rem; margin-top: 1.5rem;
}
.fhd-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--slate-300); border: none; padding: 0; cursor: pointer;
  transition: background 0.18s, width 0.22s cubic-bezier(0.165,0.84,0.44,1), border-radius 0.22s;
}
.fhd-dot.is-active { background: var(--accent); width: 20px; border-radius: 3px; }
@media (max-width: 768px) {
  .deals-header-nav { display: none; }
  .fhd-viewport {
    padding: 20px 0 0; margin: -20px 0 0;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .fhd-viewport::-webkit-scrollbar { display: none; }
  .fhd-track > .deal-card { flex: 0 0 85vw; scroll-snap-align: start; scroll-snap-stop: always; }
}

/* ─── Recent deals carousel ──────────────────────────────────── */
.recent-deals {
  margin-top: 3rem;
  padding-top: 2.5rem;
}
.recent-deals-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.recent-deals-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 0;
}
.recent-deals-cat {
  color: var(--accent);
  text-decoration: none;
}
.recent-deals-cat:hover { text-decoration: underline; }
.recent-deals .fhd-track > .deal-card { flex: 0 0 calc(33.333% - 1rem); }

/* ─── Hero highlight text ────────────────────────────────────── */
.hero-highlight {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.hero-highlight::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--orange-500);
  border-radius: 3px;
  transform-origin: left center;
  transform: scaleX(0);
  animation: highlight-draw 0.65s cubic-bezier(0.22,1,0.36,1) 0.9s forwards;
}
@keyframes highlight-draw { to { transform: scaleX(1); } }

/* ─── Animated counters ──────────────────────────────────────── */
.js-count { transition: color 0.3s; }


/* ─── How It Works ───────────────────────────────────────────── */
.how-section {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--slate-50);
}
.how-header {
  text-align: left;
  max-width: 560px;
  margin: 0 0 clamp(2.5rem, 5vw, 3.5rem);
}
.how-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 1.5rem;
  align-items: stretch;
}
/* Pure hairline connector — 1.5px teal line with 3px anchor dots at each end.
   No icons, no dashes. Silent confidence. */
.how-connector {
  align-self: center;
  position: relative;
  width: 72px;
  height: 3px;
  color: var(--accent);
  background: linear-gradient(currentColor, currentColor) center / calc(100% - 12px) 1.5px no-repeat;
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 420ms var(--ease), transform 420ms var(--ease);
}
.how-connector::before,
.how-connector::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 3px;
  height: 3px;
  margin-top: -1.5px;
  border-radius: 50%;
  background: currentColor;
}
.how-connector::before { left: 0; }
.how-connector::after  { right: 0; }
.how-grid.is-animated .how-connector { opacity: 1; transform: translateY(0); }
.how-grid.is-animated .how-connector:nth-child(2) { transition-delay: 180ms; }
.how-grid.is-animated .how-connector:nth-child(4) { transition-delay: 340ms; }
@media (prefers-reduced-motion: reduce) {
  .how-connector { opacity: 1; transform: none; transition: none; }
}

/* ── Card base ── */
.how-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: 0 1px 4px var(--ink-sm);
  transition: box-shadow var(--duration-base) var(--ease), transform var(--duration-base) var(--ease);
}
.how-card:hover {
  box-shadow: 0 16px 40px var(--ink-md);
  transform: translateY(-6px);
}

/* Accent bar slides in from left on hover — cyan = brand */
.how-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 400ms var(--ease);
}
.how-card:hover::before { transform: scaleX(1); }

/* Icon square — cyan = brand action (not urgency) */
.how-card-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  background: rgba(var(--accent-rgb), 0.10);
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: transform 400ms var(--ease), box-shadow 400ms var(--ease), background 400ms var(--ease);
}
.how-card:hover .how-card-icon {
  transform: scale(1.15) translateY(-3px);
  background: rgba(var(--accent-rgb), 0.18);
  box-shadow: 0 12px 28px rgba(var(--accent-rgb), 0.28);
}

/* Ghost step number watermark */
.how-card-num {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(var(--accent-rgb), 0.07);
  pointer-events: none;
  transition: color 400ms ease;
}
.how-card:hover .how-card-num { color: rgba(var(--accent-rgb), 0.18); }

.how-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.5rem;
}
.how-desc {
  font-size: 0.875rem;
  color: var(--slate-500);
  line-height: 1.65;
}

/* ── Scroll-triggered entrance animation ── */
@keyframes howCardIn {
  from { opacity: 0; transform: translateY(32px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

.how-grid.how-animate-ready .how-card { opacity: 0; }

.how-grid.is-animated .how-card {
  animation: howCardIn 600ms var(--ease) both;
}
.how-grid.is-animated .how-card:nth-child(1) { animation-delay:   0ms; }
.how-grid.is-animated .how-card:nth-child(2) { animation-delay: 120ms; }
.how-grid.is-animated .how-card:nth-child(3) { animation-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  .how-grid.how-animate-ready .how-card { opacity: 1; }
  .how-grid.is-animated .how-card { animation: none; }
}

/* ─── Social share strip ─────────────────────────────────────── */
.share-strip {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.share-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-400);
  white-space: nowrap;
}
.share-btns {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-500);
  padding: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.12s;
}
.share-btn:hover { transform: translateY(-1px); }
.share-btn svg, .share-btn i { flex-shrink: 0; }
.share-btn--x:hover       { background: var(--social-x); color: var(--white); border-color: var(--social-x); }
.share-btn--threads:hover { background: var(--social-x); color: var(--white); border-color: var(--social-x); }
.share-btn--fb:hover      { background: var(--social-fb); color: #fff; border-color: var(--social-fb); }
.share-btn--wa:hover      { background: var(--social-wa); color: #fff; border-color: var(--social-wa); }
.share-btn--tg:hover      { background: var(--social-tg); color: #fff; border-color: var(--social-tg); }
.share-btn--copy:hover    { background: var(--slate-900); color: #fff; border-color: var(--slate-900); }
.share-btn--copy.copied   { background: var(--copy-ok-bg); color: var(--copy-ok-text); border-color: var(--copy-ok-border); }

/* ─── Trust bar ──────────────────────────────────────────────── */
.trust-section {
  padding: 2.5rem 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.5rem 2.5rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.trust-bar.is-visible .trust-item { opacity: 1; transform: none; }
.trust-bar.is-visible .trust-item:nth-child(1) { transition-delay: 0ms; }
.trust-bar.is-visible .trust-item:nth-child(3) { transition-delay: 80ms; }
.trust-bar.is-visible .trust-item:nth-child(5) { transition-delay: 160ms; }
.trust-bar.is-visible .trust-item:nth-child(7) { transition-delay: 240ms; }
.trust-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1;
}
.trust-value--free {
  font-size: 1.55rem;
  color: var(--accent);
}
.trust-label {
  font-size: 0.78rem;
  color: var(--slate-500);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.trust-divider {
  width: 1px;
  height: 2rem;
  background: var(--border);
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .trust-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: 100%;
    position: relative;
  }
  /* Single continuous vertical line down the center */
  .trust-bar::after {
    content: '';
    position: absolute;
    left: 50%; top: 0; bottom: 0;
    width: 1px;
    background: var(--border);
    transform: translateX(-50%);
  }
  .trust-item {
    padding: 1rem 0.75rem;
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  /* Upper row horizontal separator */
  .trust-bar .trust-item:nth-child(1),
  .trust-bar .trust-item:nth-child(3) { border-bottom: 1px solid var(--border); }
  .trust-divider { display: none; }
}

/* ─── Burger button ──────────────────────────────────────────── */
.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
  background: var(--white);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.burger-line {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1),
              opacity   0.2s ease,
              width     0.2s ease;
}
.burger-btn[aria-expanded="true"] .burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger-btn[aria-expanded="true"] .burger-line:nth-child(2) {
  opacity: 0;
  width: 0;
}
.burger-btn[aria-expanded="true"] .burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── Mobile backdrop ────────────────────────────────────────── */
.mobile-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,22,40,0.5);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 290;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.mobile-backdrop.is-open {
  opacity: 1;
  pointer-events: all;
}

/* ─── Mobile drawer — glassmorphism with blurred blobs ───────── */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: min(380px, 92vw);
  height: 100dvh;
  background: var(--slate-50);
  z-index: 300;
  transform: translateX(100%);
  transition: transform 0.52s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  flex-direction: column;
}
.mobile-drawer.is-open { transform: translateX(0); }

/* ── Blurred blobs ── */
.drawer-blobs {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none; overflow: hidden;
}
.drawer-blob {
  position: absolute; border-radius: 50%;
  filter: blur(80px); -webkit-filter: blur(80px);
  opacity: 0.5;
}
.drawer-blob--teal  { width: 220px; height: 220px; background: #99f6e4; top: 120px; left: -60px; }
.drawer-blob--blue  { width: 180px; height: 180px; background: #bae6fd; top: 320px; right: -40px; }
.drawer-blob--amber { width: 160px; height: 160px; background: #fde68a; top: 560px; left: 40px; opacity: 0.35; }

/* ── Drawer head — frosted glass ── */
.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.5);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.mobile-drawer-logo { font-size: 1.1rem; }
.mobile-drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--slate-100);
  border: none;
  cursor: pointer;
  color: var(--slate-500);
  font-size: 18px;
  transition: background 0.15s;
}
.mobile-drawer-close:hover { background: var(--slate-200); }

/* ── Scrollable body ── */
.mobile-drawer-body {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: 0;
  position: relative;
  z-index: 1;
}
.mobile-drawer-body::-webkit-scrollbar { display: none; }

/* ── Search bar — frosted glass ── */
.mob-search-wrap {
  margin: 14px 20px 0;
  position: relative;
  z-index: 1;
}
.mob-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border-radius: var(--radius-lg);
  transition: border-color 0.15s;
}
.mob-search-bar:focus-within {
  border-color: var(--accent, #0e7490);
}
.mob-search-bar svg, .mob-search-bar i { flex-shrink: 0; color: var(--slate-400); }
.mob-search-input {
  flex: 1;
  border: none;
  background: none;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--slate-800);
  outline: none;
}
.mob-search-input::placeholder { color: var(--slate-400); }
.mob-search-clear {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--slate-400);
  line-height: 1;
}
.mob-search-clear:hover { color: var(--slate-700); }
.mob-search-list {
  list-style: none;
  margin-top: 0.5rem;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  animation: mob-list-drop 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes mob-list-drop {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mob-search-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1rem;
  font-size: 0.88rem;
  color: var(--slate-700);
  transition: background 0.12s;
  gap: 0.5rem;
}
.mob-search-result:hover { background: rgba(255,255,255,0.5); color: var(--slate-900); }
.mob-sr-name { font-weight: 500; }
.mob-sr-region { font-size: 0.72rem; color: var(--slate-400); margin-left: 4px; }
.mob-sr-meta { font-size: 0.75rem; color: var(--slate-400); white-space: nowrap; }
.mob-search-empty {
  padding: 0.9rem 1rem;
  font-size: 0.85rem;
  color: var(--slate-400);
  text-align: center;
}

/* ── Region tabs + cities panel (connected) ── */
.mob-tabbed {
  margin: 14px 20px 0;
  position: relative;
  z-index: 1;
}
.mob-region-tabs {
  display: flex;
  gap: 0;
  padding: 0;
}
.mob-region-tab {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 2px 9px;
  border-radius: 12px 12px 0 0;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  position: relative;
  background: transparent;
  border: 1px solid transparent;
  border-bottom: none;
}
.mob-region-tab:hover { background: rgba(241,245,249,0.5); }
.mob-region-tab.is-active {
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-color: rgba(255,255,255,0.6);
  margin-bottom: -1px;
  padding-bottom: 10px;
}
.mob-region-tab.is-active .mob-region-name { color: var(--accent, #0e7490); font-weight: 700; }
.mob-region-emoji { font-size: 20px; line-height: 1; transition: transform 0.25s var(--ease); }
.mob-region-tab.is-active .mob-region-emoji { transform: scale(1.08); }
.mob-region-name {
  font-size: 9px;
  font-weight: 600;
  color: var(--slate-500);
  text-align: center;
  transition: color 0.2s ease;
}

/* ── Cities panel — glass card connected to active tab ── */
.mob-cities-panel {
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-radius: 0 16px 16px 16px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.6);
  border-top: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.mob-cities-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.mob-cities-icon { color: var(--accent, #0e7490); font-size: 14px; }
.mob-cities-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--slate-900);
}
.mob-sub-scroll {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.mob-sub-scroll::-webkit-scrollbar { display: none; }
.mob-sub-pill {
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--slate-500);
  background: #fff;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.mob-sub-pill:hover { color: var(--slate-900); }
.mob-sub-pill.is-active { background: var(--accent, #0e7490); color: #fff; }
.mob-city-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mob-city-chip {
  padding: 7px 12px;
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--slate-700);
  background: #fff;
  border: 1px solid var(--slate-200);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  text-decoration: none;
}
.mob-city-chip:hover {
  background: var(--slate-900); color: #fff; border-color: var(--slate-900);
  transform: translateY(-1px); box-shadow: 0 4px 12px rgba(15,23,42,0.12);
}
.mob-city-chip:hover .mob-iata { color: rgba(255,255,255,0.5); border-left-color: rgba(255,255,255,0.2); }
.mob-city-chip.is-geo {
  background: var(--accent, #0e7490); color: #fff; border-color: var(--accent, #0e7490); font-weight: 600;
}
.mob-city-chip.is-geo .mob-iata { color: rgba(255,255,255,0.6); border-left-color: rgba(255,255,255,0.25); }
.mob-iata {
  font-family: var(--font-mono, 'DM Mono', monospace);
  font-size: 10px;
  font-weight: 600;
  color: var(--accent, #0e7490);
  letter-spacing: 0.02em;
  margin-left: 4px;
  padding-left: 6px;
  border-left: 1.5px solid var(--slate-200);
}

/* ── Special routes dropdown ── */
.mob-special-wrap { padding: 12px 20px 0; position: relative; z-index: 1; }
.mob-special-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border-radius: var(--radius-lg);
  cursor: pointer;
  user-select: none;
  transition: all 0.2s var(--ease);
}
.mob-special-trigger:hover { border-color: var(--slate-200); }
.mob-special-trigger-left { display: flex; align-items: center; gap: 8px; }
.mob-special-trigger-icon { color: var(--accent, #0e7490); font-size: 18px; }
.mob-special-trigger-label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--slate-900);
}
.mob-special-caret {
  color: var(--slate-400);
  font-size: 16px;
  transition: transform 0.3s var(--ease);
}
.mob-special-trigger.is-open .mob-special-caret { transform: rotate(180deg); }
.mob-special-dropdown {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s var(--ease), margin-top 0.35s var(--ease);
  margin-top: 0;
}
.mob-special-dropdown.is-open { max-height: 260px; margin-top: 8px; }
.mob-special-list { display: flex; flex-direction: column; gap: 2px; }
.mob-special-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: var(--radius-lg);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--slate-700);
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
}
.mob-special-item:hover { background: var(--slate-50); }
.mob-special-item i { font-size: 18px; color: var(--accent, #0e7490); width: 20px; text-align: center; }
.mob-special-item-arrow { margin-left: auto; font-size: 16px; color: var(--slate-200); }

/* ── Drawer nav — frosted glass bar ── */
.mob-nav-bar {
  margin: 14px 20px;
  display: flex;
  gap: 0;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border-radius: var(--radius-lg);
  padding: 10px 8px;
  position: relative;
  z-index: 1;
}
.mob-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 8px 4px;
  border-radius: var(--radius-lg);
  font-size: 10px;
  font-weight: 600;
  color: var(--slate-400);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}
.mob-nav-item:hover { color: var(--slate-700); }
.mob-nav-item i { font-size: 20px; }
.mob-nav-item.is-active { color: var(--accent, #0e7490); }

/* ── Drawer member card section ── */
.mobile-drawer-member {
  padding: 14px 20px 0;
  position: relative;
  z-index: 1;
}

/* ── Drawer visitor CTA ── */
.mobile-drawer-cta {
  padding: 14px 20px;
  position: relative;
  z-index: 1;
}
.mob-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding: 12px;
  border-radius: 9999px;
  background: var(--slate-900, #0f172a);
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
  text-decoration: none;
}
.mob-cta-btn:hover {
  background: var(--slate-800);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15,23,42,0.2);
}
.mob-cta-btn i { color: var(--accent, #0e7490); font-size: 16px; }

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1023px) {
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .nav-account { display: none !important; }
  .nav-auth-wrap { display: none !important; }
  .mega-menu { display: none; }
  .burger-btn { display: flex; }
  .mobile-backdrop { display: block; }
  .mobile-drawer   { display: flex; }
  .hero-stats { gap: 1.5rem; }
  .ticker-track { animation-duration: 18s; }
  .single-layout { grid-template-columns: 1fr; }
  .post-hero { height: 280px; }
  .deal-sidebar { position: static; }

  /* Mobile layout order: body → deal card → share → tags → alert → follow */
  .single-layout { display: flex; flex-direction: column; gap: 0; }
  .single-main    { display: contents; }
  .deal-sidebar   { display: contents; }
  .post-header        { order: 1; margin-bottom: 1.5rem; }
  .archived-notice    { order: 2; margin-bottom: 1.25rem; }
  .post-content       { order: 3; margin-bottom: 1.75rem; }
  .deal-sidebar-card  { order: 4; margin-bottom: 1.25rem; }
  .share-strip        { order: 5; margin-bottom: 1.25rem; }
  .dp2-tags           { order: 6; margin-bottom: 1.25rem; }
  .sidebar-widget--alert  { order: 7; margin-bottom: 1rem; }
  .sidebar-widget--follow { order: 8; margin-bottom: 1rem; }

  /* Recent deals: full-width on mobile, cards stack via fhd scroll */
  .recent-deals .fhd-track > .deal-card { flex: 0 0 280px; }
  .recent-deals-header { flex-direction: column; align-items: flex-start; }
}
@media (min-width: 1024px) and (max-width: 1100px) {
  .mega-regions { width: 140px; }
  .mega-sidebar { width: 160px; padding: 14px 12px; }
  .recent-deals .fhd-track > .deal-card { flex: 0 0 calc(50% - 0.75rem); }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-stats { flex-wrap: wrap; gap: 1.25rem; }
}

/* How It Works + Testimonials mobile */
@media (max-width: 768px) {
  .how-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .how-connector { display: none; }
  .how-card:hover { transform: none; box-shadow: 0 1px 4px var(--ink-sm); }
  .how-card:hover::before { transform: scaleX(0); }
  .how-title { font-size: 0.95rem; margin-bottom: 0.25rem; }
  .how-desc { font-size: 0.8rem; line-height: 1.5; }
  .testimonial-card { flex: 0 0 calc(100% - 2rem); }
  .share-strip { gap: 0.75rem; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .testimonial-card { flex: 0 0 calc(50% - 1rem); }
  .how-card { padding: 1.5rem 1.25rem; }
}

/* ─── Archived content notice ───────────────────────────────── */
.archived-notice {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--orange-50);
  border: 1px solid var(--orange-100);
  border-left: 4px solid var(--orange-500);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.75rem;
}
.archived-notice-icon {
  flex-shrink: 0;
  color: var(--orange-500);
  margin-top: 1px;
}
.archived-notice-body { flex: 1; }
.archived-notice-heading {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.25rem;
}
.archived-notice-text {
  font-size: 0.825rem;
  color: var(--slate-600);
  line-height: 1.5;
  margin: 0;
}
.archived-notice-link {
  color: var(--orange-600);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.archived-notice-link:hover {
  color: var(--slate-900);
  text-decoration: underline;
}

/* (footer-follow-btn removed — replaced by .footer-cta-btn in footer grid) */

/* ─── Follow page ────────────────────────────────────────────── */
.follow-page {
  padding-block: 4rem 6rem;
  min-height: 60vh;
}
.follow-hero {
  text-align: center;
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 3rem;
}
.follow-title {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.follow-sub {
  margin-top: 0.875rem;
  font-size: 1.05rem;
  color: var(--slate-500);
  line-height: 1.6;
}

/* Email card */
.follow-email-section { margin-bottom: 3.5rem; }
.follow-email-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 1.75rem 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  flex-wrap: wrap;
}
.follow-email-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--orange-100);
  color: var(--orange-500);
  display: flex;
  align-items: center;
  justify-content: center;
}
.follow-email-body { flex: 1; min-width: 180px; }
.follow-email-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate-900);
}
.follow-email-desc {
  font-size: 0.875rem;
  color: var(--slate-500);
  margin-top: 0.25rem;
}
.follow-email-form {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}
.follow-email-input {
  padding: 0.625rem 1rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--slate-900);
  background: var(--slate-50);
  width: 220px;
  outline: none;
  transition: border-color 0.15s;
}
.follow-email-input:focus { border-color: var(--orange-400); }
.follow-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.625rem 1.25rem;
  background: var(--orange-500);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}
.follow-email-btn:hover { background: var(--orange-600); }

/* Section layout */
.follow-section { margin-bottom: 3.5rem; }
.follow-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.follow-section-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.2rem;
}
.follow-section-sub {
  font-size: 0.875rem;
  color: var(--slate-500);
}

/* Global channels — icon-only buttons */
.follow-global-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.125rem;
}
.fglobal-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
.fglobal-btn:hover { transform: translateY(-5px); }
.fglobal-btn-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s ease, transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
.fglobal-btn:hover .fglobal-btn-icon { transform: scale(1.08); }

/* Platform brand colors — always visible */
.fglobal-btn--x .fglobal-btn-icon       { background: var(--social-x); }
.fglobal-btn--ig .fglobal-btn-icon      { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.fglobal-btn--fb .fglobal-btn-icon      { background: var(--social-fb); }
.fglobal-btn--threads .fglobal-btn-icon { background: var(--social-threads); }
.fglobal-btn--bsky .fglobal-btn-icon    { background: var(--social-bsky); }
.fglobal-btn--wa .fglobal-btn-icon      { background: var(--social-wa); }
.fglobal-btn--yt .fglobal-btn-icon      { background: var(--social-yt); }
.fglobal-btn--tt .fglobal-btn-icon      { background: #010101; color: #fff; }

/* Glow on hover per platform */
.fglobal-btn--x:hover .fglobal-btn-icon       { box-shadow: 0 8px 24px rgba(0,0,0,0.35); }
.fglobal-btn--ig:hover .fglobal-btn-icon      { box-shadow: 0 8px 24px rgba(214,36,159,0.4); }
.fglobal-btn--fb:hover .fglobal-btn-icon      { box-shadow: 0 8px 24px rgba(24,119,242,0.4); }
.fglobal-btn--threads:hover .fglobal-btn-icon { box-shadow: 0 8px 24px rgba(0,0,0,0.35); }
.fglobal-btn--bsky:hover .fglobal-btn-icon    { box-shadow: 0 8px 24px rgba(0,133,255,0.4); }
.fglobal-btn--wa:hover .fglobal-btn-icon      { box-shadow: 0 8px 24px rgba(37,211,102,0.4); }
.fglobal-btn--yt:hover .fglobal-btn-icon      { box-shadow: 0 8px 24px rgba(255,0,0,0.35); }
.fglobal-btn--tt:hover .fglobal-btn-icon      { box-shadow: 0 8px 24px rgba(105,201,208,0.35); }

.fglobal-btn-name {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--slate-400);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  text-align: center;
  transition: color 0.15s;
}
.fglobal-btn:hover .fglobal-btn-name { color: var(--slate-700); }

/* Regional rows */
.follow-regions {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.follow-region {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.375rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.follow-region:hover {
  border-color: var(--slate-300);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.follow-region-info {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  min-width: 0;
}
.region-emoji {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}
.region-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}
.region-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--slate-900);
}
.region-sub {
  font-size: 0.775rem;
  color: var(--slate-400);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Platform icon buttons for regional rows */
.follow-region-platforms {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.fpl-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.15s;
}
.fpl-btn:hover { transform: scale(1.2); }

/* Always-colored circles */
.fpl-btn--x       { background: var(--social-x); }
.fpl-btn--fb      { background: var(--social-fb); }
.fpl-btn--threads { background: var(--social-threads); }
.fpl-btn--bsky    { background: var(--social-bsky); }
.fpl-btn--wa      { background: var(--social-wa); }
.fpl-btn--tg      { background: var(--social-tg); }

/* Glow on hover */
.fpl-btn--x:hover       { box-shadow: 0 4px 14px rgba(0,0,0,0.4); }
.fpl-btn--fb:hover      { box-shadow: 0 4px 14px rgba(24,119,242,0.45); }
.fpl-btn--threads:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.4); }
.fpl-btn--bsky:hover    { box-shadow: 0 4px 14px rgba(0,133,255,0.45); }
.fpl-btn--wa:hover      { box-shadow: 0 4px 14px rgba(37,211,102,0.45); }
.fpl-btn--tg:hover      { box-shadow: 0 4px 14px rgba(34,158,217,0.45); }

/* Region note */
.follow-region-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--slate-400);
}

/* ── Follow page responsive ───────────────────────────────────── */
@media (max-width: 768px) {
  .follow-page { padding-block: 2.5rem 4rem; }
  .follow-email-card { flex-direction: column; align-items: flex-start; }
  .follow-email-form { width: 100%; }
  .follow-email-input { flex: 1; width: auto; }
  .follow-section-header { align-items: flex-start; flex-direction: column; }
  .follow-global-icons { gap: 0.75rem; }
  .fglobal-btn-icon { width: 50px; height: 50px; }
  /* Allow region subtitle to wrap instead of truncating */
  .region-sub { white-space: normal; overflow: visible; text-overflow: unset; }
}
@media (max-width: 520px) {
  .follow-region { flex-direction: column; align-items: flex-start; gap: 0.875rem; }
  .follow-region-platforms { width: 100%; justify-content: flex-start; flex-wrap: wrap; }
  .fpl-btn { width: 42px; height: 42px; }
}

/* ═══════════════════════════════════════════════════════════════
   DEALS PAGE
   ═══════════════════════════════════════════════════════════════ */

/* ── Ad slots ────────────────────────────────────────────────── */
.dp-ad-slot {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding: 0.5rem 0 1rem;
}
.dp-ad-desktop,
.dp-ad-mobile {
  background: var(--slate-100);
  border: 1px dashed var(--slate-300);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-400);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.dp-ad-desktop {
  width: 728px;
  max-width: 100%;
  height: 90px;
}
.dp-ad-mobile { display: none; }
@media (max-width: 768px) {
  .dp-ad-desktop { display: none; }
  .dp-ad-mobile {
    display: flex;
    width: 300px;
    height: 250px;
  }
}

/* ── Infinite scroll loading ─────────────────────────────────── */
.dp-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 2rem 0 3rem;
}
.dp-loading[hidden] { display: none; }
.dp-loading-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange-500);
  animation: dp-bounce 1.2s infinite ease-in-out;
}
.dp-loading-dot:nth-child(1) { animation-delay: 0s; }
.dp-loading-dot:nth-child(2) { animation-delay: 0.2s; }
.dp-loading-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes dp-bounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40%           { transform: scale(1);   opacity: 1;   }
}

/* ── Deal sidebar: discount badge ──────────────────────────────────────── */
.deal-sidebar-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.deal-sidebar-discount {
  font-size: 0.7rem;
  font-weight: 700;
  background: #dcfce7;
  color: #15803d;
  border-radius: 4px;
  padding: 2px 7px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

/* ── Deal sidebar: route (LAX → CDG) ───────────────────────────────────── */
.deal-sidebar-route {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  font-weight: 600;
}


/* ── 404 Page ────────────────────────────────────────────────────── */
.error-hero {
  text-align: center;
  padding: 4rem 1.5rem 2.5rem;
}
.error-hero .section-eyebrow {
  margin: 0 auto 1rem;
  justify-content: center;
}
.error-watermark {
  font-family: var(--font-mono);
  font-size: clamp(4.5rem, 10vw, 7rem);
  font-weight: 800;
  color: var(--accent);
  opacity: 0.10;
  line-height: 1;
  margin-bottom: 0.25rem;
  user-select: none;
}
.error-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--slate-900);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}
.error-sub {
  font-size: 1rem;
  color: var(--slate-500);
  max-width: 440px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.error-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.error-actions .btn-ghost {
  color: var(--accent);
  border-color: var(--accent);
  backdrop-filter: none;
}
.error-actions .btn-ghost:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.error-divider {
  max-width: 480px;
  margin: 0 auto;
  border: none;
  border-top: 1px solid var(--slate-200);
}
.error-deals {
  text-align: center;
  padding: 2.5rem 0 4rem;
}
.error-deals .section-eyebrow {
  margin: 0 auto 0.5rem;
  justify-content: center;
}
.error-deals .section-title {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin-bottom: 0.25rem;
}
.error-deals .section-sub {
  margin: 0 auto 2rem;
  font-size: 0.9rem;
}
.error-deals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (min-width: 561px) and (max-width: 860px) {
  .error-deals-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .error-deals-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .error-hero { padding: 3rem 1rem 2rem; }
}


/* ── Static pages (page.php) ──────────────────────────────────────── */
.page-wrap { padding: 3rem 0 5rem; }
.page-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--slate-900);
  margin: 0 0 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--slate-200);
}
.page-body {
  max-width: 780px;
  font-size: 0.97rem;
  line-height: 1.8;
  color: var(--slate-700);
}
.page-body h2 { font-size: 1.2rem; font-weight: 700; color: var(--slate-900); margin: 2rem 0 0.5rem; }
.page-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--slate-900); margin: 1.5rem 0 0.4rem; }
.page-body p  { margin: 0 0 1rem; }
.page-body ul, .page-body ol { padding-left: 1.4rem; margin: 0 0 1rem; }
.page-body li { margin-bottom: 0.35rem; }
.page-body a  { color: var(--orange-500); text-decoration: underline; }
.page-body a:hover { color: var(--orange-600); }

/* ═══════════════════════════════════════════════════════════════════════════
   TRIP EXTRAS — Screenshot gallery, lightbox, destination trivia,
                 trip essentials (hotels, car rental, insurance, activities)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─ Screenshot proof — inline full-size ───────────────────────────────────── */
.dp2-proof {
  margin: 1.5rem 0;
}
.dp2-proof-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-400);
  margin-bottom: 0.6rem;
}
.dp2-proof-count {
  background: var(--slate-100);
  color: var(--slate-500);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
}

/* TOC pills — jump to screenshot */
.dp2-proof-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.25rem 0 1.25rem;
}
.dp2-proof-toc-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--slate-200);
  background: #fff;
  color: var(--slate-600);
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.dp2-proof-toc-pill:hover {
  background: var(--slate-900);
  color: #fff;
  border-color: var(--slate-900);
}

/* Full-size screenshot figures */
.dp2-proof-figure {
  margin: 0 0 2rem;
  scroll-margin-top: 80px;
}
.dp2-proof-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  display: block;
}
.dp2-proof-figcap {
  font-size: 0.8rem;
  color: var(--slate-500);
  margin-top: 0.5rem;
  text-align: center;
  font-style: italic;
}

/* ─ Destination trivia ────────────────────────────────────────────────────── */
.dp2-trivia {
  margin: 2rem 0;
}
.dp2-trivia-heading {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--slate-700);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  letter-spacing: -0.01em;
}
.dp2-trivia-strip {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.dp2-trivia-strip::-webkit-scrollbar { display: none; }
.dp2-trivia-card {
  flex-shrink: 0;
  width: 210px;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  scroll-snap-align: start;
}
.dp2-trivia-img img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}
.dp2-trivia-text {
  padding: 0.75rem;
  font-size: 0.77rem;
  color: var(--slate-600);
  line-height: 1.55;
}

/* Desktop: wrap into 3-col */
@media (min-width: 640px) {
  .dp2-trivia-strip {
    flex-wrap: wrap;
    overflow-x: visible;
    scroll-snap-type: none;
  }
  .dp2-trivia-card {
    width: calc(33.333% - 0.5rem);
    flex: 1 1 calc(33.333% - 0.5rem);
  }
}

/* ─ Trip essentials block ─────────────────────────────────────────────────── */
.dp2-essentials {
  margin: 2rem 0;
  padding: 1.25rem;
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--slate-50) 100%);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
}
.dp2-essentials-heading {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  letter-spacing: -0.01em;
}
.dp2-ess-section {
  margin-bottom: 1.1rem;
}
.dp2-ess-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--slate-400);
  margin-bottom: 0.5rem;
}
.dp2-ess-widget {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  /* Widgets often inject iframes — ensure they fill the container */
}
.dp2-ess-widget iframe,
.dp2-ess-widget > * { max-width: 100%; }

/* Car rental + insurance row */
.dp2-ess-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
}
@media (max-width: 480px) {
  .dp2-ess-row { grid-template-columns: 1fr; }
}
.dp2-ess-block {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.dp2-ess-block-icon { font-size: 1.4rem; line-height: 1; }
.dp2-ess-block-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--slate-700);
}
.dp2-ess-btn {
  display: block;
  text-align: center;
  background: var(--orange-500);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-full);
  transition: background 0.15s;
  text-decoration: none;
}
.dp2-ess-btn:hover { background: var(--orange-600); color: #fff; }
.dp2-ess-btn--outline {
  background: transparent;
  color: var(--slate-600);
  border: 1px solid var(--slate-200);
}
.dp2-ess-btn--outline:hover {
  background: var(--slate-100);
  color: var(--slate-800);
}

/* ─ Pricing disclaimer ────────────────────────────────────────────────────── */
.dp2-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.85rem;
  margin: 1.25rem 0 1rem;
  font-size: 0.72rem;
  color: var(--slate-500);
  line-height: 1.5;
}
.dp2-disclaimer svg, .dp2-disclaimer i {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--slate-400);
}

/* ─ Screenshot proof — top bar with header + filter pills ─────────────────── */
.dp2-proof-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}
.dp2-proof-filters {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.dp2-proof-pill {
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--slate-200);
  background: #fff;
  color: var(--slate-600);
  font-size: 0.68rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
  white-space: nowrap;
}
.dp2-proof-pill:hover {
  background: var(--slate-100);
  border-color: var(--slate-300);
}
.dp2-proof-pill--active {
  background: var(--slate-900);
  border-color: var(--slate-900);
  color: #fff;
}
.dp2-proof-pill--active:hover {
  background: var(--slate-800);
  border-color: var(--slate-800);
  color: #fff;
}

/* Dimmed state for non-matching screenshots */
.dp2-proof-thumb--dim {
  opacity: 0.3;
  filter: grayscale(60%);
  transform: none !important;
  box-shadow: none !important;
}
.dp2-proof-thumb--dim:hover {
  opacity: 0.45;
}

/* ─── Deals page filter bar (was inline in page-deals.php) ──────────────── */
/* ═══════════════════════════════════════════════════════
   DEALS PAGE — AI search + filter bar
   ═══════════════════════════════════════════════════════ */

/* ── Page wrapper ─────────────────────────────────────── */
.df-page { background: var(--slate-50); min-height: 80vh; }

/* ── Sticky filter bar ────────────────────────────────── */
.df-bar {
  position: sticky;
  top: 64px;
  z-index: 90;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--slate-150, #e8edf3);
  transition: box-shadow 0.3s var(--ease-out-expo, cubic-bezier(0.16,1,0.3,1));
}
.df-bar.is-scrolled { box-shadow: 0 4px 28px rgba(10,22,40,0.09); }

.df-bar-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 1.15rem 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

/* ── AI Search bar (primary) ──────────────────────────── */
.df-search-wrap {
  position: relative;
  width: 100%;
}
.df-search-icon {
  position: absolute; left: 1rem; top: 50%;
  transform: translateY(-50%);
  color: var(--accent, #0e7490); pointer-events: none;
  flex-shrink: 0;
}
.df-search-input {
  width: 100%;
  padding: 0.85rem 3.25rem 0.85rem 2.75rem;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-xl, 1rem);
  font-size: 0.96rem;
  font-family: var(--font-sans);
  background: var(--slate-50);
  color: var(--slate-800);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.df-search-input:focus {
  border-color: var(--accent, #0e7490);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb, 14,116,144),0.12), 0 1px 4px rgba(0,0,0,0.04);
}
.df-search-input::placeholder { color: var(--slate-400); }

/* ── Idle shimmer on search input border (invites typing) ── */
.df-search-input:not(:focus) {
  animation: df-input-shimmer 6s ease-in-out infinite;
}
@keyframes df-input-shimmer {
  0%, 100% { border-color: var(--slate-200); }
  50%      { border-color: rgba(var(--accent-rgb, 14,116,144), 0.22); }
}
.df-search-btn {
  position: absolute; right: 0.55rem; top: 50%;
  transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  background: var(--accent, #0e7490); color: #fff;
  border: none; border-radius: calc(var(--radius-xl, 1rem) - 4px);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.22s cubic-bezier(0.165,0.84,0.44,1),
              box-shadow 0.22s cubic-bezier(0.165,0.84,0.44,1),
              transform  0.22s cubic-bezier(0.165,0.84,0.44,1);
}
.df-search-btn:hover {
  background: var(--accent-dark, #155e75);
  box-shadow: 0 4px 16px rgba(var(--accent-rgb, 14,116,144),0.40);
  transform: translateY(-50%) scale(1.06);
}

/* ── Search button pulse animation (AI alive feel) ──── */
.df-search-btn::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: calc(var(--radius-xl, 1rem) - 1px);
  border: 2px solid rgba(var(--accent-rgb, 14,116,144), 0.25);
  animation: df-pulse 3.5s ease-in-out infinite;
  pointer-events: none;
}
.df-search-btn::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: calc(var(--radius-xl, 1rem) - 1px);
  border: 2px solid rgba(var(--accent-rgb, 14,116,144), 0.25);
  animation: df-pulse 3.5s ease-in-out infinite 1.75s;
  pointer-events: none;
}
@keyframes df-pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50%      { transform: scale(1.4); opacity: 0; }
}
.df-search-btn:hover::before,
.df-search-btn:hover::after { animation-duration: 1.2s; }

/* ── Autocomplete dropdown ───────────────────────────── */
.df-ac {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg, 1rem);
  box-shadow: 0 12px 40px rgba(10,22,40,0.12), 0 4px 12px rgba(10,22,40,0.06);
  z-index: 210;
  max-height: 380px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.2s cubic-bezier(0.165,0.84,0.44,1),
              transform 0.2s cubic-bezier(0.165,0.84,0.44,1);
  pointer-events: none;
}
.df-ac[hidden] { display: none; }
.df-ac.is-open {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.df-ac-section {
  font-size: 0.62rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--slate-400);
  padding: 0.6rem 1rem 0.25rem;
}
.df-ac-item {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.55rem 1rem;
  cursor: pointer;
  transition: background 0.12s;
  text-decoration: none;
  color: inherit;
}
.df-ac-item:hover { background: var(--slate-50); }
.df-ac-item-icon {
  width: 30px; height: 30px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem; flex-shrink: 0;
}
.df-ac-item-icon--dest { background: #ecfdf5; color: #059669; }
.df-ac-item-icon--airport { background: #eff6ff; color: #2563eb; }
.df-ac-item-icon--smart { background: #f0fdfa; color: var(--accent, #0e7490); }
.df-ac-item-icon--trending { background: #fef3c7; color: #d97706; }
.df-ac-item-icon--example { background: var(--slate-50); color: var(--slate-400); }
.df-ac-item-text { flex: 1; min-width: 0; }
.df-ac-item-title { font-size: 0.8rem; font-weight: 600; color: var(--slate-800); }
.df-ac-item-sub { font-size: 0.68rem; color: var(--slate-400); }
.df-ac-item-price {
  font-family: var(--font-mono, monospace);
  font-size: 0.76rem; font-weight: 700;
  color: #059669; white-space: nowrap;
}
.df-ac-divider { height: 1px; background: var(--slate-100); margin: 0.25rem 0; }

/* NLP thinking animation (shows while parsing) */
.df-thinking {
  display: none;
  position: absolute; right: 0.55rem; top: 50%;
  transform: translateY(-50%);
  gap: 3px; align-items: center;
}
.df-thinking.is-active { display: flex; }
.df-think-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent, #0e7490);
  animation: df-think 1s infinite ease-in-out;
}
.df-think-dot:nth-child(2) { animation-delay: 0.2s; }
.df-think-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes df-think {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.35; }
  40%            { transform: scale(1);   opacity: 1; }
}

/* ── Filter pills row (secondary, centered) ───────────── */
.df-pills {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
}
.df-pg { position: relative; }
/* Invisible bridge fills gap between pill and dropdown so mouseleave doesn't fire */
.df-pg::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 10px;
  display: none;
}
.df-pg:has(.df-panel.is-open)::after { display: block; }

/* ── Pill button ──────────────────────────────────────── */
.df-pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--slate-200);
  background: #fff;
  font-size: 0.86rem; font-weight: 600; color: var(--slate-600);
  cursor: pointer; white-space: nowrap;
  transition: border-color 0.22s cubic-bezier(0.165,0.84,0.44,1),
              background   0.22s cubic-bezier(0.165,0.84,0.44,1),
              color        0.22s cubic-bezier(0.165,0.84,0.44,1),
              box-shadow   0.22s cubic-bezier(0.165,0.84,0.44,1),
              transform    0.22s cubic-bezier(0.165,0.84,0.44,1);
  line-height: 1;
}
.df-pill:hover {
  border-color: var(--slate-300); color: var(--slate-900);
  box-shadow: 0 4px 12px rgba(0,0,0,0.09);
  transform: translateY(-2px);
}
.df-pill.is-open { border-color: var(--slate-400); background: var(--slate-50); color: var(--slate-900); }
.df-pill:active { transform: translateY(-1px) scale(0.97); }
.df-pill.has-value {
  border-color: var(--accent, #0e7490); background: var(--accent, #0e7490); color: #fff;
  box-shadow: 0 2px 10px rgba(var(--accent-rgb, 14,116,144),0.28);
}
.df-pill.has-value:hover {
  background: var(--accent-dark, #155e75); border-color: var(--accent-dark, #155e75);
  box-shadow: 0 6px 18px rgba(var(--accent-rgb, 14,116,144),0.38);
  transform: translateY(-2px);
}
.df-pill-count {
  display: inline-flex; align-items: center; justify-content: center;
  width: 15px; height: 15px; border-radius: 50%;
  background: rgba(255,255,255,0.28);
  font-size: 0.62rem; font-weight: 800;
}
.df-pill-chevron {
  transition: transform 0.2s cubic-bezier(0.165,0.84,0.44,1);
  flex-shrink: 0; margin-left: 0.05rem;
}
.df-pill.is-open .df-pill-chevron { transform: rotate(180deg); }

/* Reset link */
.df-reset-link {
  font-size: 0.75rem; color: var(--slate-400);
  text-decoration: none; white-space: nowrap;
  transition: color 0.15s; padding: 0 0.25rem;
}
.df-reset-link:hover { color: var(--slate-700); }

/* ── Dropdown panels ──────────────────────────────────── */
.df-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 200;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 1.1rem;
  padding: 1.25rem;
  box-shadow: 0 12px 40px rgba(10,22,40,0.13), 0 2px 8px rgba(10,22,40,0.06);
  min-width: 280px;
  max-height: 420px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(0.165,0.84,0.44,1),
              transform 0.2s cubic-bezier(0.165,0.84,0.44,1);
}
.df-panel.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.df-panel--to { min-width: 400px; }
.df-panel--right { left: auto; right: 0; }
.df-panel-title {
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--slate-400); margin-bottom: 0.9rem;
}

/* ── Region tabs ──────────────────────────────────────── */
.df-region-tabs { display: flex; gap: 0.3rem; flex-wrap: wrap; margin-bottom: 0.85rem; }
.df-region-tab {
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--slate-200);
  background: #fff; font-size: 0.74rem; font-weight: 600;
  color: var(--slate-500); cursor: pointer;
  transition: border-color 0.2s cubic-bezier(0.165,0.84,0.44,1),
              background   0.2s cubic-bezier(0.165,0.84,0.44,1),
              color        0.2s cubic-bezier(0.165,0.84,0.44,1);
}
.df-region-tab:hover { border-color: var(--slate-400); color: var(--slate-800); background: var(--slate-50); }
.df-region-tab.is-active { border-color: var(--accent, #0e7490); background: #f0fdfa; color: var(--accent, #0e7490); }

/* ── List-style options (Vibe, Cabin — Going/DFC pattern) ── */
.df-list { display: flex; flex-direction: column; }
.df-list-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 0.3rem;
  border-bottom: 1px solid var(--slate-100);
  font-size: 0.86rem; font-weight: 500; color: var(--slate-700);
  cursor: pointer; user-select: none;
  transition: background 0.15s cubic-bezier(0.165,0.84,0.44,1),
              color 0.15s cubic-bezier(0.165,0.84,0.44,1);
}
.df-list-item:last-child { border-bottom: none; }
.df-list-item:hover { background: var(--slate-50); border-radius: 6px; }
.df-list-item.is-active { color: var(--accent, #0e7490); font-weight: 700; }
.df-list-item input { display: none; }
.df-list-label { flex: 1; }
.df-list-check {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid var(--slate-300);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s cubic-bezier(0.165,0.84,0.44,1),
              border-color 0.2s cubic-bezier(0.165,0.84,0.44,1),
              transform 0.2s cubic-bezier(0.165,0.84,0.44,1);
}
.df-list-item:hover .df-list-check { border-color: var(--slate-400); }
.df-list-item.is-active .df-list-check {
  background: var(--accent, #0e7490);
  border-color: var(--accent, #0e7490);
  transform: scale(1.05);
}
.df-list-item.is-active .df-list-check::after {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #fff;
}
/* Checkbox variant (multi-select — square with checkmark) */
.df-list-check--checkbox { border-radius: 5px; }
.df-list-item.is-active .df-list-check--checkbox::after {
  content: '';
  width: 10px; height: 6px;
  border-radius: 0;
  background: none;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  margin-top: -2px;
}

/* Panel width overrides for list panels */
.df-panel--vibe { min-width: 260px; }
.df-panel--cabin { min-width: 240px; }
.df-panel--months { min-width: 240px; }

/* ── Chip grid ────────────────────────────────────────── */
.df-chip-grid { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.df-chip {
  display: inline-flex; align-items: center;
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--slate-200);
  background: #fff; font-size: 0.77rem; font-weight: 500;
  color: var(--slate-600); cursor: pointer; user-select: none;
  transition: border-color 0.2s cubic-bezier(0.165,0.84,0.44,1),
              background   0.2s cubic-bezier(0.165,0.84,0.44,1),
              color        0.2s cubic-bezier(0.165,0.84,0.44,1);
}
.df-chip:hover { border-color: var(--slate-400); color: var(--slate-900); background: var(--slate-50); }
.df-chip.is-active { border-color: var(--accent, #0e7490); background: #f0fdfa; color: var(--accent, #0e7490); font-weight: 700; }
.df-chip input { display: none; }
.df-airports-hint { font-size: 0.78rem; color: var(--slate-400); font-style: italic; padding: 0.25rem 0; }
/* ── From: divider between levels ─────────────────────── */
.df-from-divider {
  height: 1px; background: var(--slate-100);
  margin: 0.85rem -1.25rem 0.85rem;
}

/* ── Sub-region tabs (generic for USA, Europe, Oceania) ─ */
.df-subtabs {
  display: flex; gap: 0.3rem; flex-wrap: wrap;
  padding-bottom: 0.1rem; margin-bottom: 0.75rem;
}
.df-subtab {
  padding: 0.32rem 0.8rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--slate-200);
  background: #fff; font-size: 0.74rem; font-weight: 600;
  color: var(--slate-500); cursor: pointer; white-space: nowrap;
  transition: border-color 0.18s cubic-bezier(0.165,0.84,0.44,1),
              background   0.18s cubic-bezier(0.165,0.84,0.44,1),
              color        0.18s cubic-bezier(0.165,0.84,0.44,1);
}
.df-subtab:hover { border-color: var(--slate-400); color: var(--slate-800); background: var(--slate-50); }
.df-subtab.is-active {
  border-color: var(--accent, #0e7490); background: var(--accent, #0e7490); color: #fff;
}
.df-sub-airports-wrap { min-height: 2rem; }

/* ── Nonstop toggle ──────────────────────────────────── */
.df-nonstop-toggle {
  display: flex; align-items: center; gap: 0.6rem;
  cursor: pointer; user-select: none;
  padding: 0.15rem 0;
}
.df-nonstop-toggle input { display: none; }
.df-nonstop-switch {
  width: 36px; height: 20px;
  border-radius: var(--radius-md);
  background: var(--slate-200);
  position: relative;
  transition: background 0.25s cubic-bezier(0.165,0.84,0.44,1);
  flex-shrink: 0;
}
.df-nonstop-switch::after {
  content: '';
  position: absolute; top: 2px; left: 2px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  transition: transform 0.25s cubic-bezier(0.165,0.84,0.44,1);
}
.df-nonstop-toggle input:checked + .df-nonstop-switch {
  background: var(--accent, #0e7490);
}
.df-nonstop-toggle input:checked + .df-nonstop-switch::after {
  transform: translateX(16px);
}
.df-nonstop-label {
  font-size: 0.78rem; font-weight: 600; color: var(--slate-600);
}

/* ── Sort dropdown ───────────────────────────────────── */
.df-sort-wrap {
  display: flex; align-items: center; gap: 0.35rem;
}
.df-sort-label {
  font-size: 0.74rem; font-weight: 500; color: var(--slate-400);
}
.df-sort-select {
  font-family: var(--font-sans);
  font-size: 0.74rem; font-weight: 600;
  color: var(--slate-600);
  background: none; border: none;
  cursor: pointer; padding: 0.2rem 0;
  outline: none;
}
.df-sort-select:hover { color: var(--slate-900); }

/* ── Mobile active filter summary (below search bar) ──── */
.df-mobile-filters { display: none; }
@media (max-width: 900px) {
  .df-mobile-filters {
    display: flex; flex-wrap: wrap; gap: 0.3rem; align-items: center;
    width: 100%;
  }
  .df-mf-chip {
    display: inline-flex; align-items: center; gap: 0.2rem;
    padding: 0.2rem 0.55rem; background: #f0fdfa; border: 1px solid #ccfbf1;
    color: var(--accent, #0e7490); border-radius: var(--radius-full);
    font-size: 0.68rem; font-weight: 600; text-decoration: none;
    white-space: nowrap;
  }
  .df-mf-chip i { font-size: 0.55rem; opacity: 0.6; }
  .df-mf-chip--clear { background: transparent; border-color: var(--slate-200); color: var(--slate-500); }
}

/* ── Active filter chips row ──────────────────────────── */
.df-active-chips {
  display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center;
  justify-content: center;
}
.df-active-chip {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.28rem 0.7rem;
  background: #f0fdfa; border: 1px solid #ccfbf1;
  color: var(--accent, #0e7490); border-radius: var(--radius-full);
  font-size: 0.74rem; font-weight: 600; text-decoration: none;
  transition: background   0.2s cubic-bezier(0.165,0.84,0.44,1),
              border-color 0.2s cubic-bezier(0.165,0.84,0.44,1),
              transform    0.2s cubic-bezier(0.165,0.84,0.44,1),
              box-shadow   0.2s cubic-bezier(0.165,0.84,0.44,1);
}
.df-active-chip:hover {
  background: #ccfbf1; border-color: #99f6e4;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(var(--accent-rgb, 14,116,144),0.15);
}
.df-active-chip--clear { background: var(--slate-100); border-color: var(--slate-200); color: var(--slate-500); }
.df-active-chip--clear:hover {
  background: var(--slate-200); color: var(--slate-800);
  border-color: var(--slate-300);
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

/* ── Main content ─────────────────────────────────────── */
.df-main { max-width: 1400px; margin: 0 auto; padding: 1.25rem 2rem 5rem; }
.df-results-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; }
.df-results-count {
  font-size: 0.78rem; color: var(--slate-500); font-weight: 500;
  animation: countFadeIn 400ms var(--ease) both;
}
.df-results-note {
  font-weight: 400; color: var(--slate-400); margin-left: 0.35rem;
}
@keyframes countFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.geo-banner {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.85rem; margin-bottom: 1rem;
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  border-radius: var(--radius-sm); font-size: 0.78rem; color: var(--slate-500);
}
.geo-banner .ti { color: var(--accent); font-size: 0.9rem; }
.geo-banner-city { color: var(--slate-800); }
.geo-banner-change {
  margin-left: auto; background: none; border: none; padding: 0;
  font-size: inherit; color: var(--accent); text-decoration: underline;
  cursor: pointer; white-space: nowrap;
}

/* ── Highlighted Text (.ht) ───────────────────────────── */
mark.ht {
  background: none; color: inherit;
  position: relative; display: inline; white-space: nowrap; padding: 0 0.05em;
}
mark.ht::after {
  content: '';
  position: absolute; bottom: 0; left: -0.05em;
  width: calc(100% + 0.1em); height: 38%;
  background: color-mix(in srgb, var(--orange-500) 38%, transparent);
  border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  z-index: -1;
  transition: transform 650ms var(--ease);
}
mark.ht.ht--visible::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { mark.ht::after { transition: none; transform: scaleX(1); } }

/* ── Animated Heading (.ah-wrap) — removed ───────────── */
@keyframes ahCycle {
  0%        { opacity: 0; transform: translateY(10px); }
  8%, 20%   { opacity: 1; transform: translateY(0); }
  28%, 100% { opacity: 0; transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
}

/* (Ad slots + loading dots styles moved to style.css) */

/* ── Empty state ──────────────────────────────────────── */
.dp-empty { text-align: center; padding: 5rem 1.5rem; color: var(--slate-400); }
.dp-empty svg, .dp-empty i { opacity: 0.3; }
.dp-empty h3 { font-size: 1.1rem; color: var(--slate-700); margin: 1rem 0 0.5rem; font-weight: 700; }
.dp-empty p { font-size: 0.88rem; }
.dp-empty a { color: var(--accent, #0e7490); }

/* ── Search interpretation banner ────────────────────── */
.df-interpret {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: linear-gradient(135deg, #f0fdfa 0%, #ecfdf5 100%);
  border: 1px solid rgba(14,116,144,0.12);
  border-radius: 0.75rem; padding: 0.75rem 1rem; margin-bottom: 1rem;
}
.df-interpret-body { display: flex; align-items: center; gap: 0.5rem; min-width: 0; }
.df-interpret-icon { color: var(--accent, #0e7490); font-size: 1.1rem; flex-shrink: 0; }
.df-interpret-text { font-size: 0.85rem; color: var(--slate-600); line-height: 1.4; }
.df-interpret-text strong { color: var(--slate-800); font-weight: 700; }
.df-interpret-cta { flex-shrink: 0; }
.df-interpret-link {
  font-size: 0.78rem; font-weight: 600; color: var(--accent, #0e7490);
  text-decoration: none; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 0.25rem;
}
.df-interpret-link:hover { text-decoration: underline; }
.df-interpret-link--soon { opacity: 0.5; cursor: default; }
.df-interpret-link--soon:hover { text-decoration: none; }
@media (max-width: 600px) {
  .df-interpret { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}

/* ── Smart empty + fallback sections ─────────────────── */
.dp-empty--smart { padding: 3rem 1.5rem 1.5rem; }
.dp-empty-explanation { font-size: 0.92rem; color: var(--slate-500); max-width: 520px; margin: 0.5rem auto; line-height: 1.55; }
.dp-empty-explanation strong { color: var(--slate-700); }
.dp-fallback-section { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--slate-200, #e2e8f0); }
.dp-fallback-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; padding: 0 0.125rem; }
.dp-fallback-title { font-size: 0.95rem; font-weight: 700; color: var(--slate-700); margin: 0; }
.dp-fallback-seeall {
  font-size: 0.82rem; color: var(--accent, #0e7490); text-decoration: none;
  white-space: nowrap; display: inline-flex; align-items: center; gap: 0.2rem;
}
.dp-fallback-seeall:hover { text-decoration: underline; }

/* ── Mobile backdrop (only visible on mobile for bottom sheet panels) ── */
.df-backdrop { display: none; position: fixed; inset: 0; background: rgba(10,22,40,0.45); z-index: 155; }
@media (max-width: 900px) {
  .df-backdrop.is-visible { display: block; }
}

/* ── Mobile ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .df-bar { top: 0; z-index: 160; }
  .df-bar-inner { padding: 0.85rem 1rem 0.75rem; gap: 0.6rem; max-width: none; }
  .df-active-chips { justify-content: center; }
  /* Hide pill row on mobile — panels must remain accessible for bottom nav */
  .df-pills { height: 0; overflow: visible; margin: 0; padding: 0; gap: 0; }
  .df-pg > .df-pill { height: 0; width: 0; padding: 0; margin: 0; border: 0; overflow: hidden; opacity: 0; }
  .df-active-chips { display: none; }
  .df-panel {
    position: fixed; top: auto;
    bottom: calc(82px + env(safe-area-inset-bottom, 0px));
    left: 8px !important; right: 8px;
    width: calc(100% - 16px);
    min-width: unset; max-width: 100%;
    border-radius: 1.1rem;
    max-height: 55vh; overflow-y: auto;
    z-index: 200;
    transform: translateY(20px);
    opacity: 0; pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.165,0.84,0.44,1),
                transform 0.25s cubic-bezier(0.165,0.84,0.44,1);
  }
  .df-panel.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .df-panel--to { min-width: unset; }
  .dp-ad-desktop { display: none; }
  .dp-ad-mobile {
    display: flex; width: 300px; height: 250px;
    background: var(--slate-100); border: 1px dashed var(--slate-300);
    border-radius: var(--radius-md);
    align-items: center; justify-content: center;
    font-size: 0.7rem; color: var(--slate-400); letter-spacing: 0.05em;
  }
  .df-main { padding: 1rem 1rem calc(100px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 500px) {
  .df-region-tab { font-size: 0.7rem; padding: 0.25rem 0.6rem; }
  .df-search-input { font-size: 0.88rem; padding: 0.75rem 3rem 0.75rem 2.5rem; }
}

/* ─── Single post v2 layout (was inline in single-post-mockup.php) ──────── */
/* ═══════════════════════════════════════════════════════════════════════════
   DEAL POST v2 — scoped to .dp2-* classes
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─ Ad banner ─────────────────────────────────────────────────────────── */
.dp2-ad-top {
  max-width: 1140px; margin: 1.25rem auto 0; padding: 0 1.5rem;
}
.dp2-ad-top-inner {
  width: 100%; min-height: 90px;
  background: var(--slate-100); border: 1px dashed var(--slate-300);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--slate-400); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  overflow: hidden;
}

/* ─ Hero ──────────────────────────────────────────────────────────────── */
.dp2-hero-wrap {
  max-width: 1140px; margin: 1.5rem auto 0; padding: 0 1.5rem;
}
.dp2-hero {
  position: relative; width: 100%;
  height: clamp(300px, 48vw, 500px);
  overflow: hidden; background: var(--slate-800);
  border-radius: var(--radius-xl);
}
.dp2-hero-img { position: absolute; inset: 0; }
.dp2-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dp2-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,22,40,0.15) 0%, rgba(10,22,40,0.55) 55%, rgba(10,22,40,0.88) 100%);
}
.dp2-discount {
  position: absolute; top: 1.25rem; left: 1.25rem; z-index: 3;
  background: var(--orange-500); color: #fff; font-size: 0.75rem; font-weight: 800;
  letter-spacing: 0.07em; text-transform: uppercase;
  padding: 0.35rem 0.85rem; border-radius: var(--radius-full);
}
.dp2-cabin {
  position: absolute; top: 1.25rem; right: 1.25rem; z-index: 3;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.35rem 0.85rem; border-radius: var(--radius-full); color: #fff;
}
.dp2-cabin--premium  { background: var(--cabin-premium); }
.dp2-cabin--business { background: var(--cabin-business); }
.dp2-cabin--first    { background: var(--cabin-first); border: 1px solid rgba(255,255,255,0.18); }
.dp2-hero-bottom {
  position: absolute; inset-inline: 0; bottom: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  padding: 2.5rem 1.5rem 2rem; text-align: center; color: #fff;
}
.dp2-route { display: flex; align-items: center; margin-bottom: 0.75rem; }
.dp2-airport { display: flex; flex-direction: column; align-items: center; }
.dp2-iata {
  font-family: var(--font-mono); font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 700; letter-spacing: 0.06em; line-height: 1;
  color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.dp2-city { font-size: 0.7rem; color: rgba(255,255,255,0.65); margin-top: 0.25rem; }
.dp2-connector { display: flex; flex-direction: column; align-items: center; gap: 0.2rem; padding: 0 1.25rem; }
.dp2-connector-inner { display: flex; align-items: center; }
.dp2-stops-label { font-size: 0.72rem; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: 0.06em; text-shadow: 0 1px 4px rgba(0,0,0,0.4); }
.dp2-duration { font-size: 0.7rem; color: rgba(255,255,255,0.68); }
.dp2-line { width: clamp(40px, 6vw, 80px); height: 1.5px; background: rgba(255,255,255,0.5); }
.dp2-plane { color: rgba(255,255,255,0.9); margin: 0 6px; flex-shrink: 0; transform: rotate(90deg); }
.dp2-hero-regular-price { font-size: 0.9rem; color: rgba(255,255,255,0.55); text-decoration: line-through; margin-bottom: 0.1rem; }
.dp2-hero-price {
  font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3); line-height: 1.1;
}
.dp2-hero-price-label { font-size: 0.82rem; color: rgba(255,255,255,0.72); margin-top: 0.2rem; }

/* ─ Content ───────────────────────────────────────────────────────────── */
.dp2-wrap { background: var(--slate-50); padding-bottom: 5rem; }
.dp2-inner { max-width: 100%; padding: 2rem 1.5rem 0; }
.dp2-inner .breadcrumb { margin-bottom: 1.25rem; }
.dp2-title { font-size: clamp(1.4rem, 3.5vw, 2rem); font-weight: 800; letter-spacing: -0.02em; color: var(--slate-900); line-height: 1.2; margin-bottom: 0.5rem; }
.dp2-meta { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; font-size: 0.78rem; color: var(--slate-500); margin-bottom: 1.75rem; }
.dp2-meta span { display: flex; align-items: center; gap: 0.35rem; }

/* ─ Stats pills ───────────────────────────────────────────────────────── */
.dp2-stats { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.dp2-stat { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-md); padding: 0.55rem 1rem; }
.dp2-stat-label { font-size: 0.58rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; color: var(--slate-400); margin-bottom: 0.2rem; }
.dp2-stat-value { font-size: 0.85rem; font-weight: 600; color: var(--slate-800); }

/* ─ Book CTA ──────────────────────────────────────────────────────────── */
.dp2-book {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--orange-500); color: #fff; font-size: 1rem; font-weight: 700;
  padding: 0.85rem 2.25rem; border-radius: var(--radius-full); margin-bottom: 2rem;
  transition: background 0.15s, transform 0.12s;
  box-shadow: 0 4px 14px rgba(var(--orange-500-rgb),0.35);
}
.dp2-book:hover { background: var(--orange-600); color: #fff; transform: translateY(-1px); }
.dp2-divider { border: none; border-top: 1px solid var(--slate-200); margin: 2rem 0; }

/* ─ Tags ──────────────────────────────────────────────────────────────── */
.dp2-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 2rem; }
.dp2-tag { font-size: 0.7rem; font-weight: 600; padding: 0.3rem 0.8rem; background: var(--slate-100); color: var(--slate-600); border-radius: var(--radius-full); border: 1px solid var(--slate-200); transition: background 0.15s; }
.dp2-tag:hover { background: var(--slate-200); color: var(--slate-800); }

/* ─ Related deals ─────────────────────────────────────────────────────── */
.dp2-related { max-width: 1140px; margin: 4rem auto 0; padding: 2.5rem 1.5rem 0; border-top: 1px solid var(--slate-200); }
.dp2-related-heading { font-size: 1.2rem; font-weight: 800; color: var(--slate-900); margin-bottom: 1.25rem; display: flex; align-items: center; gap: 0.5rem; letter-spacing: -0.01em; }
.dp2-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.dp2-related-card { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-lg); overflow: hidden; display: block; transition: box-shadow 0.15s, transform 0.15s; }
.dp2-related-card:hover { box-shadow: 0 6px 24px rgba(10,22,40,0.09); transform: translateY(-2px); }
.dp2-related-thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--slate-100); }
.dp2-related-thumb img { width: 100%; height: 100%; object-fit: cover; }
.dp2-related-body { padding: 0.9rem 1rem 1rem; }
.dp2-related-title { font-size: 0.82rem; font-weight: 600; color: var(--slate-800); line-height: 1.4; margin-bottom: 0.4rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dp2-related-price { font-size: 1rem; font-weight: 800; color: var(--orange-500); }
.dp2-related-sub { font-size: 0.68rem; color: var(--slate-400); margin-top: 0.15rem; }

@media (max-width: 860px) { .dp2-related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .dp2-related-grid { grid-template-columns: 1fr; } .dp2-iata { font-size: 1.75rem; } .dp2-line { width: 30px; } }

/* ── Reading progress bar ─────────────────────────────────────────────── */
#reading-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: var(--orange-500);
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 200;
  pointer-events: none;
  transition: transform 80ms linear;
}

/* ─ Date search widget ────────────────────────────────────────────────── */
.dp2-datesearch {
  background: #fff;
  border: 1.5px solid rgba(var(--orange-500-rgb),0.18);
  border-radius: 18px;
  box-shadow: 0 4px 28px rgba(var(--orange-500-rgb),0.09), 0 1px 4px rgba(10,22,40,0.05);
  margin-bottom: 1.75rem;
  overflow: hidden;
}
.dp2-ds-topbar {
  height: 4px;
  background: linear-gradient(90deg, #d97706 0%, #f59e0b 55%, #fbbf24 100%);
}
.dp2-ds-head {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--slate-100);
  flex-wrap: wrap; row-gap: 0.35rem;
}
.dp2-ds-icon {
  width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
  background: rgba(var(--orange-500-rgb),0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange-500);
}
.dp2-ds-title { font-size: 0.85rem; font-weight: 800; color: var(--slate-800); letter-spacing: -0.01em; }
.dp2-ds-route {
  margin-left: auto;
  background: rgba(var(--orange-500-rgb),0.1); color: var(--orange-500);
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700;
  padding: 0.2rem 0.6rem; border-radius: 99px;
  border: 1px solid rgba(var(--orange-500-rgb),0.2); white-space: nowrap;
}
.dp2-ds-body { padding: 1rem 1.25rem 1.25rem; }
.dp2-ds-fields {
  display: grid;
  grid-template-columns: 72px 1fr 1fr;
  gap: 0.6rem; margin-bottom: 1rem;
}
.dp2-ds-field { display: flex; flex-direction: column; gap: 0.3rem; }
.dp2-ds-label { font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate-400); }
.dp2-ds-input {
  border: 1.5px solid var(--slate-200); border-radius: 10px;
  padding: 0.55rem 0.7rem;
  font-size: 1rem; /* 16px — prevents iOS auto-zoom */
  color: var(--slate-800); background: var(--slate-50);
  width: 100%; box-sizing: border-box; font-family: inherit;
  min-height: 44px; /* WCAG touch target */
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
  -webkit-appearance: none; appearance: none;
}
.dp2-ds-input:focus {
  outline: none; border-color: var(--orange-500);
  box-shadow: 0 0 0 3px rgba(var(--orange-500-rgb),0.13); background: #fff;
}
.dp2-ds-airport {
  text-transform: uppercase; font-family: var(--font-mono);
  font-weight: 800; font-size: 1rem; text-align: center; letter-spacing: 0.06em;
}
.dp2-ds-btns {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem; margin-bottom: 0.75rem;
}
.dp2-ds-btn {
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  font-size: 0.8rem; font-weight: 700; padding: 0.65rem 0.5rem;
  border-radius: var(--radius-md); border: none; min-height: 44px;
  transition: transform 0.18s cubic-bezier(0.165,0.84,0.44,1), box-shadow 0.18s;
  white-space: nowrap; cursor: pointer; text-decoration: none; letter-spacing: 0.01em;
}
.dp2-ds-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.18); }
.dp2-ds-btn:active { transform: translateY(0); box-shadow: none; }
.dp2-ds-btn--expedia    { background: var(--affiliate-expedia); color: #fff; }
.dp2-ds-btn--priceline  { background: var(--affiliate-priceline); color: #fff; }
.dp2-ds-btn--skyscanner { background: var(--affiliate-skyscanner); color: #fff; }
.dp2-ds-btn--package    { background: var(--orange-500); color: #fff; }
.dp2-ds-note { font-size: 0.67rem; color: var(--slate-400); margin: 0; line-height: 1.55; }
.dp2-ds-btn img { display: block; flex-shrink: 0; border-radius: 3px; }

/* Mobile: stack date fields and full-width buttons */
@media (max-width: 420px) {
  .dp2-ds-fields { grid-template-columns: 1fr 1fr; }
  .dp2-ds-field--airport { grid-column: 1 / -1; }
  .dp2-ds-airport { text-align: left; }
  .dp2-ds-btns { grid-template-columns: 1fr; }
  .dp2-ds-btn { font-size: 0.9rem; }
}

/* ─ Hotel date-search widget ─────────────────────────────────────────── */
.dp2-hotel-search {
  background: var(--slate-50); border: 1px solid var(--slate-200);
  border-radius: var(--radius-md); padding: 0.85rem 1rem; margin-top: 0.75rem;
}
.dp2-hotel-search .dp2-ds-head {
  padding: 0; border: none; margin-bottom: 0.65rem; font-size: 0.75rem;
}
.dp2-hotel-search .dp2-ds-fields { grid-template-columns: 1fr 1fr; margin-bottom: 0.6rem; }
.dp2-hotel-search .dp2-ds-btns { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 420px) {
  .dp2-hotel-search .dp2-ds-fields { grid-template-columns: 1fr 1fr; }
  .dp2-hotel-search .dp2-ds-btns { grid-template-columns: 1fr; }
}

/* ─ Jump-to-section bar ──────────────────────────────────────────────── */
.dp2-jumpbar {
  display: flex; gap: 0.35rem; overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; margin-bottom: 1.5rem; padding-bottom: 2px;
}
.dp2-jumpbar::-webkit-scrollbar { display: none; }
.dp2-jb-pill {
  display: inline-flex; align-items: center; gap: 0.3rem; flex-shrink: 0;
  font-size: 0.72rem; font-weight: 700; white-space: nowrap; text-decoration: none;
  padding: 0.35rem 0.85rem; border-radius: var(--radius-full);
  border: 1.5px solid var(--slate-200); background: #fff; color: var(--slate-600);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.dp2-jb-pill:hover { background: var(--slate-900); color: #fff; border-color: var(--slate-900); }

/* ─ Hotel date-search widget ─────────────────────────────────────────── */
.dp2-hotel-search {
  background: var(--slate-50); border: 1px solid var(--slate-200);
  border-radius: var(--radius-md); padding: 0.85rem 1rem; margin-top: 0.75rem;
}
.dp2-hotel-search .dp2-ds-head { margin-bottom: 0.65rem; font-size: 0.75rem; }
.dp2-hotel-search .dp2-ds-fields { margin-bottom: 0.6rem; }

/* ═══════════════════════════════════════════════════════════════
   MOBILE BOTTOM NAV — Smart Pill
   Container stays full-width; inner content morphs via
   transform + opacity (GPU only, no layout thrash).
   ═══════════════════════════════════════════════════════════════ */

.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  right: 12px;
  /* Always use explicit width so transition works (no left↔auto jump) */
  width: calc(100% - 24px);
  z-index: 150;
  border-radius: 22px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(24px) saturate(160%) brightness(1.02);
  -webkit-backdrop-filter: blur(24px) saturate(160%) brightness(1.02);
  border: 1px solid rgba(226,221,216,0.8);
  box-shadow: 0 4px 28px rgba(10,22,40,0.15), 0 1px 0 rgba(255,255,255,0.85) inset;
  will-change: width, border-radius;
  transition: width 0.55s cubic-bezier(0.32,0.72,0,1),
              bottom 0.55s cubic-bezier(0.32,0.72,0,1),
              border-radius 0.55s cubic-bezier(0.32,0.72,0,1),
              box-shadow 0.55s cubic-bezier(0.32,0.72,0,1),
              background 0.2s ease-out,
              border-color 0.2s ease-out,
              backdrop-filter 0.2s ease-out,
              -webkit-backdrop-filter 0.2s ease-out;
}

/* ── Compact state — container dissolves, items become circles ── */
.mobile-bottom-nav.is-compact {
  width: 52px;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  border-radius: 26px;
  background: rgba(255,255,255,0);
  backdrop-filter: blur(0) saturate(100%) brightness(1);
  -webkit-backdrop-filter: blur(0) saturate(100%) brightness(1);
  border-color: transparent;
  box-shadow: none;
}

.mbn-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 52px;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 6px;
  overflow: hidden;
  transition: opacity 0.25s ease 0.12s; /* returning from compact: delayed fade-in */
}

/* Compact: bar layer fades out (circles layer fades in separately) */
.mobile-bottom-nav.is-compact .mbn-inner {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease; /* entering compact: fast fade-out */
}

/* ── Each tab item ─────────────────────────────────────── */
.mbn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex: 1 1 0%;
  height: 100%;
  min-width: 0;
  padding: 6px 8px;
  color: var(--slate-800);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  font-family: var(--font-sans);
  position: relative;
  overflow: hidden;
  transition: color 0.2s ease;
}

.mbn-item:active { opacity: 0.7; }

/* ── Collapsible items — width + opacity ─────────────── */
.mbn-item--collapsible {
  transition: flex 0.55s cubic-bezier(0.32,0.72,0,1),
              padding 0.55s cubic-bezier(0.32,0.72,0,1),
              opacity 0.3s cubic-bezier(0.32,0.72,0,1),
              color 0.2s ease;
}


/* ── Icon wrapper ──────────────────────────────────────── */
.mbn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  transition: color 0.2s ease;
}

.mbn-icon i { font-size: 18px; }

/* ── Label ─────────────────────────────────────────────── */
.mbn-label {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1;
  white-space: nowrap;
  transition: opacity 0.25s cubic-bezier(0.32,0.72,0,1);
}


/* ── Active state ──────────────────────────────────────── */
.mbn-item.is-active { color: var(--accent, #0e7490); }
.mbn-item.is-active .mbn-icon { color: var(--accent, #0e7490); }

/* ── Filter dot indicator (deals page bottom nav) ────── */
.mbn-filter-dot {
  position: absolute;
  top: 6px;
  right: calc(50% - 14px);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent, #0e7490);
  box-shadow: 0 0 6px rgba(var(--accent-rgb, 14,116,144), 0.4);
}
.mbn-filter-dot[hidden] { display: none; }

/* ── Filter variant styling ──────────────────────────── */
.mobile-bottom-nav--filters .mbn-item {
  color: var(--slate-800);
}
.mobile-bottom-nav--filters .mbn-item:active {
  color: var(--accent, #0e7490);
}
.mbn-item.is-active .mbn-label { color: var(--accent); font-weight: 700; }

/* ── CTA item — amber pill ─────────────────────────────── */
.mbn-item--cta {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #fff !important;
  border-radius: var(--radius-lg);
  padding: 6px 10px;
  min-width: 56px;
  box-shadow: 0 3px 12px rgba(245,158,11,0.35);
  margin: 5px 2px;
  flex: 0 0 auto;
  transition: all 0.55s cubic-bezier(0.32,0.72,0,1);
}
.mbn-item--cta .mbn-icon { color: #fff; }
.mbn-item--cta .mbn-label { color: #fff; font-weight: 700; }
.mbn-item--cta:active { opacity: 0.85; transform: scale(0.97); }

/* ── Compact circles — separate DOM layer (cross-fade, no layout) ── */
.mbn-circles {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease; /* leaving compact: fast fade-out */
}

.mobile-bottom-nav.is-compact .mbn-circles {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.25s ease 0.12s; /* entering compact: delayed fade-in */
}

.mbn-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  border: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

.mbn-circle--share {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(226,221,216,0.7);
  box-shadow: 0 4px 18px rgba(10,22,40,0.15),
              0 1px 0 rgba(255,255,255,0.85) inset;
  color: var(--slate-700);
  font-size: 22px;
}
.mbn-circle--share:active { opacity: 0.7; transform: scale(0.95); }

.mbn-circle--trigger {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.90);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(226,221,216,0.5);
  box-shadow: 0 3px 12px rgba(10,22,40,0.1),
              0 1px 0 rgba(255,255,255,0.8) inset;
  color: var(--slate-400);
  font-size: 18px;
}
.mbn-circle--trigger:active { opacity: 0.6; }

/* ── "Soon" badge in drawer Account link ──────────────── */

/* ── Mobile search: region tag ──────────────────────── */
.mob-sr-region {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--slate-400);
  margin-left: 0.25rem;
}

/* ── Mobile: show nav ──────────────────────────────────── */
@media (max-width: 1023px) {
  .mobile-bottom-nav { display: block; }
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    transition: padding-bottom 0.5s cubic-bezier(0.32,0.72,0,1);
  }
  /* When compact, reclaim body padding */
  body.mbn-is-compact {
    padding-bottom: env(safe-area-inset-bottom, 12px);
  }
}

/* ── Reduced motion ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .mobile-bottom-nav,
  .mbn-inner,
  .mbn-circles,
  .mbn-circle,
  .mbn-item,
  .mbn-item--collapsible,
  .mbn-item--cta,
  .mbn-label,
  .mbn-icon { transition: none !important; }
  body { transition: none !important; }
}


/* ═══════════════════════════════════════════════════════════════
   DESIGN v2 UPGRADES — 2026-03-20
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. Nav CTA — dark slate capsule (defined in main nav section) ── */

/* ── 2. Nav active state handled by base rules above ────────── */

/* ── 2b. Mega menu — tabbed layout overrides ────────────────── */

/* ── Mega menu: hidden below 1024px (handled in main responsive block) ── */

/* ── Word-by-word slide-in (Pixfort Horizon style) ──────────── */
.siw { overflow: hidden; display: inline-block; vertical-align: bottom; line-height: inherit; }
.sii { display: inline-block; transform: translateY(110%); opacity: 0;
  transition: transform 600ms var(--ease), opacity 500ms var(--ease); will-change: transform; }
[data-slide-in].is-visible .sii { transform: translateY(0); opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  [data-slide-in] .sii { transform: translateY(0) !important; opacity: 1 !important; transition: none !important; }
}

/* ── 3. How It Works — full-width top border always visible ── */
.how-card::before {
  transform: scaleX(1); /* always full-width */
  background: linear-gradient(90deg, var(--accent) 0%, rgba(14,116,144,0.35) 100%);
  opacity: 0.55;
  transition: opacity 400ms var(--ease);
}
.how-card:hover::before {
  transform: scaleX(1);
  opacity: 1;
}
.how-card:hover {
  box-shadow: 0 20px 48px rgba(14,116,144,0.14), 0 4px 12px rgba(0,0,0,0.06);
}

/* ── 4. Deals Section — THE ONE DARK ZONE ── */
.deals-section {
  background: #0a1628;
  position: relative;
}
/* Ambient radial glow */
.deals-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(14,116,144,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 15% 80%, rgba(245,158,11,0.07) 0%, transparent 65%);
  z-index: 0;
}
.deals-section > .container { position: relative; z-index: 1; }

/* Text colours on dark bg */
.deals-section .section-eyebrow { color: rgba(14,116,144,0.9); }
.deals-section .section-title   { color: #f1f5f9; }
.deals-section .section-sub     { color: rgba(255,255,255,0.55); }

/* Region filter tabs on dark bg */
.deals-section .fhd-tab {
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.65);
}
.deals-section .fhd-tab:hover {
  border-color: rgba(255,255,255,0.28);
  color: #fff;
  background: rgba(255,255,255,0.1);
}
.deals-section .fhd-tab.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

/* Carousel nav buttons on dark bg */
.deals-section .fhd-nav {
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.7);
}
.deals-section .fhd-nav:hover:not(:disabled) {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Dots on dark bg */
.deals-section .fhd-dot {
  background: rgba(255,255,255,0.22);
}
.deals-section .fhd-dot.is-active {
  background: var(--accent);
}

/* "Browse All Deals" outline button on dark bg */
.deals-section .btn-outline {
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.85);
}
.deals-section .btn-outline:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* Empty state on dark bg */
.deals-section .fhd-empty { color: rgba(255,255,255,0.4); }
.deals-section .fhd-empty a { color: var(--orange-500); }

/* ── 5. Subscribe — teal gradient (wayfinding, calm, trust) ── */
.subscribe-section {
  background: linear-gradient(160deg, #0e7490 0%, #0a5f73 55%, #073d50 100%);
}
.subscribe-section::before {
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, rgba(255,255,255,0.08) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 0% 100%, rgba(0,0,0,0.12) 0%, transparent 60%);
}
/* White submit button on teal bg */
.subscribe-section .btn-primary {
  background: #fff;
  color: #0a5f73;
  box-shadow: 0 4px 18px rgba(0,0,0,0.15);
}
.subscribe-section .btn-primary:hover {
  filter: none;
  background: #f0f9ff;
  transform: scale(1.04);
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
}
/* Eyebrow on teal bg */
.subscribe-section .subscribe-eyebrow {
  color: rgba(255,255,255,0.75);
}
/* Subscribe perk row */
.subscribe-perks {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1.25rem;
}
.subscribe-perk {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
}
.subscribe-perk svg, .subscribe-perk i {
  width: 14px;
  height: 14px;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  flex-shrink: 0;
}

/* ── Hero live badge ── */
.hero-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(12px);
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
  width: fit-content;
}
.hero-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 2px rgba(52,211,153,0.3);
  animation: livePulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(52,211,153,0.3); }
  50%       { box-shadow: 0 0 0 5px rgba(52,211,153,0.1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-live-dot { animation: none; }
}

/* ══════════════════════════════════════════════════════════════
   MEMBERSHIP — Account pill, dropdown, picker, save, upsell
   ══════════════════════════════════════════════════════════════ */

/* ── Account pill (desktop nav) ── */
.nav-account { position: relative; display: flex; align-items: center; height: 100%; }
.nav-account-pill {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 5px 12px 5px 5px;
	border-radius: 9999px; border: 1px solid rgba(15,23,42,0.1);
	background: rgba(255,255,255,0.7);
	backdrop-filter: blur(8px);
	font: 500 0.8rem/1 var(--font-sans, 'Sora', system-ui, sans-serif);
	color: var(--slate-800, #1e293b);
	cursor: pointer; transition: border-color 200ms var(--ease);
}
.nav-account-pill {
	height: 38px; padding: 0 12px 0 5px;
}
.nav-account-pill:hover { border-color: var(--accent, #0e7490); }
.nav-account-avatar {
	width: 28px; height: 28px; border-radius: 50%;
	background: linear-gradient(135deg, var(--orange-500), var(--accent));
	color: #fff;
	display: grid; place-items: center;
	font-weight: 700; font-size: 0.75rem; line-height: 1;
}
.nav-account-name { max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-account-caret {
	font-size: 14px; color: var(--slate-400);
	transition: transform 0.25s var(--ease);
}
.nav-account:hover .nav-account-caret { transform: rotate(180deg); }

/* ── Sign-in (logged-out nav) ��─ */
.nav-auth-wrap { display: flex; align-items: center; gap: .5rem; position: relative; }
.nav-signin {
	background: none; border: none; cursor: pointer;
	font: 500 .8rem/1 var(--font-sans, 'Sora', sans-serif);
	color: var(--slate-600, #475569);
	padding: .35rem .1rem;
	transition: color 150ms var(--ease);
}
.nav-signin:hover { color: var(--slate-900); }
.nav-signin-dd {
	position: absolute; top: calc(100% + 12px); right: 0;
	width: 280px; padding: 1rem;
	background: #fff; border-radius: 14px;
	border: 1px solid rgba(15,23,42,0.08);
	box-shadow: 0 10px 30px rgba(0,0,0,0.12);
	z-index: 100;
}
.nav-signin-dd[hidden] { display: none; }
.nav-signin-lbl {
	font-size: .78rem; color: var(--slate-500, #64748b);
	margin: 0 0 .6rem; font-weight: 500;
}
.nav-signin-input {
	width: 100%; padding: .55rem .7rem;
	border: 1px solid var(--slate-200, #e2e8f0);
	border-radius: 8px; font: inherit; font-size: .84rem;
	color: var(--slate-800); margin-bottom: .5rem;
}
.nav-signin-input:focus { outline: none; border-color: var(--accent, #0e7490); box-shadow: 0 0 0 3px rgba(14,116,144,0.1); }
.nav-signin-go {
	width: 100%; display: flex; align-items: center; justify-content: center; gap: .35rem;
	padding: .55rem; border: none; border-radius: 8px;
	background: var(--slate-900, #0f172a); color: #fff;
	font: 600 .82rem/1 inherit; cursor: pointer;
	transition: background 150ms var(--ease);
}
.nav-signin-go:hover { background: var(--slate-800); }

/* ── Account dropdown — dark card, hover-reveal with bridge ── */
.nav-account-dropdown {
	position: absolute; top: calc(100% + 6px); right: 0;
	width: 270px;
	background: linear-gradient(160deg, #0f172a 0%, #1a2540 100%);
	border-radius: 16px;
	border: 1px solid rgba(255,255,255,0.06);
	box-shadow: 0 16px 48px rgba(0,0,0,0.2), 0 2px 8px rgba(0,0,0,0.08);
	z-index: 100;
	overflow: hidden;
	opacity: 0;
	transform: translateY(-8px) scale(0.96);
	pointer-events: none;
	transition: opacity 200ms var(--ease), transform 200ms var(--ease);
}
/* Bridge — wide trapezoid catches diagonal mouse paths from pill to card */
.nav-account-dropdown::before {
	content: '';
	position: absolute; top: -14px; left: -40px; right: -10px;
	height: 20px;
}
.nav-account:hover .nav-account-dropdown,
.nav-account-dropdown.is-open {
	opacity: 1;
	transform: translateY(0) scale(1);
	pointer-events: auto;
}
.nad-header {
	display: flex; align-items: center; gap: 12px;
	padding: 16px 16px 14px;
	border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nad-avi {
	width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
	background: linear-gradient(135deg, var(--orange-500), var(--accent));
	color: #fff; display: grid; place-items: center;
	font-weight: 700; font-size: 1rem;
}
.nad-name { font-size: 0.88rem; font-weight: 600; color: #f1f5f9; }
.nad-email { font-size: 0.72rem; color: #64748b; }
.nad-body { display: flex; flex-direction: column; }
.nad-link {
	display: flex; align-items: center; gap: 12px;
	padding: 11px 16px;
	border-bottom: 1px solid rgba(255,255,255,0.04);
	font-size: 0.84rem; color: #e2e8f0;
	text-decoration: none; transition: background 120ms;
	width: 100%; border-left: none; border-right: none; border-top: none;
	background: none; cursor: pointer; font-family: inherit;
}
.nad-link:last-child { border-bottom: none; }
.nad-link:hover { background: rgba(255,255,255,0.05); }
.nad-icon {
	width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0;
	background: rgba(255,255,255,0.08);
	display: grid; place-items: center; font-size: 1rem;
}
.nad-icon--amber { color: var(--orange-500); }
.nad-icon--teal { color: var(--accent, #0e7490); }
.nad-icon--muted { color: #475569; background: rgba(255,255,255,0.04); }
.nad-body-text { flex: 1; min-width: 0; }
.nad-label { display: block; font-size: 0.84rem; font-weight: 500; color: #e2e8f0; line-height: 1.3; }
.nad-desc { display: block; font-size: 0.69rem; color: #475569; margin-top: 1px; }
.nad-arrow { color: #334155; font-size: 0.78rem; flex-shrink: 0; }
.nad-link--logout .nad-label { color: #64748b; }

/* ── Mobile drawer member card ── */
.drawer-member-card {
	background: linear-gradient(160deg, #0f172a 0%, #1a2540 100%);
	border-radius: 14px; overflow: hidden; margin-bottom: 6px;
}
.drawer-member-header {
	display: flex; align-items: center; gap: 12px;
	padding: 16px 16px 14px;
	border-bottom: 1px solid rgba(255,255,255,0.06);
}
.drawer-member-avi {
	width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
	background: linear-gradient(135deg, var(--orange-500), var(--accent));
	display: grid; place-items: center;
	font: 700 1.15rem/1 var(--font-sans, 'Sora', sans-serif); color: #fff;
}
.drawer-member-info { min-width: 0; }
.drawer-member-name {
	font: 600 .9rem/1.3 var(--font-sans, 'Sora', sans-serif); color: #f1f5f9;
}
.drawer-member-email {
	font-size: .72rem; color: #64748b;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.drawer-member-nav { display: flex; flex-direction: column; }
.dmn-item {
	display: flex; align-items: center; gap: 12px;
	padding: 11px 16px;
	border-bottom: 1px solid rgba(255,255,255,0.04);
	text-decoration: none; cursor: pointer;
	font: inherit; background: none; border-left: none; border-right: none; border-top: none;
	width: 100%; text-align: left;
	transition: background 120ms;
}
.dmn-item:last-child { border-bottom: none; }
.dmn-item:hover { background: rgba(255,255,255,0.05); }
.dmn-icon {
	width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0;
	background: rgba(255,255,255,0.08);
	display: grid; place-items: center;
	color: var(--orange-500); font-size: 1rem;
}
.dmn-icon--teal { color: var(--accent); }
.dmn-icon--muted { color: #475569; background: rgba(255,255,255,0.04); }
.dmn-body { flex: 1; min-width: 0; }
.dmn-label {
	display: block; font: 500 .84rem/1.3 var(--font-sans, 'Sora', sans-serif); color: #e2e8f0;
}
.dmn-desc { display: block; font-size: .69rem; color: #475569; margin-top: 1px; }
.dmn-arrow { color: #334155; font-size: .78rem; flex-shrink: 0; }
.dmn-item--signout .dmn-label { color: #64748b; }

/* ── Auth success notice ── */
.auth-success {
	display: flex; align-items: center; gap: 8px;
	padding: 16px 20px; border-radius: 12px;
	background: color-mix(in srgb, var(--orange-500) 8%, white);
	color: var(--slate-800, #1e293b);
	font-size: 0.95rem; font-weight: 500;
}
.auth-success i { color: var(--orange-500); font-size: 1.2em; }

/* ── Save / bookmark on deal cards ── */
.dc-save {
	position: absolute; top: .65rem; right: .65rem; z-index: 5;
	width: 34px; height: 34px; border-radius: 50%;
	background: rgba(15,23,42,0.35); backdrop-filter: blur(6px);
	border: 1px solid rgba(255,255,255,0.12);
	cursor: pointer;
	display: grid; place-items: center;
	color: #fff; font-size: 1rem;
	transition: transform 200ms var(--ease), background 200ms var(--ease), color 200ms var(--ease);
}
.dc-save:hover { transform: scale(1.1); background: rgba(15,23,42,0.55); }
.dc-save.is-saved { background: var(--orange-500); border-color: transparent; color: #fff; }
.dc-save ~ .card-photo .card-badges { right: 3.2rem; }

/* ── My Deals pill (deals page) ── */
.df-pill.df-chip--my {
	border-color: var(--slate-900, #0f172a);
	background: var(--slate-900, #0f172a);
	color: #fff;
}
.df-pill.df-chip--my:hover {
	background: var(--slate-800, #1e293b);
	border-color: var(--slate-800);
	box-shadow: 0 4px 14px rgba(15,23,42,0.22);
}
.df-pill.df-chip--my.has-value,
.df-pill.df-chip--my.is-active {
	background: var(--orange-500);
	border-color: var(--orange-500);
	color: #fff;
	box-shadow: 0 2px 10px rgba(245,158,11,0.28);
}
.df-pill.df-chip--my.has-value:hover,
.df-pill.df-chip--my.is-active:hover {
	box-shadow: 0 6px 18px rgba(245,158,11,0.38);
}
.df-pill.df-chip--setup {
	border: 1.5px dashed var(--slate-400, #94a3b8);
	background: #fff;
	color: var(--slate-500, #64748b);
}
.df-pill.df-chip--setup:hover {
	border-color: var(--slate-600);
	color: var(--slate-700);
	background: var(--slate-50);
}

/* ── Saved Deals pill (deals page) ── */
.df-pill.df-chip--saved {
	border-color: var(--slate-300, #cbd5e1);
	background: #fff;
	color: var(--slate-600, #475569);
}
.df-pill.df-chip--saved:hover {
	border-color: var(--slate-400);
	background: var(--slate-50);
}
.df-pill.df-chip--saved.has-value,
.df-pill.df-chip--saved.is-active {
	background: var(--orange-500);
	border-color: var(--orange-500);
	color: #fff;
	box-shadow: 0 2px 10px rgba(245,158,11,0.28);
}
.df-pill.df-chip--saved.has-value:hover,
.df-pill.df-chip--saved.is-active:hover {
	box-shadow: 0 6px 18px rgba(245,158,11,0.38);
}

/* ── Upsell bar (deals page, logged out) ── */
.deals-upsell {
	position: sticky; bottom: 0; z-index: 40;
	padding: 14px 16px;
	background: rgba(15,23,42,0.95);
	backdrop-filter: blur(12px);
	color: #fff; text-align: center;
	font-size: 0.85rem;
	border-top: 1px solid rgba(255,255,255,0.06);
}
.deals-upsell a {
	color: var(--orange-500);
	font-weight: 600; text-decoration: underline;
	text-underline-offset: 2px;
}

/* ── Subscribe member variant ── */
.subscribe-section--member .subscribe-eyebrow i { color: #34d399; }

/* ══════════════════════════════════════════════════════════════
   MEMBER DASHBOARD — page-member.php
   ══════════════════════════════════════════════════════════════ */
/* ─────────────────────────────────────────────────────────────────────────────
   Member Dashboard v2 — Departure Board aesthetic
   ───────────────────────────────────────────────────────────────────────────── */

.mb-page { padding-bottom: 4rem; background: var(--slate-50, #f8fafc); }

/* ── Welcome hero ── */
.mb-welcome {
	padding: 3rem 0 2.5rem;
	background:
		radial-gradient(ellipse 90% 100% at 60% 0%, color-mix(in srgb, var(--orange-500) 12%, transparent), transparent 65%),
		radial-gradient(ellipse 50% 80% at 0% 50%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 60%),
		linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
	text-align: center;
}
.mb-welcome-inner { max-width: 560px; margin: 0 auto; padding: 0 1.5rem; }
.mb-avatar-ring {
	width: 80px; height: 80px; margin: 0 auto 1.4rem;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--orange-500), var(--accent, #0e7490));
	padding: 2px;
}
.mb-avatar {
	width: 100%; height: 100%; border-radius: 50%;
	background: #1e293b;
	display: grid; place-items: center;
	font: 700 1.8rem/1 var(--font-sans, 'Sora', sans-serif);
	color: var(--orange-500);
}
.mb-title {
	font: 700 1.7rem/1.2 var(--font-sans, 'Sora', sans-serif);
	color: #f1f5f9;
	margin: 0 0 .5rem;
}
.mb-subtitle {
	font-size: .9rem; color: #94a3b8;
	margin: 0;
}
.mb-stats {
	display: flex; align-items: stretch;
	margin-top: 2rem;
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 12px;
	overflow: hidden;
	background: rgba(255,255,255,0.04);
}
.mb-stat {
	flex: 1; text-align: center; padding: .9rem .5rem;
	border-right: 1px solid rgba(255,255,255,0.06);
}
.mb-stat:last-child { border-right: none; }
.mb-stat-val {
	display: block;
	font: 700 1.2rem/1.2 var(--font-sans, 'Sora', sans-serif);
	color: #f1f5f9;
}
.mb-stat-lbl {
	display: block; margin-top: .25rem;
	font-size: .6rem; color: #64748b;
	text-transform: uppercase; letter-spacing: .08em;
	font-family: var(--mono-font, 'DM Mono', monospace);
}
.mb-stat-dot { display: none; }

/* ── Shared card wrapper ── */
.mb-section { padding: .75rem 0; }
.mb-section--last { padding-bottom: 0; }
.mb-card {
	background: #fff;
	border: 1px solid rgba(15,23,42,0.06);
	border-radius: 16px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.02);
	overflow: hidden;
}
.mb-card--flush { border-radius: 12px; }
.mb-card-head {
	display: flex; align-items: flex-start; justify-content: space-between;
	padding: 1.4rem 1.5rem .5rem;
}
.mb-card-h {
	font: 600 1.1rem/1.3 var(--font-sans, 'Sora', sans-serif);
	color: var(--slate-800, #1e293b);
	margin: 0; display: flex; align-items: center; gap: .45rem;
}
.mb-card-h i { color: var(--orange-500); font-size: 1.15em; }
.mb-card-sub {
	font-size: .82rem; color: var(--slate-500, #64748b);
	margin: .25rem 0 0;
}
.mb-badge {
	font: 600 .72rem/1 var(--mono-font, 'DM Mono', monospace);
	background: var(--orange-500); color: #fff;
	padding: .25rem .55rem; border-radius: 9999px;
	letter-spacing: .03em;
}

/* ── Card head with count pill ── */
.mb-card-head-top {
	display: flex; align-items: center; gap: .6rem;
}
.mb-count-pill {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 22px; height: 22px; padding: 0 .45rem;
	border-radius: 9999px;
	background: var(--orange-500); color: #fff;
	font: 700 .68rem/1 var(--mono-font, 'DM Mono', monospace);
	letter-spacing: .02em;
	transition: transform 280ms var(--ease);
}
.mb-count-pill.bump {
	animation: countBump 350ms var(--ease);
}
@keyframes countBump {
	0%   { transform: scale(1); }
	40%  { transform: scale(1.3); }
	100% { transform: scale(1); }
}

/* ── Geo suggestion banner ── */
.mb-geo {
	display: flex; align-items: center; gap: .6rem;
	margin: 0 1.5rem; padding: .7rem 1rem;
	background: color-mix(in srgb, var(--accent, #0e7490) 8%, white);
	border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
	border-radius: 10px;
	font-size: .82rem;
}
.mb-geo-left {
	display: flex; align-items: center; gap: .35rem;
	color: var(--accent, #0e7490); font-weight: 600;
	white-space: nowrap; flex-shrink: 0;
}
.mb-geo-left i { font-size: 1.1em; }
.mb-geo-chips { display: flex; gap: .35rem; flex-wrap: wrap; flex: 1; }
.mb-geo-chip {
	padding: .25rem .6rem; border-radius: 6px;
	background: #fff; border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
	font-size: .78rem; color: var(--slate-700, #334155);
	cursor: pointer; transition: background 120ms var(--ease);
}
.mb-geo-chip:hover { background: color-mix(in srgb, var(--accent) 10%, white); }
.mb-geo-add {
	padding: .3rem .7rem; border-radius: 6px;
	background: var(--accent, #0e7490); color: #fff;
	font: 600 .75rem/1 inherit; border: none; cursor: pointer;
	white-space: nowrap;
	transition: background 150ms var(--ease);
}
.mb-geo-add:hover { background: color-mix(in srgb, var(--accent) 85%, black); }
.mb-geo-x {
	width: 24px; height: 24px; border-radius: 50%;
	background: none; border: none; cursor: pointer;
	display: grid; place-items: center;
	color: var(--slate-400, #94a3b8); font-size: .85rem;
}
.mb-geo-x:hover { color: var(--slate-600); }

/* ── Selected airport tags (removable) ── */
.mb-selected {
	display: flex; flex-wrap: wrap; gap: .4rem;
	padding: .5rem 1.5rem 0;
}
.mb-selected[hidden] { display: none; }
.mb-selected:empty { display: none; }
.mb-tag {
	display: inline-flex; align-items: center; gap: .35rem;
	padding: .3rem .35rem .3rem .6rem;
	background: var(--slate-900, #0f172a); color: #fff;
	border-radius: 9999px;
	font-size: .74rem; font-weight: 500;
	animation: tagIn 220ms var(--ease) both;
}
@keyframes tagIn {
	from { opacity: 0; transform: scale(.85); }
	to   { opacity: 1; transform: scale(1); }
}
.mb-tag-iata {
	font: 700 .63rem/1 var(--mono-font, 'DM Mono', monospace);
	color: var(--orange-500); letter-spacing: .03em;
}
.mb-tag-x {
	width: 17px; height: 17px; border-radius: 50%;
	background: rgba(255,255,255,0.12);
	border: none; color: rgba(255,255,255,0.6);
	font-size: .82rem; line-height: 1; cursor: pointer;
	display: grid; place-items: center;
	transition: background 120ms var(--ease);
}
.mb-tag-x:hover { background: rgba(255,255,255,0.3); color: #fff; }

/* ── Search ── */
.mb-search-wrap {
	position: relative; margin: .75rem 1.5rem 0;
}
.mb-search-wrap > i {
	position: absolute; left: .85rem; top: 50%; transform: translateY(-50%);
	color: var(--slate-400, #94a3b8); font-size: .95rem;
	pointer-events: none;
}
.mb-search {
	width: 100%; padding: .6rem .85rem .6rem 2.3rem;
	border: 1px solid var(--slate-200, #e2e8f0);
	border-radius: 10px; background: var(--slate-50, #f8fafc);
	font: 400 .84rem/1.4 inherit;
	color: var(--slate-800, #1e293b);
	transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.mb-search:focus {
	outline: none;
	border-color: var(--orange-500);
	box-shadow: 0 0 0 3px rgba(245,158,11,0.1);
}
.mb-search::placeholder { color: var(--slate-400, #94a3b8); }
.mb-search-hint {
	position: absolute; right: .7rem; top: 50%; transform: translateY(-50%);
	width: 20px; height: 20px; border-radius: 50%;
	background: var(--slate-200, #e2e8f0);
	font: 500 .82rem/1 inherit;
	color: var(--slate-500); cursor: pointer;
	display: grid; place-items: center;
	border: none;
	transition: background 120ms;
}
.mb-search-hint:hover { background: var(--slate-300); }
.mb-search-hint[hidden] { display: none; }

/* ── Search results overlay ── */
.mb-search-results {
	margin: .35rem 1.5rem 0;
	padding: .5rem;
	background: #fff;
	border: 1px solid var(--slate-200, #e2e8f0);
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(15,23,42,0.08);
	max-height: 240px; overflow-y: auto;
}
.mb-search-results[hidden] { display: none; }
.mb-sr-item {
	display: flex; align-items: center; gap: .5rem;
	padding: .5rem .65rem; border-radius: 8px;
	cursor: pointer; border: none; background: none; width: 100%;
	font: inherit; text-align: left;
	transition: background 100ms;
}
.mb-sr-item:hover { background: var(--slate-50, #f8fafc); }
.mb-sr-item.is-on { background: color-mix(in srgb, var(--orange-500) 6%, white); }
.mb-sr-check {
	width: 18px; height: 18px; border-radius: 5px;
	border: 1.5px solid var(--slate-300, #cbd5e1);
	display: grid; place-items: center;
	font-size: .65rem; color: transparent;
	transition: all 150ms var(--ease);
	flex-shrink: 0;
}
.mb-sr-item.is-on .mb-sr-check {
	background: var(--orange-500); border-color: var(--orange-500);
	color: #fff;
}
.mb-sr-city { font-size: .82rem; color: var(--slate-700, #334155); }
.mb-sr-iata {
	font: 400 .68rem/1 var(--mono-font, 'DM Mono', monospace);
	color: var(--slate-400); letter-spacing: .04em;
	margin-left: auto; flex-shrink: 0;
}

/* ── Accordion picker ── */
.mb-picker { padding: .5rem 1.5rem .75rem; }

.mb-acc {
	border: 1px solid var(--slate-200, #e2e8f0);
	border-radius: 12px;
	margin-bottom: .5rem; overflow: hidden;
	transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.mb-acc:last-child { margin-bottom: 0; }
.mb-acc[open] {
	border-color: var(--slate-300, #cbd5e1);
	box-shadow: 0 2px 12px rgba(15,23,42,0.04);
}
.mb-acc-head {
	display: flex; align-items: center; gap: .55rem;
	padding: .8rem 1rem; cursor: pointer;
	list-style: none; background: var(--slate-50, #f8fafc);
	transition: background 150ms var(--ease); user-select: none;
}
.mb-acc-head::-webkit-details-marker { display: none; }
.mb-acc-head::marker { content: ''; }
.mb-acc-head:hover { background: var(--slate-100, #f1f5f9); }
.mb-acc[open] .mb-acc-head {
	background: linear-gradient(135deg,
		color-mix(in srgb, var(--orange-500) 5%, white),
		color-mix(in srgb, var(--orange-500) 2%, white));
}
.mb-acc-icon {
	width: 32px; height: 32px; border-radius: 9px;
	background: #fff; border: 1px solid var(--slate-200);
	display: grid; place-items: center;
	font-size: 1rem; color: var(--slate-500); flex-shrink: 0;
	transition: all 200ms var(--ease);
}
.mb-acc[open] .mb-acc-icon { background: var(--orange-500); border-color: var(--orange-500); color: #fff; }
.mb-acc-title {
	font: 600 .9rem/1.2 var(--font-sans, 'Sora', sans-serif);
	color: var(--slate-800); flex: 1;
}
.mb-acc-badge {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 20px; height: 20px; padding: 0 .4rem; border-radius: 9999px;
	background: var(--orange-500); color: #fff;
	font: 700 .62rem/1 var(--mono-font, 'DM Mono', monospace);
}
.mb-acc-chevron {
	font-size: .82rem; color: var(--slate-400);
	transition: transform 260ms var(--ease); flex-shrink: 0;
}
.mb-acc[open] .mb-acc-chevron { transform: rotate(180deg); }
.mb-acc-body { padding: 1rem; background: #fff; }

/* Sub-regions */
.mb-sub { margin-bottom: .85rem; }
.mb-sub:last-child { margin-bottom: 0; }
.mb-sub-lbl {
	display: block;
	font: 500 .6rem/1 var(--mono-font, 'DM Mono', monospace);
	letter-spacing: .1em; text-transform: uppercase;
	color: var(--slate-400); padding: 0 0 .6rem;
	margin-bottom: .5rem;
	border-bottom: 1px solid var(--slate-100);
}

/* ── DEPARTURE BOARD TILES ── */
.mb-sub-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
	gap: .4rem;
}
.mb-apt {
	display: flex; flex-direction: column;
	align-items: center; justify-content: center;
	gap: 4px; padding: .78rem .5rem .65rem;
	border: 1.5px solid var(--slate-200);
	border-radius: 10px; background: #fff;
	cursor: pointer; font-family: inherit;
	text-align: center; min-height: 62px;
	position: relative; overflow: hidden;
	transition: border-color 170ms var(--ease), background 170ms var(--ease),
	            box-shadow 170ms var(--ease), transform 130ms var(--ease);
}
.mb-apt::after {
	content: '';
	position: absolute; inset: 0;
	background: radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--orange-500) 12%, transparent), transparent 70%);
	opacity: 0; transition: opacity 200ms var(--ease);
}
.mb-apt:hover {
	border-color: color-mix(in srgb, var(--orange-500) 55%, transparent);
	box-shadow: 0 4px 14px rgba(245,158,11,0.12);
	transform: translateY(-2px);
}
.mb-apt:hover::after { opacity: 1; }
.mb-apt.is-on {
	background: color-mix(in srgb, var(--orange-500) 7%, white);
	border-color: var(--orange-500);
	box-shadow: 0 3px 14px rgba(245,158,11,0.2);
	transform: translateY(-1px);
}
.mb-apt.is-on::after { opacity: 1; }

/* IATA code — hero of the tile */
.mb-apt-iata {
	font: 700 .98rem/1 var(--mono-font, 'DM Mono', monospace);
	color: var(--slate-400);
	letter-spacing: .05em;
	transition: color 170ms var(--ease);
	position: relative; z-index: 1;
}
.mb-apt:hover .mb-apt-iata { color: var(--orange-500); }
.mb-apt.is-on .mb-apt-iata { color: var(--orange-500); }

/* City name — supporting text */
.mb-apt-city {
	font: 500 .62rem/1.3 var(--font-sans, 'Sora', sans-serif);
	color: var(--slate-500);
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
	max-width: 100%;
	transition: color 170ms var(--ease);
	position: relative; z-index: 1;
}
.mb-apt.is-on .mb-apt-city { color: var(--slate-700); font-weight: 600; }

/* ── Inline save status ── */
.mb-save-status {
	display: flex; align-items: center; justify-content: center; gap: .4rem;
	padding: .5rem 1.5rem .8rem;
	font-size: .78rem; color: var(--slate-400, #94a3b8);
	font-family: var(--mono-font, monospace);
}
.mb-save-status[hidden] { display: none; }
.mb-save-status.is-done { color: #10b981; }
.mb-save-status.is-done i::before { content: "\ea67"; } /* ti-circle-check */

/* ── Notifications ── */
.mb-notifs { padding: .5rem 0; }
.mb-nrow {
	display: flex; align-items: center; gap: .8rem;
	padding: .85rem 1.5rem;
}
.mb-nrow-icon {
	width: 36px; height: 36px; border-radius: 10px;
	background: var(--slate-50, #f8fafc);
	display: grid; place-items: center;
	color: var(--slate-500, #64748b); font-size: 1.1rem;
	flex-shrink: 0;
}
.mb-nrow-body { flex: 1; min-width: 0; }
.mb-nrow-name {
	font: 500 .85rem/1.3 var(--font-sans, 'Sora', sans-serif);
	color: var(--slate-800, #1e293b);
	display: flex; align-items: center; gap: .35rem;
}
.mb-nrow-name i { display: none; }
.mb-nrow-desc { font-size: .76rem; color: var(--slate-500, #64748b); margin-top: .1rem; }
.mb-nrow-sep { height: 1px; background: rgba(15,23,42,0.05); margin: 0 1.5rem; }
.mb-nrow-badge {
	font: 600 .68rem/1 var(--mono-font, monospace);
	padding: .3rem .65rem; border-radius: 9999px;
	white-space: nowrap;
}
.mb-nrow-badge--on {
	background: color-mix(in srgb, #10b981 12%, white);
	color: #059669;
}
.mb-nrow-action { flex-shrink: 0; }

/* SMS form */
.mb-sms-form { display: flex; gap: .35rem; }
.mb-sms-input {
	width: 160px; padding: .4rem .6rem;
	border: 1px solid var(--slate-200, #e2e8f0);
	border-radius: 8px; font: inherit; font-size: .8rem;
	color: var(--slate-700);
}
.mb-sms-input:focus {
	outline: none; border-color: var(--accent, #0e7490);
	box-shadow: 0 0 0 2px rgba(14,116,144,0.12);
}
.mb-sms-go {
	padding: .4rem .8rem; border: none; border-radius: 8px;
	background: var(--accent, #0e7490); color: #fff;
	font: 600 .78rem/1 inherit; cursor: pointer;
	transition: background 150ms var(--ease);
}
.mb-sms-go:hover:not(:disabled) { background: color-mix(in srgb, var(--accent) 85%, black); }
.mb-sms-go:disabled { opacity: .4; cursor: default; }
.mb-sms-on { display: flex; align-items: center; gap: .5rem; }
.mb-sms-num {
	font: 500 .8rem/1 var(--mono-font, monospace);
	color: var(--slate-600, #475569);
}
.mb-sms-off {
	background: none; border: none; cursor: pointer;
	font-size: .76rem; color: var(--slate-400); text-decoration: underline;
}
.mb-sms-off:hover { color: var(--slate-600); }

/* ── Empty state ── */
.mb-empty {
	text-align: center; padding: 2.5rem 1.5rem 3rem;
}
.mb-empty-icon {
	font-size: 2rem; color: var(--slate-300, #cbd5e1);
	margin-bottom: .6rem;
}
.mb-empty-msg {
	font: 500 .92rem/1.3 var(--font-sans, 'Sora', sans-serif);
	color: var(--slate-600, #475569); margin: 0 0 .25rem;
}
.mb-empty-hint {
	font-size: .8rem; color: var(--slate-400, #94a3b8);
	margin: 0 0 1.2rem;
}
.mb-empty-hint i { color: var(--orange-500); }
.mb-empty-cta {
	display: inline-flex; align-items: center; gap: .4rem;
	padding: .55rem 1.2rem; border-radius: 9999px;
	background: var(--slate-900, #0f172a); color: #fff;
	font: 600 .82rem/1 inherit; text-decoration: none;
	transition: transform 150ms var(--ease), background 150ms var(--ease);
}
.mb-empty-cta:hover { transform: translateY(-1px); background: var(--slate-800); }

/* ── Saved deals grid ── */
.mb-saved-grid {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1rem; padding: 1rem 1.5rem 1.5rem;
}

/* ── Account row ── */
.mb-acct {
	display: flex; align-items: center; justify-content: space-between;
	padding: 1rem 1.5rem;
}
.mb-acct-email {
	font: 500 .85rem/1.3 inherit;
	color: var(--slate-700, #334155);
}
.mb-acct-since {
	font-size: .75rem; color: var(--slate-400, #94a3b8);
	margin-top: .15rem;
}
.mb-acct-logout {
	display: inline-flex; align-items: center; gap: .35rem;
	padding: .45rem .9rem; border-radius: 8px;
	border: 1px solid var(--slate-200, #e2e8f0);
	background: #fff; cursor: pointer;
	font: 500 .8rem/1 inherit; color: var(--slate-500);
	transition: all 150ms var(--ease);
}
.mb-acct-logout:hover { border-color: var(--slate-300); color: var(--slate-700); }

/* ── Quick-link cards ── */
.mb-links { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.mb-link-card {
	display: flex; align-items: center; gap: .85rem;
	padding: 1rem 1.25rem;
	background: #fff; border: 1px solid rgba(15,23,42,0.06);
	border-radius: 14px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.04);
	text-decoration: none; color: inherit;
	transition: box-shadow 180ms var(--ease), transform 180ms var(--ease);
}
.mb-link-card:hover {
	box-shadow: 0 4px 16px rgba(0,0,0,0.08);
	transform: translateY(-1px);
}
.mb-link-icon {
	width: 40px; height: 40px; border-radius: 10px;
	background: color-mix(in srgb, var(--orange-500) 9%, white);
	display: grid; place-items: center;
	color: var(--orange-500); font-size: 1.15rem;
	flex-shrink: 0;
}
.mb-link-icon--star { background: color-mix(in srgb, var(--slate-900) 8%, white); color: var(--slate-700); }
.mb-link-body { flex: 1; min-width: 0; }
.mb-link-name {
	font: 600 .88rem/1.3 var(--font-sans, 'Sora', sans-serif);
	color: var(--slate-800, #1e293b);
}
.mb-link-desc { font-size: .76rem; color: var(--slate-500, #64748b); }
.mb-link-arrow { color: var(--slate-400); font-size: .9rem; flex-shrink: 0; }

/* ── Member page responsive ── */
@media (max-width: 767px) {
	.nav-account-name { display: none; }
	.mb-welcome { padding: 2.5rem 0 1.5rem; }
	.mb-title { font-size: 1.35rem; }
	.mb-stat { padding: .7rem .3rem; }
	.mb-stat-val { font-size: 1rem; }
	.mb-card-head { padding: 1.1rem 1rem .6rem; }
	.mb-geo { margin: 0 1rem .4rem; padding: .6rem .75rem; flex-wrap: wrap; }
	.mb-selected { padding: .4rem 1rem 0; }
	.mb-search-wrap { margin: .6rem 1rem 0; }
	.mb-search-results { margin: .3rem 1rem 0; }
	.mb-picker { padding: .4rem 1rem .6rem; }
	.mb-acc-head { padding: .7rem .85rem; }
	.mb-acc-body { padding: .75rem; }
	.mb-sub-grid { grid-template-columns: repeat(3, 1fr); gap: .3rem; }
	.mb-apt { padding: .65rem .35rem .55rem; min-height: 56px; }
	.mb-apt-iata { font-size: .86rem; }
	.mb-apt-city { font-size: .58rem; }
	.mb-nrow { padding: .75rem 1rem; flex-wrap: wrap; gap: .5rem; }
	.mb-nrow-action { width: 100%; padding-left: 48px; }
	.mb-sms-form { width: 100%; }
	.mb-sms-input { flex: 1; min-width: 0; width: auto; }
	.mb-saved-grid { grid-template-columns: 1fr; padding: .75rem 1rem 1rem; }
	.mb-acct { padding: .85rem 1rem; flex-wrap: wrap; gap: .5rem; }
	.mb-links { grid-template-columns: 1fr 1fr; gap: .45rem; }
	.mb-link-card { padding: .85rem .85rem; }
	.mb-link-desc { display: none; }
	.mb-empty { padding: 2rem 1rem; }
}
@media (max-width: 380px) {
	.mb-sub-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
	.nav-account-pill, .mb-apt, .dc-save, .nad-link,
	.mb-geo-add, .mb-sms-go, .mb-empty-cta, .nav-account-dropdown,
	.mb-acct-logout, .mb-acc-icon, .mb-acc-chevron { transition: none; }
	.mb-tag, .mb-count-pill { animation: none; }
	.df-chip--setup { animation: none; }
}

/* ─────────────────────────────────────────────────────────────────────────────
   OAuth auth panel
   ───────────────────────────────────────────────────────────────────────────── */

.afs3-auth-panel {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
}

/* OAuth buttons */
.btn-oauth {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 10px 16px;
	border-radius: 8px;
	font-family: var(--font-sans);
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1;
	cursor: pointer;
	transition: opacity 150ms var(--ease), transform 100ms var(--ease);
	white-space: nowrap;
}
.btn-oauth:hover  { opacity: 0.88; }
.btn-oauth:active { transform: scale(0.98); }
.btn-oauth:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.btn-oauth--google {
	background: #fff;
	color: #3c4043;
	border: 1px solid #dadce0;
	box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}
.btn-oauth--google:hover { border-color: #bdc1c6; }

.btn-oauth--apple {
	background: #000;
	color: #fff;
	border: 1px solid #000;
}

/* Divider */
.auth-divider {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 2px 0;
	font-size: 0.75rem;
	color: var(--slate-400);
}
.auth-divider::before,
.auth-divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: var(--slate-200);
}

/* Inner email form */
.auth-email-form {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.auth-email-form input[type="email"],
.auth-email-form input[type="tel"] {
	width: 100%;
	padding: 9px 12px;
	border: 1px solid var(--slate-200);
	border-radius: 7px;
	font-family: var(--font-sans);
	font-size: 0.875rem;
	color: var(--slate-900);
	background: #fff;
	transition: border-color 150ms var(--ease);
}
.auth-email-form input:focus {
	outline: none;
	border-color: var(--orange-500);
	box-shadow: 0 0 0 3px rgba(245,158,11,0.15);
}

.btn-send-link {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	padding: 10px 16px;
	background: var(--slate-900);
	color: #fff;
	border: none;
	border-radius: 8px;
	font-family: var(--font-sans);
	font-size: 0.875rem;
	font-weight: 500;
	cursor: pointer;
	transition: background 150ms var(--ease);
}
.btn-send-link:hover   { background: var(--slate-700); }
.btn-send-link:disabled { opacity: 0.55; cursor: not-allowed; }

/* Error notice */
.auth-error-notice {
	padding: 8px 12px;
	border-radius: 6px;
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #dc2626;
	font-size: 0.8rem;
	line-height: 1.4;
	margin: 0 0 4px;
}

/* Homepage hero dark-bg overrides */
.subscribe-auth-panel .btn-oauth--google {
	background: rgba(255,255,255,0.95);
}
.subscribe-auth-panel .auth-divider {
	color: rgba(255,255,255,0.5);
}
.subscribe-auth-panel .auth-divider::before,
.subscribe-auth-panel .auth-divider::after {
	background: rgba(255,255,255,0.2);
}
.subscribe-auth-panel .auth-email-form input {
	background: rgba(255,255,255,0.1);
	border-color: rgba(255,255,255,0.2);
	color: #fff;
}
.subscribe-auth-panel .auth-email-form input::placeholder { color: rgba(255,255,255,0.55); }
.subscribe-auth-panel .auth-email-form input:focus {
	background: rgba(255,255,255,0.15);
	border-color: var(--orange-500);
}
.subscribe-auth-panel .btn-send-link {
	background: var(--orange-500);
	color: #fff;
}
.subscribe-auth-panel .btn-send-link:hover { background: var(--orange-600, #d97706); }

/* Mobile drawer panel spacing */
.afs3-auth-panel--mobile {
	padding: 0 4px 4px;
}

@media (prefers-reduced-motion: reduce) {
	.btn-oauth, .btn-send-link, .auth-email-form input { transition: none; }
}

/* ════════════════════════════════════════════════════════════════════
   HOW IT WORKS PAGE — /how-it-works/
   page-how-it-works.php · Deployed 2026-03-29 · Design WIP
   ═══════════════════════════════════════════════════════���════════════ */

/* ── Scroll reveal (HIW-scoped, .v-reveal + .is-visible) ── */
.v-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.v-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Hero ── */
.hiw-hero {
  padding: clamp(5rem, 10vw, 7rem) 0 clamp(3rem, 6vw, 4rem);
  background: linear-gradient(180deg, var(--slate-50) 0%, var(--white) 100%);
}
.hiw-hero .container { max-width: 720px; }
.hiw-hero .section-eyebrow { margin-bottom: 1rem; }
.hiw-hero-title {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--slate-900);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hiw-hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  color: var(--slate-500);
  line-height: 1.8;
}
.hiw-hero-sub strong {
  color: var(--slate-700);
  font-weight: 600;
}
.hiw-hero-since {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  margin-top: 1.5rem;
  letter-spacing: 0.02em;
}
.hiw-hero-since i { font-size: 0.9rem; }

/* ── Three Steps ── */
.hiw-steps {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--white);
  position: relative;
}
.hiw-steps::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 100%, rgba(var(--accent-rgb), 0.04) 0%, transparent 70%);
  pointer-events: none;
}
.hiw-steps-header {
  max-width: 560px;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.hiw-steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 1.5rem;
  align-items: stretch;
}
.hiw-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(var(--orange-500-rgb), 0.45);
  padding: 0 0.25rem;
  align-self: center;
}
.hiw-step {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 2rem 1.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: 0 1px 4px var(--ink-sm);
  transition: box-shadow 450ms var(--ease), transform 450ms var(--ease);
}
.hiw-step:hover {
  box-shadow: 0 16px 40px var(--ink-md);
  transform: translateY(-6px);
}
.hiw-step::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  transform: scaleX(0); transform-origin: left;
  transition: transform 400ms var(--ease);
}
.hiw-step:hover::before { transform: scaleX(1); }
.hiw-step-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: var(--radius-lg);
  background: rgba(var(--accent-rgb), 0.10);
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; margin-bottom: 1.25rem;
  transition: transform 400ms var(--ease), box-shadow 400ms var(--ease), background 400ms var(--ease);
}
.hiw-step:hover .hiw-step-icon {
  transform: scale(1.15) translateY(-3px);
  background: rgba(var(--accent-rgb), 0.18);
  box-shadow: 0 12px 28px rgba(var(--accent-rgb), 0.28);
}
.hiw-step-num {
  position: absolute; top: 1.25rem; right: 1.5rem;
  font-size: 4rem; font-weight: 800; line-height: 1;
  color: rgba(var(--accent-rgb), 0.07);
  pointer-events: none;
  transition: color 400ms ease;
}
.hiw-step:hover .hiw-step-num { color: rgba(var(--accent-rgb), 0.18); }
.hiw-step-title {
  font-size: 1.05rem; font-weight: 700;
  color: var(--slate-900); margin-bottom: 0.5rem;
}
.hiw-step-desc {
  font-size: 0.875rem; color: var(--slate-500); line-height: 1.65;
}
.hiw-partners-row {
  display: flex; align-items: center; gap: 0.65rem;
  padding-top: 0.85rem; margin-top: auto;
  border-top: 1px solid var(--slate-200);
}
.hiw-partners-row .label {
  font-family: var(--font-mono); font-size: 0.6rem;
  color: var(--text-3); text-transform: uppercase;
  letter-spacing: 0.06em; font-weight: 600;
}
.hiw-partners-row .logos {
  display: flex; align-items: center; gap: 0.6rem;
  font-weight: 700; font-size: 0.72rem;
}
.hiw-partners-row .sep { color: var(--slate-200); }
.hiw-step-hint {
  display: flex; align-items: center; gap: 0.35rem;
  font-size: 0.75rem; color: var(--accent);
  font-weight: 600; margin-top: 0.75rem;
}
.hiw-step-hint i { font-size: 0.85rem; }

/* Step entrance animation */
@keyframes hiwStepIn {
  from { opacity: 0; transform: translateY(32px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.hiw-steps-grid.animate-ready .hiw-step { opacity: 0; }
.hiw-steps-grid.is-animated .hiw-step {
  animation: hiwStepIn 600ms var(--ease) both;
}
.hiw-steps-grid.is-animated .hiw-step:nth-child(1) { animation-delay: 0ms; }
.hiw-steps-grid.is-animated .hiw-step:nth-child(3) { animation-delay: 150ms; }
.hiw-steps-grid.is-animated .hiw-step:nth-child(5) { animation-delay: 300ms; }

/* ── What We Do Differently ── */
.hiw-diff {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--slate-50);
}
.hiw-diff-header {
  max-width: 560px;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.hiw-diff-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.hiw-diff-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 2rem 1.75rem;
  text-align: center;
  transition: transform 450ms var(--ease), box-shadow 450ms var(--ease);
}
.hiw-diff-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--ink-md);
}
.hiw-diff-card--highlight { border-left: 3px solid var(--orange-500); }
.hiw-diff-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; margin: 0 auto 1rem;
}
.hiw-diff-icon--teal {
  background: rgba(var(--accent-rgb), 0.10);
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  color: var(--accent);
}
.hiw-diff-icon--amber {
  background: rgba(var(--orange-500-rgb), 0.08);
  border: 1px solid rgba(var(--orange-500-rgb), 0.18);
  color: var(--orange-600);
}
.hiw-diff-title {
  font-size: 1.05rem; font-weight: 700;
  color: var(--slate-900); margin-bottom: 0.5rem;
}
.hiw-diff-desc {
  font-size: 0.875rem; color: var(--slate-500); line-height: 1.65;
}

/* ── What a Deal Looks Like (email mock) ── */
.hiw-example {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--white); position: relative;
}
.hiw-example::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 40% at 80% 0%, rgba(var(--orange-500-rgb), 0.04) 0%, transparent 65%);
  pointer-events: none;
}
.hiw-example-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center;
}
.hiw-example-text { max-width: 440px; }
.hiw-example-text .section-sub { margin-bottom: 1.5rem; }
.hiw-example-callouts {
  display: flex; flex-direction: column; gap: 1rem;
}
.hiw-example-callout {
  display: flex; align-items: flex-start; gap: 0.75rem;
}
.hiw-example-callout-icon {
  width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px;
  background: rgba(var(--accent-rgb), 0.10);
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.hiw-example-callout-text {
  font-size: 0.85rem; color: var(--slate-600); line-height: 1.6;
}
.hiw-example-callout-text strong {
  color: var(--slate-900); display: block; margin-bottom: 0.1rem;
}

/* Mock email */
.hiw-email-mock {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: 0 8px 32px var(--ink-md);
}
.hiw-email-header {
  display: flex; align-items: center; gap: 0.65rem;
  padding: 0.85rem 1.25rem;
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
  font-size: 0.8rem;
}
.hiw-email-dot { width: 8px; height: 8px; border-radius: 50%; }
.hiw-email-from { font-weight: 700; color: var(--slate-900); }
.hiw-email-subject { color: var(--slate-500); }
.hiw-email-body { padding: 1.25rem; }
.hiw-email-deal {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg); overflow: hidden;
}
.hiw-email-deal-img {
  height: 120px; background-size: cover; background-position: center;
}
.hiw-email-deal-content { padding: 1rem; }
.hiw-email-deal-route {
  font-family: var(--font-mono); font-size: 0.7rem;
  color: var(--slate-400); margin-bottom: 0.2rem;
}
.hiw-email-deal-headline {
  font-size: 0.9rem; font-weight: 700;
  color: var(--slate-900); margin-bottom: 0.4rem;
}
.hiw-email-deal-prices {
  display: flex; align-items: center; gap: 0.5rem;
}
.hiw-email-deal-price { font-family: var(--font-mono); font-weight: 700; color: #16a34a; }
.hiw-email-deal-was { font-size: 0.75rem; color: var(--text-3); text-decoration: line-through; }
.hiw-email-cta {
  display: block; text-align: center; margin-top: 0.85rem;
  padding: 0.6rem; background: var(--accent);
  color: var(--white); font-weight: 700; font-size: 0.8rem;
  border-radius: var(--radius-md); text-decoration: none;
}

/* ── Recent Deals Carousel ── */
.hiw-deals {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--slate-50);
}
.hiw-deals-header {
  max-width: 560px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.hiw-deals-track {
  display: flex; gap: 1.25rem;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--slate-200) transparent;
}
.hiw-deals-track::-webkit-scrollbar { height: 6px; }
.hiw-deals-track::-webkit-scrollbar-track { background: transparent; }
.hiw-deals-track::-webkit-scrollbar-thumb { background: var(--slate-200); border-radius: 3px; }
.hiw-deals-track .card {
  flex: 0 0 300px; scroll-snap-align: start;
}
.hiw-deals-more { text-align: center; margin-top: 2rem; }
.hiw-deals-more a {
  font-size: 0.9rem; font-weight: 600;
  color: var(--accent); text-decoration: none;
  transition: color 200ms;
}
.hiw-deals-more a:hover { color: var(--accent-dark); }
.hiw-geo-city { color: var(--orange-500); font-weight: 800; }

/* ── Subscribe CTA (teal gradient — matches v2 subscribe) ── */
.hiw-cta-section {
  padding-block: 6rem;
  background: linear-gradient(160deg, #0e7490 0%, #0a5f73 55%, #073d50 100%);
  position: relative; overflow: hidden; text-align: center;
}
.hiw-cta-section::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, rgba(255,255,255,0.08) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 0% 100%, rgba(0,0,0,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.hiw-cta-section > .container { position: relative; z-index: 1; }
.hiw-trust-label {
  font-family: var(--font-mono); font-size: 0.7rem;
  color: rgba(255,255,255,0.75); text-transform: uppercase;
  letter-spacing: 0.12em; font-weight: 600; margin-bottom: 0.85rem;
}
.hiw-trust-logos {
  display: flex; justify-content: center; align-items: center;
  gap: 2rem; margin-bottom: 2.5rem;
  font-weight: 700; font-size: 1.1rem;
}
.hiw-cta-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800; color: var(--white);
  letter-spacing: -0.025em; margin-bottom: 0.875rem;
}
.hiw-cta-sub {
  font-size: 1rem; color: rgba(255,255,255,0.55);
  margin-bottom: 2rem; max-width: 480px;
  margin-left: auto; margin-right: auto;
}
.hiw-reassurance {
  font-size: 0.75rem; color: rgba(255,255,255,0.55);
  margin-top: 1rem;
}

/* HIW auth panel — override for teal gradient context */
.hiw-auth-panel {
  max-width: 440px; margin: 0 auto;
}
.hiw-auth-panel .auth-email-form input {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: #fff;
}
.hiw-auth-panel .auth-email-form input::placeholder { color: rgba(255,255,255,0.4); }
.hiw-auth-panel .auth-email-form input:focus {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.35);
}
.hiw-auth-panel .btn-send-link {
  background: #fff; color: #0a5f73;
}
.hiw-auth-panel .btn-send-link:hover {
  background: #f0f9ff;
}
.hiw-auth-panel .auth-divider span {
  color: rgba(255,255,255,0.5);
}
.hiw-auth-panel .auth-divider::before,
.hiw-auth-panel .auth-divider::after {
  background: rgba(255,255,255,0.2);
}
.hiw-auth-panel .btn-oauth {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
}
.hiw-auth-panel .btn-oauth:hover {
  background: rgba(255,255,255,0.14);
}

/* ── HIW Responsive ── */
@media (max-width: 768px) {
  .hiw-steps-grid { grid-template-columns: 1fr; gap: 1rem; }
  .hiw-connector { display: none; }
  .hiw-step {
    flex-direction: row; align-items: flex-start;
    gap: 1rem; padding: 1.25rem;
  }
  .hiw-step-icon { margin-bottom: 0; flex-shrink: 0; }
  .hiw-step-num { font-size: 2.5rem; top: 0.75rem; right: 1rem; }
  .hiw-step:hover { transform: none; box-shadow: 0 1px 4px var(--ink-sm); }
  .hiw-step:hover::before { transform: scaleX(0); }

  .hiw-diff-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .hiw-diff-grid .hiw-diff-card:nth-child(2) {
    order: 3; grid-column: 1 / -1;
    max-width: 320px; margin: 0 auto;
  }
  .hiw-diff-card--highlight {
    border-left: 1px solid var(--border);
    border-top: 3px solid var(--orange-500);
  }

  .hiw-deals-track .card { flex: 0 0 260px; }
  .hiw-deals-track .card-photo { height: 180px; }

  .hiw-example-layout { grid-template-columns: 1fr; gap: 2rem; }
  .hiw-example-text { max-width: none; }

  .hiw-trust-logos { gap: 1.25rem; font-size: 0.9rem; }
}

@media (max-width: 480px) {
  .hiw-hero-title { font-size: 1.75rem; }
  .hiw-deals-track .card { flex: 0 0 240px; }
}

/* HIW reduced motion */
@media (prefers-reduced-motion: reduce) {
  .v-reveal { opacity: 1; transform: none; transition: none; }
  .hiw-steps-grid.animate-ready .hiw-step { opacity: 1; }
  .hiw-steps-grid.is-animated .hiw-step { animation: none; }
  .hiw-step, .hiw-diff-card, .hiw-subscribe-btn { transition: none; }
}

/* ═══════════════════════════════════════════════════════════════
   HELP / FAQ PAGE
   ═══════════════════════════════════════════════════════════════ */

/* ── Hero — teal gradient with radial glow ── */
.help-hero {
  padding: clamp(4rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem);
  text-align: center;
  background: linear-gradient(170deg, #f0fdfa 0%, #e0f2fe 40%, #f0f9ff 100%);
  position: relative;
  overflow: hidden;
}
.help-hero::before {
  content: '';
  position: absolute;
  top: -40%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(14,116,144,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.help-hero::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -15%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(14,116,144,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.help-hero .container { position: relative; z-index: 1; }
.help-hero .section-eyebrow { justify-content: center; }
.help-hero-icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent) 0%, #0a5f73 100%);
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(14,116,144,0.25);
}
.help-hero-title {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--slate-900);
  margin-bottom: 1rem;
  line-height: 1.15;
}
.help-hero-sub {
  font-size: 1.0625rem;
  color: var(--slate-500);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── Category sections — centered ── */
.help-category {
  padding: 2.5rem 0 1rem;
  text-align: center;
}
.help-category + .help-category {
  border-top: 1px solid var(--slate-100);
}
.help-category .section-eyebrow {
  justify-content: center;
}

/* ── Accordion group — centered, teal accents ── */
.help-acc-group {
  margin: 1.5rem auto 0;
  max-width: 740px;
  text-align: left;
}
.help-acc-group .mb-acc {
  margin-bottom: 0.625rem;
}
.help-acc-group .mb-acc:last-child {
  margin-bottom: 0;
}

/* Override amber → teal on open state */
.help-acc-group .mb-acc[open] .mb-acc-head {
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--accent) 6%, white),
    color-mix(in srgb, var(--accent) 2%, white));
}
.help-acc-group .mb-acc[open] .mb-acc-icon {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.help-acc-group .mb-acc[open] {
  border-color: color-mix(in srgb, var(--accent) 25%, var(--slate-200));
  box-shadow: 0 2px 16px rgba(14,116,144,0.08);
}

/* Answer text styling */
.help-acc-group .mb-acc-body p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--slate-600);
}

/* Bottom spacing */
.help-wrap {
  padding-bottom: 4rem;
}

/* ── Help page responsive ── */
@media (max-width: 768px) {
  .help-hero {
    padding: 3rem 0 2.5rem;
  }
  .help-hero-title {
    font-size: clamp(1.625rem, 6vw, 2.25rem);
  }
  .help-hero-icon {
    width: 48px; height: 48px;
    font-size: 1.25rem;
    border-radius: 13px;
    margin-bottom: 1.25rem;
  }
  .help-category {
    padding: 2rem 0 0.5rem;
  }
}

@media (max-width: 480px) {
  .help-hero-title {
    font-size: 1.625rem;
  }
}

/* Help page reduced motion */
@media (prefers-reduced-motion: reduce) {
  .help-wrap .v1-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   T-LEGACY — lightweight template for pre-V5 archival posts
   ═══════════════════════════════════════════════════════════════════════ */

.t-legacy { font-family: var(--font-sans, 'Sora', system-ui, sans-serif); color: var(--slate-900); }

/* Ad slots — shared shell used top + mid */
.t-legacy-ad-top,
.t-legacy-ad-mid { max-width: 1200px; margin: 1.5rem auto 1.5rem; padding: 0 1.5rem; }
.t-legacy-ad-mid { margin: 2.5rem auto 0; }

/* Hero */
.t-legacy-hero {
  position: relative;
  max-width: 1200px;
  margin: 0 auto 0.5rem;
  padding: 0 1.5rem;
}
.t-legacy-hero-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  border-radius: 14px;
  filter: saturate(1.04);
}
.t-legacy-hero-shade {
  position: absolute;
  left: 1.5rem; right: 1.5rem; top: 0; bottom: 0;
  border-radius: 14px;
  background: linear-gradient(to bottom, rgba(15,23,42,0) 30%, rgba(15,23,42,0.55) 100%);
  pointer-events: none;
}
.t-legacy-hero-archive-pill {
  position: absolute;
  top: 1.25rem; right: 2.5rem;
  background: rgba(245, 158, 11, 0.92);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(15,23,42,0.18);
}
.t-legacy-hero-overlay {
  position: absolute;
  left: 3rem; right: 3rem; bottom: 1.75rem;
  color: #fff;
}
.t-legacy-hero-title {
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.45);
}
.t-legacy-hero-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}
.t-legacy-hero-price {
  font-size: 1.5rem;
  font-weight: 700;
  background: rgba(255,255,255,0.15);
  padding: 0.25rem 0.7rem;
  border-radius: 8px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.t-legacy-hero-price-sub {
  font-size: 0.85rem;
  opacity: 0.9;
}
@media (max-width: 680px) {
  .t-legacy-hero-img { height: 320px; }
  .t-legacy-hero-overlay { left: 1.5rem; right: 1.5rem; bottom: 1rem; }
  .t-legacy-hero-archive-pill { top: 1rem; right: 2rem; }
}

/* Breadcrumbs */
.t-legacy-crumbs {
  max-width: 1000px;
  margin: 1.25rem auto 0.75rem;
  padding: 0 1.5rem;
  font-size: 0.78rem;
  color: var(--slate-500);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}
.t-legacy-crumbs a { color: var(--slate-600); text-decoration: none; }
.t-legacy-crumbs a:hover { color: var(--accent, #0e7490); text-decoration: underline; }
.t-legacy-crumb-sep { color: var(--slate-300); }
.t-legacy-crumb-current { color: var(--slate-700); font-weight: 500; }

/* Archive notice */
.t-legacy-archive-notice {
  max-width: 1000px;
  margin: 1rem 1.5rem 2rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, rgba(14,116,144,0.04), rgba(245,158,11,0.05));
  border-left: 4px solid var(--accent, #0e7490);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(15,23,42,0.04);
}
@media (min-width: 1032px) {
  .t-legacy-archive-notice { margin-left: auto; margin-right: auto; }
}
.t-legacy-archive-eye {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent, #0e7490);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.45rem;
}
.t-legacy-archive-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--slate-900);
  margin: 0 0 0.5rem;
  line-height: 1.3;
}
.t-legacy-archive-body {
  font-size: 0.92rem;
  color: var(--slate-600);
  line-height: 1.55;
  margin: 0 0 0.85rem;
}
.t-legacy-archive-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.t-legacy-archive-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.18s ease;
}
.t-legacy-archive-cta--primary {
  background: var(--accent, #0e7490);
  color: #fff;
}
.t-legacy-archive-cta--primary:hover {
  background: var(--slate-900);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(14,116,144,0.25);
}
.t-legacy-archive-cta--secondary {
  background: #fff;
  color: var(--slate-700);
  border: 1px solid var(--slate-200);
}
.t-legacy-archive-cta--secondary:hover {
  background: var(--slate-50);
  border-color: var(--slate-400);
}

/* Body + sticky right-rail ad (≥1200px); stacks narrower */
.t-legacy-body-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 1200px) {
  .t-legacy-body-wrap {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
  }
}
.t-legacy-ad-rail { display: none; }
@media (min-width: 1200px) {
  .t-legacy-ad-rail { display: block; }
  .t-legacy-ad-rail .ad-rail__inner { position: sticky; top: 24px; }
}

.t-legacy-body.post-content-legacy {
  max-width: 72ch;
  margin: 0;
  padding: 0;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--slate-700);
}
.t-legacy-body.post-content-legacy p { margin: 0 0 1.15rem; }
.t-legacy-body.post-content-legacy h2,
.t-legacy-body.post-content-legacy h3 { font-weight: 700; color: var(--slate-900); margin: 1.75rem 0 0.6rem; line-height: 1.3; }
.t-legacy-body.post-content-legacy h2 { font-size: 1.35rem; }
.t-legacy-body.post-content-legacy h3 { font-size: 1.1rem; }
.t-legacy-body.post-content-legacy img { max-width: 100%; height: auto; border-radius: 8px; margin: 0.75rem 0; }
.t-legacy-body.post-content-legacy ul,
.t-legacy-body.post-content-legacy ol { margin: 0 0 1.15rem 1.5rem; padding: 0; }
.t-legacy-body.post-content-legacy li { margin-bottom: 0.35rem; }
.t-legacy-body.post-content-legacy a { color: var(--accent, #0e7490); text-decoration: underline; text-underline-offset: 2px; }

.t-legacy-image-credit {
  margin-top: 2rem !important;
  padding-top: 1rem;
  border-top: 1px solid var(--slate-200);
  font-size: 0.74rem;
  color: var(--slate-500);
  letter-spacing: 0.01em;
}
.t-legacy-image-credit a { color: var(--slate-600); text-decoration: underline; text-underline-offset: 2px; }
.t-legacy-image-credit a:hover { color: var(--accent, #0e7490); }

/* AFS guide card */
.t-legacy-guide {
  max-width: 1000px;
  margin: 2.5rem auto 0;
  padding: 0 1.5rem;
}
.t-legacy-guide-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(15,23,42,0.05);
}
.t-legacy-guide-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15,23,42,0.08);
  border-color: var(--accent, #0e7490);
}
.t-legacy-guide-img {
  width: 100%;
  height: 100%;
  min-height: 140px;
  object-fit: cover;
}
.t-legacy-guide-body { padding: 1.1rem 1.3rem; display: flex; flex-direction: column; justify-content: center; }
.t-legacy-guide-eye {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent, #0e7490);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.35rem;
}
.t-legacy-guide-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.25rem;
}
.t-legacy-guide-meta {
  font-size: 0.82rem;
  color: var(--slate-500);
  margin-bottom: 0.7rem;
}
.t-legacy-guide-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent, #0e7490);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
@media (max-width: 560px) {
  .t-legacy-guide-card { grid-template-columns: 1fr; }
  .t-legacy-guide-img { height: 160px; min-height: 0; }
}

/* Carousel section already inherits from .recent-deals — just adjust container margin */
.t-legacy-carousel { max-width: 1200px; margin: 2.5rem auto 0; padding: 0 1.5rem; }

/* Newsletter masthead wrapper (content uses shared .af-masthead-card styles below) */
.t-legacy-masthead {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1.5rem;
  scroll-margin-top: 6rem;
}

/* ── Unscoped ad slot + masthead styles (copied from .v5-mockup-scoped rules
   in the style block above, so they apply on T-legacy's global markup too). ── */
.t-legacy .af-ad-slot { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.t-legacy .af-ad-slot__label {
  font-size: 0.58rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--slate-400, #94a3b8);
}
.t-legacy .af-ad-slot__frame {
  width: 100%; max-width: 728px; min-height: 90px;
  display: flex; align-items: center; justify-content: center;
  border-top: 1px dashed var(--slate-200, #e2e8f0);
  border-bottom: 1px dashed var(--slate-200, #e2e8f0);
  padding: 1rem 0.5rem; background: transparent;
}
.t-legacy .af-ad-slot__frame--wide { max-width: 970px; min-height: 250px; }
.t-legacy .af-ad-slot__frame--rail { max-width: 300px; min-height: 600px; }
.t-legacy .af-ad-slot__ph {
  font-size: 0.7rem; color: var(--slate-300, #cbd5e1);
  font-family: var(--font-mono, 'DM Mono', monospace);
}
@media (max-width: 640px) {
  .t-legacy .af-ad-slot__frame,
  .t-legacy .af-ad-slot__frame--wide { max-width: 320px; min-height: 250px; }
}

.t-legacy .af-masthead-card {
  background: linear-gradient(135deg, var(--slate-900, #0f172a) 0%, var(--slate-800, #1e293b) 100%);
  color: #fff;
  border-radius: 16px;
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 48px -20px rgba(10,22,40,0.45);
}
.t-legacy .af-masthead-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(14,116,144,0.35) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 90%, rgba(245,158,11,0.18) 0%, transparent 55%);
}
.t-legacy .af-masthead-card > * { position: relative; z-index: 1; }
.t-legacy .af-eye.af-masthead-eye {
  color: var(--accent, #0e7490);
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
}
.t-legacy .af-masthead-title {
  font-size: clamp(1.8rem, 5.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 0.65rem;
}
.t-legacy .af-masthead-title em {
  font-style: normal;
  color: var(--accent, #0e7490);
}
.t-legacy .af-masthead-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.72);
  max-width: 44ch;
  margin: 0 auto 1.75rem;
  line-height: 1.55;
}
.t-legacy .af-sub-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
  max-width: 440px;
  margin: 0 auto;
}
@media (max-width: 520px) { .t-legacy .af-sub-form { grid-template-columns: 1fr; } }
.t-legacy .af-sub-form input {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  color: #fff;
  outline: none;
  transition: border-color .2s, background .2s;
}
.t-legacy .af-sub-form input::placeholder { color: rgba(255,255,255,0.4); }
.t-legacy .af-sub-form input:focus { border-color: var(--accent, #0e7490); background: rgba(255,255,255,0.12); }
.t-legacy .af-sub-form button {
  background: var(--orange-500, #f97316);
  color: var(--slate-900, #0f172a);
  border: none;
  border-radius: 8px;
  padding: 0.85rem 1.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform .2s, background .2s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.35);
}
.t-legacy .af-sub-form button:hover { background: var(--orange-600, #ea580c); transform: translateY(-1px); }
.t-legacy .af-masthead-note {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.42);
  margin: 1rem 0 0;
  letter-spacing: 0.02em;
}
