/* Destinations hub (/destinations/) — mirrors components/DestinationsPage.jsx.
 * SPA carries the rules as inline styles; the .va-dest-hub-* classes are the
 * parity bridge.
 *
 * Visual contract:
 *  - Full-bleed image hero (~55vh) with breadcrumb top, H1+lede bottom-anchored
 *  - Category filter pills row
 *  - "{n} destinations" count
 *  - 3-col grid
 *
 * Uses -60px hero margin (same correction as P2 detail pages and dest-hero).
 */

/* ── Hero ──────────────────────────────────────────────────────────── */
.va-dest-hub-hero {
  position: relative;
  /* -96px so hero fully covers the 96px header (no cream strip). Matches
   * SPA DestinationsPage.jsx:62 after the cream-strip elimination. */
  margin-top: -96px;
  height: 55vh;
  min-height: 480px;
  overflow: hidden;
  color: #fff;
  background: var(--ionian-deep);
}
.va-dest-hub-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.va-dest-hub-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,35,56,0.6) 0%, rgba(8,35,56,0.2) 40%, rgba(8,35,56,0.85) 100%);
}
.va-dest-hub-hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 140px 48px 56px;
}
.va-dest-hub-hero-crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}
.va-dest-hub-hero-crumb a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
}
.va-dest-hub-hero-crumb .sep { color: rgba(255,255,255,0.4); }
.va-dest-hub-hero-stack { margin-top: auto; }
.va-dest-hub-hero-h1 {
  margin: 0;
  font-size: clamp(72px, 8vw, 140px);
  color: #fff;
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 400;
}
.va-dest-hub-hero-lede {
  margin-top: 20px;
  max-width: 640px;
  font-size: 20px;
  font-style: italic;
  color: #fff;
  line-height: 1.35;
}

/* ── Filters ───────────────────────────────────────────────────────── */
.va-dest-hub-filters { padding: 48px 48px 0; }
.va-dest-hub-filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}
.va-dest-hub-pill {
  padding: 8px 16px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: 2px;
  text-decoration: none;
}
.va-dest-hub-pill.is-active {
  background: var(--ink);
  color: var(--paper);
}
.va-dest-hub-count {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}

/* ── Grid wrapper ──────────────────────────────────────────────────── */
.va-dest-hub-grid-wrap { padding: 32px 48px 80px; }

/* ── Mobile ────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .va-dest-hub-hero { height: 50vh; min-height: 400px; }
  .va-dest-hub-hero-content { padding: 100px 24px 32px; }
  .va-dest-hub-hero-h1 { font-size: clamp(48px, 14vw, 72px); }
  .va-dest-hub-hero-lede { font-size: 16px; margin-top: 16px; }
  .va-dest-hub-filters { padding: 32px 24px 0; }
  .va-dest-hub-grid-wrap { padding: 24px 24px 48px; }
}
