/* Base & Typography */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --color-bg-dark: #0a1929;
  --color-bg-card: #102a43;
  --color-accent: #f59e0b;
  --color-accent-hover: #d97706;
  --color-sky: #2f9fff;
  --color-sky-hover: #1883f5;
  --dest-accent: #38bdf8;
}

html,
body {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* Subtle Card Hover */
.dest-card {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.dest-card:hover {
  transform: translateY(-4px);
}

/* Authentic 3:2 Postcard Presentation */
.postcard-wrapper {
  perspective: 1000px;
}

.postcard-frame {
  position: relative;
  aspect-ratio: 3 / 2;
  width: 100%;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.2);
  background: #020617;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.postcard-frame:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 35px 70px -15px rgba(0, 0, 0, 0.85), 0 0 35px -5px var(--dest-accent, rgba(56, 189, 248, 0.4));
}

.postcard-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Pulsing Live Clock Dot */
.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background-color: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Modal Backdrop Blur */
.modal-backdrop {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Accessible focus ring */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: 2px;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* -------------------------------------------------------------
   LIGHT MODE STYLING (html.light / [data-theme="light"])
   ------------------------------------------------------------- */
html.light body,
html[data-theme="light"] body {
  background-color: #f8fafc !important;
  color: #0f172a !important;
}

html.light header {
  background-color: rgba(255, 255, 255, 0.96) !important;
  border-bottom-color: #e2e8f0 !important;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

html.light .bg-slate-950 {
  background-color: #f8fafc !important;
}

html.light .bg-slate-900 {
  background-color: #ffffff !important;
}

html.light .bg-slate-900\/90,
html.light .bg-slate-900\/80,
html.light .bg-slate-900\/60,
html.light .bg-slate-900\/40,
html.light .bg-slate-800,
html.light .bg-slate-800\/90,
html.light .bg-slate-750 {
  background-color: #f1f5f9 !important;
}

html.light .border-slate-950,
html.light .border-slate-900,
html.light .border-slate-800,
html.light .border-slate-800\/90,
html.light .border-slate-800\/80,
html.light .border-slate-700,
html.light .border-slate-700\/80,
html.light .border-slate-700\/60,
html.light .border-slate-700\/50 {
  border-color: #e2e8f0 !important;
}

html.light .text-white {
  color: #0f172a !important;
}

html.light .text-slate-200,
html.light .text-slate-300 {
  color: #334155 !important;
}

html.light .text-slate-400 {
  color: #64748b !important;
}

html.light .text-sky-300 {
  color: #0284c7 !important;
}

html.light .dest-card {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
}

/* Hero Cinematic Isolation (Protects photo backdrops and text contrast on Homepage in Light mode) */
html.light .hero-cinematic {
  background-color: #020617 !important;
  color: #ffffff !important;
}

html.light .hero-cinematic .text-white {
  color: #ffffff !important;
}

html.light .hero-cinematic .text-slate-200 {
  color: #e2e8f0 !important;
}

html.light .hero-cinematic .text-slate-300 {
  color: #cbd5e1 !important;
}

html.light .hero-cinematic .text-slate-400 {
  color: #94a3b8 !important;
}

html.light .hero-cinematic .bg-slate-900\/90 {
  background-color: rgba(15, 23, 42, 0.92) !important;
}

html.light .hero-cinematic .border-slate-800,
html.light .hero-cinematic .border-slate-800\/90 {
  border-color: rgba(30, 41, 59, 0.9) !important;
}

/* -------------------------------------------------------------
   Destination Hero: Dual-Layer Widescreen Panorama & Map Texture Backdrop
   ------------------------------------------------------------- */
.hero-map-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

/* Panorama Photo Layer (Clearly visible, not overly dimmed) */
.hero-backdrop-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  animation: heroBackdropPhotoFade 16s ease-in-out infinite;
  will-change: opacity, transform;
}

.hero-backdrop-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Map Layer */
.hero-backdrop-map {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 2;
}

.hero-backdrop-map.hero-backdrop-map-loop {
  animation: heroBackdropMapFade 16s ease-in-out infinite;
  will-change: opacity;
}

.hero-map-iframe {
  position: absolute;
  width: 140%;
  height: 140%;
  top: -20%;
  left: -20%;
  border: 0;
  pointer-events: none;
  filter: grayscale(100%) invert(92%) hue-rotate(180deg) contrast(130%) brightness(72%);
  opacity: 0.48;
  transform: scale(1.02);
  transition: opacity 0.3s ease;
}

/* Looping Crossfade Keyframes: Photo (0-6s) -> Fade (6-8s) -> Map (8-14s) -> Fade (14-16s) */
@keyframes heroBackdropPhotoFade {
  0%, 37.5% {
    opacity: 0.78;
  }
  50%, 87.5% {
    opacity: 0;
  }
  100% {
    opacity: 0.78;
  }
}

@keyframes heroBackdropMapFade {
  0%, 37.5% {
    opacity: 0;
  }
  50%, 87.5% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* Directional Masks: Protect text and buttons while keeping skyline scenery vivid */
.hero-map-mask-left {
  background: radial-gradient(circle at 65% 45%, rgba(2, 6, 23, 0.30) 0%, rgba(2, 6, 23, 0.65) 55%, rgba(2, 6, 23, 0.92) 100%);
}

.hero-map-mask-vertical {
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.50) 0%, rgba(2, 6, 23, 0.10) 18%, transparent 32%, transparent 80%, #020617 100%);
}

/* Light Mode Overrides: Beautiful Scenic Photo & Map Transition with Lighter Text-Friendly Scrim */
html.light .hero-backdrop-photo {
  animation-name: heroBackdropPhotoFadeLight;
}

html.light .hero-backdrop-photo img {
  filter: brightness(105%) contrast(92%);
}

@keyframes heroBackdropPhotoFadeLight {
  0%, 37.5% {
    opacity: 0.55;
    transform: scale(1.0);
  }
  47%, 87.5% {
    opacity: 0.0;
    transform: scale(1.025);
  }
  97%, 100% {
    opacity: 0.55;
    transform: scale(1.0);
  }
}

@keyframes heroBackdropPhotoFadeLightMobile {
  0%, 37.5% {
    opacity: 0.45;
    transform: scale(1.0);
  }
  47%, 87.5% {
    opacity: 0.0;
    transform: scale(1.02);
  }
  97%, 100% {
    opacity: 0.45;
    transform: scale(1.0);
  }
}

html.light .hero-map-iframe {
  filter: grayscale(60%) contrast(115%) brightness(96%) !important;
  opacity: 0.38 !important;
}

html.light .hero-map-mask-left {
  background: radial-gradient(circle at 65% 45%, rgba(248, 250, 252, 0.25) 0%, rgba(248, 250, 252, 0.55) 55%, rgba(248, 250, 252, 0.90) 100%) !important;
}

html.light .hero-map-mask-vertical {
  background: linear-gradient(to bottom, rgba(248, 250, 252, 0.50) 0%, rgba(248, 250, 252, 0.15) 20%, transparent 35%, transparent 75%, #f8fafc 100%) !important;
}

@media (max-width: 1023px) {
  .hero-map-iframe {
    width: 160%;
    height: 160%;
    top: -30%;
    left: -30%;
    opacity: 0.28;
  }
  .hero-map-mask-left {
    background: radial-gradient(circle at 50% 35%, rgba(2, 6, 23, 0.20) 0%, rgba(2, 6, 23, 0.60) 65%, rgba(2, 6, 23, 0.95) 100%) !important;
  }
  .hero-map-mask-vertical {
    background: linear-gradient(to bottom, transparent 0%, transparent 22%, transparent 75%, #020617 100%) !important;
  }
  html.light .hero-backdrop-photo {
    animation-name: heroBackdropPhotoFadeLightMobile !important;
  }
  html.light .hero-map-iframe {
    opacity: 0.30 !important;
  }
  html.light .hero-map-mask-left {
    background: radial-gradient(circle at 50% 35%, rgba(248, 250, 252, 0.35) 0%, rgba(248, 250, 252, 0.65) 65%, rgba(248, 250, 252, 0.94) 100%) !important;
  }
  html.light .hero-map-mask-vertical {
    background: linear-gradient(to bottom, rgba(248, 250, 252, 0.55) 0%, rgba(248, 250, 252, 0.15) 22%, transparent 40%, transparent 75%, #f8fafc 100%) !important;
  }
}


/* -------------------------------------------------------------
   Destination Page: Did You Know Trivia Card
   ------------------------------------------------------------- */
.dest-trivia-card {
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

html.light .dest-trivia-card {
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 50%, #f8fafc 100%) !important;
  border-color: #bae6fd !important;
  box-shadow: 0 10px 25px -5px rgba(14, 165, 233, 0.12), 0 8px 10px -6px rgba(14, 165, 233, 0.08) !important;
}

html.light .dest-trivia-card p {
  color: #334155 !important;
}

html.light .dest-trivia-card span.text-slate-300 {
  color: #475569 !important;
}

html.light .dest-trivia-card a {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #0284c7 !important;
}

html.light .dest-trivia-card a:hover {
  background-color: #f0f9ff !important;
  border-color: #38bdf8 !important;
  color: #0369a1 !important;
}

/* -------------------------------------------------------------
   Destination Hero: Luminous Airy Styling (Light Mode)
   ------------------------------------------------------------- */
html.light .hero-destination {
  background: #ffffff !important;
  color: #0f172a !important;
  border-bottom: 1px solid #e2e8f0;
}

html.light .hero-destination .hero-dark-base {
  display: none !important;
}

html.light .hero-destination .hero-accent-glow {
  opacity: 0.10 !important;
  background: radial-gradient(circle, var(--dest-accent, #0284c7) 0%, transparent 65%) !important;
}

html.light .hero-destination .hero-grid-texture {
  opacity: 0.04 !important;
  background-image: radial-gradient(#0284c7 1px, transparent 1px) !important;
}

/* Light Mode Origin Modal Done Button & Footer */
html.light #origin-modal-done-btn {
  background-color: #f1f5f9 !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
}

html.light #origin-modal-done-btn:hover {
  background-color: #e2e8f0 !important;
  color: #0284c7 !important;
}

html.light .hero-destination h1 {
  color: #0f172a !important;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.95), 0 0 16px rgba(255, 255, 255, 0.9) !important;
}

html.light .hero-destination p {
  color: #334155 !important;
}

.hero-dest-description {
  font-weight: 700 !important;
  color: #f8fafc !important;
  text-shadow: 0 1px 3px rgba(2, 6, 23, 0.85);
}

html.light .hero-destination .hero-dest-description {
  color: #0f172a !important;
  font-weight: 800 !important;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.95), 0 0 12px rgba(255, 255, 255, 0.9) !important;
}

.hero-dest-disclaimer {
  font-weight: 600 !important;
  color: #cbd5e1 !important;
  text-shadow: 0 1px 2px rgba(2, 6, 23, 0.8);
}

html.light .hero-dest-disclaimer {
  color: #0f172a !important;
  font-weight: 700 !important;
  text-shadow: none !important;
}

html.light .hero-destination .dest-badge {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #0369a1 !important;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05) !important;
}

/* Hero Social / Star Rating Pill - Solid Dark High-Contrast in Both Themes */
.hero-rating-pill,
html.light .hero-destination .hero-rating-pill {
  background-color: rgba(2, 6, 23, 0.90) !important;
  border: 1.5px solid rgba(245, 158, 11, 0.5) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
}

.hero-rating-pill .fa-star,
html.light .hero-destination .hero-rating-pill .fa-star,
html.light .hero-destination .hero-rating-pill .text-amber-400 {
  color: #fbbf24 !important;
}

.hero-rating-score,
html.light .hero-destination .hero-rating-score {
  color: #ffffff !important;
  font-weight: 900 !important;
}

.hero-rating-text,
html.light .hero-destination .hero-rating-text {
  color: #e2e8f0 !important;
  font-weight: 600 !important;
}

html.light .hero-destination .time-badge {
  background-color: rgba(255, 255, 255, 0.95) !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.06) !important;
}

html.light .hero-destination .time-badge p {
  color: #1e293b !important;
}

html.light .hero-destination .time-badge span.text-white {
  color: #0f172a !important;
}

html.light .hero-destination .calc-link {
  color: #0f172a !important;
  background-color: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  padding: 4px 12px !important;
  border-radius: 9999px !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

html.light .hero-destination .calc-link:hover {
  background-color: #e2e8f0 !important;
  color: #0284c7 !important;
  border-color: #94a3b8 !important;
}

html.light .hero-destination .postcard-frame {
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(15, 23, 42, 0.08) !important;
  border: 4px solid #ffffff !important;
  background: #ffffff !important;
}

html.light .hero-destination .postcard-airmail-badge {
  background-color: rgba(255, 255, 255, 0.94) !important;
  border-color: #cbd5e1 !important;
  color: #0369a1 !important;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08) !important;
}

/* Reviews Section & Modal Light Mode */
html.light #reviews .bg-slate-900 {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05) !important;
}

html.light #reviews .bg-slate-950\/60,
html.light #reviews .bg-slate-950 {
  background-color: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

html.light #write-review-bar {
  border-top-color: #e2e8f0 !important;
}

html.light #write-review-bar .bg-slate-950\/70 {
  background-color: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

html.light #write-review-bar h3 {
  color: #0f172a !important;
}

html.light #write-review-bar p {
  color: #475569 !important;
}

html.light #review-modal .bg-slate-900,
html.light #review-success-modal .bg-slate-900 {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  color: #0f172a !important;
}

html.light #review-modal input,
html.light #review-modal textarea {
  background-color: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

html.light #review-modal label {
  color: #475569 !important;
}

