/* ============================================================
   "Harborline Realty Group" — a GENERIC mock brokerage site.
   This CSS deliberately looks like an ordinary realtor website
   (the kind built on IDX Broker / RealEstateWebmasters templates)
   — NOT a Realty Tour branded page. The widget injected by
   widget.js is styled completely separately (see widget.js)
   so it visually reads as a third-party add-on, the way it would
   on a real brokerage site.
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  color: #26313f;
  background: #f6f7f8;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }

/* ---- header ---- */
.site-header {
  background: #14233b;
  color: #fff;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  letter-spacing: 0.3px;
}
.brand span { color: #c9a35b; }
.site-nav { display: flex; gap: 22px; font-size: 14px; }
.site-nav a { opacity: 0.85; }
.site-nav a:hover { opacity: 1; text-decoration: underline; }
.phone-pill {
  background: #c9a35b;
  color: #14233b;
  padding: 8px 14px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 13px;
}

/* ---- listing grid page ---- */
.page-wrap { max-width: 1080px; margin: 0 auto; padding: 32px 20px 80px; }
.page-title { font-family: Georgia, serif; font-size: 26px; margin-bottom: 4px; }
.page-sub { color: #667080; font-size: 14px; margin-bottom: 28px; }

.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.listing-card {
  background: #fff;
  border: 1px solid #e2e5ea;
  border-radius: 6px;
  overflow: hidden;
  display: block;
}
.listing-card img { width: 100%; height: 170px; object-fit: cover; display: block; }
.listing-card .lc-body { padding: 14px; }
.listing-card .lc-price { font-size: 18px; font-weight: 700; color: #14233b; }
.listing-card .lc-addr { font-size: 13px; color: #4a5566; margin-top: 2px; }
.listing-card .lc-meta { font-size: 12px; color: #7c8697; margin-top: 8px; }

/* ---- listing detail page ---- */
.listing-hero { width: 100%; max-height: 460px; overflow: hidden; background: #d9dce1; }
.listing-hero img { width: 100%; display: block; object-fit: cover; max-height: 460px; }

.listing-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 28px 20px 100px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.listing-title h1 { font-family: Georgia, serif; font-size: 26px; }
.listing-title .addr2 { color: #667080; font-size: 14px; margin-top: 4px; }
.listing-price { font-size: 24px; font-weight: 700; color: #14233b; margin-top: 10px; }

.spec-strip {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  border-top: 1px solid #e2e5ea;
  border-bottom: 1px solid #e2e5ea;
  padding: 16px 0;
  margin-top: 16px;
}
.spec-strip .spec b { display: block; font-size: 16px; color: #14233b; }
.spec-strip .spec span { font-size: 12px; color: #7c8697; text-transform: uppercase; letter-spacing: 0.04em; }

.section-title {
  font-family: Georgia, serif;
  font-size: 17px;
  margin-bottom: 8px;
  color: #14233b;
}
.desc { font-size: 14px; color: #3c4656; }

.agent-box {
  background: #fff;
  border: 1px solid #e2e5ea;
  border-radius: 6px;
  padding: 16px;
  font-size: 13px;
  color: #4a5566;
}
.agent-box b { display: block; font-size: 15px; color: #14233b; margin-bottom: 2px; }
.mls-id { font-size: 12px; color: #9aa3b0; margin-top: 6px; }

.similar-strip { margin-top: 8px; }

.site-footer {
  background: #14233b;
  color: #aab4c4;
  font-size: 12px;
  text-align: center;
  padding: 22px;
}

/* small "third-party platform" badge in footer, matching what real
   sites like the R3 Hayes example show ("Website by BRIXWORK...") —
   this is exactly the kind of platform signature the widget's
   adapter system can key off of */
.platform-credit { margin-top: 6px; opacity: 0.6; }
