/* Final homepage polish — property video hero + compact 4-item mobile nav. */
.propertyVideoHero{position:relative;overflow:hidden;background:#2b211c}
.heroVideoStage{position:absolute;inset:0;background:#2b211c url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=2000&q=82') center/cover no-repeat;overflow:hidden}
.heroVideo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;opacity:0;transform:scale(1.015);transition:opacity 1.05s ease;pointer-events:none}
.heroVideo.active{opacity:1}
.heroVideoShade{position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(31,21,17,.82),rgba(31,21,17,.49) 42%,rgba(31,21,17,.14) 76%),linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.16))}
.propertyVideoHero .heroCopy{position:relative;z-index:2}
@media (prefers-reduced-motion:reduce){.heroVideo{display:none!important}}

@media(max-width:560px){
  body[data-market-type="real_estate"]{padding-bottom:78px!important}
  body[data-market-type="real_estate"] .propertyVideoHero{display:block!important;min-height:238px!important;margin:0!important}
  body[data-market-type="real_estate"] .propertyVideoHero .heroCopy{display:flex;min-height:238px;padding:28px 0 30px!important;flex-direction:column;justify-content:flex-end;max-width:88%!important}
  body[data-market-type="real_estate"] .propertyVideoHero .heroTag{width:max-content;margin-bottom:8px!important;padding:6px 9px!important;font-size:8px!important;letter-spacing:.85px!important;background:rgba(255,255,255,.13)!important;backdrop-filter:blur(8px)}
  body[data-market-type="real_estate"] .propertyVideoHero .heroCopy h1{font-size:30px!important;line-height:1.01!important;letter-spacing:-1.3px!important;margin:0!important;text-shadow:0 2px 18px rgba(0,0,0,.25)}
  body[data-market-type="real_estate"] .propertyVideoHero .heroCopy p{display:none!important}
  body[data-market-type="real_estate"] .searchWrap{margin-top:0!important;padding-top:12px!important}
  body[data-market-type="real_estate"] .mobileNav{left:8px!important;right:8px!important;bottom:7px!important;border-radius:20px!important;padding:5px 7px calc(5px + env(safe-area-inset-bottom))!important;border:1px solid #eee3dc!important;background:rgba(255,255,255,.97)!important;box-shadow:0 -5px 20px rgba(72,42,29,.08)!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}
  body[data-market-type="real_estate"] .mobileNav a{height:43px!important;min-height:43px!important;border-radius:12px!important;gap:2px!important;font-size:8px!important;font-weight:850!important;color:#858e9c!important;background:transparent!important}
  body[data-market-type="real_estate"] .mobileNav a svg{width:19px!important;height:19px!important}
  body[data-market-type="real_estate"] .mobileNav a.active{color:#df6539!important;background:#fff7f3!important}
  body[data-market-type="real_estate"] .mobileNav .post{width:auto!important;height:53px!important;min-height:53px!important;transform:translateY(-7px)!important;border-radius:16px!important;background:linear-gradient(180deg,#f28a61,#df6539)!important;color:#fff!important;box-shadow:0 9px 20px rgba(223,101,57,.22)!important}
  body[data-market-type="real_estate"] .mobileNav .post svg{width:23px!important;height:23px!important}
  body[data-market-type="real_estate"] .mobileNav .post span{font-size:8.5px!important}
}

/* Beat older blue card-price rules loaded before this final file. */
body[data-market-type="real_estate"] .grid .price,
body[data-market-type="real_estate"] #vipSection .vipTrack .price{color:#df6539!important}