/* -------------------------------------------------------------
   Sticky Bottom Call Bar Contrast (Fixes Hidden Phone Number)
   ------------------------------------------------------------- */
#sticky-call-bar {
  background-color: rgba(2, 6, 23, 0.96) !important;
  border-top-color: rgba(30, 41, 59, 0.9) !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease !important;
  will-change: transform, opacity;
}

#sticky-call-bar.translate-y-full {
  transform: translateY(100%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

#sticky-call-bar.translate-y-0 {
  transform: translateY(0) !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

#sticky-call-bar .sticky-phone-link {
  color: #f59e0b !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em;
}

#sticky-call-bar .sticky-phone-link:hover {
  color: #fbbf24 !important;
}

#sticky-call-bar .sticky-headline {
  color: #ffffff !important;
}

#sticky-call-bar .sticky-subtext {
  color: #94a3b8 !important;
}

html.light #sticky-call-bar {
  background-color: rgba(255, 255, 255, 0.98) !important;
  border-top-color: #e2e8f0 !important;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08) !important;
}

html.light #sticky-call-bar .sticky-phone-link {
  color: #0f172a !important;
  font-weight: 900 !important;
}

html.light #sticky-call-bar .sticky-phone-link:hover {
  color: #0284c7 !important;
}

html.light #sticky-call-bar .sticky-headline {
  color: #0f172a !important;
}

html.light #sticky-call-bar .sticky-subtext {
  color: #64748b !important;
}

/* -------------------------------------------------------------
   Button Skins in Light Mode (Show More Destinations & Reviews)
   ------------------------------------------------------------- */
html.light #show-more-btn,
html.light #toggle-more-reviews-btn {
  background-color: #ffffff !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05) !important;
}

html.light #show-more-btn:hover,
html.light #toggle-more-reviews-btn:hover {
  background-color: #f1f5f9 !important;
  border-color: #94a3b8 !important;
  color: #0284c7 !important;
}

html.light #show-more-btn svg,
html.light #toggle-more-reviews-btn svg {
  color: #0284c7 !important;
}

html.light .postcard-frame {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  background: #020617 !important;
}

/* Suppress duplicate native browser clear button on search inputs */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: none !important;
}

html.light input[type="search"],
html.light select {
  background-color: #ffffff !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
}

html.light input[type="search"]::placeholder {
  color: #94a3b8 !important;
}

#theme-switcher {
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.theme-toggle-btn {
  cursor: pointer;
  user-select: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.theme-toggle-btn.active {
  background-color: #0284c7 !important;
  color: #ffffff !important;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
}

html.light #theme-switcher {
  background-color: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
}

/* -------------------------------------------------------------
   Destinations Directory & Concierge Banner in Light Mode
   ------------------------------------------------------------- */
html.light #destinations {
  background-color: #f8fafc !important;
  border-top-color: #e2e8f0 !important;
}

html.light #destinations h2 {
  color: #0f172a !important;
}

html.light #destinations p.text-slate-300 {
  color: #475569 !important;
}

html.light #destinations .dest-card {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -2px rgba(0, 0, 0, 0.04) !important;
}

html.light #destinations .dest-card p {
  color: #475569 !important;
}

html.light #destinations .border-slate-850 {
  border-color: #f1f5f9 !important;
}

/* Regional Filter Pills & Category Buttons in Light Mode */
html.light .region-filter-btn {
  background-color: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #334155 !important;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.06) !important;
}

html.light .region-filter-btn:hover {
  background-color: #f1f5f9 !important;
  border-color: #0284c7 !important;
  color: #0284c7 !important;
}

html.light .region-filter-btn .pill-counter {
  background-color: #e2e8f0 !important;
  color: #475569 !important;
}

html.light .region-filter-btn.active {
  background-color: #0284c7 !important;
  border-color: #0284c7 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px -2px rgba(2, 132, 199, 0.3) !important;
}

html.light .region-filter-btn.active:hover {
  background-color: #0369a1 !important;
  border-color: #0369a1 !important;
  color: #ffffff !important;
}

html.light .region-filter-btn.active .pill-counter {
  background-color: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}

/* Sub-Region Filter Pills (Middle of Page Search/Filter) */
html.light .sub-region-pill {
  background-color: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #334155 !important;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04) !important;
}

html.light .sub-region-pill:hover {
  background-color: #e0f2fe !important;
  border-color: #0284c7 !important;
  color: #0284c7 !important;
}

html.light .sub-region-pill .sub-counter {
  background-color: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #475569 !important;
}

html.light .sub-region-pill.active {
  background-color: #e0f2fe !important;
  border-color: #0284c7 !important;
  color: #0369a1 !important;
  font-weight: 700 !important;
  box-shadow: 0 1px 4px 0 rgba(2, 132, 199, 0.15) !important;
}

html.light .sub-region-pill.active:hover {
  background-color: #bae6fd !important;
  border-color: #0284c7 !important;
  color: #0284c7 !important;
}

html.light .sub-region-pill.active .sub-counter {
  background-color: #0284c7 !important;
  border: 1px solid #0284c7 !important;
  color: #ffffff !important;
}

/* Grid Search Toggle Button */
html.light #grid-search-toggle-btn {
  background-color: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #475569 !important;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.06) !important;
}

html.light #grid-search-toggle-btn:hover {
  background-color: #e0f2fe !important;
  border-color: #0284c7 !important;
  color: #0284c7 !important;
}

html.light #grid-search-toggle-btn.bg-sky-500 {
  background-color: #0284c7 !important;
  border-color: #0284c7 !important;
  color: #ffffff !important;
}

/* Inline Grid Destination Filter Input */
html.light #grid-destination-filter {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.04) !important;
}

html.light #grid-destination-filter:focus {
  border-color: #0284c7 !important;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
}

html.light #grid-destination-filter::placeholder {
  color: #94a3b8 !important;
}

html.light #grid-search-clear-btn {
  color: #94a3b8 !important;
}

html.light #grid-search-clear-btn:hover {
  color: #0f172a !important;
}

/* Search Feedback & Reset */
html.light #search-feedback-text {
  color: #0284c7 !important;
}

html.light #reset-search-btn {
  color: #64748b !important;
}

html.light #reset-search-btn:hover {
  color: #0284c7 !important;
}

/* Show More Options Button */
html.light #show-more-btn {
  background-color: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: 0 2px 5px -1px rgba(0, 0, 0, 0.08) !important;
}

html.light #show-more-btn:hover {
  background-color: #f1f5f9 !important;
  border-color: #0284c7 !important;
  color: #0284c7 !important;
}

/* No Results Clear Button */
html.light #no-results-clear-btn {
  color: #64748b !important;
}

html.light #no-results-clear-btn:hover {
  color: #0f172a !important;
}

html.light #unlisted-destination-banner {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04) !important;
}

html.light #unlisted-destination-banner h3 {
  color: #0f172a !important;
}

html.light #unlisted-destination-banner p.text-slate-300 {
  color: #475569 !important;
}

html.light #unlisted-destination-banner p.text-slate-400 {
  color: #64748b !important;
}

html.light #unlisted-destination-banner a.text-white {
  color: #0284c7 !important;
}

html.light #no-results-box {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08) !important;
}

html.light #no-results-box h3 {
  color: #0f172a !important;
}

html.light #no-results-box p.text-slate-300 {
  color: #475569 !important;
}

/* -------------------------------------------------------------
   Brand Philosophy (3 Columns) in Light Mode
   ------------------------------------------------------------- */
html.light #value {
  background-color: #f1f5f9 !important;
  border-top-color: #e2e8f0 !important;
}

html.light #value h2 {
  color: #0f172a !important;
}

html.light #value p.text-slate-300 {
  color: #475569 !important;
}

html.light #value .bg-slate-900\/60 {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
}

html.light #value .bg-slate-900\/60 h3 {
  color: #0f172a !important;
}

html.light #value .bg-slate-900\/60 p {
  color: #64748b !important;
}

/* -------------------------------------------------------------
   Trust & Transparency Section (Visual Contrast & Depth)
   ------------------------------------------------------------- */
#trust.trust-section {
  background: radial-gradient(circle at 50% 0%, rgba(14, 165, 233, 0.08) 0%, transparent 65%), #081120 !important;
  border-top: 1px solid rgba(56, 189, 248, 0.2) !important;
  border-bottom: 1px solid rgba(30, 41, 59, 0.8) !important;
}

#trust.trust-section .trust-card,
#value .trust-card,
.trust-card {
  background-color: rgba(11, 20, 38, 0.92) !important;
  border: 1px solid rgba(51, 65, 85, 0.7) !important;
}

#trust.trust-section .trust-card:hover,
#value .trust-card:hover,
.trust-card:hover {
  border-color: rgba(56, 189, 248, 0.4) !important;
  transform: translateY(-2px);
}

html.light #trust.trust-section {
  background: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

html.light #trust.trust-section h2 {
  color: #0f172a !important;
}

html.light #trust.trust-section p.text-slate-300 {
  color: #475569 !important;
}

html.light #trust.trust-section .trust-card,
html.light #value .trust-card,
html.light .trust-card {
  background-color: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.06), 0 2px 4px -1px rgba(0, 0, 0, 0.04) !important;
}

html.light #trust.trust-section .trust-card h3 {
  color: #0f172a !important;
  font-weight: 800 !important;
}

html.light #trust.trust-section .trust-card p {
  color: #334155 !important;
  font-weight: 500 !important;
  line-height: 1.65 !important;
}

/* Brand Logo Switching & Proportional Aspect Ratio */
.brand-logo-dark,
.brand-logo-white {
  height: 38px !important;
  width: auto !important;
  max-height: 38px !important;
  max-width: none !important;
  object-fit: contain !important;
  aspect-ratio: auto !important;
}

.brand-logo-dark {
  display: block;
}
.brand-logo-white {
  display: none !important;
}

html.light .brand-logo-dark {
  display: none !important;
}
html.light .brand-logo-white {
  display: block !important;
}

/* Footer Brand Logo Theme Switching */
footer .footer-brand-logo .brand-logo-dark {
  display: block;
}
footer .footer-brand-logo .brand-logo-white {
  display: none !important;
}

html.light footer .footer-brand-logo .brand-logo-dark {
  display: none !important;
}
html.light footer .footer-brand-logo .brand-logo-white {
  display: block !important;
}

html.light footer .text-sky-400 {
  color: #0284c7 !important;
}

/* -------------------------------------------------------------
   Search Autocomplete Floating Panel (Theme-Compatible Solid Opaque Background)
   ------------------------------------------------------------- */
#header-search-results {
  background-color: #0b1329 !important; /* 100% solid deep dark slate navy */
  border: 1px solid #1e293b !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
  scrollbar-width: thin;
  scrollbar-color: #334155 #0b1329;
}

#header-search-results::-webkit-scrollbar {
  width: 6px;
}

#header-search-results::-webkit-scrollbar-track {
  background: #0b1329;
}

#header-search-results::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 9999px;
}

#header-search-results::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

#search-results-footer {
  background-color: #070d1e !important;
  border-top: 1px solid #1e293b !important;
}

.search-result-item {
  background-color: #0f1c3a;
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.search-result-item:hover,
.search-result-item.bg-slate-900,
.search-result-item[aria-selected="true"] {
  background-color: #1e293b !important;
  border-color: rgba(56, 189, 248, 0.35) !important;
}

/* Mobile search dropdown: cleanly anchored directly beneath search input */
@media (max-width: 639px) {
  #header-search-results {
    position: absolute !important;
    top: calc(100% + 0.5rem) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: none !important;
    margin-top: 0 !important;
    max-height: calc(100vh - 120px) !important;
    z-index: 60 !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
  }
}

/* Light Theme Styling for Search Autocomplete Panel */
html.light #header-search-results {
  background-color: #ffffff !important; /* 100% solid clean pure white */
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 20px 30px -5px rgba(0, 0, 0, 0.16), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
  scrollbar-color: #cbd5e1 #ffffff;
}

html.light #header-search-results::-webkit-scrollbar-track {
  background: #ffffff;
}

html.light #header-search-results::-webkit-scrollbar-thumb {
  background: #cbd5e1;
}

html.light #header-search-results::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

html.light .search-result-item {
  background-color: #ffffff;
  border: 1px solid #f1f5f9;
}

html.light .search-result-item:hover,
html.light .search-result-item.bg-slate-900,
html.light .search-result-item[aria-selected="true"] {
  background-color: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
}

