/* Premium Dark Glassmorphism Stylesheet (Matching Theo Docs Design Layout) */

:root {
  --bg-color: #0c0e16;
  --panel-bg: rgba(20, 24, 38, 0.6);
  --border-color: rgba(255, 255, 255, 0.05);
  --border-hover: rgba(255, 255, 255, 0.2);
  
  --primary-color: #ffffff;
  --primary-glow: rgba(255, 255, 255, 0.08);
  --secondary-color: #10b981; /* Green brand color */
  --yellow-color: #f6c344;   /* Yellow accent color */
  --text-primary: #f3f4f6;
  --text-secondary: #ffffff;
  --text-muted: #52525b;
  
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --transition-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

:root.light {
  --bg-color: #ffffff;
  --panel-bg: #f6f6f7;
  --border-color: #e2e8f0;
  --border-hover: rgba(0, 0, 0, 0.12);
  
  --primary-color: #213547;
  --primary-glow: rgba(0, 0, 0, 0.04);
  --yellow-color: #7c3aed;    /* Vivid Violet in light mode for modern tech look and high visibility */
  --text-primary: #213547;
  --text-secondary: #3c3c43;
  --text-muted: #8e8e93;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

/* Glassmorphism SPA Wrapper */
.Layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
}

/* ---------------------------------------------------- */
/* Header Navigation (VPNav) */
/* ---------------------------------------------------- */
header.VPNav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 14, 22, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
  letter-spacing: -0.01em;
}

.logo-img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  border-radius: 6px;
}

.logo-text {
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Static Search Box (Simulating command-palette input) */
.search-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.4rem 0.8rem;
  cursor: text;
  transition: var(--transition-smooth);
}

.search-box:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.search-icon {
  width: 14px;
  height: 14px;
  color: var(--text-secondary);
}

.search-placeholder {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-right: 2.5rem;
}

.search-kbd {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}

/* Right Navigation Menu */
.nav-menu {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
  color: #fff;
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: 1rem;
  border-left: 1px solid var(--border-color);
  padding-left: 1rem;
}

.theme-toggle, .github-link {
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.theme-toggle svg, .github-link svg {
  width: 18px;
  height: 18px;
}

.theme-toggle:hover, .github-link:hover {
  color: #fff;
}

/* Mobile Toggle menu button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition-smooth);
}

/* ---------------------------------------------------- */
/* Home Hero Section */
/* ---------------------------------------------------- */
.home-hero-section {
  max-width: 1200px;
  margin: 3.5rem auto 2.5rem;
  padding: 0 2rem;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Promo Banner / Badge */
.promo-badge {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.85rem;
}

.badge-title {
  color: var(--text-secondary);
  font-weight: 500;
}

.badge-code {
  color: var(--text-primary);
}

.badge-code strong {
  color: var(--yellow-color);
  background: rgba(246, 195, 68, 0.1);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}

.badge-desc {
  color: var(--text-secondary);
  font-size: 0.78rem;
}

/* Hero Typography */
.hero-title {
  font-size: 3.2rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
}

.hero-title .brand-text {
  color: var(--secondary-color);
  display: block;
}

.hero-title .main-text {
  color: #fff;
  display: block;
}

.hero-tagline {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2.2rem;
  max-width: 580px;
}

/* Hero Buttons */
.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.hero-btn.yellow {
  background-color: var(--yellow-color);
  color: #12131a;
  box-shadow: 0 4px 15px rgba(246, 195, 68, 0.3);
}

.hero-btn.yellow:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(246, 195, 68, 0.5);
  background-color: #f7cd60;
}

.hero-btn.grey {
  background-color: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.hero-btn.grey:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

/* Hero Illustration (glowing mockup image) */
.hero-right {
  display: flex;
  justify-content: center;
}

.illustration-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.glow-bg {
  position: absolute;
  top: 15%;
  left: 15%;
  right: 15%;
  bottom: 15%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.35) 0%, rgba(255, 255, 255, 0.08) 50%, transparent 100%);
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
}

.hero-illustration {
  position: relative;
  width: 100%;
  border-radius: 16px;
  z-index: 2;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.5));
  transition: var(--transition-smooth);
}

.hero-illustration:hover {
  transform: translateY(-5px) scale(1.01);
}

