/* Site brand colors and small overrides on top of Tailwind */
:root {
  --brand-navy: #0c1d36;
  --brand-navy-light: #162d4f;
  --brand-amber: #f59e0b;
}

/* Smooth scrolling for anchor jumps */
html { scroll-behavior: smooth; }

/* The HTML `hidden` attribute must beat Tailwind's display utilities (grid, flex, etc.) */
[hidden] { display: none !important; }

/* Body defaults — Tailwind already applies system font stack */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #fff;
  color: var(--brand-navy);
}

/* Tab states — buttons toggle via [data-active="true"] */
[data-tab][data-active="true"][data-tab-style="fleet"] {
  background: var(--brand-amber);
  color: #fff;
}
[data-tab][data-active="false"][data-tab-style="fleet"] {
  background: #f3f4f6; color: #6b7280;
}
[data-tab][data-active="false"][data-tab-style="fleet"]:hover {
  background: #e5e7eb;
}

[data-tab][data-active="true"][data-tab-style="travel"] {
  background: var(--brand-amber);
  color: #fff;
}
[data-tab][data-active="false"][data-tab-style="travel"] {
  background: rgba(255,255,255,0.10); color: rgba(255,255,255,0.7);
}
[data-tab][data-active="false"][data-tab-style="travel"]:hover {
  background: rgba(255,255,255,0.20); color: #fff;
}

/* Line clamp helper (Tailwind v3 supports natively but keep as fallback) */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