html.light .search-result-item span.text-white {
  color: #0f172a !important;
}

html.light .search-result-item span.text-slate-400 {
  color: #64748b !important;
}

html.light #search-results-footer {
  background-color: #f8fafc !important;
  border-top: 1px solid #e2e8f0 !important;
}

html.light .theme-toggle-btn:not(.active) {
  color: #64748b !important;
}

html.light .theme-toggle-btn:not(.active):hover {
  color: #0f172a !important;
  background-color: #e2e8f0 !important;
}

/* Region Filter Buttons & Counter Badges in Light Mode (Rule #11, High Contrast) */
html.light .region-filter-btn:not(.active) {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #1e293b !important;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

html.light .region-filter-btn:not(.active):hover {
  background-color: #f8fafc !important;
  border-color: #0ea5e9 !important;
  color: #0284c7 !important;
}

/* High-contrast readable counter badge in Light Mode */
html.light .region-filter-btn:not(.active) .pill-counter {
  background-color: #e0f2fe !important;
  color: #0369a1 !important;
  border: 1px solid #bae6fd !important;
  font-weight: 900 !important;
}

html.light .region-filter-btn.active .pill-counter {
  background-color: rgba(255, 255, 255, 0.28) !important;
  color: #ffffff !important;
  font-weight: 900 !important;
}

/* Sleek Right-Aligned Card Link in Light Mode */
html.light .dest-card-link {
  color: #0284c7 !important;
}

html.light .dest-card-link:hover {
  color: #0369a1 !important;
}

html.light .prose-invert {
  color: #334155 !important;
}

/* Ensure buttons with explicit branding retain high contrast */
html.light .bg-amber-500 {
  background-color: #f59e0b !important;
  color: #0f172a !important;
}

html.light .bg-sky-500 {
  background-color: #0ea5e9 !important;
  color: #ffffff !important;
}

/* Scrollbar removal utility for swipe tracks */
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Touch-swipe carousel container for mobile navigation */
.touch-swipe-track {
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

.swipe-dot {
  cursor: pointer;
  border: none;
  outline: none;
  padding: 0;
}

html.light .touch-swipe-track .dest-swipe-card {
  background-color: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

html.light .swipe-dot.active {
  background-color: #0284c7 !important;
}

html.light .swipe-dot:not(.active) {
  background-color: #cbd5e1 !important;
}

/* Reduced motion consideration (Rule #28) */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .dest-card,
  .dest-card:hover,
  .postcard-frame,
  .postcard-frame:hover {
    transform: none !important;
    transition: none !important;
  }
  .pulse-dot {
    animation: none !important;
  }
}

/* -------------------------------------------------------------
   Destination Flight Tools (2-Tab Estimator & Routes) in Light Mode
   ------------------------------------------------------------- */
html.light #flight-estimator {
  background-color: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
}

html.light #flight-estimator .bg-slate-950 {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.06), 0 8px 10px -6px rgba(0, 0, 0, 0.04) !important;
}

html.light #flight-estimator .bg-slate-900\/60 {
  background-color: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

html.light #flight-estimator .dest-tab-btn:not(.active) {
  background-color: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #334155 !important;
}

html.light #flight-estimator .dest-tab-btn:not(.active):hover {
  background-color: #f1f5f9 !important;
  border-color: #0284c7 !important;
  color: #0284c7 !important;
}

html.light #flight-estimator .dest-tab-btn.active {
  background-color: #0284c7 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 6px -1px rgba(2, 132, 199, 0.25) !important;
}

html.light #flight-estimator .border-slate-800 {
  border-color: #e2e8f0 !important;
}

html.light #flight-estimator h3 {
  color: #0f172a !important;
}

html.light #flight-estimator p.text-slate-400 {
  color: #64748b !important;
}

html.light #flight-estimator label {
  color: #334155 !important;
}

html.light #flight-estimator #origin-select {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

html.light #flight-estimator #detect-location-btn {
  background-color: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #334155 !important;
}

html.light #flight-estimator #detect-location-btn:hover {
  background-color: #f1f5f9 !important;
  border-color: #0284c7 !important;
  color: #0284c7 !important;
}

html.light #flight-estimator #est-flight-time {
  color: #0284c7 !important;
}

html.light #flight-estimator #est-air-distance {
  color: #0f172a !important;
}

html.light #flight-estimator #origin-note-city {
  color: #334155 !important;
}

html.light #flight-estimator .dest-route-card {
  background-color: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

html.light #flight-estimator .dest-route-card:hover {
  border-color: #cbd5e1 !important;
  background-color: #ffffff !important;
}

html.light #flight-estimator .dest-route-card span.text-white {
  color: #0f172a !important;
}

html.light #flight-estimator .dest-route-card:hover span.text-white {
  color: #0284c7 !important;
}

/* -------------------------------------------------------------
   Flight Duration & Journey Blueprint in Light Mode
   (Eliminates dark box artifacts, ensures 100% white theme compatibility)
   ------------------------------------------------------------- */
/* Feeder Flight & Long-Haul Flight Stage Cards */
html.light #flight-estimator #timeline-stages-wrap .bg-slate-950,
html.light .corridor-timeline-wrap .bg-slate-950 {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

html.light #flight-estimator #timeline-stages-wrap #leg1-title,
html.light #flight-estimator #timeline-stages-wrap #leg2-title,
html.light .corridor-timeline-wrap h3,
html.light .corridor-timeline-wrap h4 {
  color: #0f172a !important;
}

html.light #flight-estimator .bg-sky-500\/20 {
  background-color: #e0f2fe !important;
  color: #0284c7 !important;
}

html.light #flight-estimator .bg-amber-500\/20 {
  background-color: #fef3c7 !important;
  color: #d97706 !important;
}

html.light #flight-estimator .text-sky-400 {
  color: #0284c7 !important;
}

html.light #flight-estimator .text-amber-400 {
  color: #b45309 !important;
}

/* Connection Node: Layover Transfer Window Box */
html.light #flight-estimator .bg-slate-900\/90,
html.light #timeline-stages-wrap .bg-slate-900\/90,
html.light .corridor-timeline-wrap .bg-slate-950\/80 {
  background-color: #fffbeb !important;
  border-color: #fef08a !important;
  color: #92400e !important;
}

html.light #flight-estimator .bg-slate-900\/90 span.text-white,
html.light #timeline-stages-wrap .bg-slate-900\/90 span.text-white,
html.light .corridor-timeline-wrap .bg-slate-950\/80 span.text-white {
  color: #0f172a !important;
}

html.light #flight-estimator #layover-pill,
html.light #timeline-stages-wrap #layover-pill,
html.light .corridor-timeline-wrap .layover-pill {
  background-color: #fde68a !important;
  border-color: #fcd34d !important;
  color: #78350f !important;
  font-weight: 800 !important;
}

/* Direct Gateway Access Option Card in Light Mode */
html.light #flight-estimator .bg-emerald-950\/40,
html.light .bg-emerald-950\/40 {
  background-color: #ecfdf5 !important;
  border-color: #a7f3d0 !important;
  color: #065f46 !important;
}

html.light #flight-estimator .bg-emerald-950\/40 p,
html.light #flight-estimator .bg-emerald-950\/40 span,
html.light .bg-emerald-950\/40 p,
html.light .bg-emerald-950\/40 span {
  color: #065f46 !important;
}

html.light #flight-estimator .bg-emerald-950\/40 strong,
html.light .bg-emerald-950\/40 strong {
  color: #064e3b !important;
}

html.light #flight-estimator .bg-emerald-500\/20,
html.light .bg-emerald-500\/20 {
  background-color: #d1fae5 !important;
  color: #059669 !important;
}

html.light #flight-estimator .text-emerald-400,
html.light .text-emerald-400 {
  color: #059669 !important;
}

html.light #flight-estimator .text-emerald-300,
html.light .text-emerald-300 {
  color: #047857 !important;
}

/* Luggage Transfer & Connection Guarantee (Collapsible Tips) */
.luggage-tips-toggle summary::-webkit-details-marker {
  display: none !important;
}

.luggage-tips-toggle summary {
  list-style: none !important;
}

html.light #flight-estimator .bg-sky-950\/40,
html.light .bg-sky-950\/40,
html.light .luggage-tips-toggle {
  background-color: #f0f9ff !important;
  border-color: #bae6fd !important;
  color: #0369a1 !important;
}

html.light .luggage-tips-toggle summary:hover {
  background-color: #e0f2fe !important;
}

html.light .luggage-tips-toggle summary span,
html.light .luggage-tips-toggle summary i {
  color: #0284c7 !important;
}

html.light #flight-estimator .bg-sky-950\/40 strong,
html.light .bg-sky-950\/40 strong,
html.light .luggage-tips-toggle strong {
  color: #0c4a6e !important;
}

html.light #flight-estimator .bg-sky-950\/40 i,
html.light .bg-sky-950\/40 i {
  color: #0284c7 !important;
}

html.light .luggage-tips-toggle div {
  border-top-color: #bae6fd !important;
  color: #0369a1 !important;
}

/* -------------------------------------------------------------
   Reciprocity Payback Banner in Light Mode
   (Warm, high-contrast, beautiful white theme aesthetic)
   ------------------------------------------------------------- */
html.light #reciprocity-conversion-banner,
html.light .reciprocity-banner,
html.light section.bg-gradient-to-br.from-amber-500\/15 {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 40%, #ffffff 100%) !important;
  border-color: #fde68a !important;
  box-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.04) !important;
}

html.light #reciprocity-conversion-banner h4,
html.light #reciprocity-conversion-banner h3,
html.light .reciprocity-banner h4,
html.light .reciprocity-banner h3,
html.light section.bg-gradient-to-br.from-amber-500\/15 h3,
html.light section.bg-gradient-to-br.from-amber-500\/15 h4 {
  color: #0f172a !important;
}

html.light #reciprocity-conversion-banner p,
html.light .reciprocity-banner p,
html.light section.bg-gradient-to-br.from-amber-500\/15 p {
  color: #475569 !important;
}

html.light #reciprocity-conversion-banner .bg-amber-500\/20,
html.light .reciprocity-banner .bg-amber-500\/20,
html.light section.bg-gradient-to-br.from-amber-500\/15 .bg-amber-500\/20 {
  background-color: #fef3c7 !important;
  border-color: #fde047 !important;
  color: #b45309 !important;
  font-weight: 800 !important;
}

html.light #reciprocity-conversion-banner a[data-call-cta],
html.light .reciprocity-banner a[data-call-cta],
html.light section.bg-gradient-to-br.from-amber-500\/15 a[data-call-cta] {
  background: linear-gradient(to right, #f59e0b, #d97706) !important;
  color: #0f172a !important;
  font-weight: 900 !important;
  box-shadow: 0 8px 20px -4px rgba(245, 158, 11, 0.4) !important;
}

html.light #reciprocity-conversion-banner #btn-open-call-later,
html.light .reciprocity-banner [data-open-call-later],
html.light section.bg-gradient-to-br.from-amber-500\/15 [data-open-call-later] {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #1e293b !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06) !important;
}

html.light #reciprocity-conversion-banner #btn-open-call-later:hover,
html.light .reciprocity-banner [data-open-call-later]:hover,
html.light section.bg-gradient-to-br.from-amber-500\/15 [data-open-call-later]:hover {
  background-color: #f8fafc !important;
  border-color: #0284c7 !important;
  color: #0284c7 !important;
}

/* -------------------------------------------------------------
   Destination Maps & Logistics Area (#airport-map) in Light Mode
   (Eliminates Dark Box Artifacts in White Theme - Image 4)
   ------------------------------------------------------------- */
html.light #airport-map {
  background-color: #f8fafc !important;
  border-top-color: #e2e8f0 !important;
}

html.light #airport-map h3 {
  color: #0f172a !important;
}

html.light #airport-map p.text-slate-300 {
  color: #475569 !important;
}

/* The Map & Street View card outer wrappers */
html.light #airport-map .bg-slate-900 {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.06), 0 8px 10px -6px rgba(0, 0, 0, 0.04) !important;
}

/* Map & Street View Top Header Bars (were dark box: bg-slate-950/80) */
html.light #airport-map .bg-slate-950\/80,
html.light .bg-slate-950\/80 {
  background-color: #f8fafc !important;
  border-bottom-color: #e2e8f0 !important;
}

/* Map & Street View Bottom Footer Bars (were dark box: bg-slate-950/90) */
html.light #airport-map .bg-slate-950\/90,
html.light .bg-slate-950\/90 {
  background-color: #f8fafc !important;
  border-top-color: #e2e8f0 !important;
}

/* Header & Footer text in Map Cards */
html.light #airport-map .bg-slate-950\/80 span.text-white {
  color: #0f172a !important;
}

html.light #airport-map .bg-slate-950\/90 {
  color: #64748b !important;
}

html.light #airport-map .bg-slate-950\/90 span {
  color: #64748b !important;
}

/* Iframe background container (was bg-slate-950) */
html.light #airport-map .aspect-video.bg-slate-950,
html.light #airport-map .aspect-\[16\/10\].bg-slate-950 {
  background-color: #e2e8f0 !important;
}

