/* ═══════════════════════════════════════════════════
   VCG Neighborhood Page Styles
   VCG brand: black + gold on cream/white
   ═══════════════════════════════════════════════════ */

:root {
  /* --vcg-navy retained as a token name for backwards compat, but now maps to VCG brand black */
  --vcg-navy: #231F20;
  --vcg-navy-light: #3A3438;
  --vcg-gold: #D4A84B;
  --vcg-gold-light: #E0BC63;
  --vcg-white: #FFFFFF;
  --vcg-off-white: #F4F1E1;
  --vcg-gray-light: #F2F2F2;
  --vcg-gray-mid: #E0E0E0;
  --vcg-gray-text: #555555;
  --vcg-dark: #231F20;
  --vcg-font-heading: 'DM Serif Display', 'Playfair Display', Georgia, serif;
  --vcg-font-body: 'Raleway', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --vcg-max-width: 1200px;
  --vcg-section-pad: 80px;
}

/* ─── Reset & Base ─── */
.vcg-neighborhood * {
  box-sizing: border-box;
}

.vcg-neighborhood {
  font-family: var(--vcg-font-body);
  color: var(--vcg-dark);
  line-height: 1.7;
  font-size: 17px;
}

.vcg-neighborhood h1,
.vcg-neighborhood h2,
.vcg-neighborhood h3,
.vcg-neighborhood h4 {
  font-family: var(--vcg-font-heading);
  color: var(--vcg-navy);
  line-height: 1.3;
  margin-top: 0;
}

.vcg-section {
  padding: var(--vcg-section-pad) 24px;
}

.vcg-container {
  max-width: var(--vcg-max-width);
  margin: 0 auto;
}

/* ─── Hero Section ─── */
.vcg-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-color: var(--vcg-navy);
}

.vcg-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27,42,74,0.65) 0%, rgba(27,42,74,0.85) 100%);
}

.vcg-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 40px 24px;
}

.vcg-hero h1 {
  color: var(--vcg-white);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 12px;
  font-weight: 700;
}

.vcg-hero-subtitle {
  color: var(--vcg-gold-light);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-family: var(--vcg-font-body);
  font-weight: 300;
  letter-spacing: 0.02em;
}

/* ─── Anchor Nav Bar ─── */
.vcg-anchor-nav {
  background: var(--vcg-navy);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--vcg-gold);
}

.vcg-anchor-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: var(--vcg-max-width);
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.vcg-anchor-nav li a {
  display: block;
  padding: 14px 20px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.vcg-anchor-nav li a:hover,
.vcg-anchor-nav li a.active {
  color: var(--vcg-gold);
  background: rgba(255,255,255,0.05);
}

/* ─── Why Section (Intro) ─── */
.vcg-why-section {
  background: var(--vcg-white);
}

.vcg-why-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 28px;
  text-align: center;
}

.vcg-why-content {
  max-width: 860px;
  margin: 0 auto;
  font-size: 17px;
}

.vcg-why-content p {
  margin-bottom: 20px;
}

/* ─── Features Grid (What Makes Special) ─── */
.vcg-features-section {
  background: var(--vcg-off-white);
}

.vcg-features-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 40px;
  text-align: center;
}

.vcg-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  max-width: var(--vcg-max-width);
  margin: 0 auto;
}

.vcg-feature-card {
  background: var(--vcg-white);
  border-radius: 8px;
  padding: 32px 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.vcg-feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.vcg-feature-icon {
  width: 48px;
  height: 48px;
  background: var(--vcg-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--vcg-gold);
  font-size: 22px;
}

.vcg-feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-family: var(--vcg-font-body);
  font-weight: 600;
  color: var(--vcg-navy);
}

.vcg-feature-card p {
  color: var(--vcg-gray-text);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* ─── Market Stats Bar ─── */
.vcg-market-section {
  background: var(--vcg-white);
}

.vcg-market-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 36px;
  text-align: center;
}

.vcg-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--vcg-navy);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 48px;
}

