/* static/css/styles.css */

:root {
  --bg: #f6f7fb;
  --panel: #ffffff;
  --panel-2: #f1f5f9;
  --text: #0f172a;
  --muted: #64748b;
  --brand: #0ea5e9;
  --brand-2: #22c55e;
  --border: rgba(15, 23, 42, 0.10);
  --shadow: 0 18px 45px rgba(2, 6, 23, 0.10);
  --shadow-sm: 0 10px 25px rgba(2, 6, 23, 0.08);
  --radius: 18px;
  --radius-sm: 14px;
  --container: 1200px;
  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
}

a { color: inherit; }

code {
  font-family: var(--mono);
  font-size: 0.95em;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.muted { color: var(--muted); }
.small { font-size: 0.92rem; }

.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;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--panel);
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  z-index: 100;
}
.skip-link:focus { left: 12px; }

/* Top bar */
.topbar {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  font-size: 0.92rem;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.topbar-link {
  text-decoration: none;
  color: var(--muted);
}
.topbar-link:hover { color: var(--text); }
.dot { color: rgba(100, 116, 139, 0.55); }

.topbar-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.65);
  color: var(--muted);
  box-shadow: var(--shadow-sm);
}

/* Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 247, 251, 0.65);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 140ms ease;
}
.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.95), rgba(34, 197, 94, 0.90));
  color: #06233a;
  font-weight: 900;
}
.brand-text { opacity: 0.96; }

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}
.nav a:hover {
  background: rgba(15, 23, 42, 0.04);
  color: var(--text);
}
.nav a.active {
  background: rgba(14, 165, 233, 0.10);
  border-color: rgba(14, 165, 233, 0.25);
  color: var(--text);
}

/* Dropdowns (details/summary) */
.nav-dd {
  position: relative;
}
.nav-dd-summary {
  list-style: none;
  cursor: pointer;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  border: 1px solid transparent;
  user-select: none;
}
.nav-dd-summary:hover {
  background: rgba(15, 23, 42, 0.04);
  color: var(--text);
}
.nav-dd[open] .nav-dd-summary {
  background: rgba(14, 165, 233, 0.10);
  border-color: rgba(14, 165, 233, 0.25);
  color: var(--text);
}
.nav-dd-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 210px;
  padding: 10px;
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 2px;
}
.nav-dd-menu a {
  padding: 10px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
}
.nav-dd-menu a:hover {
  background: rgba(15, 23, 42, 0.04);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow: var(--shadow-sm);
}
.nav-toggle-bars {
  width: 20px;
  height: 2px;
  background: var(--text);
  display: block;
  position: relative;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--text);
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  text-decoration: none;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: var(--panel);
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn.primary {
  border-color: rgba(14, 165, 233, 0.30);
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.18), rgba(14, 165, 233, 0.08));
}
.nav-cta { margin-left: 6px; }

/* Main */
.site-main { padding: 24px 0 48px; }

/* Messages */
.messages {
  display: grid;
  gap: 10px;
  margin: 12px 0 18px;
}
.message {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.85);
}
.message.success {
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.10);
}
.message.error {
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.10);
}

/* Cards */
.card {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}
.divider {
  height: 1px;
  background: var(--border);
  margin: 14px 0;
}

/* Page head */
.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0 4px;
}
.page-head h1 {
  margin: 0 0 6px;
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  letter-spacing: -0.02em;
}
.page-head-right { display: flex; align-items: center; gap: 10px; }
.kpi {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 16px;
  align-items: stretch;
}
.hero-home {
  padding: 18px 0 10px;
  background:
    radial-gradient(1200px 700px at 15% -10%, rgba(14, 165, 233, 0.14), transparent 60%),
    radial-gradient(900px 520px at 90% 0%, rgba(34, 197, 94, 0.10), transparent 55%);
}
.hero-copy {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.eyebrow {
  margin: 0 0 8px;
  color: rgba(14, 165, 233, 0.95);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
}
.hero-copy h1 {
  margin: 0 0 10px;
  font-size: clamp(2.1rem, 3.5vw, 3rem);
  letter-spacing: -0.03em;
}
.lead {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 1.06rem;
}
.hero-panel {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.88);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
  align-content: start;
}
.stat {
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(241, 245, 249, 0.70);
  border-radius: 16px;
  padding: 12px;
}
.stat-k { color: var(--muted); font-size: 0.93rem; }
.stat-v { font-weight: 900; font-size: 1.1rem; }

/* Search bar */
.search-bar {
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 18px;
  padding: 14px;
  background: rgba(241, 245, 249, 0.70);
}
.search-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 0.5fr auto;
  gap: 10px;
  align-items: end;
}
.search-suggestions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.pill {
  text-decoration: none;
  font-size: 0.92rem;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255, 255, 255, 0.90);
  color: var(--muted);
}
.pill:hover { color: var(--text); }