/* Airport Logistics Card below maps */
html.light #airport-map h4.text-white {
  color: #0f172a !important;
}

html.light #airport-map .text-sky-300 {
  color: #0284c7 !important;
}

html.light #airport-map .text-slate-400 {
  color: #64748b !important;
}

html.light #airport-map .text-slate-300 {
  color: #475569 !important;
}

/* Transit connection pill tags */
html.light #airport-map span.bg-slate-950 {
  background-color: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #1e293b !important;
}

/* Global Tailwind opacity fallbacks for light mode to prevent any remaining dark boxes */
html.light .bg-slate-950\/90,
html.light .bg-slate-950\/80,
html.light .bg-slate-950\/70,
html.light .bg-slate-950\/60,
html.light .bg-slate-950\/50 {
  background-color: #f8fafc !important;
}

/* -------------------------------------------------------------
   Destination Cards: Photo Overlay Country & City Name
   (ALWAYS PURE WHITE with drop shadow in BOTH Light and Dark themes)
   ------------------------------------------------------------- */
.dest-card .dest-card-country,
.dest-card .dest-card-title,
.dest-swipe-card .dest-card-country,
.dest-swipe-card .dest-card-title,
html.light .dest-card .dest-card-country,
html.light .dest-card .dest-card-title,
html.light .dest-swipe-card .dest-card-country,
html.light .dest-swipe-card .dest-card-title {
  color: #ffffff !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.95), 0 1px 2px rgba(0, 0, 0, 0.9) !important;
}

.dest-card:hover .dest-card-title,
.dest-swipe-card:hover .dest-card-title,
html.light .dest-card:hover .dest-card-title,
html.light .dest-swipe-card:hover .dest-card-title {
  color: #7dd3fc !important; /* sky-300 on hover */
}

/* -------------------------------------------------------------
   Hero Social Proof Rating Pill (Fixed contrast in all themes)
   ------------------------------------------------------------- */
.hero-social-pill,
html.light .hero-social-pill,
html.light .hero-cinematic .hero-social-pill {
  background-color: rgba(2, 6, 23, 0.85) !important;
  border: 1px solid rgba(251, 191, 36, 0.5) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

.hero-social-score,
html.light .hero-social-score,
html.light .hero-cinematic .hero-social-score {
  color: #ffffff !important;
}

.hero-social-text,
html.light .hero-social-text,
html.light .hero-cinematic .hero-social-text {
  color: #e2e8f0 !important;
}

/* -------------------------------------------------------------
   Hero Secondary Button & Review Card (Light Mode Support)
   In Dark Mode: keeps dark aesthetic.
   In Light Mode: styles button and review card as crisp white.
   ------------------------------------------------------------- */
html.light #hero-explore-btn {
  background-color: #ffffff !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
}

html.light #hero-explore-btn:hover {
  background-color: #f8fafc !important;
  border-color: #0284c7 !important;
  color: #0284c7 !important;
}

html.light #hero-explore-btn svg {
  color: #0284c7 !important;
}

html.light #hero-review-card {
  background-color: rgba(255, 255, 255, 0.95) !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.22), 0 4px 6px -4px rgba(0, 0, 0, 0.1) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

html.light #hero-review-card .hero-review-author {
  color: #0f172a !important;
}

html.light #hero-review-card .hero-review-route {
  color: #0284c7 !important;
}

html.light #hero-review-card .hero-review-text {
  color: #334155 !important;
}

html.light #hero-review-card span.text-slate-400 {
  color: #94a3b8 !important;
}

/* -------------------------------------------------------------
   Hero City Callout Badge (Unified Dark Aesthetic Across Themes)
   Keeps badge dark, elegant, and harmonious with the hero section
   without drawing excessive attention or competing with hero CTAs.
   ------------------------------------------------------------- */
#hero-city-badge-link {
  background-color: rgba(2, 6, 23, 0.88) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6), 0 8px 10px -6px rgba(0, 0, 0, 0.4) !important;
}

#hero-city-badge-link:hover {
  background-color: rgba(15, 23, 42, 0.95) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
}

#hero-city-callout .city-text,
#hero-city-callout .city-text span,
#hero-city-callout .city-text .font-bold,
#hero-city-callout .city-text .text-white {
  color: #ffffff !important;
}

#hero-city-callout .city-text .text-slate-300,
#hero-city-callout .city-text .text-slate-400 {
  color: #cbd5e1 !important;
}

#hero-city-callout .city-action,
#hero-city-callout .city-action span,
#hero-city-callout .city-action .text-sky-400 {
  color: #38bdf8 !important;
}

#hero-next-slide-btn {
  background-color: rgba(2, 6, 23, 0.88) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6) !important;
}

#hero-next-slide-btn:hover {
  background-color: rgba(15, 23, 42, 0.95) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
}

#hero-next-slide-btn svg {
  color: #38bdf8 !important;
}

#hero-next-slide-btn:hover svg {
  color: #ffffff !important;
}

#hero-badge-progress {
  background-color: rgba(255, 255, 255, 0.15) !important;
}

#hero-badge-progress-bar {
  background: linear-gradient(to right, #38bdf8, #f59e0b) !important;
}

/* Explicitly ensure html.light does NOT override hero badge back to white */
html.light #hero-city-badge-link {
  background-color: rgba(2, 6, 23, 0.88) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6) !important;
}

html.light #hero-city-badge-link:hover {
  background-color: rgba(15, 23, 42, 0.95) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
}

html.light #hero-city-callout .city-text,
html.light #hero-city-callout .city-text span,
html.light #hero-city-callout .city-text .font-bold,
html.light #hero-city-callout .city-text .text-white {
  color: #ffffff !important;
}

html.light #hero-city-callout .city-text .text-slate-300,
html.light #hero-city-callout .city-text .text-slate-400 {
  color: #cbd5e1 !important;
}

html.light #hero-city-callout .city-action,
html.light #hero-city-callout .city-action span,
html.light #hero-city-callout .city-action .text-sky-400 {
  color: #38bdf8 !important;
}

html.light #hero-next-slide-btn {
  background-color: rgba(2, 6, 23, 0.88) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6) !important;
}

html.light #hero-next-slide-btn:hover {
  background-color: rgba(15, 23, 42, 0.95) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
}

html.light #hero-next-slide-btn svg {
  color: #38bdf8 !important;
}

html.light #hero-next-slide-btn:hover svg {
  color: #ffffff !important;
}

html.light #hero-badge-progress {
  background-color: rgba(255, 255, 255, 0.15) !important;
}

html.light #hero-badge-progress-bar {
  background: linear-gradient(to right, #38bdf8, #f59e0b) !important;
}

/* -------------------------------------------------------------
   All Destinations SEO Directory (200+ Destinations)
   ------------------------------------------------------------- */
/* Suppress any focus outline/border when highlighted/clicked */
.seo-group-trigger,
.seo-group-trigger:focus,
.seo-group-trigger:focus-visible,
.seo-group-trigger:active {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

html.light #all-destinations-directory {
  background-color: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

html.light #all-destinations-directory h2,
html.light #all-destinations-directory h3,
html.light #all-destinations-directory h4 {
  color: #0f172a !important;
}

html.light #all-destinations-directory p {
  color: #475569 !important;
}

html.light .seo-group-card {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05) !important;
}

html.light .seo-group-card:hover {
  border-color: #cbd5e1 !important;
}

/* Toggle View/Close button in Light Mode */
html.light .seo-group-toggle-btn {
  background-color: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #0284c7 !important;
}

html.light .seo-group-trigger:hover .seo-group-toggle-btn {
  background-color: #e2e8f0 !important;
  border-color: #94a3b8 !important;
  color: #0369a1 !important;
}

html.light .seo-group-body {
  border-top-color: #e2e8f0 !important;
}

/* 2-Line Destination Items in Light Mode */
html.light .seo-group-body li a {
  background-color: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

html.light .seo-group-body li a:hover {
  background-color: #f0f9ff !important;
  border-color: #38bdf8 !important;
}

html.light .seo-group-body li a span.text-white {
  color: #0f172a !important;
}

html.light .seo-group-body li a span.text-slate-400 {
  color: #64748b !important;
}

html.light .seo-group-body li a span.text-sky-400 {
  color: #0284c7 !important;
}

html.light .seo-group-body .border-t {
  border-color: #e2e8f0 !important;
}

html.light .seo-group-body span.text-slate-400 {
  color: #64748b !important;
}

html.light #all-destinations-directory .from-sky-950\/60 {
  background: linear-gradient(to right, #f0f9ff, #ffffff, #f8fafc) !important;
  border-color: #bae6fd !important;
}

/* -------------------------------------------------------------
   Header Styling: Initial Full Transparent in Hero & Scrolled Solid Black
   ------------------------------------------------------------- */
#site-header {
  background-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

#site-header.header-scrolled {
  background-color: rgba(2, 6, 23, 0.65) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 24px -2px rgba(0, 0, 0, 0.35) !important;
}

html.light #site-header {
  background-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

html.light #site-header.header-scrolled {
  background-color: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08) !important;
}

/* Home Page & Ranking Page Hero: Display white-text logo over deep photo in light mode, switching to dark logo when scrolled */
html.light body.page-home #site-header:not(.header-scrolled) .brand-logo-dark,
html.light body.page-ranking #site-header:not(.header-scrolled) .brand-logo-dark {
  display: block !important;
}
html.light body.page-home #site-header:not(.header-scrolled) .brand-logo-white,
html.light body.page-ranking #site-header:not(.header-scrolled) .brand-logo-white {
  display: none !important;
}
html.light #site-header.header-scrolled .brand-logo-dark {
  display: none !important;
}
html.light #site-header.header-scrolled .brand-logo-white {
  display: block !important;
}

/* Destination Breadcrumbs: Crisp dark/black text in light theme for legibility */
html.light .destination-breadcrumbs,
html.light .destination-breadcrumbs a {
  color: #0f172a !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.95);
}
html.light .destination-breadcrumbs a:hover {
  color: #0284c7 !important;
}
html.light .destination-breadcrumbs .breadcrumb-sep {
  color: #475569 !important;
  opacity: 0.85 !important;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.95);
}
html.light .destination-breadcrumbs .breadcrumb-current {
  color: #0369a1 !important;
  font-weight: 800 !important;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.95);
}

/* -------------------------------------------------------------
   Header Scrolled State (Mobile compact search, Desktop preserves logo)
   ------------------------------------------------------------- */
.header-mobile-mini-logo {
  display: none !important;
}

@media (max-width: 639px) {
  #site-header.header-scrolled .header-brand-group {
    display: none !important;
  }
  #site-header.header-scrolled .header-inner {
    min-height: 48px !important;
    height: 52px !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    justify-content: center !important;
  }
  #site-header.header-scrolled .header-search-group {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    justify-content: center !important;
  }
  #site-header.header-scrolled .header-mobile-mini-logo {
    display: flex !important;
  }
}

@media (min-width: 640px) {
  .header-mobile-mini-logo,
  #site-header.header-scrolled .header-mobile-mini-logo {
    display: none !important;
  }
  #site-header.header-scrolled .header-inner {
    height: 64px !important;
    justify-content: space-between !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  #site-header.header-scrolled .header-brand-group {
    display: flex !important;
  }
  #site-header.header-scrolled .header-search-group {
    margin-left: auto !important;
    width: auto !important;
    max-width: none !important;
  }
}

/* Header Search Group: Pushed to the right, generous flexible container */
.header-search-group {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

@media (min-width: 640px) {
  .header-brand-group,
  #site-header.header-scrolled .header-brand-group {
    flex: 0 0 auto !important;
    max-width: 25% !important;
    min-width: 160px !important;
    display: flex !important;
  }
  .header-search-group,
  #site-header.header-scrolled .header-search-group {
    margin-left: auto !important;
    margin-right: 0 !important;
    width: 75% !important;
    max-width: 80% !important;
    display: flex !important;
    justify-content: flex-end !important;
    flex: 1 1 80% !important;
  }
  #header-search-form,
  #site-header.header-scrolled #header-search-form {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    align-items: center !important;
    flex: 1 1 auto !important;
  }
}

@media (min-width: 768px) {
  .header-brand-group,
  #site-header.header-scrolled .header-brand-group {
    flex: 0 0 20% !important;
    width: 20% !important;
    max-width: 20% !important;
    min-width: 180px !important;
  }
  .header-search-group,
  #site-header.header-scrolled .header-search-group {
    flex: 0 0 80% !important;
    width: 80% !important;
    max-width: 80% !important;
  }
  #header-search-form,
  #site-header.header-scrolled #header-search-form {
    width: 100% !important;
    max-width: 100% !important;
  }
}

#header-destination-search {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: 100% !important;
}

/* -------------------------------------------------------------
   Dual-Image Looping Crossfade (Local + Official Wikipedia Photo)
   ------------------------------------------------------------- */