.vcg-stat-card {
  padding: 22px 18px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.vcg-stat-card:last-child {
  border-right: none;
}

.vcg-stat-value {
  font-family: var(--vcg-font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--vcg-gold);
  display: block;
  margin-bottom: 6px;
}

.vcg-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* Price Ranges */
.vcg-price-ranges {
  margin-top: 32px;
}

.vcg-price-type {
  margin-bottom: 0;
  padding: 20px 24px;
  border-bottom: 1px solid var(--vcg-gray-mid);
}

.vcg-price-type:nth-child(even) {
  background: var(--vcg-off-white);
}

.vcg-price-type:nth-child(odd) {
  background: var(--vcg-white);
}

.vcg-price-type:last-child {
  border-bottom: none;
}

.vcg-price-type h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-family: var(--vcg-font-body);
  font-weight: 600;
}

/* Market Trends */
.vcg-trends {
  margin-top: 40px;
}

.vcg-trends h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  text-align: center;
}

.vcg-trend-item {
  display: flex;
  gap: 16px;
  margin-bottom: 0;
  padding: 20px;
  border-left: 4px solid var(--vcg-gold);
}

.vcg-trend-item:nth-child(odd) {
  background: var(--vcg-off-white);
}

.vcg-trend-item:nth-child(even) {
  background: var(--vcg-white);
}

.vcg-trend-item strong {
  color: var(--vcg-navy);
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.vcg-trend-item p {
  margin: 0;
  font-size: 15px;
  color: var(--vcg-gray-text);
}

/* ─── Lifestyle Section ─── */
.vcg-lifestyle-section {
  background: var(--vcg-off-white);
}

.vcg-lifestyle-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 36px;
  text-align: center;
}

.vcg-lifestyle-category h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--vcg-gold);
  font-family: var(--vcg-font-body);
  font-weight: 600;
}

.vcg-lifestyle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.vcg-lifestyle-item {
  background: var(--vcg-white);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}

.vcg-lifestyle-item h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  font-family: var(--vcg-font-body);
  font-weight: 600;
  color: var(--vcg-navy);
}

.vcg-lifestyle-item p {
  color: var(--vcg-gray-text);
  font-size: 15px;
  margin: 0;
  line-height: 1.6;
}

/* ─── Architecture Section ─── */
.vcg-architecture-section {
  background: var(--vcg-white);
}

.vcg-architecture-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 36px;
  text-align: center;
}

.vcg-arch-type {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  margin-bottom: 0;
  padding: 28px 32px;
  border-radius: 0;
  align-items: start;
}

.vcg-arch-type.no-sidebar {
  grid-template-columns: 1fr;
  gap: 0;
}

.vcg-arch-type:nth-child(odd) {
  background: var(--vcg-off-white);
}

.vcg-arch-type:nth-child(even) {
  background: var(--vcg-white);
}

.vcg-arch-type:first-child {
  border-radius: 12px 12px 0 0;
}

.vcg-arch-type:last-child {
  border-radius: 0 0 12px 12px;
}

.vcg-arch-sidebar {
  text-align: center;
}

.vcg-arch-pct {
  font-family: var(--vcg-font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--vcg-navy);
  display: block;
}

.vcg-arch-pct-label {
  font-size: 12px;
  color: var(--vcg-gray-text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.vcg-arch-details h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  font-family: var(--vcg-font-body);
  font-weight: 600;
}

.vcg-arch-meta {
  display: flex;
  gap: 24px;
  margin: 12px 0;
  flex-wrap: wrap;
}

.vcg-arch-meta span {
  font-size: 14px;
  color: var(--vcg-gray-text);
}

.vcg-arch-meta strong {
  color: var(--vcg-navy);
}

.vcg-arch-note {
  font-size: 15px;
  color: var(--vcg-gray-text);
  font-style: italic;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--vcg-gray-mid);
}

/* ─── Schools Section ─── */
.vcg-schools-section {
  background: var(--vcg-off-white);
}

.vcg-schools-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 36px;
  text-align: center;
}

.vcg-school-card {
  background: var(--vcg-white);
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 0;
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
  border-left: 4px solid var(--vcg-gold);
}

.vcg-school-card:nth-child(even) {
  background: var(--vcg-gray-light);
}

.vcg-school-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  font-family: var(--vcg-font-body);
  font-weight: 600;
}

