/* ═══════════════════════════════════════════════════════════════════
   Hub + neighborhood pages (resources/views/hubs, resources/views/
   neighborhoods). These server-rendered pages shipped with no styles at
   all — their scaffold linked /css/app.css, which never existed. Loaded
   by partials/nav.blade.php AFTER public-site.css, whose theme tokens
   (--dark, --cream, --tc, --border, --purple, --btn-gradient…) this file
   leans on so the pages follow the light/dark theme for free.
   ═══════════════════════════════════════════════════════════════════ */

main.hub-page,
main.neighborhood-page,
body > .hub-page,
body > .neighborhood-page {
  padding-top: 112px;           /* clear the fixed site nav */
  background: var(--dark);
  color: var(--cream);
  min-height: 60vh;
}

.hub-page .container,
.neighborhood-page .container,
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Hero band ── */
.hub-hero,
.neighborhood-hero {
  text-align: center;
  padding: 56px 24px 40px;
}
.hub-hero h1,
.neighborhood-hero h1 {
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.15;
  margin-bottom: 14px;
}
.lead {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(var(--tc), 0.7);
  max-width: 640px;
  margin: 0 auto;
}

.hub-page h2,
.neighborhood-page h2 {
  font-size: clamp(20px, 3vw, 28px);
  margin: 40px 0 18px;
}

.breadcrumb-trail {
  font-size: 13px;
  color: rgba(var(--tc), 0.55);
  padding: 8px 0 0;
}
.breadcrumb-trail a { color: inherit; }

/* ── Grids ── */
.country-grid,
.city-card-grid,
.city-list--grid,
.neighborhood-grid,
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 40px;
}

/* ── Cards ── */
.country-card,
.city-card,
.neighborhood-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  color: var(--cream);
  background: rgba(var(--tc), 0.02);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.country-card:hover,
.city-card:hover,
.neighborhood-card:hover {
  border-color: rgba(142, 33, 202, 0.4);
  box-shadow: 0 8px 28px rgba(142, 33, 202, 0.12);
  transform: translateY(-2px);
}
.country-flag { font-size: 26px; line-height: 1; }
.country-name,
.city-card__name,
.neighborhood-card__name { font-weight: 600; }
.city-count,
.city-card__tagline,
.city-card__rating,
.neighborhood-card__desc {
  font-size: 13px;
  color: rgba(var(--tc), 0.6);
}
.neighborhood-card__cta { font-size: 13px; color: var(--purple); margin-top: 4px; }

.city-list { list-style: none; padding: 0; }
.city-list a { color: var(--cream); text-decoration: none; }
.city-list a:hover { color: var(--purple); }
.country-group { margin-bottom: 28px; }

/* ── FAQ + CTA ── */
.faq-list { margin-bottom: 40px; }
.faq-list > * { margin-bottom: 16px; }

.hub-cta {
  text-align: center;
  padding: 40px 24px 64px;
}
.btn.btn-primary {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 60px;
  border: none;
  background: var(--btn-gradient, linear-gradient(129deg, #8E21CA, #254AAD));
  color: #fff;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow .25s, transform .25s;
}
.btn.btn-primary:hover {
  box-shadow: 0 0 28px rgba(142, 33, 202, 0.3);
  transform: scale(1.02);
}

@media (max-width: 640px) {
  main.hub-page, main.neighborhood-page,
  body > .hub-page, body > .neighborhood-page { padding-top: 92px; }
  .hub-hero, .neighborhood-hero { padding: 36px 16px 24px; }
}
