/* ============================================================
   NEIGHBORHOOD GUIDE PAGES
   ============================================================ */

.ng-hero {
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 4rem;
  position: relative;
  margin-top: 72px;
  background-color: #1A3A45;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#pg-manhattan-beach .ng-hero    { background-image: url('Manhattan Beach.jpg'); }
#pg-hermosa-beach .ng-hero      { background-image: url('Hermosa Beach.jpg'); }
#pg-redondo-beach .ng-hero      { background-image: url('redondo beach.jpg'); }
#pg-palos-verdes .ng-hero       { background-image: url('Palos Verdes.jpg'); }
#pg-westside-la .ng-hero        { background-image: url('Westside.jpg'); }
#pg-hawthorne-torrance .ng-hero { background-image: url('Torrance.jpg'); }

.ng-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10,22,40,.75) 0%,
    rgba(10,22,40,.50) 50%,
    rgba(10,22,40,.70) 100%
  );
}

.ng-hero-inner { position: relative; z-index: 1; }

.ng-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin: .5rem 0 1rem;
}

.ng-hero-sub {
  color: rgba(255,255,255,.8);
  font-size: 1.1rem;
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.ng-hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.ng-stat {
  text-align: left;
  display: flex;
  flex-direction: column;
}
.ng-stat-key {
  order: 1;
  display: block;
  font-size: .7rem;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 600;
  margin-bottom: .35rem;
}
.ng-stat-val {
  order: 2;
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #5A9E8E;
  line-height: 1;
}

/* Body layout */
.ng-body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  padding-top: 3rem;
  padding-bottom: 5rem;
  align-items: start;
}

.ng-main { min-width: 0; }

.ng-section {
  margin-bottom: 3rem;
}

.ng-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #1A3A45;
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid #5A9E8E;
}

.ng-section p {
  color: #374151;
  line-height: 1.8;
  font-size: .95rem;
  margin-bottom: 1rem;
}

.ng-subsections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1rem;
}

.ng-subsection {
  background: #F4EDE4;
  border-radius: 10px;
  padding: 1.25rem;
  border-left: 3px solid #5A9E8E;
}

.ng-subsection h3 {
  font-size: .95rem;
  font-weight: 700;
  color: #1A3A45;
  margin-bottom: .5rem;
}

.ng-subsection p {
  font-size: .85rem;
  margin-bottom: 0;
}

.ng-schools {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-top: .75rem;
}

.ng-school {
  background: #F4EDE4;
  border-radius: 8px;
  padding: .75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}

.ng-school strong { font-size: .875rem; color: #1A3A45; }
.ng-school span { font-size: .8rem; color: #6b7280; }

.ng-market-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 1.25rem 0;
}

.ng-market-stat {
  background: #1A3A45;
  border-radius: 10px;
  padding: 1.25rem;
  text-align: center;
}

.ng-market-stat .val {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #5A9E8E;
  margin-bottom: .35rem;
}

.ng-market-stat .lbl {
  display: block;
  font-size: .72rem;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .07em;
}

/* Sidebar */
.ng-sidebar {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ng-cta-card {
  background: #1A3A45;
  border-radius: 12px;
  padding: 1.75rem;
  text-align: center;
}

.ng-cta-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid #5A9E8E;
  display: block;
  margin: 0 auto 1rem;
}

.ng-cta-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: #fff;
  font-weight: 700;
}

.ng-cta-title {
  font-size: .75rem;
  color: #5A9E8E;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.ng-cta-text {
  color: rgba(255,255,255,.65);
  font-size: .85rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.ng-quick-facts {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.25rem;
}

.ng-quick-facts h4,
.ng-other-hoods h4 {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #6b7280;
  font-weight: 700;
  margin-bottom: .75rem;
}

.ng-fact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .5rem 0;
  border-bottom: 1px solid #f3f4f6;
  font-size: .82rem;
}

.ng-fact:last-child { border-bottom: none; }
.ng-fact-label { color: #6b7280; }
.ng-fact-val { color: #1A3A45; font-weight: 600; }

.ng-other-hoods {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.25rem;
}

.ng-other-hoods a {
  display: block;
  color: #1A3A45;
  text-decoration: none;
  font-size: .875rem;
  font-weight: 500;
  padding: .45rem 0;
  border-bottom: 1px solid #f3f4f6;
  transition: color .15s;
}

.ng-other-hoods a:last-child { border-bottom: none; }
.ng-other-hoods a:hover { color: #5A9E8E; }

/* Responsive */
@media (max-width: 900px) {
  .ng-body { grid-template-columns: 1fr; }
  .ng-sidebar { position: static; }
  .ng-market-stats { grid-template-columns: repeat(2, 1fr); }
  .ng-subsections { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .ng-hero { min-height: 70vh; padding-bottom: 2.5rem; }
  .ng-hero-stats { gap: 1.5rem; }
  .ng-market-stats { grid-template-columns: repeat(2, 1fr); }
}