/* ---------------------------------------------------- */
/* Homepage Cards Section */
/* ---------------------------------------------------- */
.home-cards-section {
  max-width: 1200px;
  margin: 3.5rem auto 5rem;
  padding: 0 2rem;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.home-card {
  background-color: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.home-card:hover, .home-card.highlighted {
  border-color: var(--yellow-color);
  box-shadow: 0 8px 30px rgba(246, 195, 68, 0.08);
}

.card-icon-wrapper {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--yellow-color);
}

.card-icon-wrapper svg {
  width: 20px;
  height: 20px;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-link {
  font-size: 0.85rem;
  color: var(--yellow-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.card-link:hover {
  color: #fff;
}

/* ---------------------------------------------------- */
/* Content Layout Columns */
/* ---------------------------------------------------- */
main.main {
  flex-grow: 1;
}

.main-container {
  max-width: 1200px;
  margin: 3.5rem auto 5rem;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3.5rem;
}

/* Main document content container (.vp-doc.plume-content) */
.vp-doc.plume-content {
  min-width: 0;
  color: var(--text-primary);
  font-size: 1.05rem;
}

/* Schema-compliant Breadcrumbs */
.breadcrumb {
  margin-bottom: 1.8rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.breadcrumb a:hover {
  color: var(--primary-color);
}

/* Typographic overrides */
.vp-doc.plume-content h2 {
  font-size: 24px;
  color: var(--text-primary);
  margin-top: 36px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.vp-doc.plume-content h3 {
  font-size: 19.2px;
  color: var(--text-primary);
  margin-top: 36px;
  margin-bottom: 16px;
  font-weight: 700;
}

.vp-doc.plume-content p {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.vp-doc.plume-content ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

.vp-doc.plume-content li {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.vp-doc.plume-content strong {
  color: var(--text-primary);
}

.vp-doc.plume-content hr {
  border: 0;
  height: 1px;
  background: var(--border-color);
  margin: 2.5rem 0;
}

/* External Link & CTA Link Override */
.vp-doc.plume-content a {
  color: var(--secondary-color);
  text-decoration: none;
  border-bottom: 1px dashed var(--secondary-color);
  transition: var(--transition-smooth);
}

.vp-doc.plume-content a:hover {
  color: var(--yellow-color);
  border-bottom: 1px solid var(--yellow-color);
}

/* CTA buttons for conversions */
.vp-doc.plume-content a.cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.04);
  color: var(--yellow-color) !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  cursor: pointer;
  text-decoration: none !important;
  transition: var(--transition-smooth);
}

.vp-doc.plume-content a.cta-link:hover {
  background-color: var(--yellow-color);
  color: #12131a !important;
  border-color: var(--yellow-color);
}

/* Table container styling */
.table-container {
  width: 100%;
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: var(--panel-bg);
  backdrop-filter: blur(8px);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 0.95rem;
}

th, td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--border-color);
}

th {
  background-color: rgba(255, 255, 255, 0.02);
  color: #fff;
  font-weight: 600;
}

tr:last-child td {
  border-bottom: none;
}

/* Sidebar TOC styles (VPSidebar) */
aside.VPSidebar {
  position: sticky;
  top: 7rem;
  height: calc(100vh - 10rem);
  overflow-y: auto;
  border-left: 1px solid var(--border-color);
  padding-left: 1.5rem;
}

.toc-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
}

.toc-list {
  list-style: none;
}

.toc-item {
  margin-bottom: 0.6rem;
}

.toc-link {
  display: block;
  font-size: 0.9rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition-smooth);
  padding: 0.25rem 0;
  border-left: 2px solid transparent;
  padding-left: 0.8rem;
  margin-left: -1px;
}

.toc-item.depth-3 {
  padding-left: 1rem;
}

.toc-link:hover {
  color: #fff;
}

.toc-link.active {
  color: var(--primary-color);
  font-weight: 600;
  border-left-color: var(--primary-color);
}

/* ---------------------------------------------------- */
/* Footer Layout Columns */
/* ---------------------------------------------------- */
footer.footer {
  background: #090b11;
  border-top: 1px solid var(--border-color);
  padding: 4.5rem 0 2.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-columns {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2.5rem;
}

.footer-col h3 {
  font-size: 0.85rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-col a:hover {
  color: #fff;
}

.footer-info {
  width: 100%;
  text-align: center;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------------------------------------------------- */
/* Responsive Breakpoints */
/* ---------------------------------------------------- */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .hero-left {
    align-items: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .main-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  aside.VPSidebar {
    display: none !important; /* Hide sidebar completely on mobile */
  }
}

@media (max-width: 768px) {
  .logo {
    font-size: 1.15rem;
  }

  /* Hide Search box on small mobile */
  .search-box {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(12, 14, 22, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    align-items: flex-start;
    display: none;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-icons {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    width: 100%;
    justify-content: flex-start;
    margin-top: 1rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
  }

  /* Hamburger transform animation */
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-title {
    font-size: 2.2rem;
  }
  
  .header-container {
    padding: 1rem 1.5rem;
  }
  
  .main-container {
    padding: 0 1.5rem;
    margin: 1.5rem auto 3rem;
  }
  
  table th:nth-child(2), table td:nth-child(2),
  table th:nth-child(3), table td:nth-child(3),
  table th:nth-child(5), table td:nth-child(5),
  table th:nth-child(6), table td:nth-child(6),
  table th:nth-child(8), table td:nth-child(8) {
    display: none; /* Hide non-essential columns for mobile viewport to keep layout clean */
  }

  /* Extreme thumb-friendly CTA buttons */
  .vp-doc.plume-content a.cta-link {
    width: 100%;
    padding: 0.9rem 1.5rem;
    font-size: 1.1rem;
    border-radius: 12px;
    text-align: center;
  }
}

/* Make airport name links in the first column of the tables white, satisfying '图3 字体全部变成白色' */
.table-container table td:first-child a {
  color: #fff !important;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.4) !important;
}

.table-container table td:first-child a:hover {
  color: var(--yellow-color) !important;
  border-bottom: 1px solid var(--yellow-color) !important;
}

/* ==================================================== */
/* Light Mode Specific Element Styles & Layout Overrides */
/* ==================================================== */

html.light header.VPNav {
  background: rgba(255, 255, 255, 0.9);
}

html.light .logo {
  color: #213547;
}

html.light .logo-text {
  background: linear-gradient(135deg, #213547 0%, #000000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

html.light .search-box {
  background: rgba(0, 0, 0, 0.03);
}

html.light th {
  background-color: rgba(0, 0, 0, 0.02);
}

html.light footer.footer {
  background: #f6f6f7;
  border-top: 1px solid #e2e8f0;
}

html.light .nav-menu {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

html.light .glow-bg {
  opacity: 0.15;
}

html.light .table-container table td:first-child a {
  color: #213547 !important;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.4) !important;
}

html.light .table-container table td:first-child a:hover {
  color: var(--yellow-color) !important;
  border-bottom: 1px solid var(--yellow-color) !important;
}

/* Typographic overrides to prevent hardcoded colors in light mode */
.logo { color: var(--text-primary); }
.nav-link:hover, .nav-link.active { color: var(--text-primary); }
.theme-toggle:hover, .github-link:hover { color: var(--text-primary); }
.card-title { color: var(--text-primary); }
.card-link:hover { color: var(--text-primary); }
.vp-doc.plume-content h2 { color: var(--text-primary); }
.vp-doc.plume-content h3 { color: var(--text-primary); }
.vp-doc.plume-content strong { color: var(--text-primary); }
.vp-doc.plume-content a:hover { color: var(--text-primary); }
th { color: var(--text-primary); }
.toc-link:hover { color: var(--text-primary); }
.footer-col h3 { color: var(--text-primary); }
.footer-col a:hover { color: var(--text-primary); }

/* Anchor Hover style mimicking VitePress (Figure 3) */
@media (min-width: 768px) {
  .vp-doc.plume-content h2, .vp-doc.plume-content h3 {
    position: relative;
  }
  .vp-doc.plume-content h2:hover::before, .vp-doc.plume-content h3:hover::before {
    content: "#";
    position: absolute;
    left: -0.9em;
    color: var(--secondary-color);
    font-weight: 500;
    opacity: 0.85;
  }
}

/* Custom button inside Promo Badge (Figure 1) */
.badge-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--yellow-color);
  color: #12131a !important;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  text-decoration: none !important;
  margin-top: 0.5rem;
  transition: var(--transition-smooth);
  width: fit-content;
}

.badge-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ---------------------------------------------------- */
/* Airport Grid Directory styles (magic-airports.html) */
/* ---------------------------------------------------- */
.airport-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2.5rem auto;
}

.airport-nav-card {
  background: var(--panel-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

/* Specific card highlighting */
.airport-nav-card.featured {
  border-color: var(--secondary-color);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}

.airport-nav-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.airport-nav-card.featured:hover {
  border-color: var(--secondary-color);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.25);
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.nav-tag-pill {
  display: inline-block;
  padding: 0.18rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: none;
}

.airport-nav-card.featured .nav-tag-pill {
  background: rgba(16, 185, 129, 0.1);
  color: var(--secondary-color);
}

.nav-tag-pill.accent {
  background: rgba(246, 195, 68, 0.1);
  color: var(--yellow-color);
}

.card-title-nav {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-body-nav {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-footer-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  margin-top: auto;
}

.card-price-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--yellow-color);
  line-height: 1.3;
}

.card-price-nav span {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.card-btn-group {
  display: flex;
  gap: 0.5rem;
}

.btn-nav-buy, .btn-nav-review {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  text-decoration: none !important;
  transition: var(--transition-smooth);
}

.btn-nav-buy {
  background-color: var(--yellow-color);
  color: #12131a !important;
  border: none;
}

.btn-nav-buy:hover {
  opacity: 0.9;
  transform: scale(1.03);
}

.btn-nav-review {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-primary) !important;
}

.btn-nav-review:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--border-hover);
}

html.light .nav-tag-pill {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-secondary);
}

html.light .btn-nav-review {
  background-color: rgba(0, 0, 0, 0.02);
  border-color: var(--border-color);
}

html.light .btn-nav-review:hover {
  background-color: rgba(0, 0, 0, 0.05);
  border-color: var(--border-hover);
}

@media (max-width: 992px) {
  .airport-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .airport-grid {
    grid-template-columns: 1fr;
  }
}

/* Full screen container style for pages without TOC sidebars */
.main-container.full-width {
  grid-template-columns: 1fr;
  max-width: 95%;
  margin: 3.5rem auto 5rem;
  padding: 0 2rem;
  gap: 0;
}

@media (max-width: 768px) {
  .main-container.full-width {
    max-width: 100%;
    padding: 0 1rem;
  }
}

/* Force text to white for elements with purple background in Light Mode */
html.light .hero-btn.yellow,
html.light .badge-btn,
html.light .btn-nav-buy,
html.light .btn-purchase-go:hover,
html.light .vp-doc.plume-content a.cta-link:hover {
  color: #ffffff !important;
}

/* ==================================================== */
/* Search Modal Overlay & Algolia-style DocSearch Styles */
/* ==================================================== */
.search-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(12, 14, 22, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 15vh;
}

.search-modal-container {
  background: rgba(20, 24, 38, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  width: 600px;
  max-width: 90%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: search-fade-in 0.2s ease-out;
}

@keyframes search-fade-in {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.search-modal-header {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  gap: 1rem;
}

.modal-search-icon {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
}

#search-input {
  flex-grow: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 1.1rem;
  font-family: var(--font-sans);
}

#search-input::placeholder {
  color: var(--text-muted);
}

.search-close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  padding: 0.2rem 0.5rem;
  font-size: 0.75rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.search-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.search-modal-body {
  max-height: 50vh;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}

.search-results-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.search-item-link {
  display: block;
  text-decoration: none !important;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 1rem;
  transition: background 0.2s, border-color 0.2s;
}

.search-item-link.selected, .search-item-link:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}

.search-item-title {
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 0.25rem;
  transition: color 0.2s;
}

.search-item-link:hover .search-item-title, .search-item-link.selected .search-item-title {
  color: var(--yellow-color);
}

.search-item-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.search-empty-state {
  text-align: center;
  padding: 2rem 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.search-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
  padding: 0.8rem 1.5rem;
  background: rgba(9, 11, 16, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.search-modal-footer kbd {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  padding: 1px 4px;
  color: #fff;
  margin-right: 4px;
}

/* Light mode search overlay styles */
html.light .search-modal-overlay {
  background: rgba(255, 255, 255, 0.8);
}

html.light .search-modal-container {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

html.light #search-input {
  color: #213547;
}

html.light .search-item-link {
  background: #f6f6f7;
  border: 1px solid #e2e8f0;
}

html.light .search-item-link.selected, html.light .search-item-link:hover {
  background: #e2e8f0;
}

html.light .search-item-title {
  color: #213547;
}

html.light .search-modal-footer {
  background: #f6f6f7;
  border-top: 1px solid #e2e8f0;
}

html.light .search-modal-footer kbd {
  background: #e2e8f0;
  border: 1px solid #cbd5e1;
  color: #213547;
}