@keyframes imageLoopCrossfade {
  0%, 35% {
    opacity: 0;
  }
  50%, 85% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.dest-card-img-wiki,
.postcard-img-wiki {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  opacity: 0;
  animation: imageLoopCrossfade 8s ease-in-out infinite;
  will-change: opacity;
  pointer-events: none;
}

/* Organic staggered animation delays across destination cards */
.dest-card:nth-child(2n) .dest-card-img-wiki { animation-delay: 2s; }
.dest-card:nth-child(3n) .dest-card-img-wiki { animation-delay: 4s; }
.dest-card:nth-child(4n) .dest-card-img-wiki { animation-delay: 6s; }
.dest-card:nth-child(5n) .dest-card-img-wiki { animation-delay: 1.2s; }

/* -------------------------------------------------------------
   Mobile Carousel Touch-Swipe Optimization (Home & Destination)
   ------------------------------------------------------------- */
.touch-swipe-track {
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  touch-action: pan-x pan-y;
  cursor: grab;
}

.touch-swipe-track:active,
.touch-swipe-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.dest-swipe-card,
.dest-card-item {
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

/* -------------------------------------------------------------
   Trust Cards & Directory Groups Thematic Background Images
   ------------------------------------------------------------- */
.trust-card,
.seo-group-card {
  will-change: transform;
}

/* Dark Mode: Trust Cards (Subtle inspiring travel photography with smooth text fade) */
.trust-card-bg img {
  opacity: 0.22;
  filter: contrast(1.05) saturate(1.1);
  transition: opacity 0.5s ease, transform 0.7s ease;
}

.trust-card:hover .trust-card-bg img {
  opacity: 0.32;
}

.trust-card-gradient {
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.15) 0%,
    rgba(15, 23, 42, 0.60) 22%,
    rgba(11, 20, 38, 0.94) 38%,
    #0b1426 56%,
    #0b1426 100%
  ) !important;
}

/* Light Theme: Trust Cards (Smooth top fade to solid white behind text) */
html.light .trust-card {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.06), 0 2px 4px -1px rgba(0, 0, 0, 0.04) !important;
}

html.light .trust-card-bg img {
  opacity: 0.24 !important;
  filter: contrast(1.08) saturate(1.12) !important;
  transition: opacity 0.5s ease, transform 0.7s ease !important;
}

html.light .trust-card:hover .trust-card-bg img {
  opacity: 0.32 !important;
}

html.light .trust-card-gradient {
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.10) 0%,
    rgba(255, 255, 255, 0.55) 20%,
    rgba(255, 255, 255, 0.94) 36%,
    #ffffff 54%,
    #ffffff 100%
  ) !important;
}

html.light .trust-card h3 {
  color: #0f172a !important;
  font-weight: 800 !important;
}

html.light .trust-card p {
  color: #334155 !important;
  font-weight: 500 !important;
  line-height: 1.65 !important;
}

/* Dark Mode: Directory Group Cards */
.seo-group-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 220px;
  overflow: hidden;
  pointer-events: none;
}

.seo-group-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.38;
  filter: grayscale(100%) contrast(1.06);
  transition: filter 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: filter, transform, opacity;
}

.seo-group-card:hover .seo-group-card-bg img,
.seo-group-card.is-open .seo-group-card-bg img,
.seo-group-card:has(.seo-group-trigger[aria-expanded="true"]) .seo-group-card-bg img {
  opacity: 0.55;
  filter: grayscale(0%) saturate(1.2) contrast(1.05);
}

.seo-group-gradient {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(to right, rgba(15, 23, 42, 0.98) 0%, rgba(15, 23, 42, 0.85) 45%, rgba(15, 23, 42, 0.20) 100%),
    linear-gradient(to bottom, transparent 0%, transparent 35%, rgba(15, 23, 42, 0.85) 75%, #0f172a 100%);
}

/* Light Theme: Directory Group Cards (Clear, Harmonious Black & White to Rich Color on Hover/Open) */
html.light .seo-group-card {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.06), 0 2px 4px -1px rgba(0, 0, 0, 0.04) !important;
}

html.light .seo-group-card.is-open {
  border-color: #0284c7 !important;
  box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.12), 0 4px 6px -2px rgba(2, 132, 199, 0.05) !important;
}

html.light .seo-group-card-bg img {
  opacity: 0.50 !important;
  filter: grayscale(100%) contrast(1.06) brightness(1.02) !important;
  transition: filter 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: filter, transform, opacity;
}

html.light .seo-group-card:hover .seo-group-card-bg img,
html.light .seo-group-card.is-open .seo-group-card-bg img,
html.light .seo-group-card:has(.seo-group-trigger[aria-expanded="true"]) .seo-group-card-bg img {
  opacity: 0.80 !important;
  filter: grayscale(0%) saturate(1.2) contrast(1.08) !important;
}

html.light .seo-group-gradient {
  background: 
    linear-gradient(to right, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 38%, rgba(255, 255, 255, 0.35) 75%, rgba(255, 255, 255, 0.05) 100%),
    linear-gradient(to bottom, transparent 0%, transparent 30%, rgba(255, 255, 255, 0.85) 70%, #ffffff 100%) !important;
}

html.light .seo-group-card h3 {
  color: #0f172a !important;
}

html.light .seo-group-card p {
  color: #475569 !important;
}

html.light .seo-group-card span.rounded-full {
  background-color: #e0f2fe !important;
  border-color: #bae6fd !important;
  color: #0284c7 !important;
}

html.light .seo-group-toggle-btn {
  background-color: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #0284c7 !important;
}

html.light .seo-group-toggle-btn:hover {
  background-color: #f1f5f9 !important;
  color: #0369a1 !important;
}

html.light .seo-group-body {
  border-color: #e2e8f0 !important;
}

html.light .seo-group-body li a {
  background-color: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

html.light .seo-group-body li a:hover {
  background-color: #f0f9ff !important;
  border-color: #38bdf8 !important;
}

html.light .seo-group-body li a span.text-white {
  color: #0f172a !important;
}

html.light .seo-group-body li a span.text-slate-400 {
  color: #64748b !important;
}

/* -------------------------------------------------------------
   Popular Routes Continuous Moving Offer Box Ticker
   ------------------------------------------------------------- */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.route-card {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.route-card:hover {
  transform: translateY(-3px);
}

/* Light mode overrides for Popular Routes */
html.light #popular-routes {
  background-color: #f8fafc !important;
  border-top-color: #e2e8f0 !important;
  border-bottom-color: #e2e8f0 !important;
}

html.light #popular-routes h2 {
  color: #0f172a !important;
}

html.light #popular-routes p.text-slate-400 {
  color: #64748b !important;
}

html.light .route-card {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.06) !important;
}

html.light .route-card:hover {
  background-color: #f8fafc !important;
  border-color: var(--color-sky, #0284c7) !important;
  box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.1) !important;
}

html.light .route-card h3 {
  color: #0f172a !important;
}

html.light .route-card p {
  color: #64748b !important;
}

html.light .route-card .border-t {
  border-color: #f1f5f9 !important;
}

html.light .route-badge {
  background-color: #e0f2fe !important;
  border-color: #bae6fd !important;
  color: #0284c7 !important;
}

