/* PBP Real Estate — brand values from /work/brand/DESIGN.md (live-site sampled 2026-08-08).
   Montserrat display, Lato body, square corners, #3C5FF7 CTA. Do not invent values. */
:root {
  --pbp-cta: #3C5FF7;
  --pbp-navy: #1b2a3a;
  --pbp-text: #555555;
  --pbp-ink: #222222;
  --pbp-cyan: #24E4D6;
  --pbp-blue: #3A31E5;
  --maxw: 780px;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Lato, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--pbp-text);
  background: #fff;
  line-height: 1.65;
  font-size: 17px;
}
h1, h2, h3, h4, .display {
  font-family: Montserrat, system-ui, sans-serif;
  color: var(--pbp-ink);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 400;
  line-height: 1.2;
}
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: 1.4rem; letter-spacing: 0.08em; margin-top: 2.4em; }
a { color: var(--pbp-blue); }
img, iframe, video, table { max-width: 100%; }
iframe { aspect-ratio: 16/9; height: auto; border: 0; }
.skip-link {
  position: fixed; z-index: 10000; left: 12px; top: 12px; transform: translateY(-180%);
  background: #fff; color: #111827; border: 3px solid var(--pbp-blue); padding: 10px 14px;
  font-family: Montserrat, sans-serif; font-weight: 700; text-decoration: none;
}
.skip-link:focus { transform: none; }
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid #f7c948; outline-offset: 3px;
}
#main-content { scroll-margin-top: 1rem; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.site-header { background: var(--pbp-navy); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.site-header a { color: #fff; text-decoration: none; font-family: Montserrat, sans-serif; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.78rem; }
.site-header nav a + a { margin-left: 10px; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px; }
.brand { font-weight: 700 !important; letter-spacing: 0.14em !important; }
.btn {
  display: inline-block; background: var(--pbp-cta); color: #fff; text-decoration: none;
  padding: 14px 28px; border-radius: 0; font-family: Montserrat, sans-serif;
  text-transform: uppercase; letter-spacing: 1px; font-size: 0.8rem;
}
.rule { height: 4px; border: 0; background: linear-gradient(90deg, var(--pbp-cyan) 0%, var(--pbp-blue) 100%); margin: 22px 0 30px; }
article :is(p, ul, ol) { font-size: 1.02rem; }
.meta { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.09em; font-family: Montserrat, sans-serif; }
.post-list { list-style: none; padding: 0; }
.post-list li { padding: 16px 0; border-bottom: 1px solid #eee; }
.post-list a { font-family: Montserrat, sans-serif; text-transform: uppercase; letter-spacing: 0.05em; text-decoration: none; font-size: 0.95rem; }
footer.site-footer { margin-top: 70px; padding: 34px 0; border-top: 1px solid #eee; font-size: 0.82rem; }

/* Area market snapshot (data: PBP BeachesMLS feed via area_market_stats.py) */
.mkt { margin-top: 3em; border-top: 4px solid var(--pbp-cta); padding-top: 8px; }
.mkt h2 { margin-top: 1.2em; }
.mkt h3 { font-size: 1.05rem; margin: 1.8em 0 0.6em; }
.mkt-note { font-size: 0.95rem; }
.mkt-table { width: 100%; border-collapse: collapse; margin: 0 0 6px; }
.mkt-table th, .mkt-table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid #eee; font-size: 0.95rem; }
.mkt-table th { font-weight: 400; color: var(--pbp-text); width: 60%; }
.mkt-table td { font-family: Montserrat, sans-serif; color: var(--pbp-ink); }
.mkt-cmp { font-family: Lato, sans-serif; color: var(--pbp-text); font-size: 0.85rem; }
.mkt-thin { font-size: 0.9rem; background: #f7f8fa; border-left: 3px solid var(--pbp-cyan); padding: 12px 14px; }
.mkt-src { font-size: 0.8rem; color: #666; margin-top: 2em; }
.mkt-cta { margin: 1.6em 0 0; }
.nbhd-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px 24px; }
.nbhd-grid li { padding: 8px 0; border-bottom: 1px solid #eee; }
.nbhd-grid a { font-family: Montserrat, sans-serif; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.82rem; text-decoration: none; display: block; }
.nbhd-grid .mkt-cmp { font-size: 0.78rem; }
.mkt-up { margin-top: 1.6em; font-size: 0.95rem; }

/* Owned lead form (/api/lead -> TrinityOS). Replaces RealGeeks capture. */
.lead-form { margin: 2em 0 0; padding: 26px; background: #f7f8fa; border-top: 4px solid var(--pbp-cta); }
.lf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; margin-bottom: 14px; }
@media (max-width: 640px) { .lf-row { grid-template-columns: 1fr; } }
.lf-field { display: block; }
.lf-field > span { display: block; font-family: Montserrat, sans-serif; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--pbp-ink); margin-bottom: 5px; }
.lf-field > span em { text-transform: none; letter-spacing: 0; color: #666; font-style: normal; }
.lf-field input, .lf-field select, .lf-field textarea {
  width: 100%; box-sizing: border-box; padding: 11px 12px; border: 1px solid #d8dce3;
  background: #fff; font-family: Lato, sans-serif; font-size: 1rem; color: var(--pbp-text); border-radius: 0;
}
.lf-field input:focus, .lf-field select:focus, .lf-field textarea:focus { outline: 2px solid var(--pbp-cyan); outline-offset: 0; border-color: var(--pbp-cyan); }
.lf-full { margin-bottom: 16px; }
.lf-consent { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; font-size: 0.82rem; line-height: 1.5; color: #4a4f57; }
.lf-consent input { margin-top: 3px; flex: 0 0 auto; width: 16px; height: 16px; }
.lf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lf-submit {
  display: inline-block; background: var(--pbp-cta); color: #fff; border: 0; cursor: pointer;
  padding: 15px 32px; font-family: Montserrat, sans-serif; text-transform: uppercase;
  letter-spacing: 1px; font-size: 0.8rem; border-radius: 0;
}
.lf-submit:disabled { opacity: 0.55; cursor: default; }
.lf-status { margin: 14px 0 0; font-size: 0.95rem; }
.lf-status.lf-ok { color: #14663a; font-weight: 700; }
.lf-status.lf-error { color: #96231d; }
.lf-footnote { margin: 12px 0 0; font-size: 0.85rem; color: #6b7079; }
.lf-book { margin: 10px 0 0; font-size: 0.98rem; font-weight: 700; }

/* ── IDX property search (/search/) ────────────────────────────────────────────
   Data: BeachesMLS via SimplyRETS, proxied through /api/idx so credentials never
   reach the browser. Attribution and MLS notices are required furniture, not
   decoration - see functions/api/idx.ts before changing anything here. */
.idx-form { background: #f7f8fa; border-top: 4px solid var(--pbp-cta); padding: 22px; margin: 0 0 22px; }
.idx-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 16px; margin-bottom: 14px; }
.idx-row5 { grid-template-columns: repeat(5, 1fr); }
.idx-span2 { grid-column: span 2; }
@media (max-width: 820px) { .idx-row, .idx-row5 { grid-template-columns: repeat(2, 1fr); } .idx-span2 { grid-column: span 2; } }
@media (max-width: 480px) { .idx-row, .idx-row5 { grid-template-columns: 1fr; } .idx-span2 { grid-column: span 1; } }
.idx-field { display: block; }
.idx-field > span { display: block; font-family: Montserrat, sans-serif; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--pbp-ink); margin-bottom: 5px; }
.idx-field > span em { text-transform: none; letter-spacing: 0; color: #666; font-style: normal; }
.idx-field input, .idx-field select {
  width: 100%; padding: 11px 12px; border: 1px solid #d8dce3; background: #fff;
  font-family: Lato, sans-serif; font-size: 1rem; color: var(--pbp-text); border-radius: 0;
}
.idx-field input:focus, .idx-field select:focus { outline: 2px solid var(--pbp-cyan); outline-offset: 0; border-color: var(--pbp-cyan); }
.idx-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.idx-submit {
  background: var(--pbp-cta); color: #fff; border: 0; cursor: pointer; padding: 14px 34px;
  font-family: Montserrat, sans-serif; text-transform: uppercase; letter-spacing: 1px; font-size: 0.8rem;
}
.idx-submit:hover { background: #2f4ede; }
.idx-reset { background: none; border: 0; color: #666; cursor: pointer; font-size: 0.82rem; text-decoration: underline; padding: 10px 4px; min-height: 44px; }
.idx-sortwrap { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.idx-sortlabel { font-family: Montserrat, sans-serif; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--pbp-ink); }
.idx-sortwrap select { padding: 9px 10px; border: 1px solid #d8dce3; background: #fff; font-family: Lato, sans-serif; font-size: 0.9rem; border-radius: 0; }
.idx-status { font-size: 0.88rem; color: #666; margin: 0 0 14px; }
.idx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 26px 22px; }
.idx-card { border-bottom: 1px solid #eee; padding-bottom: 14px; }
.idx-card-link { text-decoration: none; color: inherit; display: block; }
.idx-photo { width: 100%; height: 190px; object-fit: cover; display: block; background: #eef0f3; }
.idx-photo-none { display: flex; align-items: center; justify-content: center; color: #666; font-size: 0.82rem; }
.idx-card-body { padding-top: 10px; }
.idx-price { font-family: Montserrat, sans-serif; color: var(--pbp-ink); font-size: 1.12rem; margin: 0 0 3px; }
.idx-addr { margin: 0 0 3px; font-size: 0.95rem; color: var(--pbp-ink); }
.idx-facts { margin: 0; font-size: 0.85rem; color: #666; }
.idx-badge { display: inline-block; font-family: Montserrat, sans-serif; font-size: 0.62rem; letter-spacing: 0.09em; text-transform: uppercase; padding: 3px 8px; vertical-align: middle; margin-left: 6px; }
.idx-badge-ok { background: #e8f7ef; color: #1c7a45; }
.idx-badge-warn { background: #fff4e0; color: #8a5a00; }
/* Attribution is a licence requirement, never a style choice. */
.idx-attrib { font-size: 0.75rem; color: #666; margin: 8px 0 0; }
.idx-attrib-missing { background: #fff4e0; color: #8a5a00; padding: 5px 8px; }
.idx-pager { display: flex; align-items: center; gap: 18px; justify-content: center; margin: 34px 0 0; }
.idx-page-btn { background: none; border: 1px solid #d8dce3; padding: 10px 18px; cursor: pointer; font-family: Montserrat, sans-serif; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--pbp-ink); }
.idx-page-btn:disabled { opacity: 0.4; cursor: default; }
.idx-page-label { font-size: 0.82rem; color: #666; }
.idx-help { margin-top: 3em; }
.idx-legal { margin-top: 3em; padding-top: 16px; border-top: 1px solid #eee; font-size: 0.72rem; line-height: 1.6; color: #666; }
.idx-legal p { margin: 0 0 8px; }
.idx-logo { display: block; margin-bottom: 10px; width: 180px; height: auto; max-width: 100%; }
.idx-logo-missing { background: #fff4e0; color: #8a5a00; padding: 9px 11px; font-size: 0.75rem; }

/* /homes-for-sale/ hub: crawl path + orientation for the 332 geo pages. */
.hub-county { margin-top: 2.4em; }
.hub-county h2 { margin-top: 0; }
.hub-next { margin-top: 3em; padding-top: 8px; border-top: 4px solid var(--pbp-cta); }
.mkt-cta2 { margin: 0.6em 0 0; font-size: 0.92rem; }
/* Secondary link inside a hub row: must not inherit the grid's uppercase heading style. */
.nbhd-grid .hub-sub { display: block; margin-top: 2px; }
.nbhd-grid .hub-sub a { font-family: Lato, sans-serif; text-transform: none; letter-spacing: 0; font-size: 0.8rem; }

/* Area CTAs. Replaced the RealGeeks 300x92 "click here" button images (2026-08-22). */
.area-cta { margin: 1.6em 0 2em; display: flex; flex-wrap: wrap; gap: 12px; }
.btn-alt { background: #fff; color: var(--pbp-cta); box-shadow: inset 0 0 0 2px var(--pbp-cta); }
.btn-alt:hover { background: var(--pbp-cta); color: #fff; }

/* Sitewide header + footer, matching the design Grant approved 2026-08-22.
   The homepage renders its own header over the hero photograph (bareHeader). */
/* Full English nav (12 links) needs ~1,220px with the brand; inside a 1,180px wrap it wrapped onto two rows at
   every desktop width (ESPAÑOL alone on row 2, live /atlantis/ 1280-1600px, 2026-10-07). Wider wrap, and the
   three secondary links show only from 1,300px (room for a 17px scrollbar). Spanish full nav needs ~1,340px
   (rule below, 1500px). No wording change. */
.site-header .wrap { max-width: 1400px; }
.site-header nav { display: flex; align-items: center; flex-wrap: wrap; }
.site-header nav a { opacity: 0.86; }
.site-header nav a:hover { opacity: 1; }
.site-header nav a.tel { letter-spacing: 0.06em; font-size: 0.82rem; opacity: 1; }
@media (max-width: 1299px) { .site-header nav a.sec { display: none; } }
@media (max-width: 780px) {
  .site-header .wrap { height: auto; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; gap: 8px; }
  .site-header nav a + a { margin-left: 14px; }
}
footer.site-footer {
  margin-top: 70px; padding: 44px 0 40px; border-top: 0;
  background: var(--pbp-navy); color: #c8d0dc; font-size: 0.82rem;
}
footer.site-footer .wrap { max-width: 1180px; }
footer.site-footer a { color: #fff; }
footer.site-footer .fid { font-family: Montserrat, sans-serif; font-size: 0.78rem; letter-spacing: 0.03em; color: #fff; margin: 0 0 16px; }
/* A phone number broken across two lines ("561-395-" / "8418") looks like a typo and
   cannot be tapped as one target. Keep every phone number, and the licence numbers,
   whole wherever they appear. [Grant, 2026-08-27] */
a[href^="tel:"], .nowrap { white-space: nowrap; }
footer.site-footer .fid .fid-line { display: block; }
footer.site-footer .fid .fid-sub { margin-top: 4px; opacity: 0.85; }
footer.site-footer .flinks { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 0 0 22px; }
footer.site-footer .flinks a { font-family: Montserrat, sans-serif; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; }
footer.site-footer .fsmall { font-size: 0.76rem; line-height: 1.6; margin: 0 0 12px; max-width: 78em; }
footer.site-footer .fsmall strong { color: #c8d0dc; }
footer.site-footer .eho { display: inline-block; border: 1px solid #8e98a8; font-size: 0.6rem; letter-spacing: 0.1em; padding: 2px 5px; margin-right: 6px; vertical-align: 1px; }

/* Saved searches: "email me new listings like this" on /search/. No account, express
   consent only, and the panel states the current criteria so the visitor knows what
   they are subscribing to. [neo, 2026-08-26] */
.idx-save { margin-top: 3em; padding: 26px 24px; background: #f6f7f9; border-top: 4px solid var(--pbp-cta); }
.idx-save h2 { margin-top: 0; }
.idx-save-lede { margin: 0 0 10px; }
.idx-save-current { margin: 0 0 18px; padding: 10px 14px; background: #fff; border-left: 3px solid var(--pbp-cyan); font-family: Montserrat, sans-serif; font-size: 0.9rem; color: var(--pbp-ink); }
.idx-save-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px 18px; margin-bottom: 14px; }
.idx-check { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; font-size: 0.88rem; line-height: 1.5; color: #444; }
.idx-check input { margin-top: 3px; flex: 0 0 auto; }
.idx-save-status { margin: 12px 0 0; font-size: 0.9rem; color: var(--pbp-ink); }
.idx-save-fine { margin: 10px 0 0; font-size: 0.75rem; color: #666; }
.idx-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Market report call to action, reusable across area, neighborhood and blog pages. */
.mr-cta { margin: 2.6em 0; padding: 22px 24px; background: #f6f7f9; border-left: 4px solid var(--pbp-cta); }
.mr-cta h2, .mr-cta h3 { margin-top: 0; }
.mr-cta p { margin: 0 0 12px; }
.mr-cta .btn { display: inline-block; }
.mr-cta-fine { margin: 10px 0 0 !important; font-size: 0.75rem; color: #666; }
/* Market-report free-text hint (added 2026-08-27 with county-grouped areas). */
.mr-field span em.mr-opt{font-style:normal;font-weight:400;text-transform:none;letter-spacing:0;opacity:.7}

/* ---------------------------------------------------------------------------
   /selling/ rebuild, 2026-08-27 (Grant: "this page needs a major refresh").
   Replaces a legacy 25-item listing-presentation list and an outdated portals
   graphic. The flow diagram is plain HTML/CSS rather than an image so it stays
   sharp, reads on a phone, and can be edited without a design round trip.
--------------------------------------------------------------------------- */
.sell-lede{max-width:66ch;font-size:1.05rem;line-height:1.7}
.sell-cta-top,.sell-cta-bottom{border:1px solid #d8dbe8;padding:22px 24px;margin:26px 0 34px;background:#f8f9fc}
.sell-cta-bottom{margin:34px 0}
.sell-cta-kicker{font-family:Montserrat,sans-serif;font-size:.7rem;font-weight:700;letter-spacing:.09em;
  text-transform:uppercase;color:#3A31E5;margin:0 0 10px}
.sell-cta-line{margin:0 0 12px;max-width:64ch;line-height:1.65}
.sell-cta-actions{margin:0 0 12px;display:flex;flex-wrap:wrap;gap:14px;align-items:center}
.sell-btn{display:inline-block;background:#3C5FF7;color:#fff;font-family:Montserrat,sans-serif;font-size:.78rem;
  font-weight:700;letter-spacing:1px;text-transform:uppercase;padding:14px 26px;text-decoration:none;border-radius:0}
.sell-btn:hover{background:#2c49cf;color:#fff}
.sell-or{font-size:.9rem;color:#4b5563}
.sell-cta-fine{margin:6px 0 0;font-size:.88rem;color:#4b5563}

/* /selling/ Option B [Grant GO 2026-09-07]: trust block and its verified client quote sit
   directly under the hero, the record table and the guide box are quiet supporting blocks.
   The old .sell-cta-top/.sell-cta-bottom boxes are gone: the page's single ask is the seller
   form, reached from the hero, the pricing block and the follow-along bar. */
.sell-trust{border-left:4px solid #3A31E5;background:#f7f7fb;padding:16px 20px;margin:24px 0 30px}
.sell-trust>p{margin:0;max-width:70ch;line-height:1.7}
.sell-quote{margin:14px 0 0;padding:0 0 0 16px;border-left:2px solid #cdd2e4}
.sell-quote p{margin:0;font-size:1.02rem;line-height:1.6;color:#1f2430}
.sell-quote-by{margin:6px 0 0!important;font-size:.85rem!important;color:#4b5563!important}
.sell-guides{border:1px solid #e5e7eb;padding:20px 22px;margin:26px 0}
.sell-guides p{margin:0 0 12px;max-width:64ch}
.sell-guides p:last-child{margin:0}
.sell-guides-kicker{font-family:Montserrat,sans-serif;font-size:.7rem;font-weight:700;letter-spacing:.09em;
  text-transform:uppercase;color:#6b7280}
.sell-record{border:1px solid #d8dbe8;border-radius:6px;padding:18px 20px;margin:28px 0}
.sell-record>p:first-child{margin:0 0 10px}
.sell-flow{border:1px solid #d8dbe8;padding:22px 20px;margin:28px 0}
.sell-flow-title{font-family:Montserrat,sans-serif;font-size:.72rem;font-weight:700;letter-spacing:.08em;
  text-transform:uppercase;color:#6b7280;margin:0 0 18px;text-align:center}
.sell-flow-row{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:12px;align-items:stretch}
.sell-flow-row-2{grid-template-columns:repeat(3,1fr)}
.sell-node{border:1px solid #e5e7eb;background:#fff;padding:14px 16px}
.sell-node-origin{border-color:#3A31E5;border-width:2px}
.sell-node-sys{background:#1b2a3a;border-color:#1b2a3a}
.sell-node-sys .sell-node-h{color:#24E4D6}
.sell-node-sys .sell-node-b{color:#dfe3ea}
.sell-node-h{font-family:Montserrat,sans-serif;font-size:.82rem;font-weight:700;margin:0 0 6px;color:#1b2a3a}
.sell-node-b{font-size:.85rem;line-height:1.5;margin:0;color:#4b5563}
.sell-arrow{align-self:center;width:26px;height:2px;background:#3A31E5;position:relative}
.sell-arrow::after{content:"";position:absolute;right:-1px;top:-4px;border-left:8px solid #3A31E5;
  border-top:5px solid transparent;border-bottom:5px solid transparent}
.sell-flow-mid{text-align:center;font-family:Montserrat,sans-serif;font-size:.72rem;font-weight:700;
  letter-spacing:.08em;text-transform:uppercase;color:#3A31E5;margin:20px 0 14px}
.sell-flow-out{margin:18px 0 0;font-size:.92rem;line-height:1.6;color:#374151;max-width:70ch}
@media (max-width:820px){
  .sell-flow-row,.sell-flow-row-2{grid-template-columns:1fr;gap:10px}
  .sell-arrow{width:2px;height:20px;justify-self:center}
  .sell-arrow::after{right:-4px;top:auto;bottom:-1px;border-left:5px solid transparent;
    border-right:5px solid transparent;border-top:8px solid #3A31E5;border-bottom:0}
}

/* Blog index: date beside each title, and a visually separated listing archive
   (Grant, 2026-08-27 - listing posts were mixed into the article list). */
.post-list li { display: flex; justify-content: space-between; gap: 18px; align-items: baseline; }
.post-list .post-date { flex: 0 0 auto; font-family: Montserrat, sans-serif; font-size: 0.72rem;
  letter-spacing: 0.06em; text-transform: uppercase; color: #8a8f9c; }
.listing-archive { margin-top: 54px; padding-top: 26px; border-top: 1px solid #e4e8f2; }
.listing-archive h2 { margin-bottom: 6px; }

/* Client testimonials (/about/). Grant asked 2026-08-27 whether reviews should be
   italic. Decision: no - long quotes set in italic are measurably harder to read, and
   these run 60-120 words. They are differentiated structurally instead: a card, a real
   five-star row and a quote mark. The `.review-stars` divs came over from RealGeeks
   EMPTY with no CSS anywhere in the build, so the stars were invisible on every review
   until now. */
.review-stars {
  margin: 6px 0 28px 0;
  font-size: 1.05rem;
  letter-spacing: 2px;
  line-height: 1;
  color: #c8a96e;
}
.review-stars::before { content: "\2605\2605\2605\2605\2605"; }
p:has(+ .review-stars) {
  margin: 10px 0 0 0;
  padding: 18px 22px 20px 22px;
  background: #f7f9fd;
  border-left: 4px solid #3f4ff9;
  border-radius: 0 12px 12px 0;
  font-style: normal;
  font-size: 1.02rem;
  line-height: 1.7;
  color: #333;
}

/* /homes-for-sale/ smaller-municipalities block (Grant, 2026-08-27): cities we cover in
   the feed but do not publish a page for, deep-linked into MLS search. */
.hub-smaller { margin: 2.5rem 0 0; }
.hub-smaller-list { line-height: 2.1; }
.hub-smaller-n { color: #4a5468; font-size: 0.9em; }
.hub-smaller-note { color: #333c4f; }

/* Service-page market linking. Service pages used to link to no city page at all,
   so the internal link graph ran one way only. [neo, 2026-08-31] */
.svc-markets {
  margin: 2.4rem 0 0;
  padding: 1.6rem 1.4rem;
  border: 1px solid #dfe3ee;
  border-top: 4px solid #3240e0;
  border-radius: 10px;
  background: #fbfcff;
}
.svc-markets h2 { margin-top: 0; font-size: 1.35rem; }
.svc-markets-list { line-height: 2.1; }
.svc-markets-note { font-size: .88rem; color: #59606f; margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* AEO fact tables are authored inline in page bodies with 4-6 columns; below ~700px the widest
   of them (the what-is-my-home-worth city family) pushed the whole document sideways on a
   390px phone. Scroll the table, never the page. [money-page audit, 2026-09-07] */
@media (max-width: 700px) {
  .aeo-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
  .aeo-table th, .aeo-table td { white-space: nowrap; }
}

/* Secondary path next to a body ask: a text link, never a competing button. [batch B, 2026-09-07] */
.aeo-alt { display: inline-block; margin-left: .5rem; font-size: .95rem; color: #5b6270; }


/* City statistics pages and hub: tiles, bar pairs, comparison band (2026-09-15).
   Houses = --pbp-blue, condos/townhouses = teal, county = navy. Square corners. */
.stx-kicker { font-family: Montserrat, sans-serif; text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; color: #555; margin: 1.6rem 0 .5rem; }
.stx-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 0 0 1.8rem; }
.stx-tile { display: flex; flex-direction: column; gap: .2rem; padding: 1rem .95rem 1.05rem; background: #f8f9fc; border-top: 4px solid var(--pbp-blue); }
.stx-tile.stx-c { border-top-color: #0F7F77; }
.stx-tile.stx-n { border-top-color: var(--pbp-navy); }
.stx-k { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #555; font-weight: 700; font-family: Montserrat, sans-serif; line-height: 1.3; }
.stx-tile b { font-family: Montserrat, sans-serif; font-size: 1.55rem; font-weight: 600; color: var(--pbp-blue); line-height: 1.1; }
.stx-tile.stx-c b { color: #0F7F77; }
.stx-tile.stx-n b { color: var(--pbp-navy); }
.stx-sub { font-size: .8rem; color: #666; line-height: 1.35; }
.stx-bars { margin: .6rem 0 1.4rem; padding: .9rem 1rem .6rem; background: #fbfcff; border: 1px solid #e6e9f2; }
.stx-row { display: grid; grid-template-columns: minmax(120px, 34%) 1fr auto; align-items: center; gap: 12px; padding: .28rem 0; }
.stx-lbl { font-size: .86rem; color: var(--pbp-ink); line-height: 1.3; }
.stx-track { position: relative; height: 14px; background: #eef0f5; }
.stx-bar { position: absolute; left: 0; top: 0; bottom: 0; background: var(--pbp-blue); }
.stx-bar.stx-c { background: #0F7F77; }
.stx-bar.stx-k2 { background: var(--pbp-navy); }
.stx-bar.stx-none { width: 0; }
.stx-val { font-family: Montserrat, sans-serif; font-weight: 600; font-size: .92rem; color: var(--pbp-ink); white-space: nowrap; }
.stx-cap { font-size: .78rem; color: #666; margin: .5rem 0 0; }
.stx-legend { font-size: .8rem; color: #555; margin: -.6rem 0 1rem; }
.stx-dot { display: inline-block; width: 11px; height: 11px; background: var(--pbp-blue); margin: 0 5px 0 12px; vertical-align: -1px; }
.stx-dot.stx-c { background: #0F7F77; }
.stx-dot.stx-k2 { background: var(--pbp-navy); }
.stx-legend .stx-dot:first-child { margin-left: 0; }
ol.key-takeaways { counter-reset: kt; list-style: none; padding: 0; margin: 0 0 1.2rem; }
ol.key-takeaways > li { counter-increment: kt; position: relative; padding: .7rem 0 .7rem 3rem; border-bottom: 1px solid #eef0f5; }
ol.key-takeaways > li::before { content: counter(kt, decimal-leading-zero); position: absolute; left: 0; top: .75rem; font-family: Montserrat, sans-serif; font-weight: 600; font-size: 1.15rem; color: var(--pbp-blue); }
.stx-cities { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin: .6rem 0 1.6rem; }
.stx-city { display: block; padding: 1rem 1rem 1.1rem; background: #f8f9fc; border-top: 4px solid #1B2A6B; color: var(--pbp-ink); text-decoration: none; transition: background .15s; }
.stx-city:hover, .stx-city:focus-visible { background: #eef0fb; text-decoration: none; }
.stx-city h3 { margin: 0 0 .5rem; font-size: 1rem; letter-spacing: .06em; color: #1B2A6B; }
.stx-city dl { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem .8rem; margin: 0; }
.stx-city dt { font-size: .68rem; text-transform: uppercase; letter-spacing: .07em; color: #555; font-family: Montserrat, sans-serif; font-weight: 700; }
.stx-city dd { margin: 0 0 .25rem; font-family: Montserrat, sans-serif; font-weight: 600; font-size: 1.05rem; color: var(--pbp-blue); line-height: 1.15; }
.stx-city dd.stx-c { color: #0F7F77; }
.stx-city .stx-meta { display: block; margin-top: .5rem; font-size: .76rem; color: #666; }
@media (max-width: 560px) { .stx-row { grid-template-columns: 1fr; gap: 4px; } .stx-val { justify-self: start; } }

/* City statistics tables (build_citation_hub_page.table). Figure tables are 4 columns and fit
   the 740px content column; Value and Period never wrap. Source link + data date sit in a
   tfoot footnote. (Grant iPad screenshot, 2026-09-15: the 6-col version wrapped/scrolled.) */
.stx-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 22px; }
.stx-table { width: 100%; border-collapse: collapse; font-size: .875rem; line-height: 1.35; }
.stx-table caption { text-align: left; font-weight: 600; color: var(--pbp-navy, #14213d); padding: 0 0 8px; caption-side: top; }
.stx-table th, .stx-table td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid #e6e9ee; }
.stx-table th { font-weight: 600; background: #f4f6f9; white-space: nowrap; }
.stx-table td { font-family: Montserrat, sans-serif; color: var(--pbp-ink, #1f2933); }
.stx-table .stx-c-value { white-space: nowrap; }
.stx-table .stx-c-period { white-space: normal; min-width: 9rem; } /* long trailing-window labels on small-town pages must wrap, never push the table sideways */
.stx-table .stx-c-type { color: #5b6573; }
.stx-table td.stx-foot { font-family: inherit; font-size: .8rem; color: #555; background: #fbfcfe; border-bottom: 0; padding: 7px 10px; white-space: normal; }
.stx-table.stx-wide th { white-space: normal; }
.stx-table.stx-wide .stx-c-cohort, .stx-table.stx-wide .stx-c-type { white-space: nowrap; }
.stx-table a { text-decoration: underline; text-underline-offset: 2px; }
.stx-table .stx-c-period { white-space: normal; min-width: 9rem; } /* long trailing-window labels on small-town pages must wrap, never push the table sideways */
.stx-table .stx-c-type { color: #5b6573; }
.stx-table td.stx-foot { font-family: inherit; font-size: .8rem; color: #555; background: #fbfcfe; border-bottom: 0; padding: 7px 10px; white-space: normal; }
.stx-table.stx-wide th { white-space: normal; }
.stx-table.stx-wide .stx-c-cohort, .stx-table.stx-wide .stx-c-type { white-space: nowrap; }
.stx-table a { text-decoration: underline; text-underline-offset: 2px; }

/* ---- Primary in-body ask + cost-of-living visuals [NEO, Grant GO 2026-09-15 19:30].
   .aeo-btn / .aeo-cta had no rules before this: the button on 119+ content pages rendered as a plain text link. */
.aeo-btn {
  display: inline-block; padding: 0.85rem 1.4rem; background: var(--pbp-cta); color: #fff !important;
  font-family: Montserrat, system-ui, sans-serif; text-transform: uppercase; letter-spacing: 1px; font-size: 0.88rem; font-weight: 600;
  text-decoration: none; border-radius: 0; min-height: 44px; line-height: 1.4;
}
.aeo-btn:hover, .aeo-btn:focus { background: #2f4bd0; }
.aeo-cta { margin: 2.4rem 0; padding: 1.6rem 1.4rem; border: 1px solid #dfe3ee; border-top: 4px solid var(--pbp-cta); background: #fbfcff; }
.aeo-cta h2 { margin-top: 0; font-size: 1.25rem; }
.aeo-cta p:last-child { margin-bottom: 0; }
.col-ask { margin: 1.2rem 0 2rem; display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; align-items: center; }
.col-ask .col-ask-txt { flex: 1 1 18rem; font-size: 0.98rem; color: #4a4f66; }
.col-ask-end { border-top: 1px solid #e6e9f0; padding-top: 1.4rem; }
.col-hero { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0.9rem; align-items: stretch; margin: 1.6rem 0 0.6rem; }
.col-card, .col-gap { border: 1px solid #dfe3ee; background: #fff; padding: 1.1rem 1.15rem; display: flex; flex-direction: column; gap: 0.25rem; }
.col-card { border-top: 4px solid var(--pbp-blue); }
.col-gap { border-top: 4px solid var(--pbp-cyan); justify-content: center; text-align: center; min-width: 9rem; background: #f7fdfc; }
.col-city { font-family: Montserrat, system-ui, sans-serif; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.82rem; color: var(--pbp-ink); }
.col-big { font-family: Montserrat, system-ui, sans-serif; font-weight: 600; font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--pbp-blue); line-height: 1.1; }
.col-gap-n { font-family: Montserrat, system-ui, sans-serif; font-weight: 600; font-size: 1.6rem; color: var(--pbp-ink); }
.col-lab { font-size: 0.9rem; color: #4a4f66; line-height: 1.35; }
.col-sub { font-size: 0.86rem; color: #6b7280; margin-top: 0.3rem; }
.col-fig, .col-share { margin: 1.6rem 0 2rem; }
.col-fig svg { display: block; width: 100%; height: auto; border: 1px solid #eef0f5; background: #fff; }
.col-fig figcaption, .col-share figcaption { font-size: 0.86rem; color: #6b7280; margin-top: 0.5rem; line-height: 1.45; }
.col-share img { display: block; width: 100%; height: auto; border: 1px solid #dfe3ee; }
@media (max-width: 640px) {
  .col-hero { grid-template-columns: 1fr; }
  .col-gap { min-width: 0; }
}

/* Rent-vs-own calculator and hero line [Grant GO 2026-09-17] */
.col-hero-line { margin: 0.4rem 0 1.4rem; font-size: 0.95rem; color: #4a4f66; }
.col-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); gap: 0.9rem; margin: 1.2rem 0 2rem; }
.col-tile { display: flex; flex-direction: column; gap: 0.3rem; border: 1px solid #dfe3ee; border-top: 4px solid var(--pbp-blue); background: #fff; padding: 1rem 1.05rem; text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
.col-tile:hover, .col-tile:focus-visible { border-color: var(--pbp-blue); box-shadow: 0 6px 18px rgba(70, 52, 239, 0.10); text-decoration: none; }
.col-tile .col-city { color: var(--pbp-blue); }
.col-tile-county { border-top-color: var(--pbp-cyan); background: #f7fdfc; }
.rvo-calc { margin: 2.4rem 0; padding: 1.4rem 1.3rem; border: 1px solid #dfe3ee; border-top: 4px solid var(--pbp-blue); background: #fbfcff; }
.rvo-calc h2 { margin-top: 0; }
.rvo-toggle { display: flex; gap: 0.6rem; flex-wrap: wrap; margin: 0 0 1rem; }
.rvo-kind { opacity: 0.55; }
.rvo-kind.is-on { opacity: 1; }
.rvo-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 0.8rem 1rem; margin-bottom: 1.2rem; }
.rvo-form label { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.88rem; color: #4a4f66; }
.rvo-form input { font: inherit; font-size: 1rem; padding: 0.45rem 0.6rem; border: 1px solid #c9cfdd; border-radius: 4px; background: #fff; color: var(--pbp-ink); }
.rvo-form input:focus { outline: 2px solid var(--pbp-cyan); outline-offset: 1px; }
.rvo-out .col-hero { margin-top: 0.4rem; }
@media (max-width: 640px) { .col-hero { grid-template-columns: 1fr; } }

/* Key takeaways block (AEO-12, neo 2026-09-22): extractive summary under the answer paragraph */
.key-takeaways { background: #f4f6fd; border-left: 4px solid #3240e0; padding: 0.9rem 1.2rem 0.9rem 1.1rem; margin: 1.4rem 0 1.8rem; border-radius: 0 6px 6px 0; }
.key-takeaways h2 { font-size: 1.02rem; letter-spacing: 0.04em; margin: 0 0 0.5rem; text-transform: uppercase; }
.key-takeaways ul { margin: 0; padding-left: 1.2rem; }
.key-takeaways li { margin: 0.35rem 0; line-height: 1.5; }

/* Click-to-load YouTube facade (SXO-20, 2026-09-22) */
.yt-facade{position:relative;cursor:pointer}
.yt-facade>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.yt-facade-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:transparent;border:0;padding:0;cursor:pointer;line-height:0;filter:drop-shadow(0 2px 8px rgba(0,0,0,.45))}
.yt-facade-play:hover svg path:first-child,.yt-facade:hover .yt-facade-play svg path:first-child{fill:#c00}
.yt-facade-play:focus-visible{outline:3px solid #fff;outline-offset:2px;border-radius:12px}

/* ── Data Desk (/data/) card surface [Grant GO 2026-09-23, LunaX demo]. Breaks out of the 780px column to 1180px;
   square corners per brand; one accent; whitespace does the work. Generator: skills/pbp_website_seo/scripts/build_data_hub.py */
.dd-wide { width: min(1180px, 100vw - 40px); margin-left: calc(50% - min(590px, 50vw - 20px)); }
.dd-h1 { letter-spacing: 0.04em; margin-bottom: 0.4em; }
article .dd-lede { font-size: 1.12rem; max-width: 900px; line-height: 1.55; }
.dd-h3 { font-family: Montserrat, sans-serif; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.92rem; color: var(--pbp-ink); margin: 2.4em 0 1em; padding-bottom: 8px; border-bottom: 2px solid var(--pbp-cta); display: inline-block; }
.dd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dd-grid4 { grid-template-columns: repeat(4, 1fr); }
.dd-grid4 .dd-big { font-size: 2.1rem; }
.dd-card { border: 1px solid #e3e6ea; background: #fff; padding: 24px 24px 18px; display: flex; flex-direction: column; transition: box-shadow .2s ease, transform .2s ease; }
.dd-card:hover { box-shadow: 0 10px 30px rgba(27,42,58,.08); transform: translateY(-2px); }
.dd-q { font-family: Montserrat, sans-serif; font-weight: 600; font-size: 0.98rem; color: var(--pbp-ink); line-height: 1.35; margin: 0 0 16px; }
.dd-big { font-family: Montserrat, sans-serif; font-weight: 500; font-size: 2.5rem; color: var(--pbp-cta); line-height: 1; letter-spacing: -0.01em; }
.dd-big.dd-word { font-size: 1.6rem; line-height: 1.15; }
.dd-big small { font-size: 0.95rem; color: var(--pbp-text); font-weight: 400; margin-left: 8px; letter-spacing: 0; }
.dd-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dd-lab { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: #7a7f87; margin-top: 8px; }
article .dd-ctx { font-size: 0.92rem; line-height: 1.5; margin: 12px 0 16px; flex: 1; }
.dd-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid #e3e6ea; padding-top: 12px; font-size: 0.76rem; color: #7a7f87; flex-wrap: wrap; }
.dd-links a { color: var(--pbp-cta); text-decoration: none; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.7rem; white-space: nowrap; }
.dd-links a + a { margin-left: 14px; }
.dd-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 20px 0 28px; }
.dd-tile { background: #f6f7f9; padding: 22px; }
.dd-tile .dd-big { color: var(--pbp-ink); font-size: 2.2rem; margin: 10px 0 6px; }
.dd-tile .dd-lab { margin: 0; }
.dd-sub { font-size: 0.84rem; color: var(--pbp-text); }
.dd-entry { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.dd-entry a { display: block; border: 1px solid #e3e6ea; padding: 20px 22px; text-decoration: none; color: var(--pbp-ink); transition: box-shadow .2s ease; }
.dd-entry a:hover { box-shadow: 0 10px 30px rgba(27,42,58,.08); }
.dd-entry a b { font-family: Montserrat, sans-serif; font-weight: 600; font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.06em; display: block; margin-bottom: 6px; color: var(--pbp-cta); }
.dd-entry a span { font-size: 0.88rem; color: var(--pbp-text); line-height: 1.45; }
.dd-table table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.dd-table caption { text-align: left; font-family: Montserrat, sans-serif; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--pbp-ink); padding: 0 0 10px; caption-side: top; }
.dd-table th { font-family: Montserrat, sans-serif; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; color: #7a7f87; text-align: right; padding: 10px 12px; border-bottom: 1px solid var(--pbp-ink); font-weight: 500; }
.dd-table td { padding: 12px; border-bottom: 1px solid #e9ecf0; text-align: right; white-space: nowrap; }
.dd-table th:first-child, .dd-table td:first-child { text-align: left; }
.dd-table tr:hover td { background: #f6f7f9; }
@media (max-width: 960px) { .dd-grid, .dd-grid4, .dd-tiles, .dd-entry { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .dd-grid, .dd-grid4, .dd-tiles, .dd-entry { grid-template-columns: 1fr; } .dd-wide { width: auto; margin-left: 0; } }

/* ---- Demo polish [NEO, Grant review 2026-09-23 #pbp-soflo-market-pulse]. Research-page tables
   (below-purchase, CASI, pricing study) share the /data/ dd-table look; dd-wrap lets long
   header and last-column text wrap instead of forcing a horizontal scroll. */
.dd-table.dd-wrap th { white-space: normal; }
.dd-table.dd-wrap td:last-child, .dd-table.dd-wrap td.dd-text { white-space: normal; }
.dd-table.dd-wrap td:first-child { white-space: nowrap; font-weight: 600; }
.dd-table.dd-wrap td:first-child a { color: var(--pbp-blue); text-decoration: none; }
.dd-table.dd-wrap td:first-child a:hover { text-decoration: underline; }
.dd-table.dd-wrap caption { font-size: 0.82rem; letter-spacing: 0.04em; text-transform: none; font-weight: 600; color: var(--pbp-navy, #14213d); }
/* Spanish nav labels are longer: at desktop widths the header wrapped to two rows and pushed
   ENGLISH onto its own line (live /es/miami-dade/informe-de-mercado, 1440px, 2026-09-23). */
.site-header .brand { white-space: nowrap; }
@media (max-width: 1500px) { html[lang^="es"] .site-header nav a.sec { display: none; } }
/* Laptop/tablet-landscape band: tighter link spacing so the nine primary links stay on one row (2026-10-07). */
@media (min-width: 781px) and (max-width: 1180px) {
  .site-header nav a { padding: 6px 5px; letter-spacing: 0.06em; }
  .site-header nav a + a { margin-left: 4px; }
}

/* Phone header (Grant GO MOBILE HEADER 2026-10-04, D-0476): at phone width the three wrapped rows of nav links
   become logo + tap-to-call + menu button; the menu opens the same <nav> as an overlay panel (no layout shift).
   Desktop is unchanged: both controls are display:none above the breakpoint. Behavior: BaseLayout inline script. */
.mnav-call, .mnav-btn { display: none; }
.mnav-call, .mnav-btn {
  align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 6px; white-space: nowrap;
  font-family: Montserrat, sans-serif; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  line-height: 1; cursor: pointer; flex: 0 0 auto;
}
.site-header .wrap a.mnav-call, .hp .topbar .wrap a.mnav-call { background: #fff; color: #1b2a3a; text-decoration: none; opacity: 1; }
.mnav-btn { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.6); }
.mnav-btn:hover, .mnav-btn:focus-visible { background: rgba(255,255,255,0.14); }
.site-header .wrap a.mnav-call:focus-visible, .hp .topbar .wrap a.mnav-call:focus-visible, .mnav-btn:focus-visible { outline: 3px solid #24E4D6; outline-offset: 2px; }
@media (max-width: 780px) {
  .site-header .wrap { position: relative; height: 60px; padding-top: 0; padding-bottom: 0; flex-wrap: nowrap; gap: 8px; }
  .site-header .wrap .brand { margin-right: auto; font-size: 0.74rem; }
  .site-header .wrap .mnav-call, .site-header .wrap .mnav-btn { display: inline-flex; }
  .site-header .wrap nav { display: none; }
  .site-header.mnav-open .wrap nav {
    display: flex; flex-direction: column; flex-wrap: nowrap; align-items: stretch; position: absolute; top: 100%; left: 0; right: 0; z-index: 60;
    background: var(--pbp-navy); padding: 4px 20px 14px; max-height: calc(100vh - 60px); overflow-y: auto; box-shadow: 0 12px 24px rgba(0,0,0,0.3);
  }
  html body .site-header.mnav-open .wrap nav a, html body .site-header.mnav-open .wrap nav a.sec {
    display: flex; margin-left: 0; min-height: 48px; padding: 6px 2px; opacity: 1; border-bottom: 1px solid rgba(255,255,255,0.12);
  }
}
@media (max-width: 980px) {
  .hp .topbar .wrap { position: relative; gap: 8px; }
  .hp .topbar .wrap > a:first-child { margin-right: auto; }
  .hp .topbar .wrap .mnav-call, .hp .topbar .wrap .mnav-btn { display: inline-flex; }
  .hp .topbar nav#home-nav { display: none; }
  .hp .topbar.mnav-open nav#home-nav {
    display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 100%; left: 0; right: 0; z-index: 60;
    background: #0f1926; padding: 4px 20px 14px; max-height: calc(100vh - 88px); overflow-y: auto; box-shadow: 0 12px 24px rgba(0,0,0,0.35);
  }
  .hp .topbar.mnav-open nav#home-nav a:not(.pill), .hp .topbar.mnav-open nav#home-nav a.sec {
    display: flex; margin-left: 0; min-height: 48px; padding: 6px 2px; opacity: 1; color: #fff; border-bottom: 1px solid rgba(255,255,255,0.12);
  }
}
/* Track-record table on the probate and short-sale hubs: its row labels were nowrap inline styles and pushed the
   page to 564px wide on a 390px phone (measured live 2026-10-04). Let the labels wrap on phones. */
@media (max-width: 700px) { #pbp-track-record th { white-space: normal !important; } }
/* Homepage quick links under the search bar: on a phone two short links wrapped into targets under 24px tall
   (axe target-size, WCAG 2.2, measured at 390px 2026-10-04). Give each link a 24px-tall line box. */
@media (max-width: 780px) { .hp .hero-search .quicklinks a { display: inline-block; min-height: 24px; line-height: 24px; margin-bottom: 4px; } }
