/* Local area marketplace page. Umbrella chrome (logo, nav, footer, + Post) stays
   site-wide. --area-* vars come from the public area feed (030 + branding).
   theme_mode is the PAGE body; hero can be dark on its own (hero image / hero_theme).
   Listing cards and empty-state always stay light for ≥4.5:1 text contrast. */
.area-page {
  --area-accent: #C0392B;
  --area-accent-hover: #A93226;
  --area-bg: #F7F9FC;
  --area-surface: #FFFFFF;
  --area-text: #0F1C3A;
  --area-muted: #45516B;
  --area-border: #D9E0EC;
  --area-hero-solid: #13264F;
  --area-hero-overlay: none;
  --area-hero-image: none;
  --area-btn-radius: 6px;
  --area-card-radius: 12px;
  --area-card-surface: #FFFFFF;
  --area-card-text: #0F1C3A;
  --area-card-muted: #45516B;
  --area-card-border: #D9E0EC;
  background: var(--area-bg);
  color: var(--area-text);
}
.area-hero {
  position: relative;
  background-color: var(--area-hero-solid);
  background-image: var(--area-hero-overlay), var(--area-hero-image);
  background-size: cover;
  background-position: center 60%;
  color: #fff;
  padding: 48px 0 36px;
  border-bottom: 6px solid var(--area-accent);
  min-height: 360px;
}
@media (max-width: 760px) {
  .area-hero { min-height: 300px; padding: 36px 0 28px; }
}
.area-kicker { margin: 0 0 8px; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: #cfd8ea; }
.area-code-badge {
  display: inline-block;
  background: var(--area-accent);
  color: #fff;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 999px;
  margin-right: 6px;
  font-size: 13px;
  letter-spacing: .02em;
}
.area-hero h1 { font-size: clamp(34px, 6vw, 56px); margin: 0 0 10px; color: #fff; letter-spacing: -0.03em; }
.area-tagline { font-size: 18px; max-width: 640px; margin: 0 0 8px; color: #e8edf7; }
.area-operator { font-size: 14px; color: #cfd8ea; margin: 0 0 18px; }
.area-operator a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--area-accent);
  text-underline-offset: 2px;
}
.area-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.area-btn {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: var(--area-btn-radius);
  font-weight: 700;
  text-decoration: none;
}
.area-btn-primary { background: var(--area-accent); color: #fff; }
.area-btn-primary:hover { background: var(--area-accent-hover); }
.area-btn-ghost { border: 2px solid #fff; color: #fff; }
.area-btn-ghost:hover { background: rgba(255,255,255,.12); }
.area-section { padding: 32px 0 8px; }
.area-section h2 { font-size: clamp(22px, 3vw, 30px); margin: 0 0 8px; color: var(--area-text); letter-spacing: -0.03em; }
.area-cities { color: var(--area-muted); margin: 0 0 16px; }
.area-empty {
  background: var(--area-card-surface);
  border: 1px dashed var(--area-border);
  border-radius: var(--area-card-radius);
  padding: 20px;
  color: var(--area-text);
}
.area-coming-card {
  background: #fff7f5;
  border: 1px solid #f1c9c2;
  border-left: 6px solid var(--area-accent);
  border-radius: var(--area-card-radius);
  padding: 20px 22px;
  color: #13264F;
}
.area-coming-eyebrow { margin: 0 0 4px; font-weight: 800; text-transform: uppercase; font-size: 13px; letter-spacing: .06em; color: #A93226; }
.area-links ul { padding-left: 18px; color: var(--area-text); line-height: 1.7; }
.area-page > .area-section:last-of-type { padding-bottom: 48px; }

/* Body links: navy text (≥4.5:1 on sand/light body), accent underline. No coral/salmon. */
.area-page .area-empty a,
.area-page .area-links a,
.area-page .area-empty .text-link,
.area-page .area-links .text-link {
  color: #0F1C3A !important;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--area-accent);
  text-underline-offset: 2px;
}
.area-page .area-empty a:hover,
.area-page .area-links a:hover,
.area-page .area-empty .text-link:hover,
.area-page .area-links .text-link:hover {
  color: #0F1C3A !important;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--area-accent-hover);
}

/* Listing cards: always umbrella light surface/ink for ≥4.5:1 contrast. */
.area-page .market-photo a {
  background: var(--area-card-surface) !important;
  color: var(--area-card-text) !important;
  border-color: var(--area-card-border) !important;
  border-radius: var(--area-card-radius);
}
.area-page .market-photo-price,
.area-page .market-photo-title { color: var(--area-card-text) !important; }
.area-page .market-photo-meta { color: var(--area-card-muted) !important; }

/* Keep the last section clear of the floating Post button on phones (#160 hides it on area pages). */
@media (max-width: 760px) { .area-page { padding-bottom: 104px; } }