.vcg-school-card p {
  color: var(--vcg-gray-text);
  font-size: 15px;
  margin: 0;
}

.vcg-private-schools {
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--vcg-white);
  border-radius: 8px;
  font-style: italic;
  color: var(--vcg-gray-text);
  font-size: 15px;
}

/* ─── Getting Around Section ─── */
.vcg-transport-section {
  background: var(--vcg-white);
}

.vcg-transport-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 36px;
  text-align: center;
}

.vcg-scores-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.vcg-score-card {
  text-align: center;
  padding: 28px 20px;
  background: var(--vcg-off-white);
  border-radius: 12px;
}

.vcg-score-value {
  font-family: var(--vcg-font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--vcg-navy);
  display: block;
}

.vcg-score-label {
  font-size: 14px;
  color: var(--vcg-gray-text);
  font-weight: 500;
}

.vcg-commute-table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
}

.vcg-commute-table th {
  background: var(--vcg-navy);
  color: var(--vcg-white);
  padding: 14px 20px;
  text-align: left;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.vcg-commute-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--vcg-gray-mid);
  font-size: 15px;
}

.vcg-commute-table tr:nth-child(even) td {
  background: var(--vcg-off-white);
}

/* ─── FAQ Section (Open Cards, NOT Accordions) ─── */
.vcg-faq-section {
  background: var(--vcg-off-white);
}

.vcg-faq-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 36px;
  text-align: center;
}

.vcg-faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  gap: 20px;
}

.vcg-faq-card {
  background: var(--vcg-white);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}

.vcg-faq-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  font-family: var(--vcg-font-body);
  font-weight: 600;
  color: var(--vcg-navy);
}

.vcg-faq-card p,
.vcg-faq-card div {
  color: var(--vcg-gray-text);
  font-size: 15px;
  line-height: 1.6;
}

