/**
 * suburb.css — Why Move to Dallas
 * Shared styles for all suburb deep-dive pages (.kc-suburb scope).
 * Hero background-image is set per page via an inline <style> override.
 * Global site chrome (header, footer, variables) is in global.css.
 *
 * Loaded by build.js wrapInShell for all pages.
 */

/* ── Reset & Root ─── */
.kc-suburb *,
.kc-suburb *::before,
.kc-suburb *::after { box-sizing: border-box; margin: 0; padding: 0; }

.kc-suburb {
  --navy:    #1F2D3D;
  --gold:    #B08D57;
  --ivory:   #F7F4EE;
  --stone:   #C8C1B6;
  --charcoal:#232323;
  --white:   #ffffff;
  --green:   #1a6b3a;
  --blue:    #2d7abf;
  --amber:   #b87333;
  --light:   #f0ede7;
  --shadow:  0 2px 16px rgba(31,45,61,0.09);

  font-family: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  color: var(--charcoal);
  background: var(--ivory);
  line-height: 1.65;
}

/* ── Typography ─── */
.kc-suburb h1, .kc-suburb h2, .kc-suburb h3, .kc-suburb h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--navy);
  line-height: 1.25;
}
.kc-suburb h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 600; }
.kc-suburb h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 600; margin-bottom: 0.75rem; }
.kc-suburb h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; }
.kc-suburb h4 { font-size: 1rem; font-weight: 600; margin-bottom: 0.3rem; }
.kc-suburb p  { margin-bottom: 1rem; }
.kc-suburb a  { color: var(--navy); }
.kc-suburb a:hover { color: var(--gold); }
.kc-suburb strong { color: var(--navy); }

