/* Davies Realty: mobile header (v2, 24 Oct 2026). The site's own menu re-renders every second, so on phones it is hidden and replaced by #dr-mbar, which lives outside the page app and never re-renders. */
#dr-mbar{display:none}
@media (max-width: 860px){
  header:has(> nav[aria-label="Main"]){display:none!important}
  nav[aria-label="Main"]{display:none!important}
  section#top > div[style*="top: 132px"]{display:none!important}
  #dr-mbar{display:block;position:sticky;top:0;z-index:1000;background:#0A0A0A;border-bottom:1px solid rgba(255,255,255,.14);font-family:"Hanken Grotesk",system-ui,-apple-system,sans-serif;-webkit-font-smoothing:antialiased}
  #dr-mbar .dr-row{display:flex;align-items:center;justify-content:space-between;gap:12px;height:64px;padding:0 20px}
  #dr-mbar .dr-logo{display:flex;align-items:center;flex:none}
  #dr-mbar .dr-logo img{height:40px;width:auto;display:block}
  #dr-mbar .dr-right{display:flex;align-items:center;gap:10px}
  #dr-mbar .dr-wa{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 14px 0 6px;border-radius:999px;background:#fff;color:#0A0A0A;text-decoration:none;font-size:13px;font-weight:500;white-space:nowrap}
  #dr-mbar .dr-wa i{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#25D366;flex:none}
  #dr-mbar .dr-wa svg{width:16px;height:16px;display:block}
  #dr-mbar .dr-btn{display:flex;flex-direction:column;justify-content:center;gap:5px;width:40px;height:40px;padding:0 11px;margin:0;background:transparent;border:1px solid rgba(255,255,255,.3);border-radius:999px;cursor:pointer;-webkit-tap-highlight-color:transparent}
  #dr-mbar .dr-btn span{display:block;height:1.5px;background:#fff;border-radius:2px;transition:transform .2s ease,opacity .2s ease}
  #dr-mbar.open .dr-btn span:nth-child(1){transform:translateY(6.5px) rotate(45deg)}
  #dr-mbar.open .dr-btn span:nth-child(2){opacity:0}
  #dr-mbar.open .dr-btn span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg)}
  #dr-mbar .dr-menu{display:none;padding:4px 20px 18px;border-top:1px solid rgba(255,255,255,.08);max-height:calc(100vh - 64px);overflow:auto}
  #dr-mbar.open .dr-menu{display:block}
  #dr-mbar .dr-menu a{display:block;padding:16px 0;border-bottom:1px solid rgba(255,255,255,.08);color:#D4D8DD;text-decoration:none;font-size:14px;font-weight:500;letter-spacing:.1em}
  #dr-mbar .dr-menu a:last-child{border-bottom:0}
  #dr-mbar .dr-menu a[aria-current="page"]{color:#fff}
  #dr-mbar .dr-menu a[aria-current="page"]::after{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#8FB0D6;margin-left:10px;vertical-align:middle}
  /* homepage hero: let it grow on small phones so the headline is never cut off */
  section#top{height:auto!important;min-height:620px}
  section#top > div[style*="z-index: 2"]{height:auto!important;min-height:620px;padding-top:56px!important;padding-bottom:40px!important}
}