.vcg-faq-card a {
  color: var(--vcg-navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ─── Agent Bio Card ─── */
.vcg-agent-section {
  background: var(--vcg-white);
}

.vcg-agent-card {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.vcg-agent-card h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 20px;
}

.vcg-agent-card .vcg-agent-text {
  font-size: 16px;
  color: var(--vcg-gray-text);
  margin-bottom: 28px;
}

.vcg-agent-names {
  font-family: var(--vcg-font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--vcg-navy);
  margin-bottom: 4px;
}

.vcg-agent-brokerage {
  font-size: 14px;
  color: var(--vcg-gray-text);
  margin-bottom: 20px;
}

.vcg-agent-contact {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  font-size: 15px;
}

.vcg-agent-contact a {
  color: var(--vcg-navy);
  text-decoration: none;
  font-weight: 500;
}

.vcg-agent-contact a:hover {
  color: var(--vcg-gold);
}

/* ─── Dual CTA Bar ─── */
.vcg-dual-cta {
  background: var(--vcg-navy);
  padding: 60px 24px;
}

.vcg-dual-cta-inner {
  max-width: var(--vcg-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.vcg-cta-box {
  text-align: center;
  padding: 40px 32px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  transition: border-color 0.3s;
}

.vcg-cta-box:hover {
  border-color: var(--vcg-gold);
}

.vcg-cta-box h3 {
  color: var(--vcg-white);
  font-size: 1.4rem;
  margin-bottom: 16px;
  font-family: var(--vcg-font-heading);
}

.vcg-cta-btn {
  display: inline-block;
  padding: 14px 36px;
  background: var(--vcg-gold);
  color: var(--vcg-navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border-radius: 6px;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.2s;
}

.vcg-cta-btn:hover {
  background: var(--vcg-gold-light);
  transform: translateY(-1px);
}

/* ─── MLS Disclaimer ─── */
.vcg-mls-disclaimer {
  background: var(--vcg-gray-light);
  padding: 24px;
  text-align: center;
  font-size: 12px;
  color: var(--vcg-gray-text);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .vcg-stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .vcg-stat-card:nth-child(2) {
    border-right: none;
  }

  .vcg-stat-card:nth-child(1),
  .vcg-stat-card:nth-child(2) {
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .vcg-arch-type {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .vcg-dual-cta-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .vcg-faq-grid {
    grid-template-columns: 1fr;
  }

  .vcg-scores-bar {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 600px) {
  :root {
    --vcg-section-pad: 48px;
  }

  .vcg-hero {
    min-height: 400px;
  }

  .vcg-stats-bar {
    grid-template-columns: 1fr;
  }

  .vcg-stat-card {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .vcg-stat-card:last-child {
    border-bottom: none;
  }

  .vcg-features-grid {
    grid-template-columns: 1fr;
  }

  .vcg-anchor-nav ul {
    justify-content: flex-start;
    padding: 0 12px;
  }

  .vcg-anchor-nav li a {
    padding: 12px 14px;
    font-size: 13px;
  }
}

/* ─── Print Styles ─── */
@media print {
  .vcg-anchor-nav,
  .vcg-dual-cta {
    display: none;
  }

  .vcg-hero {
    min-height: auto;
    padding: 40px;
  }

  .vcg-section {
    padding: 32px 0;
  }
}

/* ═══════════════════════════════════════════════════
   Archive Page
   ═══════════════════════════════════════════════════ */
.vcg-archive-hero {
  background: var(--vcg-navy);
  padding: 80px 24px;
  text-align: center;
}

.vcg-archive-hero h1 {
  color: var(--vcg-white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.vcg-archive-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.vcg-neighborhoods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  max-width: var(--vcg-max-width);
  margin: 0 auto;
  padding: 60px 24px;
}

.vcg-neighborhood-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  color: var(--vcg-white);
  background: var(--vcg-navy);
  transition: transform 0.3s;
}

.vcg-neighborhood-card:hover {
  transform: translateY(-4px);
}

.vcg-neighborhood-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.vcg-neighborhood-card:hover img {
  transform: scale(1.03);
}

.vcg-neighborhood-card-overlay {
  position: relative;
  z-index: 2;
  background: linear-gradient(transparent, rgba(27,42,74,0.9));
  width: 100%;
  padding: 60px 24px 28px;
}

.vcg-neighborhood-card h2 {
  color: var(--vcg-white);
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.vcg-neighborhood-card .vcg-card-price {
  color: var(--vcg-gold);
  font-size: 14px;
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════
   Neighborhood → Live MLS integration
   Search bar + stat cards + active listings grid
   ═══════════════════════════════════════════════════ */

.vcg-hood-search-section {
  background: var(--vcg-off-white);
  padding: 40px 24px;
}
.vcg-hood-search-form { max-width: 780px; margin: 0 auto; text-align: center; }
.vcg-hood-search-label {
  display: block;
  font-family: var(--vcg-font-heading);
  font-size: 1.4rem;
  color: var(--vcg-navy);
  margin-bottom: 14px;
}
.vcg-hood-search-wrap { display: flex; gap: 8px; }
.vcg-hood-search-input {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid var(--vcg-gray-mid);
  border-radius: 6px;
  font-size: 15px;
  font-family: var(--vcg-font-body);
  background: #fff;
}
.vcg-hood-search-input:focus {
  outline: none;
  border-color: var(--vcg-gold);
  box-shadow: 0 0 0 3px rgba(212, 168, 75, 0.15);
}
.vcg-hood-search-btn {
  padding: 14px 24px;
  background: var(--vcg-navy);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.vcg-hood-search-btn:hover { background: var(--vcg-gold); color: var(--vcg-navy); }
.vcg-hood-search-help {
  font-size: 12px;
  color: var(--vcg-gray-text);
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.vcg-hood-stats-section { padding: 40px 24px; background: #fff; }
.vcg-hood-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--vcg-navy);
  border-radius: 12px;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .vcg-hood-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
.vcg-hood-stat {
  padding: 26px 20px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.vcg-hood-stat:last-child { border-right: none; }
.vcg-hood-stat-value {
  display: block;
  font-family: var(--vcg-font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--vcg-gold);
  line-height: 1;
  margin-bottom: 8px;
}
.vcg-hood-stat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
}
.vcg-hood-stats-source {
  text-align: center;
  font-size: 12px;
  color: var(--vcg-gray-text);
  margin-top: 16px;
  font-style: italic;
}

.vcg-hood-listings-section { padding: 60px 24px; background: var(--vcg-off-white); }
.vcg-hood-listings-section .vcg-section-header { text-align: center; margin-bottom: 32px; }
.vcg-hood-listings-section h2 { font-size: 1.8rem; color: var(--vcg-navy); margin: 0 0 8px; }
.vcg-hood-listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 1024px) { .vcg-hood-listings-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .vcg-hood-listings-grid { grid-template-columns: 1fr; } }

.vcg-hood-listing-card {
  display: block;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.vcg-hood-listing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.vcg-hood-listing-img { aspect-ratio: 4 / 3; overflow: hidden; background: #eee; }
.vcg-hood-listing-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vcg-hood-listing-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--vcg-gray-text); font-size: 14px;
}
.vcg-hood-listing-info { padding: 16px 18px 20px; }
.vcg-hood-listing-mls {
  display: block;
  font-size: 11px;
  color: var(--vcg-gray-text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 6px;
}
.vcg-hood-listing-price {
  display: block;
  font-family: var(--vcg-font-heading);
  font-size: 1.4rem;
  color: var(--vcg-navy);
  font-weight: 700;
  margin-bottom: 6px;
}
.vcg-hood-listing-info h3 {
  font-size: 1rem;
  font-family: var(--vcg-font-body);
  color: var(--vcg-dark);
  margin: 0 0 2px;
  line-height: 1.3;
}
.vcg-hood-listing-city {
  font-size: 13px;
  color: var(--vcg-gray-text);
  margin: 0 0 10px;
}
.vcg-hood-listing-stats {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: var(--vcg-dark);
  padding-top: 10px;
  border-top: 1px solid var(--vcg-gray-mid);
}
.vcg-hood-listings-more { text-align: center; margin-top: 32px; }

/* ─── Meet the team (bottom of neighborhood page) ─── */
.vcg-agent-photos {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  margin: 24px 0 28px;
}
.vcg-agent-photo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 150px;
}
.vcg-agent-photo-item img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--vcg-gold, #D4A84B);
  display: block;
  margin-bottom: 10px;
}
.vcg-agent-photo-name {
  font-family: var(--vcg-font-heading, 'DM Serif Display', serif);
  font-size: 1rem;
  color: var(--vcg-black, #231F20);
  line-height: 1.2;
}
.vcg-agent-photo-title {
  font-size: 12px;
  color: var(--vcg-gray-text, #5a5a5a);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

/* ─── Lifestyle item link polish ─── */
.vcg-lifestyle-item h4 a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 120ms ease;
}
.vcg-lifestyle-item h4 a:hover {
  border-bottom-color: var(--vcg-gold, #D4A84B);
}


/* ═══════════════════════════════════════════════════
   Condensed neighborhood template updates
   - Market Analysis: no duplicate stats box, accordion for price tiers + trends
   - Architecture: accordion per housing type
   - FAQ: accordion matching site-wide style
   ═══════════════════════════════════════════════════ */

/* Market: compact context line replacing the stat card block */
.vcg-market-context {
    text-align: center;
    padding: 16px 20px;
    margin: 0 0 24px;
    background: var(--vcg-white, #fff);
    border-left: 3px solid var(--vcg-gold, #D4A84B);
    border-radius: 4px;
    font-size: 14px;
    color: var(--vcg-text, #2a2a2a);
    line-height: 1.8;
}
.vcg-market-context strong { color: var(--vcg-black, #231F20); font-weight: 600; }

.vcg-market-subhead {
    margin: 32px 0 12px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--vcg-black, #231F20);
}

/* Architecture: inline percentage tag next to housing type name */
.vcg-arch-title {
    display: inline-flex;
    align-items: baseline;
    gap: 12px;
    flex: 1;
    min-width: 0;
}
.vcg-arch-pct-inline {
    font-size: 12px;
    font-weight: 500;
    color: var(--vcg-gold, #D4A84B);
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.vcg-arch-meta-inline {
    font-size: 0.92rem;
    color: var(--vcg-text-light, #6b6b6b);
    margin: 10px 0;
    line-height: 1.8;
}
.vcg-arch-meta-inline strong { color: var(--vcg-black, #231F20); }
.vcg-arch-note {
    margin-top: 10px;
    font-size: 0.92rem;
    color: var(--vcg-text-light, #6b6b6b);
}

/* Accordion reusable tweaks when nested in market/architecture */
.vcg-market-accordion,
.vcg-arch-accordion {
    max-width: 820px;
    margin: 0 auto;
}
.vcg-market-accordion .vcg-accordion-content-inner,
.vcg-arch-accordion  .vcg-accordion-content-inner,
.vcg-faq-section     .vcg-accordion-content-inner {
    padding-bottom: 20px;
    color: var(--vcg-text, #2a2a2a);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* FAQ section: narrower container, more breathing room */
.vcg-faq-section .vcg-accordion { max-width: 820px; margin: 24px auto 0; }

/* Old classes no longer used by redesigned template: hide if any legacy render path still emits them */
.vcg-faq-grid,
.vcg-faq-card,
.vcg-stats-bar,
.vcg-arch-type,
.vcg-arch-sidebar,
.vcg-trend-item,
.vcg-trends {
    /* left as no-op; overridden by new .vcg-accordion layout */
}

/* ─── Getting Around (condensed) ─── */
.vcg-transport-section h2 { margin-bottom: 16px; }
.vcg-scores-inline { margin-bottom: 28px; }
.vcg-transport-desc { max-width: 820px; margin: 0 auto 32px; color: var(--vcg-gray-text, #555); line-height: 1.7; }
.vcg-transport-desc p { margin: 0 0 12px; }

.vcg-commute-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 28px;
  max-width: 640px;
  border-top: 1px solid var(--vcg-gray-mid, #e5e2d8);
}
.vcg-commute-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 4px;
  border-bottom: 1px solid var(--vcg-gray-mid, #e5e2d8);
  font-size: 15px;
}
.vcg-commute-dest { color: var(--vcg-navy); font-weight: 500; }
.vcg-commute-time { color: var(--vcg-gray-text, #555); font-variant-numeric: tabular-nums; }
.vcg-highway-access { max-width: 820px; margin: 0 auto; color: var(--vcg-gray-text, #555); font-size: 15px; line-height: 1.7; text-align: center; }

/* Neutralize old score-card styling if it appears anywhere else */
.vcg-transport-section .vcg-scores-bar { display: none; }

/* ─── Market Stat Cards (scoped to beat orphaned .vcg-stat-label rules) ─── */
.vcg-market-section .vcg-stat-cards {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin: 0 auto 40px !important;
  max-width: 1100px;
  width: 100%;
  background: transparent !important;
  padding: 0 !important;
}
.vcg-market-section .vcg-stat-cards .vcg-stat-card {
  background: #ffffff !important;
  border: 1px solid #e5e2d8 !important;
  border-right: 1px solid #e5e2d8 !important;
  border-radius: 10px !important;
  padding: 22px 18px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  text-align: center !important;
  min-width: 0 !important;
  margin: 0 !important;
}
.vcg-market-section .vcg-stat-cards .vcg-stat-label {
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: #6a6a66 !important;
  font-weight: 600 !important;
  display: block !important;
  margin: 0 !important;
  font-family: inherit !important;
}
.vcg-market-section .vcg-stat-cards .vcg-stat-value {
  font-family: var(--vcg-font-heading, Gloock, serif) !important;
  font-size: clamp(1.25rem, 1.8vw, 1.6rem) !important;
  line-height: 1.15 !important;
  color: #231F20 !important;
  font-weight: 500 !important;
  margin: 0 !important;
  word-break: break-word;
  display: block !important;
}
.vcg-market-section .vcg-stat-cards .vcg-stat-sub {
  font-size: 12px !important;
  color: #6a6a66 !important;
  line-height: 1.45 !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  font-family: inherit !important;
  margin: 0 !important;
}
@media (max-width: 860px) {
  .vcg-market-section .vcg-stat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 480px) {
  .vcg-market-section .vcg-stat-cards { grid-template-columns: 1fr !important; }
}

/* retire the old inline context style so it never re-appears */
.vcg-market-context { display: none !important; }