html.light .routes-fade-left {
  background: linear-gradient(to right, #f8fafc 15%, rgba(248, 250, 252, 0.8) 50%, transparent 100%) !important;
}

html.light .routes-fade-right {
  background: linear-gradient(to left, #f8fafc 15%, rgba(248, 250, 252, 0.8) 50%, transparent 100%) !important;
}

/* -------------------------------------------------------------
   Header Day / Night Fast Theme Switcher
   ------------------------------------------------------------- */
.header-theme-toggle {
  background-color: rgba(15, 23, 42, 0.75) !important;
  border: 1px solid rgba(51, 65, 85, 0.7) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25) !important;
}

.header-theme-toggle button {
  color: #94a3b8 !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.header-theme-toggle button:hover {
  color: #ffffff !important;
}

.header-theme-toggle button[data-theme-btn="light"]:hover {
  color: #fbbf24 !important; /* amber-400 */
}

.header-theme-toggle button[data-theme-btn="dark"]:hover {
  color: #38bdf8 !important; /* sky-400 */
}

.header-theme-toggle button.active {
  background-color: var(--color-sky, #0fa6f6) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 6px -1px rgba(15, 166, 246, 0.4) !important;
}

/* Light Mode Overrides for Header Theme Switcher */
html.light .header-theme-toggle {
  background-color: rgba(255, 255, 255, 0.85) !important;
  border-color: rgba(203, 213, 225, 0.9) !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05) !important;
}

html.light .header-theme-toggle button {
  color: #64748b !important;
}

html.light .header-theme-toggle button:hover {
  color: #0f172a !important;
}

html.light .header-theme-toggle button[data-theme-btn="light"]:hover {
  color: #d97706 !important; /* amber-600 */
}

html.light .header-theme-toggle button[data-theme-btn="dark"]:hover {
  color: #0284c7 !important; /* sky-600 */
}

html.light .header-theme-toggle button.active {
  background-color: var(--color-sky, #0fa6f6) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 6px -1px rgba(15, 166, 246, 0.4) !important;
}

/* -------------------------------------------------------------
   Legal & Contact Modals in Light Mode
   ------------------------------------------------------------- */
html.light .legal-modal-backdrop {
  background-color: rgba(15, 23, 42, 0.6) !important;
}

html.light .legal-modal-backdrop > div {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
}

html.light .legal-modal-backdrop h3 {
  color: #0f172a !important;
}

html.light .legal-modal-backdrop .border-b,
html.light .legal-modal-backdrop .border-t {
  border-color: #e2e8f0 !important;
}

html.light .legal-modal-backdrop p,
html.light .legal-modal-backdrop label {
  color: #334155 !important;
}

html.light .legal-modal-backdrop input,
html.light .legal-modal-backdrop select,
html.light .legal-modal-backdrop textarea {
  background-color: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

html.light .legal-modal-backdrop input::placeholder,
html.light .legal-modal-backdrop textarea::placeholder {
  color: #94a3b8 !important;
}

html.light .legal-modal-backdrop input:focus,
html.light .legal-modal-backdrop select:focus,
html.light .legal-modal-backdrop textarea:focus {
  background-color: #ffffff !important;
  border-color: #0284c7 !important;
  box-shadow: 0 0 0 1px #0284c7 !important;
}

/* =============================================================
   Popular Route Cards: Destination Imagery & Directional Fade
   ============================================================= */
.route-card {
  position: relative !important;
  overflow: hidden !important;
  background-color: #0b1329 !important;
  border-color: rgba(51, 65, 85, 0.7) !important;
}

.route-card-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.route-card-bg img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 65%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.65;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.route-card:hover .route-card-bg img {
  transform: scale(1.08);
  opacity: 0.85;
}

.route-card-gradient {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(to right, #0b1329 0%, #0b1329 38%, rgba(11, 19, 41, 0.85) 58%, rgba(11, 19, 41, 0.30) 82%, rgba(11, 19, 41, 0.10) 100%),
    linear-gradient(to bottom, transparent 0%, transparent 65%, rgba(11, 19, 41, 0.50) 100%);
}

/* Light Mode Route Cards: Clean White Backdrop with Rich Destination Photography */
html.light .route-card {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.06), 0 2px 4px -1px rgba(0, 0, 0, 0.04) !important;
}

html.light .route-card:hover {
  border-color: #38bdf8 !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05) !important;
}

html.light .route-card-bg img {
  opacity: 0.75 !important;
  filter: contrast(1.08) saturate(1.15) !important;
}

html.light .route-card:hover .route-card-bg img {
  opacity: 0.92 !important;
}

html.light .route-card-gradient {
  background: 
    linear-gradient(to right, #ffffff 0%, #ffffff 38%, rgba(255, 255, 255, 0.88) 58%, rgba(255, 255, 255, 0.35) 82%, rgba(255, 255, 255, 0.10) 100%),
    linear-gradient(to bottom, transparent 0%, transparent 65%, rgba(255, 255, 255, 0.50) 100%) !important;
}

html.light .route-card,
html.light .route-card *,
html.light .popular-routes-section,
html.light .popular-routes-section * {
  text-shadow: none !important;
  filter: none !important;
}

html.light .route-card .route-card-code,
html.light .route-card span.text-sky-400 {
  color: #0284c7 !important;
  text-shadow: none !important;
  filter: none !important;
}

html.light .route-card:hover .route-card-code,
html.light .route-card:hover span.text-sky-400 {
  color: #d97706 !important;
  text-shadow: none !important;
  filter: none !important;
}

html.light .route-card h3,
html.light .route-card .route-card-title {
  color: #0f172a !important;
  text-shadow: none !important;
  filter: none !important;
}

html.light .route-card p,
html.light .route-card .route-card-desc {
  color: #475569 !important;
  text-shadow: none !important;
  filter: none !important;
}

html.light .route-card .route-badge {
  background-color: rgba(241, 245, 249, 0.92) !important;
  border-color: #cbd5e1 !important;
  color: #0284c7 !important;
  text-shadow: none !important;
  filter: none !important;
}

html.light .route-card .border-t {
  border-color: #e2e8f0 !important;
}

html.light .route-card .route-card-guide,
html.light .route-card span.text-slate-300 {
  color: #64748b !important;
  text-shadow: none !important;
  filter: none !important;
}

html.light .popular-routes-section {
  background-color: transparent !important;
  border-color: #e2e8f0 !important;
}

html.light .popular-routes-section h2 {
  color: #0f172a !important;
  text-shadow: none !important;
}

html.light .popular-routes-section p.text-slate-400 {
  color: #475569 !important;
  text-shadow: none !important;
}

html.light .routes-fade-left {
  background: linear-gradient(to right, #f8fafc 0%, rgba(248, 250, 252, 0.85) 60%, transparent 100%) !important;
}

html.light .routes-fade-right {
  background: linear-gradient(to left, #f8fafc 0%, rgba(248, 250, 252, 0.85) 60%, transparent 100%) !important;
}

/* -------------------------------------------------------------
   Hero Supporting Copy: High-Contrast Pure White Font
   ------------------------------------------------------------- */
.hero-blurb-text,
html.light .hero-blurb-text,
html.light .hero-cinematic .hero-blurb-text {
  color: #ffffff !important;
  opacity: 1 !important;
  font-weight: 600 !important;
}

/* -------------------------------------------------------------
   Mobile Responsive Suppression: Popular Routes & Homepage Final CTA
   ------------------------------------------------------------- */
@media (max-width: 767px) {
  .popular-routes-section,
  [id^="popular-routes-"],
  .homepage-final-cta {
    display: none !important;
  }
}

/* -------------------------------------------------------------
   SEO Directory Region Group Filter Pills & Card Uniformity
   ------------------------------------------------------------- */
.seo-dir-filter-btn {
  background-color: #0f172a;
  border: 1px solid rgba(51, 65, 85, 0.8);
  color: #cbd5e1;
  transition: all 0.2s ease-in-out;
}

.seo-dir-filter-btn:hover {
  border-color: #0ea5e9;
  color: #ffffff;
  transform: translateY(-1px);
}

.seo-dir-filter-btn.active {
  background-color: #0284c7 !important;
  border-color: #38bdf8 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px -3px rgba(14, 165, 233, 0.45);
}

html.light .seo-dir-filter-btn {
  background-color: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

html.light .seo-dir-filter-btn:hover {
  border-color: #0284c7 !important;
  color: #0f172a !important;
  transform: translateY(-1px);
}

html.light .seo-dir-filter-btn.active {
  background-color: #0284c7 !important;
  border-color: #0284c7 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px -3px rgba(2, 132, 199, 0.35);
}

html.light .seo-dir-filter-btn:not(.active) .seo-dir-filter-count {
  color: #64748b !important;
}

html.light .seo-dir-filter-btn.active .seo-dir-filter-count {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* -------------------------------------------------------------
   Popular Routes Ticker Filter Pills
   ------------------------------------------------------------- */
html.light .route-filter-btn:not(.active) {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #334155 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

html.light .route-filter-btn:not(.active):hover {
  background-color: #f1f5f9 !important;
  color: #0f172a !important;
  border-color: #94a3b8 !important;
}

html.light .route-filter-btn:not(.active) .route-count {
  background-color: #e2e8f0 !important;
  color: #475569 !important;
}

html.light .route-filter-btn.active {
  background-color: #0284c7 !important;
  border-color: #0284c7 !important;
  color: #ffffff !important;
}

html.light .route-filter-btn.active .route-count {
  background-color: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}

/* -------------------------------------------------------------
   Destinations Grid Category Filter Pills & Search Toggle
   ------------------------------------------------------------- */
.region-filter-btn .pill-counter {
  transition: all 0.2s ease;
}

.region-filter-btn.active .pill-counter {
  background-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.region-filter-btn:not(.active) .pill-counter {
  background-color: #334155;
  color: #cbd5e1;
}

html.light .region-filter-btn:not(.active) {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #334155 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

html.light .region-filter-btn:not(.active):hover {
  background-color: #f8fafc !important;
  border-color: #94a3b8 !important;
  color: #0f172a !important;
}

html.light .region-filter-btn:not(.active) .pill-counter {
  background-color: #e2e8f0 !important;
  color: #475569 !important;
}

html.light .region-filter-btn.active {
  background-color: #0284c7 !important;
  border-color: #0284c7 !important;
  color: #ffffff !important;
}

html.light .region-filter-btn.active .pill-counter {
  background-color: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}

html.light #grid-search-toggle-btn {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #475569 !important;
}

html.light #grid-search-toggle-btn:hover {
  background-color: #f1f5f9 !important;
  color: #0284c7 !important;
  border-color: #0284c7 !important;
}

/* Ensure equal minimum height and independent alignment for SEO group cards */
#seo-groups-grid {
  align-items: start !important;
}

.seo-group-card {
  min-height: 180px;
  height: auto !important;
  align-self: start !important;
  scroll-margin-top: 85px;
}

.seo-group-title-row {
  min-height: 52px;
}

.seo-group-desc-row {
  min-height: 38px;
}

/* -------------------------------------------------------------
   Origin Location Selector Button: Search Bar Parity across Themes
   ------------------------------------------------------------- */
#header-origin-btn {
  background-color: rgba(15, 23, 42, 0.9) !important;
  border: 1px solid rgba(51, 65, 85, 0.8) !important;
  color: #ffffff !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25) !important;
}

#header-origin-btn #header-origin-label,
#header-origin-btn span {
  color: #ffffff !important;
}

#header-origin-btn .fa-location-dot {
  color: #38bdf8 !important;
}

#header-origin-btn .fa-chevron-down {
  color: #94a3b8 !important;
}

#header-origin-btn:hover {
  background-color: #1e293b !important;
  border-color: #38bdf8 !important;
}

#header-origin-btn:hover .fa-chevron-down {
  color: #ffffff !important;
}

/* White Theme (Light Mode): Match Destination Search Bar exactly */
html.light #header-origin-btn {
  background-color: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

html.light #header-origin-btn #header-origin-label,
html.light #header-origin-btn span {
  color: #0f172a !important;
}

html.light #header-origin-btn .fa-location-dot {
  color: #0284c7 !important;
}

html.light #header-origin-btn .fa-chevron-down {
  color: #64748b !important;
}

html.light #header-origin-btn:hover {
  background-color: #f8fafc !important;
  border-color: #0284c7 !important;
}

html.light #header-origin-btn:hover .fa-chevron-down {
  color: #0f172a !important;
}

/* -------------------------------------------------------------
   Origin Location Modal Backdrop: Clean, Transparent, No Blur
   (Keeps the entire website interface visible and sharp behind)
   ------------------------------------------------------------- */
#origin-modal-backdrop {
  background-color: rgba(2, 6, 23, 0.35) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html.light #origin-modal-backdrop {
  background-color: rgba(15, 23, 42, 0.12) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Other legal / reminder modals retain standard focused scrim */
#call-later-modal,
html.light #call-later-modal,
.legal-modal-backdrop,
html.light .legal-modal-backdrop {
  background-color: rgba(2, 6, 23, 0.85) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

/* -------------------------------------------------------------
   Origin Location Modal Card Styling in Light Mode
   ------------------------------------------------------------- */
html.light #origin-modal-card {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35) !important;
  color: #0f172a !important;
}

html.light #origin-modal-card #origin-modal-title {
  color: #0f172a !important;
}

html.light #origin-modal-card #origin-modal-close-btn {
  color: #64748b !important;
}

html.light #origin-modal-card #origin-modal-close-btn:hover {
  color: #0f172a !important;
  background-color: #f1f5f9 !important;
}

html.light #origin-modal-card #origin-gps-detect-btn {
  background: linear-gradient(to right, #0284c7, #2563eb) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3) !important;
}

html.light #origin-modal-card #origin-gps-detect-btn:hover {
  background: linear-gradient(to right, #0369a1, #1d4ed8) !important;
}

html.light #origin-modal-card #origin-gps-detect-btn i,
html.light #origin-modal-card #origin-gps-detect-btn span {
  color: #ffffff !important;
}

html.light #origin-modal-card #origin-catchment-input {
  background-color: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

html.light #origin-modal-card #origin-catchment-input::placeholder {
  color: #94a3b8 !important;
}

html.light #origin-modal-card #origin-catchment-input:focus {
  background-color: #ffffff !important;
  border-color: #0284c7 !important;
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.25) !important;
}

html.light #origin-modal-card .origin-result-item {
  color: #0f172a !important;
  border-color: transparent !important;
}

html.light #origin-modal-card .origin-result-item:hover {
  background-color: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
}

html.light #origin-modal-card .origin-result-item span.text-white {
  color: #0f172a !important;
}

html.light #origin-modal-card #origin-active-banner {
  background-color: #ecfdf5 !important;
  border-color: #a7f3d0 !important;
  color: #065f46 !important;
}

html.light #origin-modal-card #origin-active-banner i {
  color: #059669 !important;
}

/* -------------------------------------------------------------
   Destination Page Departure Origin Search & Dropdown in Light Mode
   ------------------------------------------------------------- */
html.light #destination-origin-search-input {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

html.light #destination-origin-search-input::placeholder {
  color: #94a3b8 !important;
}

html.light #destination-origin-search-input:focus {
  background-color: #ffffff !important;
  border-color: #0284c7 !important;
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.2) !important;
}

html.light #destination-origin-results {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

html.light .dest-origin-result-item {
  color: #0f172a !important;
}

html.light .dest-origin-result-item:hover {
  background-color: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
}

html.light .dest-origin-result-item span.text-white {
  color: #0f172a !important;
}

/* -------------------------------------------------------------
   Mobile Expandable Header Destination Search Bar (80% Width)
   ------------------------------------------------------------- */
@media (max-width: 639px) {
  /* Hide mini-logo when search is active */
  .header-mobile-mini-logo.search-hidden,
  #site-header.search-active .header-mobile-mini-logo,
  .header-search-group:has(#header-search-form.is-search-active) .header-mobile-mini-logo {
    display: none !important;
  }

  /* When search is active on mobile, hide origin button so search field takes 80% screen width */
  #header-search-form.is-search-active {
    width: 100% !important;
  }
  #header-search-form.is-search-active #header-origin-btn {
    display: none !important;
  }
  #header-search-form.is-search-active .relative.min-w-0.flex-1 {
    flex: 0 0 80% !important;
    width: 80% !important;
    max-width: 80% !important;
  }
  #header-search-form.is-search-active .header-search-submit-btn {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 40px !important;
    display: flex !important;
  }

  /* In default state on mobile, make origin label compact so search input gets ~75-80% space */
  #header-origin-label {
    max-width: 85px !important;
  }
}

/* -------------------------------------------------------------
   Search Results Dropdown Theme Harmonization
   ------------------------------------------------------------- */
html.light #header-search-results {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

html.light #header-search-results .search-result-item:hover,
html.light #header-search-results .search-result-item:focus,
html.light #header-search-results .search-result-item.bg-slate-900 {
  background-color: #f1f5f9 !important;
}

html.light #header-search-results #search-results-footer {
  background-color: #f8fafc !important;
  border-top-color: #e2e8f0 !important;
}

/* -------------------------------------------------------------
   Clean Lighter Itinerary Stage & Flight Tool Cards (Dark & Light)
   ------------------------------------------------------------- */

/* Dark Mode: subtle, airy, translucent cards without heavy black slabs */
.flight-tools-container,
.corridor-timeline-wrap {
  background-color: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(51, 65, 85, 0.65);
}

.itinerary-stage-card {
  background-color: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(51, 65, 85, 0.6);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.itinerary-stage-card:hover {
  background-color: rgba(30, 41, 59, 0.45);
  border-color: rgba(100, 116, 139, 0.7);
}

.dest-route-card {
  background-color: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(51, 65, 85, 0.6);
  transition: all 0.2s ease;
}

.dest-route-card:hover {
  background-color: rgba(30, 41, 59, 0.5);
  border-color: rgba(56, 189, 248, 0.5);
  transform: translateY(-1px);
}

/* Light Mode: crisp, clean white/light slate surfaces without dark color */
html.light .flight-tools-container,
html.light .corridor-timeline-wrap {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 4px 6px -2px rgba(15, 23, 42, 0.03) !important;
}

html.light .itinerary-stage-card {
  background-color: #f8fafc !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04) !important;
}

html.light .itinerary-stage-card:hover {
  background-color: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
}

html.light .dest-route-card {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04) !important;
}

html.light .dest-route-card:hover {
  background-color: #f8fafc !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 4px 12px -2px rgba(56, 189, 248, 0.15) !important;
}

html.light .itinerary-stage-card p.text-white,
html.light .itinerary-stage-card span.text-white,
html.light .dest-route-card span.text-white {
  color: #0f172a !important;
}

html.light .itinerary-stage-card p.text-slate-400,
html.light .itinerary-stage-card span.text-slate-400,
html.light .dest-route-card p.text-slate-400,
html.light .dest-route-card span.text-slate-400 {
  color: #64748b !important;
}

html.light .itinerary-stage-card span.text-slate-300 {
  color: #475569 !important;
}

