/* =========================================================
   OmahaHomesForSale.com — CSS Overrides
   Loaded sitewide via the REW "global tracking script" field:
     <link rel="stylesheet" href="[CLOUDFLARE PAGES URL]/overrides.css">
   ========================================================= */

/* Footer: MLS disclaimer text was too large (12px mobile / 13.5px
   desktop via the theme's rem-based sizing). Fixed to a flat 10px
   so it doesn't shift between breakpoints. */
.mls-disclaimer,
.mls-disclaimer p {
  font-size: 10px;
}

/* Listing cards: hide the listing brokerage name (e.g. "Nebraska Realty",
   "eXp Realty LLC") shown under each card's MLS compliance line. Confirmed
   via live DOM that .office only appears inside .mls-compliance on card
   teasers (not on listing detail pages), so this is scoped narrowly. */
.mls-compliance .office {
  display: none;
}

/* Listing detail sidebar: "Our Preferred Insurance Agent" partner card,
   injected by insurance-ad.js right after the agent contact card and
   before the payment calculator (see that file for why this has to be
   injected JS rather than a CMS edit). Wrapped in the theme's own
   .sidebar__cta / .sidebar__cta--pad-m / .sidebar--light classes so it
   matches the agent card and calculator it sits between — confirmed live
   against the IDX listing page DOM (September 2026); only the layout
   below is custom, scoped under .cmpt-insurance-ad so it can't leak. */
.cmpt-insurance-ad {
  text-align: center;
}

.cmpt-insurance-ad .h6 {
  margin-top: 0;
}

.cmpt-insurance-ad__logo {
  display: block;
  width: 140px;
  height: auto;
  margin: 0 auto 20px;
}

.cmpt-insurance-ad__agent {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}

.cmpt-insurance-ad__photo {
  width: 64px;
  height: 64px;
  object-fit: cover;
  flex-shrink: 0;
}

.cmpt-insurance-ad__name {
  margin: 0;
  font-weight: 600;
}

.cmpt-insurance-ad__phone {
  color: #222;
  font-weight: 600;
}

.cmpt-insurance-ad__phone:hover {
  color: #3c8227;
}
