/* Neighborhood Guide pages (/neighborhoods, /neighborhoods/<slug>, /developments/<slug>).
   Approved PVH look (Nov 19, 2026 template): navy #1b3460, flag red #b31942, Archivo headings, Source Sans 3 body.
   Everything is scoped to .guide so the search and listing pages keep their own look. */
.guide {
  --g-navy: #1b3460; --g-red: #b31942; --g-red-dark: #8e1434;
  --g-ink: #152238; --g-soft: #5a6678; --g-line: #dde3ec; --g-card: #f4f6fa; --g-bg: #fff; --g-good: #1d6b3a;
  background: var(--g-bg); color: var(--g-ink); font: 17px/1.55 "Source Sans 3", system-ui, sans-serif; overflow-x: clip;
}
@media (prefers-color-scheme: dark) {
  .guide { --g-ink: #e8edf5; --g-soft: #9fb0c6; --g-line: #2a3a52; --g-card: #162238; --g-bg: #0f1724; --g-good: #7fd39c; }
}
.guide *, .guide *::before, .guide *::after { box-sizing: border-box; min-width: 0; }
.guide h1, .guide h2, .guide h3 { font-family: Archivo, system-ui, sans-serif; font-stretch: 108%; line-height: 1.08; text-wrap: balance; margin: 0 0 .45em; color: inherit; }
.guide h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 800; }
.guide h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.guide h3 { font-size: 18px; font-weight: 700; }
.guide a { color: inherit; }
.guide .band { padding: clamp(24px, 3.5vw, 48px) max(5vw, 16px); }
.guide .wrap { max-width: 1180px; margin: 0 auto; }
.guide .crumb { font-size: 14px; color: var(--g-soft); margin-bottom: 8px; }
.guide .crumb a { color: var(--g-soft); }
.guide .hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 28px; align-items: start; }
@media (max-width: 860px) { .guide .hero { grid-template-columns: minmax(0, 1fr); } }
.guide .lead { font-size: 18px; color: var(--g-soft); max-width: 60ch; }
.guide .fig { position: relative; min-height: 360px; border-radius: 14px; overflow: hidden; border: 1px solid var(--g-line); background: var(--g-card); }
.guide .fig > .gmap { position: absolute; inset: 0; }
.guide .stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 22px 0; }
.guide .stat { background: var(--g-card); border-radius: 12px; padding: 14px; }
.guide .stat b { display: block; font: 800 clamp(24px, 3vw, 32px) Archivo, sans-serif; white-space: nowrap; }
.guide .stat span { font-size: 14px; color: var(--g-soft); }
.guide .stat i { font-style: normal; font-size: 13px; color: var(--g-good); }
.guide .btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
/* Buttons: same hover styles as the approved template */
.guide .gbtn { font: 600 16px "Source Sans 3", sans-serif; min-height: 44px; padding: 10px 18px; border-radius: 10px; border: 0; background: var(--g-red); color: #fff;
  text-decoration: none; display: inline-flex; align-items: center; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.guide .gbtn:hover { background: var(--g-red-dark); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(200, 16, 46, .3); }
.guide .gbtn.alt { background: transparent; color: var(--g-ink); border: 2px solid var(--g-navy); }
.guide .gbtn.alt:hover { background: var(--g-navy); border-color: var(--g-navy); color: #fff; box-shadow: 0 6px 16px rgba(27, 52, 96, .35); transform: translateY(-2px); }
.guide .gbtn.alt::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--g-red); margin-right: 10px; transition: transform .2s; }
.guide .gbtn.alt:hover::before { transform: scale(1.5); }
.guide .gbtn.is-done { background: var(--g-navy); color: #fff; border-color: var(--g-navy); }
.guide .gbtn.is-done::before { content: "\2713"; width: auto; height: auto; background: none; color: #fff; }
@media (prefers-reduced-motion: reduce) { .guide .gbtn, .guide .gbtn.alt::before { transition: none; } .guide .gbtn:hover, .guide .gbtn.alt:hover { transform: none; } }
.guide .gbtn:focus-visible, .guide a:focus-visible { outline: 3px solid var(--g-red); outline-offset: 2px; }
.guide .sub-msg { font-size: 15px; color: var(--g-good); margin: 8px 0 0; }
.guide .cols { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; }
@media (max-width: 900px) { .guide .cols { grid-template-columns: minmax(0, 1fr); } }
.guide section.s { padding: 22px 0; border-top: 1px solid var(--g-line); }
.guide .gcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.guide .gcard { border: 1px solid var(--g-line); border-radius: 12px; overflow: hidden; background: var(--g-bg); text-decoration: none; color: inherit; display: block; }
.guide .gcard:hover { border-color: var(--g-red); }
.guide .gcard .ph { height: 140px; background: linear-gradient(135deg, #2c4a7c, #6f8fbf); position: relative; }
.guide .gcard .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.guide .gcard .badge { position: absolute; left: 8px; top: 8px; }
.guide .gcard .b { padding: 10px 12px; }
.guide .gcard .p { font: 800 20px Archivo, sans-serif; white-space: nowrap; }
.guide .gcard .m { font-size: 14px; color: var(--g-soft); }
.guide .gcard .courtesy { font-size: 12px; color: var(--g-soft); margin: 6px 0 0; display: flex; gap: 6px; align-items: center; }
.guide .gcard .courtesy img { height: 14px; width: auto; }
.guide .devs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 10px; }
.guide .dev { display: flex; justify-content: space-between; gap: 10px; padding: 12px; border: 1px solid var(--g-line); border-radius: 10px; text-decoration: none; color: var(--g-ink); min-height: 44px; }
.guide .dev:hover { border-color: var(--g-red); }
.guide .dev small { color: var(--g-soft); }
.guide .dev em { font-style: normal; font-weight: 700; white-space: nowrap; }
.guide .dev.quiet em { color: var(--g-soft); font-weight: 600; }
.guide table { width: 100%; border-collapse: collapse; font-size: 15px; }
.guide th, .guide td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--g-line); }
.guide th { font-size: 14px; color: var(--g-soft); font-weight: 600; }
.guide td.n, .guide th.n { text-align: right; white-space: nowrap; }
.guide .side { position: sticky; top: 12px; align-self: start; display: grid; gap: 14px; }
.guide .agent { background: var(--g-navy); color: #fff; border-radius: 14px; padding: 18px; }
.guide .agent p { color: #d6e0f0; font-size: 15px; }
.guide .agent img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; float: right; margin: 0 0 8px 10px; border: 2px solid #fff; }
.guide .agent form { display: grid; gap: 8px; margin-top: 10px; }
.guide .agent input, .guide .agent textarea { width: 100%; font: inherit; font-size: 15px; padding: 8px 10px; border-radius: 8px; border: 0; }
.guide .box { border: 1px solid var(--g-line); border-radius: 14px; padding: 16px; }
.guide .chart { position: relative; height: 200px; }
.guide .chart svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.guide .va { background: var(--g-card); border-left: 4px solid var(--g-red); padding: 14px 16px; border-radius: 0 12px 12px 0; }
.guide details { border-bottom: 1px solid var(--g-line); padding: 10px 0; }
.guide summary { cursor: pointer; font-weight: 600; min-height: 32px; }
.guide .note { font-size: 13px; color: var(--g-soft); }
.guide .pill { display: inline-block; background: var(--g-card); border-radius: 99px; padding: 6px 12px; font-size: 14px; margin: 3px 4px 3px 0; text-decoration: none; color: inherit; min-height: 32px; }
.guide .pill:hover { background: var(--g-navy); color: #fff; }
.guide .write-up p { max-width: 68ch; }
.guide .gate { background: var(--g-card); border-radius: 12px; padding: 14px 16px; }
.guide .nlist { columns: 3 220px; list-style: none; padding: 0; }
.guide .nlist li { break-inside: avoid; padding: 6px 0; }
.guide .dev-pin { background: var(--g-navy); color: #fff; border: 2px solid #fff; border-radius: 50%; width: 30px; height: 30px; display: grid; place-items: center;
  font: 700 13px Archivo, sans-serif; box-shadow: 0 1px 4px rgba(0, 0, 0, .35); }
.guide .dev-pin.has { background: var(--g-red); }

/* ---------- Master Neighborhood Guide map (Nov 20, 2026) ---------- */
.guide .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.guide .nbtools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 8px 0 14px; }
.guide .nbfind { flex: 1 1 280px; }
.guide .nbfind input { width: 100%; min-height: 48px; font: inherit; font-size: 16px; padding: 0 14px; border: 1px solid var(--g-line); border-radius: 10px; background: #fff; color: #1a1a1a; }
.guide .nbtabs { display: flex; flex-wrap: wrap; gap: 8px; }
.guide .nbtabs button { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--g-navy); background: #fff; color: var(--g-navy); font: 600 15px inherit; cursor: pointer; }
.guide .nbtabs button[aria-pressed="true"] { background: var(--g-navy); color: #fff; }
.guide .nbmap { height: clamp(380px, 62vh, 620px); }
.guide .nbregion { margin-top: 18px; }
.guide .nbregion h3 { margin: 0 0 8px; }
.guide .nbregion[hidden], .guide .dev[hidden] { display: none; }
.guide .nbtip b { display: block; }
.guide .nbmaster h2 small { font-weight: 600; color: var(--g-soft); font-size: .6em; }