/* ── Layout ─── */
.kc-section {
  padding: 4rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.kc-divider { border: none; border-top: 1px solid var(--stone); margin: 0; opacity: 0.4; }

/* ── Hero ─── */
.kc-hero {
  background:
    linear-gradient(135deg, rgba(31,45,61,0.52) 0%, rgba(31,45,61,0.36) 50%, rgba(31,45,61,0.48) 100%),
    url('/images/frisco-hero.webp') center / cover no-repeat;
  color: var(--white);
  padding: clamp(4rem, 10vw, 7rem) 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.kc-hero::before { display: none; }
.kc-hero-inner { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.kc-hero h1 { color: var(--white); margin-bottom: 1rem; text-shadow: 0 2px 12px rgba(0,0,0,0.45); }
.kc-hero-sub { font-size: 1.15rem; color: rgba(255,255,255,0.85); margin-bottom: 0.5rem; text-shadow: 0 1px 6px rgba(0,0,0,0.35); }
.kc-hero-location { font-size: 0.9rem; font-weight: 700; color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 2rem; text-shadow: 0 0 16px rgba(0,0,0,0.9), 0 2px 6px rgba(0,0,0,0.95); }
.kc-hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Buttons ─── */
.kc-suburb .kc-btn {
  display: inline-block;
  padding: 0.8rem 1.75rem;
  border-radius: 6px;
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
  line-height: 1.3;
}
.kc-suburb .kc-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.18); }
.kc-suburb .kc-btn--gold  { background: var(--gold) !important;  color: #ffffff !important; }
.kc-suburb .kc-btn--navy  { background: var(--navy) !important;  color: #ffffff !important; }
.kc-suburb .kc-btn--outline { background: transparent !important; color: #ffffff !important; border: 2px solid rgba(255,255,255,0.7); }
.kc-suburb .kc-btn--outline:hover { background: rgba(255,255,255,0.12) !important; color: #ffffff !important; }
.kc-suburb .kc-btn--sm { padding: 0.55rem 1.1rem; font-size: 0.85rem; }

/* ── Stat bar ─── */
.kc-stats {
  background: var(--navy);
  padding: 0;
}
.kc-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  max-width: 1100px;
  margin: 0 auto;
}
.kc-stat {
  padding: 1.5rem 1rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.kc-stat:last-child { border-right: none; }
.kc-stat-val { font-size: 1.6rem; font-weight: 700; color: var(--gold); font-family: 'Cormorant Garamond', serif; display: block; }
.kc-stat-label { font-size: 0.72rem; color: rgba(255,255,255,0.65); text-transform: uppercase; letter-spacing: 0.07em; display: block; margin-top: 0.2rem; }
.kc-stat-note  { font-size: 0.68rem; color: rgba(255,255,255,0.4); display: block; margin-top: 0.1rem; }

/* ── Jump nav ─── */
.kc-jumpnav {
  background: var(--white);
  border-bottom: 1px solid var(--stone);
  padding: 0 1.5rem;
  position: sticky;
  top: var(--header-total-h);
  z-index: 100;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.kc-jumpnav-list {
  display: flex;
  gap: 0;
  list-style: none;
  max-width: 1100px;
  margin: 0;
  white-space: nowrap;
}
.kc-jumpnav-list a {
  display: block;
  padding: 0.85rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: var(--navy);
  border-bottom: 3px solid transparent;
  transition: border-color 0.15s, color 0.15s;
}
.kc-jumpnav-list a:hover { border-bottom-color: var(--gold); color: var(--gold); }

/* ── Kristen intro ─── */
.kc-intro-box {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow);
}
.kc-intro-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  object-fit: cover;
  flex-shrink: 0;
}
.kc-intro-text blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--navy);
  border-left: 3px solid var(--gold);
  padding-left: 1rem;
  margin-bottom: 0.75rem;
}
.kc-intro-contact { font-size: 0.88rem; color: #555; margin-bottom: 0; }
.kc-intro-contact a { color: var(--navy); font-weight: 600; }

/* ── Section headers ─── */
.kc-section-header { margin-bottom: 2rem; }
.kc-section-header .kc-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-weight: 700;
  display: block;
  margin-bottom: 0.4rem;
}

/* ── Cards ─── */
.kc-grid { display: grid; gap: 1.25rem; }
.kc-grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.kc-grid--3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.kc-grid--4 { grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); }
.kc-card {
  background: var(--white);
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border-top: 3px solid transparent;
  transition: transform 0.15s, box-shadow 0.15s;
}
.kc-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(31,45,61,0.13); }
.kc-card--gold  { border-top-color: var(--gold); }
.kc-card--navy  { border-top-color: var(--navy); }
.kc-card--green { border-top-color: var(--green); }
.kc-card-icon { display: block; width: 32px; height: 32px; margin-bottom: 0.6rem; }
.kc-card-price { font-size: 0.82rem; color: var(--gold); font-weight: 700; margin-bottom: 0.5rem; letter-spacing: 0.04em; }
.kc-card p { font-size: 0.88rem; color: #555; margin-bottom: 0.75rem; }

/* ── Table ─── */
.kc-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 8px; box-shadow: var(--shadow); }
.kc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  background: var(--white);
}
.kc-table th {
  background: var(--navy);
  color: var(--white);
  padding: 0.8rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.kc-table td { padding: 0.75rem 1rem; border-bottom: 1px solid #eee; }
.kc-table tr:last-child td { border-bottom: none; }
.kc-table tr:nth-child(even) td { background: #faf8f4; }
.kc-table .kc-yes { color: var(--green); font-weight: 700; }
.kc-table .kc-no  { color: var(--amber); }
.kc-table .kc-hl  { background: #fffbf2 !important; font-weight: 600; }

/* ── Callout boxes ─── */
.kc-callout {
  background: var(--light);
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}
.kc-callout strong { color: var(--navy); }

/* ── Amenity rank banner (parks / dining / shopping — injected by JS) ──────── */
.kc-amenity-rank-banner {
  display: none;
  margin: 0 0 1.5rem;
  padding: 0.85rem 1.15rem;
  background: var(--light);
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  font-size: 0.88rem;
  color: var(--charcoal);
  line-height: 1.6;
}
.kc-amenity-rank-banner strong { color: var(--navy); }

/* ── Pros / Cons ─── */
.kc-proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.kc-proscons-col { background: var(--white); border-radius: 10px; padding: 1.5rem; box-shadow: var(--shadow); }
.kc-proscons-col h3 { margin-bottom: 1rem; }
.kc-proscons-col.pros h3 { color: var(--green); }
.kc-proscons-col.cons h3 { color: var(--amber); }
.kc-proscons-list { list-style: none; }
.kc-proscons-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
  font-size: 0.88rem;
  padding-left: 1.5rem;
  position: relative;
}
.kc-proscons-list li::before { position: absolute; left: 0; }
.pros .kc-proscons-list li::before { content: "✓"; color: var(--green); font-weight: 700; }
.cons .kc-proscons-list li::before { content: "—"; color: var(--amber); font-weight: 700; }
.kc-proscons-list li:last-child { border-bottom: none; }

/* ── FAQ ─── */
.kc-faq-item { border-bottom: 1px solid #e0ddd6; }
.kc-faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.1rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: 'Jost', sans-serif;
}
.kc-faq-q:hover { color: var(--gold); }
.kc-faq-icon { font-size: 1.2rem; flex-shrink: 0; transition: transform 0.2s; color: var(--gold); }
.kc-faq-q.open .kc-faq-icon { transform: rotate(45deg); }
.kc-faq-a { display: none; padding: 0 0 1.25rem; font-size: 0.9rem; color: #444; line-height: 1.7; }
.kc-faq-a.open { display: block; }
.kc-faq-a p { margin-bottom: 0.5rem; }
.kc-faq-a p:last-child { margin-bottom: 0; }

/* ── CTA boxes ─── */
.kc-leadmagnet {
  background: linear-gradient(135deg, var(--navy), #2e4560);
  border-radius: 12px;
  padding: 3rem 2rem;
  text-align: center;
  color: var(--white);
  margin: 2rem 0;
}
.kc-leadmagnet h2 { color: var(--white); margin-bottom: 0.75rem; }
.kc-leadmagnet p  { color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto 1.5rem; }

.kc-contact-cta {
  background: var(--white);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
}
.kc-contact-cta h2 { margin-bottom: 0.5rem; }
.kc-contact-cta p  { color: #555; max-width: 520px; margin: 0 auto 1.5rem; }
.kc-contact-meta { font-size: 0.85rem; color: #888; margin-top: 1rem; margin-bottom: 0; }
.kc-contact-meta a { color: var(--navy); }

/* ── School grade badges ─── */
.kc-grade { display: inline-block; padding: 0.15rem 0.55rem; border-radius: 4px; font-weight: 700; font-size: 0.9rem; }
.kc-grade--a  { background: #d4f4e2; color: var(--green); }
.kc-grade--b  { background: #d4e8f8; color: var(--blue); }
.kc-grade--ab { background: #e2f1d4; color: #3a7a1a; }
.kc-grade--c  { background: #fef3cd; color: #856404; }
.kc-gs-above { color: var(--green); font-weight: 700; }
.kc-gs-avg   { color: #666; font-weight: 700; }

/* ── Tags / chips ─── */
.kc-tag {
  display: inline-block;
  font-size: 0.72rem;
  background: var(--light);
  color: var(--navy);
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  margin: 1px;
  font-weight: 600;
}

/* ── Commute table styling ─── */
.kc-commute-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.kc-commute-card {
  background: var(--white);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow);
}
.kc-commute-dest { font-weight: 700; font-size: 0.88rem; color: var(--navy); }
.kc-commute-time { font-size: 1.2rem; font-weight: 700; color: var(--gold); font-family: 'Cormorant Garamond', serif; display: block; margin: 0.2rem 0; }
.kc-commute-note { font-size: 0.74rem; color: #888; }

/* ── Breadcrumb ─── */
.kc-breadcrumb {
  font-size: 0.78rem;
  color: #888;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
}
.kc-breadcrumb a { color: #888; text-decoration: none; }
.kc-breadcrumb a:hover { color: var(--gold); }
.kc-breadcrumb span { margin: 0 0.4rem; }

/* ── TREC footer ─── */
.kc-trec {
  background: var(--navy);
  color: rgba(255,255,255,0.55);
  font-size: 0.72rem;
  text-align: center;
  padding: 1.5rem 1.5rem;
  line-height: 1.7;
  margin-top: 3rem;
}
.kc-trec a { color: rgba(255,255,255,0.65); }

/* ── Responsive ─── */
@media (max-width: 680px) {
  .kc-intro-box { flex-direction: column; }
  .kc-intro-avatar { width: 72px; height: 72px; }
  .kc-proscons { grid-template-columns: 1fr; }
  .kc-stat-val { font-size: 1.25rem; }
  .kc-section { padding: 2.5rem 1rem; }
  .kc-leadmagnet, .kc-contact-cta { padding: 2rem 1.25rem; }

  /* Jump nav — shrink so more items fit, keep scrollable */
  .kc-jumpnav { padding: 0 0.5rem; }
  .kc-jumpnav-list a {
    padding: 0.65rem 0.6rem;
    font-size: 0.68rem;
    letter-spacing: 0.03em;
  }

  /* Tables — let them scroll horizontally, keep min readable width */
  .kc-table-wrap { border-radius: 6px; }
  .kc-table th, .kc-table td { padding: 0.6rem 0.75rem; font-size: 0.82rem; }

  /* Hide lower-priority table columns on very small screens */
  .kc-table .kc-col-hide-mobile { display: none; }

  /* Stats bar — 2-col grid on mobile instead of 6 across */
  .kc-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .kc-stat {
    border-right: 1px solid rgba(255,255,255,0.15);
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding: 1rem;
  }
  .kc-stat:nth-child(even) { border-right: none; }

  /* Hero text */
  .kc-hero h1 { font-size: 2.2rem; }
  .kc-hero-sub { font-size: 1rem; }
  .kc-hero-btns { flex-direction: column; align-items: center; gap: 0.75rem; }

  /* Neighborhoods grid — single column */
  .kc-hood-grid { grid-template-columns: 1fr !important; }

  /* Parks/recreation grid — 2 col on mobile */
  .kc-parks-grid { grid-template-columns: 1fr 1fr !important; }
}

/* Hide jump nav scrollbar visually but keep it scrollable */
.kc-jumpnav::-webkit-scrollbar { display: none; }
.kc-jumpnav { -ms-overflow-style: none; scrollbar-width: none; }

/* ── Lite YouTube embed ─── */
.kc-video-wrap {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 1.5rem auto;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  cursor: pointer;
}
.kc-video-wrap::before {
  content: '';
  display: block;
  padding-top: 56.25%; /* 16:9 */
}
.kc-video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s;
}
.kc-video-wrap:hover .kc-video-thumb { opacity: 0.85; }
.kc-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  background: rgba(176,141,87,0.92);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
}
.kc-video-play::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 0 12px 22px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}
.kc-video-wrap:hover .kc-video-play { background: var(--gold); transform: translate(-50%,-50%) scale(1.08); }
.kc-video-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}
.kc-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ── Google Fonts async load ─── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Jost:wght@400;600;700&display=swap');

/* ── Data Strip: score meters, grade chips, sub-scores ─────────────────── */
.kc-score-bar { height: 3px; background: #e5e2db; border-radius: 2px; margin-top: 0.5rem; overflow: hidden; }
.kc-score-bar-fill { height: 100%; width: 0; background: var(--gold); border-radius: 2px; transition: width 0.9s ease; }
.kc-score-bar-fill--navy { background: var(--navy); }
.kc-grade-chip { display: inline-flex; align-items: center; gap: 0.35rem; background: var(--white); border: 1px solid #e8e4de; border-radius: 20px; padding: 0.2rem 0.65rem; font-size: 0.75rem; white-space: nowrap; }
.kc-grade-chip-label { color: #777; }
.kc-grade-chip-val { font-weight: 700; font-size: 0.8rem; }
.kc-grade-chip-val.gA { color: var(--navy); }
.kc-grade-chip-val.gB { color: var(--gold); }
.kc-grade-chip-val.gC { color: #888; }
.kc-grade-chip-val.gD, .kc-grade-chip-val.gF { color: #c0392b; }
.kc-subscore-item { display: flex; flex-direction: column; gap: 0.3rem; }
.kc-subscore-item-label { font-size: 0.67rem; text-transform: uppercase; letter-spacing: 0.06em; color: #999; text-align: center; }

.kc-subscore-item-track { width: 100%; height: 6px; background: #e5e2db; border-radius: 3px; overflow: hidden; }
.kc-subscore-item-fill { height: 100%; border-radius: 3px; background: var(--gold); }
.kc-subscore-item-val { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-top: 0.1rem; text-align: center; }
/* ── Comparison table ───────────────────────────────────────────────────── */
.kc-compare-wrap { overflow-x: auto; margin-top: 1rem; -webkit-overflow-scrolling: touch; }
.kc-compare-tbl { width: 100%; border-collapse: collapse; font-size: 0.85rem; min-width: 560px; }
.kc-compare-tbl th { background: var(--navy); color: #fff; padding: 0.6rem 0.85rem; text-align: left; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }
.kc-compare-tbl td { padding: 0.6rem 0.85rem; border-bottom: 1px solid #f0ede8; color: var(--text); }
.kc-compare-tbl tbody tr:last-child td { border-bottom: none; }
.kc-compare-tbl .kc-compare-current td { background: rgba(176,141,87,0.07); font-weight: 600; }
.kc-compare-tbl .kc-compare-current td:first-child { border-left: 3px solid var(--gold); padding-left: calc(0.85rem - 3px); }
/* ─────────────────────────────────────────────────────────────
   LEGACY / VARIANT CLASSES
   Used on specific pages (e.g. Fort Worth) or kept for
   backward-compat. Kept in sync with standard classes.
   ───────────────────────────────────────────────────────────── */

/* Score meters (Fort Worth walkability / data strip) */
.kc-data-top { display: block; }
.kc-score-meter { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; }
.kc-score-num { font-size: 2.5rem; font-weight: 700; color: var(--gold); font-family: 'Cormorant Garamond', serif; line-height: 1; }
.kc-score-label { font-size: 0.67rem; text-transform: uppercase; letter-spacing: 0.08em; color: #999; }

/* Grade grid (Fort Worth data strip chips container) */
.kc-grade-grid { display: flex; flex-wrap: wrap; gap: 0.35rem; }

/* Jump-nav inner wrapper */
.kc-jumpnav-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Niche category badges */
.kc-niche-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.kc-niche-badge { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--ivory); border: 1px solid #ddd; border-radius: 4px; padding: 0.3rem 0.65rem; font-size: 0.8rem; font-weight: 700; color: var(--navy); }
.kc-niche-badge span { font-weight: 400; color: #666; }

/* School rating circles (GreatSchools numeric) */
.kc-school-rating { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--navy); color: #fff; font-size: 0.8rem; font-weight: 700; }

/* Card meta (price range + ISD note in neighborhood cards) */
.kc-card-meta { font-size: 0.8rem; color: #888; margin-top: 0.35rem; }

/* Partial coverage table cell */
.kc-partial { font-size: 0.82rem; color: #888; font-style: italic; }

/* Pros / cons icons */
.kc-pro-icon { display: inline-block; width: 1.1rem; font-weight: 700; color: var(--green); flex-shrink: 0; }
.kc-con-icon { display: inline-block; width: 1.1rem; font-weight: 700; color: #c0392b; flex-shrink: 0; }

/* Misc one-page classes */
.kc-crime-grade-badge { display: inline-block; font-size: 1.1rem; font-weight: 700; color: var(--navy); font-family: 'Cormorant Garamond', serif; margin-left: 0.5rem; }
.kc-school-ratings { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.kc-gs-above { color: var(--green); font-weight: 600; }
.kc-no { color: #c0392b; font-weight: 600; }

@media (max-width: 640px) {
  #kc-data-subscores { grid-template-columns: 1fr 1fr !important; gap: 0.6rem !important; }
  .kc-data-top-inner { flex-direction: column !important; align-items: center !important; }
  #kc-grade-chips { justify-content: center !important; }
  .kc-school-ratings { justify-content: center !important; }
  .kc-data-divider { display: none !important; }
  .kc-data-top-inner > div { text-align: center !important; }
  #kc-schools div[style*="flex-wrap:wrap"] { justify-content: center !important; }
  #kc-lifestyle div[style*="flex-wrap:wrap"] { justify-content: center !important; }
  #kc-recreation div[style*="flex-wrap:wrap"] { justify-content: center !important; }
  #kc-intro div[style*="flex-wrap:wrap"] { justify-content: center !important; }
}