html.light #tab-popular-routes-btn:not(.active) {
  background-color: #f8fafc !important;
  color: #475569 !important;
  border-color: #e2e8f0 !important;
}

html.light #tab-popular-routes-btn:not(.active):hover {
  background-color: #f1f5f9 !important;
  color: #0f172a !important;
}

html.light #destination-origin-search-input {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

html.light #detect-location-btn {
  background-color: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #334155 !important;
}

html.light #detect-location-btn:hover {
  background-color: #f1f5f9 !important;
  color: #0f172a !important;
}

html.light #destination-origin-results {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1) !important;
}

html.light #destination-origin-results-list button {
  color: #0f172a !important;
}

html.light #destination-origin-results-list button:hover {
  background-color: #f1f5f9 !important;
}

html.light #reciprocity-conversion-banner {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, #ffffff 50%, #f8fafc 100%) !important;
  border-color: rgba(245, 158, 11, 0.4) !important;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.06) !important;
}

html.light #reciprocity-conversion-banner h4.text-white {
  color: #0f172a !important;
}

html.light #reciprocity-conversion-banner p.text-slate-300 {
  color: #475569 !important;
}

html.light #btn-open-call-later {
  background-color: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #334155 !important;
}

html.light #btn-open-call-later:hover {
  background-color: #f1f5f9 !important;
  color: #0f172a !important;
}

/* -------------------------------------------------------------
   Mobile Reciprocity Call Box & Block Container: Borderless & Clean
   ------------------------------------------------------------- */
@media (max-width: 639px) {
  .flight-tools-container,
  .corridor-timeline-wrap,
  .itinerary-blueprint-box,
  html.light .flight-tools-container,
  html.light .corridor-timeline-wrap,
  html.light .itinerary-blueprint-box,
  html[data-theme="light"] .itinerary-blueprint-box {
    border: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  #reciprocity-conversion-banner,
  .reciprocity-banner,
  section.bg-gradient-to-br.from-amber-500\/15,
  html.light #reciprocity-conversion-banner,
  html.light .reciprocity-banner,
  html.light section.bg-gradient-to-br.from-amber-500\/15 {
    border: none !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-top: 1.25rem !important;
    margin-bottom: 1.5rem !important;
  }
}

/* -------------------------------------------------------------
   Itinerary Blueprint Box & Timelines in Light Mode
   ------------------------------------------------------------- */
html.light .itinerary-blueprint-box,
html[data-theme="light"] .itinerary-blueprint-box {
  background-color: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04) !important;
}

html.light .itinerary-blueprint-box span.text-slate-300,
html[data-theme="light"] .itinerary-blueprint-box span.text-slate-300,
html.light .itinerary-blueprint-box .text-slate-300,
html[data-theme="light"] .itinerary-blueprint-box .text-slate-300 {
  color: #475569 !important;
}

html.light .itinerary-blueprint-box span.text-slate-400,
html[data-theme="light"] .itinerary-blueprint-box span.text-slate-400,
html.light .itinerary-blueprint-box .text-slate-400,
html[data-theme="light"] .itinerary-blueprint-box .text-slate-400 {
  color: #64748b !important;
}

html.light .itinerary-blueprint-box strong.text-white,
html[data-theme="light"] .itinerary-blueprint-box strong.text-white,
html.light .itinerary-blueprint-box span.text-white,
html[data-theme="light"] .itinerary-blueprint-box span.text-white,
html.light .itinerary-blueprint-box p.text-white,
html[data-theme="light"] .itinerary-blueprint-box p.text-white {
  color: #0f172a !important;
}

html.light .itinerary-blueprint-box #est-flight-time,
html[data-theme="light"] .itinerary-blueprint-box #est-flight-time {
  color: #0284c7 !important;
}

/* Ensure stage cards nested inside the #f8fafc blueprint box have clean white backgrounds */
html.light .itinerary-blueprint-box .itinerary-stage-card,
html[data-theme="light"] .itinerary-blueprint-box .itinerary-stage-card {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04) !important;
}

html.light .itinerary-blueprint-box .itinerary-stage-card:hover,
html[data-theme="light"] .itinerary-blueprint-box .itinerary-stage-card:hover {
  background-color: #f8fafc !important;
  border-color: #cbd5e1 !important;
}

/* Badges inside blueprint box in light mode */
html.light .itinerary-blueprint-box .bg-emerald-500\/15,
html[data-theme="light"] .itinerary-blueprint-box .bg-emerald-500\/15 {
  background-color: rgba(16, 185, 129, 0.12) !important;
  border-color: rgba(16, 185, 129, 0.25) !important;
}
html.light .itinerary-blueprint-box .text-emerald-300,
html[data-theme="light"] .itinerary-blueprint-box .text-emerald-300 {
  color: #059669 !important;
}

html.light .itinerary-blueprint-box .bg-sky-500\/15,
html[data-theme="light"] .itinerary-blueprint-box .bg-sky-500\/15 {
  background-color: rgba(14, 165, 233, 0.12) !important;
  border-color: rgba(14, 165, 233, 0.25) !important;
}
html.light .itinerary-blueprint-box .text-sky-300,
html[data-theme="light"] .itinerary-blueprint-box .text-sky-300 {
  color: #0284c7 !important;
}

/* Corridor Timeline Container Light Mode Headings */
html.light .corridor-timeline-wrap h2.text-white,
html[data-theme="light"] .corridor-timeline-wrap h2.text-white {
  color: #0f172a !important;
}
html.light .corridor-timeline-wrap span.text-white,
html[data-theme="light"] .corridor-timeline-wrap span.text-white {
  color: #0f172a !important;
}
html.light .corridor-timeline-wrap .border-slate-800,
html[data-theme="light"] .corridor-timeline-wrap .border-slate-800 {
  border-color: #e2e8f0 !important;
}

/* -------------------------------------------------------------
   Sticky Call Bar "Call Later" Link
   ------------------------------------------------------------- */
#sticky-call-bar .sticky-call-later-btn {
  color: #38bdf8 !important;
  text-decoration-color: rgba(56, 189, 248, 0.4) !important;
}
#sticky-call-bar .sticky-call-later-btn:hover {
  color: #7dd3fc !important;
  text-decoration-color: #7dd3fc !important;
}
html.light #sticky-call-bar .sticky-call-later-btn,
html[data-theme="light"] #sticky-call-bar .sticky-call-later-btn {
  color: #0284c7 !important;
  text-decoration-color: rgba(2, 132, 199, 0.4) !important;
}
html.light #sticky-call-bar .sticky-call-later-btn:hover,
html[data-theme="light"] #sticky-call-bar .sticky-call-later-btn:hover {
  color: #0369a1 !important;
  text-decoration-color: #0369a1 !important;
}

/* -------------------------------------------------------------
   Hero Section "Call Later" Secondary Link
   ------------------------------------------------------------- */
.hero-call-later-link {
  color: #cbd5e1 !important;
  text-decoration-color: rgba(203, 213, 225, 0.5) !important;
  transition: all 0.2s ease;
}
.hero-call-later-link:hover {
  color: #ffffff !important;
  text-decoration-color: #ffffff !important;
}
html.light .hero-call-later-link,
html[data-theme="light"] .hero-call-later-link {
  color: #0f172a !important;
  background-color: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  padding: 4px 12px !important;
  border-radius: 9999px !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}
html.light .hero-call-later-link:hover,
html[data-theme="light"] .hero-call-later-link:hover {
  background-color: #e2e8f0 !important;
  color: #0284c7 !important;
  border-color: #94a3b8 !important;
}

/* Corridor Hero Call Later Button Skin */
html.light .hero-call-later-btn,
html[data-theme="light"] .hero-call-later-btn {
  background-color: #ffffff !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
}
html.light .hero-call-later-btn:hover,
html[data-theme="light"] .hero-call-later-btn:hover {
  background-color: #f8fafc !important;
  border-color: #38bdf8 !important;
}

/* -------------------------------------------------------------
   Homepage Hero Subtitle Fit & Hierarchy
   ------------------------------------------------------------- */
.hero-subtitle {
  letter-spacing: 0.07em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}
@media (max-width: 639px) {
  .hero-subtitle {
    letter-spacing: 0.03em;
    line-height: 1.35;
  }
}






/* Mobile Navigation Drawer, Hamburger & Quote Modal Light Mode */
#mobile-nav-drawer-backdrop,
html.light #mobile-nav-drawer-backdrop {
  background-color: rgba(2, 6, 23, 0.65) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
}
html.light #mobile-nav-toggle-btn {
  background-color: #ffffff !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
}
html.light #mobile-nav-drawer {
  background-color: #ffffff !important;
  color: #0f172a !important;
  border-color: #e2e8f0 !important;
}
html.light #mobile-nav-drawer nav a {
  color: #334155 !important;
}
html.light #mobile-nav-drawer nav a:hover {
  background-color: #f1f5f9 !important;
  color: #0f172a !important;
}
/* Persistent Focused Dark Scrim for ALL Modals in Both Themes */
.modal-scrim-dark,
.modal-backdrop,
.legal-modal-backdrop,
#call-quote-modal,
#guide-download-quote-modal,
#call-later-modal,
#review-modal,
#review-success-modal,
#legal-modal-privacy,
#legal-modal-disclosure,
#legal-modal-contact,
html.light .modal-scrim-dark,
html.light .modal-backdrop,
html.light .legal-modal-backdrop,
html.light #call-quote-modal,
html.light #guide-download-quote-modal,
html.light #call-later-modal,
html.light #review-modal,
html.light #review-success-modal,
html.light #legal-modal-privacy,
html.light #legal-modal-disclosure,
html.light #legal-modal-contact {
  background-color: rgba(2, 6, 23, 0.78) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
}

html.light #call-quote-modal > div {
  background-color: #ffffff !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35) !important;
}
html.light #call-quote-modal h3,
html.light #call-quote-modal p {
  color: #0f172a !important;
}
html.light #call-quote-modal .bg-slate-950 {
  background-color: #f8fafc !important;
  border-color: #cbd5e1 !important;
}
html.light #call-quote-modal #modal-phone-display-text {
  color: #b45309 !important;
}

/* Guide Download Modal Light Mode High Contrast */
html.light #guide-download-quote-modal > div {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35) !important;
}
html.light #guide-download-quote-modal h3 {
  color: #0f172a !important;
  font-weight: 900 !important;
}
html.light #guide-download-quote-modal .guide-modal-appeal-box {
  background-color: #fffbeb !important;
  border-color: #fde047 !important;
}
html.light #guide-download-quote-modal .guide-modal-appeal-box .guide-modal-appeal-title {
  color: #78350f !important;
  font-weight: 900 !important;
}
html.light #guide-download-quote-modal .guide-modal-appeal-box .guide-modal-appeal-text {
  color: #92400e !important;
  font-weight: 600 !important;
  line-height: 1.55 !important;
}
html.light #guide-download-quote-modal .guide-modal-appeal-box i {
  color: #d97706 !important;
}
html.light #guide-download-quote-modal .guide-modal-phone-box {
  background-color: #f8fafc !important;
  border-color: #cbd5e1 !important;
}
html.light #guide-download-quote-modal .guide-modal-phone-box .guide-modal-phone-label {
  color: #475569 !important;
  font-weight: 700 !important;
}
html.light #guide-download-quote-modal .guide-modal-phone-box .guide-modal-phone-link {
  color: #b45309 !important;
  font-weight: 900 !important;
}
html.light #guide-download-quote-modal .guide-modal-phone-box .guide-modal-phone-link:hover {
  color: #92400e !important;
}
html.light #guide-download-quote-modal .guide-modal-phone-box .guide-modal-phone-subtext {
  color: #64748b !important;
  font-weight: 600 !important;
}
html.light #guide-download-quote-modal #btn-copy-guide-modal-phone {
  background-color: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
  font-weight: 800 !important;
}
html.light #guide-download-quote-modal #btn-copy-guide-modal-phone:hover {
  background-color: #e2e8f0 !important;
}
html.light #guide-download-quote-modal button[onclick="closeGuideDownloadModal()"] {
  color: #475569 !important;
}
html.light #guide-download-quote-modal button[onclick="closeGuideDownloadModal()"]:hover {
  color: #0f172a !important;
}

/* -------------------------------------------------------------
   City Guides & Guide Detail Light Mode Refinements
   ------------------------------------------------------------- */
html.light .page-guides .bg-slate-900\/90,
html.light .page-tickets .bg-slate-900\/90 {
  background-color: #f8fafc !important;
  border-color: #e2e8f0 !important;
}
html.light .page-guides .bg-slate-900\/90 h1,
html.light .page-tickets .bg-slate-900\/90 h1 {
  color: #0f172a !important;
}
html.light .page-guides .bg-slate-900\/90 p,
html.light .page-tickets .bg-slate-900\/90 p {
  color: #475569 !important;
}