/* Inputs */
.form { display: grid; gap: 12px; }
.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.95rem;
}
input, textarea, select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: rgba(14, 165, 233, 0.45);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.16);
}
.error { margin-top: 6px; color: #b91c1c; font-size: 0.92rem; }

/* Layout helpers */
.section { margin-top: 22px; }
.section-head { margin: 8px 0 12px; }
.section-head h2 { margin: 0 0 6px; font-size: 1.55rem; letter-spacing: -0.02em; }
.section-actions { margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; }
.grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Featured listings */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.listing-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
}
.listing-media {
  position: relative;
  display: block;
  text-decoration: none;
}
.listing-media img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}
.listing-badges {
  position: absolute;
  left: 12px;
  top: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.badge {
  font-size: 0.82rem;
  font-weight: 800;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.92);
}
.badge.ghost {
  background: rgba(14, 165, 233, 0.10);
  border-color: rgba(14, 165, 233, 0.25);
}
.listing-body { padding: 14px 16px 16px; }
.listing-price { font-size: 1.25rem; font-weight: 900; letter-spacing: -0.02em; }
.listing-address { margin-top: 6px; color: var(--muted); }
.listing-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  color: var(--muted);
}
.sep { color: rgba(100, 116, 139, 0.60); }

/* CTA */
.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(14, 165, 233, 0.25);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.14), rgba(34, 197, 94, 0.08));
  box-shadow: var(--shadow-sm);
}
.cta h2 { margin: 0 0 6px; letter-spacing: -0.02em; }
.cta p { margin: 0; }

/* Tags list */
.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.tag {
  display: inline-flex;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(241, 245, 249, 0.85);
  border: 1px solid rgba(15, 23, 42, 0.10);
  color: var(--muted);
}
.tag:hover { color: var(--text); }

/* Simple list */
.list { list-style: none; padding: 0; margin: 12px 0 14px; display: grid; gap: 10px; }
.bullet { width: 10px; height: 10px; border-radius: 999px; background: rgba(14, 165, 233, 0.80); display: inline-block; margin-right: 10px; }
.list li { display: flex; align-items: center; color: var(--muted); }

/* Search page */
.search-layout {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 16px;
  align-items: start;
}
.search-filters { position: sticky; top: 94px; }
.filter-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.tab {
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  color: var(--muted);
  font-weight: 700;
}
.tab.active {
  color: var(--text);
  border-color: rgba(14, 165, 233, 0.30);
  background: rgba(14, 165, 233, 0.10);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.listings-list { display: grid; gap: 12px; }
.list-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px;
  align-items: center;
}
.list-thumb {
  width: 140px;
  height: 96px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.10);
}
.list-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.map-wrap { padding: 0; overflow: hidden; }
.leaflet-map { height: 520px; width: 100%; }
.map-note { padding: 12px 16px 16px; }

.empty { text-align: center; }
.empty h3 { margin: 0 0 8px; }

/* Agents */
.agents-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.agent-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
}
.agent-avatar {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #06233a;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.95), rgba(34, 197, 94, 0.90));
}
.agent-name { margin: 0; font-size: 1.15rem; letter-spacing: -0.01em; }
.agent-meta { margin-top: 8px; display: grid; gap: 6px; color: var(--muted); }
.mono { font-family: var(--mono); }
.chips { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(241, 245, 249, 0.85);
  color: var(--muted);
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.9rem;
}
.agent-actions { margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.70);
}
.footer-inner { padding: 26px 0; }
.footer-cols {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr 1fr;
  gap: 16px;
  padding-bottom: 18px;
}
.footer-brand { font-weight: 900; letter-spacing: -0.02em; }
.footer-title { font-weight: 900; margin-bottom: 10px; }
.footer-cols a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 0;
}
.footer-cols a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.footer-mls {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: 14px;
}
.footer-mls .footer-title { margin-bottom: 8px; }
.footer-mls p { margin: 8px 0; }

/* Responsive */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .listing-grid { grid-template-columns: repeat(2, 1fr); }
  .agents-grid { grid-template-columns: repeat(2, 1fr); }
  .search-layout { grid-template-columns: 1fr; }
  .search-filters { position: static; }
  .search-grid { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-cta { position: static; }

}

