/* ScrollToRent mobile refinements. Load after modern.css. */
.filter-drawer > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  gap: 12px;
  font-weight: 700;
  color: var(--ink, #152d32);
}
.filter-drawer > summary::-webkit-details-marker { display: none; }
.filter-drawer > summary::after { content: '+'; font-size: 24px; font-weight: 400; }
.filter-drawer[open] > summary::after { content: '−'; }
.filter-drawer { border-top: 1px solid var(--line, #dce5df); margin-top: 16px; }
.filter-drawer > summary:focus-visible { outline: 3px solid #087e70; outline-offset: 3px; border-radius: 6px; }
.searchrow input, .filters select { font-size: 16px; }
.searchrow > *, .resultshead > *, .cardbody, .agentrow > * { min-width: 0; }
.cardbody .title, .cardbody .sub, .agentrow { overflow-wrap: anywhere; }
.card .save { min-width: 44px; min-height: 44px; }
@media (max-width: 850px) {
  .wrap { padding-left: 24px; padding-right: 24px; }
  header { min-height: 80px; height: auto; padding: 14px 24px; gap: 16px; }
  .brand-logo { width: 170px; height: auto; }
  nav { gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
  nav button { min-height: 44px; font-size: 13px; }
  nav .outline { padding: 10px 14px !important; }
  .notice { line-height: 1.45; padding: 8px 20px; }
  .hero {
    min-height: 430px;
    height: auto;
    padding: 44px 0 88px;
    display: flex;
    align-items: center;
    background-position: center;
  }
  .herogrid { display: block; width: 100%; gap: 0; }
  .herogrid > div:first-child { max-width: 530px; }
  .hero .art { display: none; }
  .hero h1 { font-size: 56px; line-height: 1.04; letter-spacing: -2.8px; margin: 18px 0; }
  .hero p { font-size: 16px; line-height: 1.55; max-width: 430px; margin: 0; }
  .hero .eyebrow { font-size: 11px; line-height: 1.5; letter-spacing: 1.8px; }
  .searchbox { margin-top: -55px; padding: 22px; border-radius: 22px; }
  .searchrow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .searchrow input { grid-column: 1 / -1; width: 100%; min-height: 56px; padding: 15px 16px; }
  .searchrow button { min-height: 52px; padding: 12px 15px; }
  .searchrow .voice { font-size: 15px; }
  .hint { font-size: 12px; line-height: 1.6; margin-top: 12px; }
  .filter-drawer .filters { margin-top: 8px; padding-bottom: 8px; }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .filters select { min-height: 48px; padding: 11px 9px; }
  .chips { gap: 8px; }
  .chip { min-height: 44px; line-height: 1.4; padding: 10px 13px; }
  .results { padding-top: 40px; }
  .resultshead { gap: 18px; }
  .resultshead h2 { font-size: 29px; line-height: 1.2; }
  .sort { min-height: 46px; font-size: 14px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .cardbody { padding: 20px; }
  .actions { gap: 8px; }
  .actions a, .actions button { min-height: 46px; display: flex; align-items: center; justify-content: center; }
  .promo { align-items: flex-start; flex-direction: column; padding: 32px; gap: 20px; }
  .promo .primary { min-height: 48px; white-space: normal; }
  .modal { max-height: 90dvh; }
}
@media (max-width: 540px) {
  .wrap { padding-left: 18px; padding-right: 18px; }
  header { padding: 12px 18px 8px; gap: 4px; flex-wrap: wrap; }
  header .brand { line-height: 1; display: block; }
  .brand-logo { width: 170px; height: 38px; object-position: left center; }
  header nav { flex-basis: 100%; width: 100%; justify-content: space-between; flex-wrap: nowrap; gap: 6px; }
  #browseNav { display: none; }
  nav button { padding: 6px 0; font-size: 12px; white-space: nowrap; }
  nav .outline { padding: 8px 10px !important; min-height: 42px; font-size: 12px; }
  #adminNav { font-size: 11px; }
  .notice { font-size: 10px; padding: 7px 18px; }
  .hero { min-height: 400px; padding-top: 38px; padding-bottom: 80px; background-position: 61% center; }
  .herogrid > div:first-child { max-width: 100%; }
  .hero h1 { font-size: clamp(44px, 12vw, 56px); line-height: 1.05; letter-spacing: -2.1px; margin: 18px 0; }
  .hero p { max-width: 340px; font-size: 15px; line-height: 1.55; }
  .hero .eyebrow { font-size: 10px; letter-spacing: 1.6px; }
  .searchbox { padding: 16px; margin-top: -55px; border-radius: 20px; }
  .searchrow { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .searchrow input { padding: 14px 12px; min-height: 54px; font-size: 16px; }
  .searchrow button { width: 100%; min-height: 50px; font-size: 15px; }
  .searchrow .voice { min-height: 52px; }
  .hint { font-size: 11px; line-height: 1.55; }
  .filter-drawer { margin-top: 12px; }
  .filter-drawer > summary { min-height: 46px; font-size: 13px; }
  .filters { gap: 12px 10px; }
  .filters label { font-size: 10px; letter-spacing: .7px; }
  .filters select { font-size: 16px; padding: 10px 6px; }
  .chips { margin-top: 10px; }
  .chip { font-size: 11px; padding: 10px 11px; }
  .results { padding-top: 32px; }
  .resultshead { flex-wrap: wrap; margin-bottom: 20px; gap: 14px; }
  .resultshead > div { flex: 1 1 100%; }
  .resultshead h2 { font-size: 30px; letter-spacing: -1px; }
  .resultshead .eyebrow { font-size: 10px; }
  .sort { max-width: none; width: 100%; min-height: 46px; font-size: 16px; }
  .grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .picture { height: 245px; }
  .badges { max-width: calc(100% - 75px); flex-wrap: wrap; }
  .badge { font-size: 10px; }
  .cardbody { padding: 20px; }
  .price { font-size: 28px; }
  .title { font-size: 19px; line-height: 1.35; }
  .agentrow { flex-wrap: wrap; gap: 6px; line-height: 1.4; }
  .actions a, .actions button { font-size: 11px; padding: 12px 6px; line-height: 1.3; }
  .promo { padding: 28px 24px; border-radius: 22px; margin-bottom: 40px; }
  .promo h2 { font-size: 30px; line-height: 1.15; }
  .promo .primary { width: 100%; }
  .footerrow { flex-direction: column; gap: 14px; line-height: 1.6; }
  .modal { width: calc(100% - 24px); max-height: 92dvh; border-radius: 16px; }
  .modalcontent { padding: 22px; }
  .modalcontent h2 { font-size: 27px; padding-right: 35px; }
  .modal .actions { position: sticky; bottom: 0; background: white; padding: 12px 0 max(12px, env(safe-area-inset-bottom)); }
  .close { min-width: 44px; min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.hero-inner{width:100%}.voice{display:flex;align-items:center;justify-content:center;gap:8px}.hero-meta{flex-wrap:wrap}.hero-image-note{max-width:45%;text-align:right}@media(max-width:540px){.filter-drawer summary span{display:none}.hero-meta{gap:12px;font-size:8px;letter-spacing:1px;margin-top:25px}.hero-meta span+span{padding-left:12px}.hero-image-note{bottom:63px;font-size:8px}.hero-photo{background-position:60% center}.hero-photo:after{background:linear-gradient(90deg,#08261ff2,#08261fb0 55%,#08261f60)}}
.promo>div{min-width:0;max-width:100%}.promo h2,.promo p{overflow-wrap:break-word}