/* Guide Directory Cards */
html.light .guide-card-item {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}
html.light .guide-card-item .relative.h-48 h2 {
  color: #ffffff !important;
}
html.light .guide-card-item .relative.h-48 p {
  color: #e2e8f0 !important;
}
html.light .guide-card-item .p-5 p {
  color: #475569 !important;
}
html.light .guide-card-item .p-5 .text-slate-300 {
  color: #1e293b !important;
}
html.light .guide-card-item .p-5 .bg-slate-800 {
  background-color: #f1f5f9 !important;
  color: #0284c7 !important;
}
html.light .guide-card-item .border-t {
  border-color: #e2e8f0 !important;
}
html.light .guide-card-item a[download] {
  background-color: #f1f5f9 !important;
  color: #334155 !important;
  border-color: #cbd5e1 !important;
}

/* Guide Detail Page Hero Alignment with Original City Page */
.page-guide-detail .hero-destination {
  margin-bottom: 2.5rem;
}

/* Guide Detail Top 10 Article Cards */
html.light .page-guide-detail article.rounded-2xl {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}
html.light .page-guide-detail article.rounded-2xl h3 {
  color: #0f172a !important;
}
html.light .page-guide-detail article.rounded-2xl p {
  color: #475569 !important;
}
html.light .page-guide-detail article.rounded-2xl .bg-slate-800 {
  background-color: #f1f5f9 !important;
  color: #334155 !important;
  border-color: #e2e8f0 !important;
}
html.light .page-guide-detail article.rounded-2xl .bg-amber-500\/5 {
  background-color: #fef3c7 !important;
  border-color: #fde68a !important;
}
html.light .page-guide-detail article.rounded-2xl .bg-amber-500\/5 strong {
  color: #b45309 !important;
}
html.light .page-guide-detail article.rounded-2xl .bg-amber-500\/5 div {
  color: #78350f !important;
}

/* Guide Detail Quick Facts & Airport Transit */
html.light .page-guide-detail .bg-slate-900\/80,
html.light .page-guide-detail .bg-slate-900\/60,
html.light .page-guide-detail .bg-slate-900 {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
}
html.light .page-guide-detail .bg-slate-900\/80 h2,
html.light .page-guide-detail .bg-slate-900 h3,
html.light .page-guide-detail .bg-slate-900 h4 {
  color: #0f172a !important;
}
html.light .page-guide-detail .bg-slate-950\/60 {
  background-color: #f8fafc !important;
  border-color: #e2e8f0 !important;
}
html.light .page-guide-detail .bg-slate-950\/60 span,
html.light .page-guide-detail .bg-slate-950\/60 p {
  color: #334155 !important;
}
html.light .page-guide-detail #airport-transit {
  background-color: #f0fdfa !important;
  border-color: #99f6e4 !important;
}
html.light .page-guide-detail #airport-transit h2 {
  color: #0f766e !important;
}
html.light .page-guide-detail #airport-transit p {
  color: #134e4a !important;
}

/* Tickets Page Light Mode & High-Contrast Typography */
html.light .page-tickets .tickets-hero-box {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}
html.light .page-tickets .tickets-hero-box label {
  color: #334155 !important;
  font-weight: 800 !important;
}
html.light .page-tickets #tickets-origin,
html.light .page-tickets #tickets-dest-search {
  background-color: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
  font-weight: 700 !important;
}
html.light .page-tickets #tickets-dest-search::placeholder {
  color: #64748b !important;
}
html.light .page-tickets #tickets-dest-clear {
  color: #64748b !important;
}
html.light .page-tickets #tickets-dest-clear:hover {
  color: #0f172a !important;
}

/* Autocomplete Dropdown - Absolute High-Contrast Light Mode */
html.light #tickets-autocomplete-list,
html.light .page-tickets #tickets-autocomplete-list {
  background-color: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.2) !important;
  divide-color: #f1f5f9 !important;
}
html.light .dest-suggest-item,
html.light .page-tickets .dest-suggest-item {
  background-color: #ffffff !important;
  border-bottom: 1px solid #f1f5f9 !important;
}
html.light .dest-suggest-item:hover,
html.light .page-tickets .dest-suggest-item:hover {
  background-color: #f1f5f9 !important;
}
html.light .dest-suggest-item .dest-suggest-name,
html.light .page-tickets .dest-suggest-item .dest-suggest-name,
html.light .hero-cinematic .dest-suggest-item .dest-suggest-name {
  color: #0f172a !important;
  font-weight: 900 !important;
}
html.light .dest-suggest-item .dest-suggest-loc,
html.light .page-tickets .dest-suggest-item .dest-suggest-loc,
html.light .hero-cinematic .dest-suggest-item .dest-suggest-loc {
  color: #475569 !important;
  font-weight: 600 !important;
}
html.light .dest-suggest-item .dest-suggest-code,
html.light .page-tickets .dest-suggest-item .dest-suggest-code {
  background-color: #f1f5f9 !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  font-weight: 800 !important;
}

/* Selected Route Result Box */
html.light .page-tickets #tickets-selected-route {
  background-color: #f0f9ff !important;
  border-color: #bae6fd !important;
}
html.light .page-tickets #selected-route-label {
  color: #0f172a !important;
  font-weight: 900 !important;
}
html.light .page-tickets #selected-dest-meta {
  color: #475569 !important;
  font-weight: 600 !important;
}
html.light .page-tickets #selected-guide-link {
  color: #0284c7 !important;
  font-weight: 800 !important;
}
html.light .page-tickets #selected-guide-link:hover {
  color: #0369a1 !important;
}

/* Value Appeal Banner */
html.light .page-tickets .value-appeal-box {
  background-color: #fefce8 !important;
  border-color: #fde047 !important;
}
html.light .page-tickets .value-appeal-box h2 {
  color: #713f12 !important;
}
html.light .page-tickets .value-appeal-box p {
  color: #854d0e !important;
}

/* Frequently Quoted Destinations Grid & Cards */
html.light .page-tickets .ticket-dest-card {
  background-color: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.05) !important;
}
html.light .page-tickets .ticket-dest-card:hover {
  border-color: #38bdf8 !important;
  box-shadow: 0 12px 24px -4px rgba(0, 0, 0, 0.1) !important;
}
html.light .page-tickets .ticket-dest-card .ticket-dest-title {
  color: #0f172a !important;
  font-weight: 900 !important;
}
html.light .page-tickets .ticket-dest-card .ticket-dest-meta {
  color: #475569 !important;
  font-weight: 600 !important;
}
html.light .page-tickets .ticket-dest-card .border-t {
  border-top-color: #e2e8f0 !important;
}
html.light .page-tickets .dest-card-guide-btn {
  background-color: #0284c7 !important;
  color: #ffffff !important;
}
html.light .page-tickets .dest-card-guide-btn:hover {
  background-color: #0369a1 !important;
  color: #ffffff !important;
}

/* Why Quote Explainer Container & Cards */
html.light .page-tickets .why-quote-wrap {
  background-color: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
}
html.light .page-tickets .why-quote-wrap h2 {
  color: #0f172a !important;
}
html.light .page-tickets .why-quote-wrap p {
  color: #475569 !important;
}
html.light .page-tickets .why-quote-wrap .trust-card {
  background-color: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.06), 0 2px 4px -1px rgba(0, 0, 0, 0.04) !important;
}
html.light .page-tickets .why-quote-wrap .trust-card:hover {
  border-color: #38bdf8 !important;
  box-shadow: 0 12px 24px -4px rgba(0, 0, 0, 0.10) !important;
}
html.light .page-tickets .why-quote-wrap .trust-card h3 {
  color: #0f172a !important;
  font-weight: 900 !important;
}
html.light .page-tickets .why-quote-wrap .trust-card p {
  color: #334155 !important;
  font-weight: 500 !important;
  line-height: 1.65 !important;
}

/* =============================================================
   Desktop Navigation Bar & Scroll Hamburger Transition
   ============================================================= */
.header-desktop-nav {
  display: none !important;
}

@media (min-width: 1024px) {
  /* Unscrolled Desktop: Desktop Nav is visible, Brand takes auto width, Hamburger is hidden */
  #site-header:not(.header-scrolled) .header-brand-group {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
  }
  #site-header:not(.header-scrolled) .header-desktop-nav {
    display: flex !important;
    flex: 0 0 auto !important;
  }
  #site-header:not(.header-scrolled) .header-search-group {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: 580px !important;
    margin-left: auto !important;
  }
  #mobile-nav-toggle-btn {
    display: flex !important;
  }

  /* Scrolled Desktop: Desktop Nav is hidden, Hamburger appears in far right corner */
  #site-header.header-scrolled .header-desktop-nav {
    display: none !important;
  }
  #site-header.header-scrolled #mobile-nav-toggle-btn {
    display: flex !important;
  }
}

/* Destination Search Input Default Size & Smooth Focus Expansion */
.header-search-input-wrap {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 140px;
}
@media (min-width: 640px) {
  .header-search-input-wrap {
    min-width: 180px;
  }
}
@media (min-width: 1024px) {
  /* Desktop: larger by default as requested */
  .header-search-input-wrap {
    min-width: 260px !important;
    max-width: 420px !important;
    flex: 1 1 260px !important;
  }
  .header-search-input-wrap:focus-within,
  #header-search-form.is-search-active .header-search-input-wrap {
    min-width: 320px !important;
    max-width: 480px !important;
    flex: 2 1 auto !important;
  }
}

/* Find Button: Hidden by default across viewports, shows ONLY when user clicks/focuses in search box */
#header-search-submit-btn {
  display: none !important;
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.15s ease;
}

#header-search-form:focus-within #header-search-submit-btn,
#header-search-form.is-search-active #header-search-submit-btn {
  display: inline-flex !important;
  opacity: 1 !important;
  transform: scale(1) !important;
}

/* Light Theme Styling for Desktop Nav Bar (Solid Legible Background) */
html.light .header-desktop-nav {
  background-color: rgba(255, 255, 255, 0.95) !important;
  border-color: rgba(226, 232, 240, 0.9) !important;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.06) !important;
}
html.light .header-desktop-nav .header-desktop-link:not(.active) {
  color: #334155 !important;
}
html.light .header-desktop-nav .header-desktop-link:not(.active):hover {
  color: #0f172a !important;
  background-color: #f1f5f9 !important;
}
html.light .header-desktop-nav .header-desktop-link.active {
  background-color: var(--color-sky, #0fa6f6) !important;
  color: #ffffff !important;
}

/* Light Mode Styles for Dedicated American Landing Page */
html.light .page-american .bg-slate-900 {
  background-color: #f8fafc !important;
  border-color: #e2e8f0 !important;
}
html.light .page-american .bg-slate-900 h2,
html.light .page-american .bg-slate-900 h3 {
  color: #0f172a !important;
}
html.light .page-american .bg-slate-900 p {
  color: #475569 !important;
}
html.light .page-american .bg-slate-950 {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
}
html.light .page-american .bg-slate-950 h2,
html.light .page-american .bg-slate-950 h3 {
  color: #0f172a !important;
}
html.light .page-american .bg-slate-950 p {
  color: #475569 !important;
}



/* -------------------------------------------------------------
   Homepage Feature Gateway Boxes (#value .trust-card)
   ------------------------------------------------------------- */
#value .trust-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
}

#value .trust-card:hover {
  transform: translateY(-4px) !important;
}

html.light #value {
  background-color: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

html.light #value h2 {
  color: #0f172a !important;
}

html.light #value p.text-slate-300 {
  color: #475569 !important;
}

html.light #value .trust-card {
  background-color: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.06), 0 2px 4px -1px rgba(0, 0, 0, 0.04) !important;
}

html.light #value .trust-card:hover {
  border-color: #38bdf8 !important;
  box-shadow: 0 12px 24px -4px rgba(0, 0, 0, 0.10) !important;
}

html.light #value .trust-card h3 {
  color: #0f172a !important;
  font-weight: 800 !important;
}

html.light #value .trust-card p {
  color: #334155 !important;
  font-weight: 500 !important;
  line-height: 1.65 !important;
}

html.light #value .trust-card .border-t {
  border-top-color: #e2e8f0 !important;
}

/* Guide Detail Page Value-Exchange Callout Box & Transit Button */
.guide-reciprocity-box {
  background-color: rgba(245, 158, 11, 0.08) !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
}
.guide-transit-btn {
  background-color: #1e293b !important;
  color: #f8fafc !important;
  border: 1px solid #334155 !important;
}
.guide-transit-btn:hover {
  background-color: #334155 !important;
  color: #38bdf8 !important;
}

html.light .guide-reciprocity-box {
  background-color: #fffbeb !important;
  border: 1px solid #fde047 !important;
}
html.light .guide-reciprocity-icon {
  background-color: #fef3c7 !important;
  border-color: #fcd34d !important;
  color: #b45309 !important;
}
html.light .guide-reciprocity-title {
  color: #78350f !important;
  font-weight: 900 !important;
}
html.light .guide-reciprocity-text {
  color: #92400e !important;
  font-weight: 600 !important;
}
html.light .guide-transit-btn {
  background-color: #f1f5f9 !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
}
html.light .guide-transit-btn:hover {
  background-color: #e2e8f0 !important;
  color: #0284c7 !important;
}