@media (max-width: 720px) {
  .topbar-inner { justify-content: center; }
  .grid-two { grid-template-columns: 1fr; }
  .listing-grid { grid-template-columns: 1fr; }
  .agents-grid { grid-template-columns: 1fr; }

  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    right: 16px;
    left: 16px;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { width: 100%; }
  .nav-dd-menu { position: static; box-shadow: none; border-radius: 14px; }
  .nav-cta { margin-left: 0; }

  .search-grid { grid-template-columns: 1fr; }
  .list-row { grid-template-columns: 1fr; }
  .list-thumb { width: 100%; height: 160px; }
  .leaflet-map { height: 420px; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}


/* 
# placeholder for long-form typography
*/
.prose h2 { margin-top: 0; }
.prose ul { padding-left: 18px; }
.prose li { margin: 8px 0; }
.detail-photo { width: 100%; border-radius: var(--radius-sm); display: block; }
.list-actions { margin-top: 12px; }


.brand-logo { height: 32px; width: auto; display: block; }



/* Listing detail */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
  padding: 6px 0;
}
.back-link:hover { color: var(--text); }

.detail-head { align-items: flex-start; }
.detail-title { margin: 6px 0 6px; }
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.pill.ghost { background: rgba(241, 245, 249, 0.75); }

.kpi-big { padding: 14px 16px; border-radius: 18px; }
.kpi-big strong { font-size: 1.8rem; letter-spacing: -0.02em; }

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 16px;
  align-items: start;
}
.detail-aside { display: grid; gap: 16px; }
.detail-cta { position: sticky; top: 92px; }

.gallery-card { padding: 14px; }
.gallery-main { position: relative; }
.gallery-main-img {
  width: 100%;
  height: clamp(260px, 38vw, 420px);
  object-fit: cover;
  border-radius: 18px;
  display: block;
  background: rgba(241, 245, 249, 0.85);
  border: 1px solid rgba(15, 23, 42, 0.10);
}
.gallery-action {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
  font-weight: 800;
  cursor: pointer;
}
.gallery-action:hover { transform: translateY(-1px); }

.gallery-thumbs {
  display: flex;
  gap: 10px;
  padding-top: 12px;
  overflow-x: auto;
}
.thumb {
  padding: 0;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255, 255, 255, 0.90);
  border-radius: 14px;
  cursor: pointer;
  flex: 0 0 auto;
}
.thumb img {
  width: 88px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
.thumb.active {
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.18);
  border-color: rgba(14, 165, 233, 0.45);
}

.detail-meta { justify-content: flex-start; }

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.fact {
  border: 1px dashed rgba(15, 23, 42, 0.14);
  border-radius: 16px;
  background: rgba(241, 245, 249, 0.72);
  padding: 10px 12px;
}

.cta-buttons { display: flex; gap: 10px; flex-wrap: wrap; }

.leaflet-map--detail { height: 280px; margin-top: 12px; border-radius: 18px; overflow: hidden; }

.detail-disclaimer { background: rgba(255, 255, 255, 0.82); }

/* Accessibility */
:focus-visible {
  outline: 3px solid rgba(14, 165, 233, 0.45);
  outline-offset: 3px;
  border-radius: 10px;
}

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

/* Footer disclosures */
.footer-eho {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}
.footer-disclosure {
  margin-top: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-sm);
}
.footer-disclosure > summary {
  cursor: pointer;
  padding: 12px 14px;
  list-style: none;
  user-select: none;
  color: var(--text);
  font-weight: 700;
}
.footer-disclosure-body {
  padding: 0 14px 14px;
}

/* Small spacing utilities (avoid inline styles; keeps CSP strict) */
.mt-10 { margin-top: 10px; }
.mt-12 { margin-top: 12px; }
.mt-14 { margin-top: 14px; }
.mt-18 { margin-top: 18px; }
.mb-6 { margin-bottom: 6px; }
.mb-8 { margin-bottom: 8px; }
.mb-10 { margin-bottom: 10px; }

/* MLS/IDX small additions */
.listing-firm { margin-top: 6px; }
.listing-firm--idx {
  font-size: 0.95rem;
  font-weight: 600;
  color: inherit;
}
/* Bright MLS: listing broker attribution must be equal font/size to surrounding details */
.listing-firm--broker {
  font-size: 1rem;
  font-weight: 600;
  color: inherit;
}
.listing-firm--idx strong { font-weight: 700; }
.idx-section { margin-top: 18px; }

.idx-disclosure {
  font-size: 0.9rem;
  line-height: 1.45;
}
.idx-disclosure p { margin: 6px 0; }
.idx-disclosure ul { padding-left: 18px; margin: 8px 0; }
.idx-disclosure li { margin: 4px 0; }
.idx-disclosure .idx-title { font-weight: 700; }
.idx-disclosure .idx-meta { margin-top: 8px; }
.idx-disclosure .idx-legal { color: var(--muted); }

/* Sources line under maps (Bright compliance / mixed-source labeling) */
.sources-block { margin-top: 10px; }
