/* Public pages: keep content and navigation usable on narrow screens. */
html,body{max-width:100%;min-width:0}
img,video,iframe,svg{max-width:100%}
*,*::before,*::after{box-sizing:border-box}
@media(max-width:700px){
  h1,h2,h3,p{overflow-wrap:break-word}
  .site-header-inner{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important}
  .site-header-inner .brand{white-space:normal;font-size:clamp(20px,6vw,26px)}
  .property-nav{display:flex!important;width:100%;justify-content:flex-start!important;flex-wrap:nowrap!important;overflow-x:auto;overscroll-behavior-inline:contain;padding-bottom:6px;scrollbar-width:thin}
  .property-nav-link,.secondary-nav-link{flex:0 0 auto;white-space:nowrap}
  .nav-divider{display:none!important}
  .modal-card{width:calc(100vw - 20px)!important;max-width:100%!important;max-height:calc(100dvh - 20px)!important;overflow-y:auto}
  .modal-head{gap:12px}.modal-head h2{font-size:clamp(23px,7vw,34px)!important}
  .modal-content{padding:16px!important}
  .detail-grid,.detail-media{grid-template-columns:1fr!important}
  .collection-head{display:block!important}.count{margin-top:12px}
  .filter{padding:18px!important}
  body[data-property-category] .grid,body[data-property-category] .fields{grid-template-columns:minmax(0,1fr)!important}
  .grid>*,.fields>*,.hero>*,.calc-shell>*{min-width:0}
  .return{position:relative!important;top:auto!important;right:auto!important;margin:14px 0 0 14px;display:inline-flex}
  .hero-content{padding-top:32px!important}
  .hero h1{font-size:clamp(35px,10vw,48px)!important;overflow-wrap:normal}
  .video-placeholder-note{position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;max-width:none!important}
  .calc-total strong{font-size:clamp(28px,8vw,38px)!important;overflow-wrap:anywhere}
  .form-box{max-width:100%!important}
  .links{display:flex!important;flex-wrap:wrap;gap:8px 16px!important;justify-content:flex-start}
  .nav{flex-wrap:wrap!important;padding:16px!important}
  .wrap{max-width:100%}
}
@media(max-width:390px){
  .floating-call,#pfr-floating-call{font-size:12px!important;padding:0 10px!important;min-height:42px!important}
  .property-nav-link{font-size:10px;padding:8px 10px}
}

/* Make the next action visible early on phones. */
.browse-cue{display:inline-flex;align-items:center;margin-top:22px;padding:11px 14px;border:1px solid #d8bd88;color:#fffdf9;text-decoration:none;font:700 14px/1.3 "DM Sans",Arial,sans-serif}.browse-cue:hover,.browse-cue:focus-visible{background:#fffdf9;color:#183b32}#browse-listings{scroll-margin-top:12px}
@media(max-width:700px){.hero .copy{padding:36px 24px!important}.hero .copy p{font-size:16px!important;line-height:1.5!important}.hero .hero-visual{min-height:190px!important}.hero .browse-cue{margin-top:16px}.hero>.wrap{padding-top:32px!important;padding-bottom:36px!important}body:has(#contact-form) main{padding-top:32px!important}body:has(#contact-form) main>div.mt-10.grid{display:none!important}}
