/* RC1.0.11.20.4 — Mobile & iPad Density Parity Fix
   Landing-only responsive override loaded after 20.1/20.2/20.3.
   Desktop >1180px is intentionally untouched. */

/* iPad 9th gen portrait class — explicit tablet parity, not stretched mobile. */
@media (min-width:701px) and (max-width:899px){
  body.guest-mode #explore .premium-marketplace-hero{
    width:calc(100vw - 32px)!important;
    margin:18px auto 0!important;
    grid-template-columns:1fr!important;
    border-radius:16px!important;
  }
  body.guest-mode #explore .marketplace-hero-copy{
    padding:34px 30px 28px!important;
  }
  body.guest-mode #explore .marketplace-kicker{font-size:11px!important;margin-bottom:11px!important}
  body.guest-mode #explore .premium-marketplace-hero h1{
    max-width:650px!important;
    font-size:46px!important;
    line-height:1!important;
  }
  body.guest-mode #explore .hero-lead{
    max-width:660px!important;
    margin:15px 0 22px!important;
    font-size:15px!important;
  }
  body.guest-mode #explore .hero-search-card{
    max-width:none!important;
    padding:14px!important;
  }
  body.guest-mode #explore .hero-search-card .public-search{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:11px!important;
  }
  body.guest-mode #explore .hero-search-card .public-search>.search-location-field{grid-column:1/-1!important}
  body.guest-mode #explore .hero-search-card .public-search>.property-class-field{grid-column:1!important}
  body.guest-mode #explore .hero-search-card .public-search>.subtype-search-field{grid-column:2!important}
  body.guest-mode #explore .hero-search-card .public-search>.rent-search-field{grid-column:1!important}
  body.guest-mode #explore .hero-search-card .public-search>.hero-search-submit{grid-column:2!important}
  body.guest-mode #explore .hero-search-card .public-search>.field,
  body.guest-mode #explore .hero-search-card .public-search>.property-class-field,
  body.guest-mode #explore .hero-search-card .public-search>.subtype-search-field,
  body.guest-mode #explore .hero-search-card .public-search>.rent-search-field,
  body.guest-mode #explore .hero-search-card .public-search>.search-location-field{
    display:block!important;
    min-width:0!important;
  }
  body.guest-mode #explore .hero-search-card .public-search label{
    position:static!important;
    width:auto!important;height:auto!important;clip:auto!important;overflow:visible!important;
    display:block!important;
    margin:0 0 6px!important;
    font-size:12px!important;
  }
  body.guest-mode #explore .public-search .search-location-field:before{content:none!important;display:none!important}
  body.guest-mode #explore .location-search-shell{
    display:flex!important;
    align-items:center!important;
    width:100%!important;
    min-height:48px!important;
    height:48px!important;
    padding:0 6px 0 12px!important;
  }
  body.guest-mode #explore .location-search-icon{width:20px!important;height:20px!important;flex:0 0 20px!important}
  body.guest-mode #explore .location-search-shell input{
    height:46px!important;min-height:46px!important;
    padding:0 9px!important;
    font-size:16px!important;
  }
  body.guest-mode #explore .location-inline-actions{width:auto!important;flex:0 0 auto!important;padding:0!important}
  body.guest-mode #explore .location-current-button{
    width:auto!important;
    height:38px!important;min-height:38px!important;
    padding:0 12px!important;
    font-size:13px!important;
  }
  body.guest-mode #explore .location-current-button svg{width:16px!important;height:16px!important}
  body.guest-mode #explore .hero-search-card .public-search select,
  body.guest-mode #explore .hero-search-card .rent-range-trigger,
  body.guest-mode #explore .hero-search-submit{
    height:48px!important;min-height:48px!important;
    font-size:15px!important;
  }
  body.guest-mode #explore .hero-search-submit{display:flex!important;align-items:center!important;justify-content:center!important}
  body.guest-mode #explore .mobile-filter-launch{display:none!important}
  body.guest-mode #explore .market-more-filters{display:block!important;margin-top:11px!important}
  body.guest-mode #explore .market-more-filters>summary{min-height:44px!important}
  body.guest-mode #explore .market-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.guest-mode #explore .hero-support{max-width:none!important;margin-top:15px!important;padding-top:13px!important}
  body.guest-mode #explore .hero-benefit-icon{width:30px!important;height:30px!important;flex:0 0 30px!important}
  body.guest-mode #explore .hero-benefit-icon svg{width:16px!important;height:16px!important}
  body.guest-mode #explore .marketplace-hero-visual{display:block!important;height:380px!important;min-height:380px!important}

  body.guest-mode #explore .premium-category-icon{
    top:17px!important;left:17px!important;
    width:46px!important;height:46px!important;
    border-radius:12px!important;
  }
  body.guest-mode #explore .premium-category-icon svg{width:22px!important;height:22px!important}
  body.guest-mode #explore .premium-category-copy{left:18px!important;right:16px!important;bottom:17px!important}
  body.guest-mode #explore .premium-category-copy>strong{font-size:21px!important}
}

/* iPad 9th gen landscape / compact tablet desktop. */
@media (min-width:900px) and (max-width:1180px){
  body.guest-mode #explore .premium-marketplace-hero{
    width:calc(100vw - 36px)!important;
    grid-template-columns:minmax(430px,.96fr) minmax(0,1.04fr)!important;
    min-height:560px!important;
  }
  body.guest-mode #explore .marketplace-hero-copy{padding:34px 30px 26px!important}
  body.guest-mode #explore .premium-marketplace-hero h1{font-size:48px!important}
  body.guest-mode #explore .hero-lead{font-size:14.5px!important;margin:15px 0 20px!important}
  body.guest-mode #explore .hero-search-card{padding:13px!important}
  body.guest-mode #explore .hero-search-card .public-search input,
  body.guest-mode #explore .hero-search-card .public-search select,
  body.guest-mode #explore .hero-search-card .rent-range-trigger,
  body.guest-mode #explore .location-search-shell,
  body.guest-mode #explore .hero-search-submit{height:47px!important;min-height:47px!important}
  body.guest-mode #explore .location-current-button{height:36px!important;min-height:36px!important;padding:0 10px!important}
  body.guest-mode #explore .location-current-button svg{width:15px!important;height:15px!important}
  body.guest-mode #explore .hero-benefit-icon{width:30px!important;height:30px!important;flex:0 0 30px!important}
  body.guest-mode #explore .hero-benefit-icon svg{width:16px!important;height:16px!important}
  body.guest-mode #explore .marketplace-hero-visual{min-height:560px!important}

  body.guest-mode #explore .premium-category-icon{
    top:16px!important;left:16px!important;
    width:46px!important;height:46px!important;border-radius:11px!important;
  }
  body.guest-mode #explore .premium-category-icon svg{width:22px!important;height:22px!important}
}

/* iPhone / compact mobile density. Maintain 44px minimum principal touch controls. */
@media (max-width:700px){
  body.guest-mode #explore .premium-marketplace-hero{width:calc(100vw - 18px)!important;border-radius:14px!important}
  body.guest-mode #explore .marketplace-hero-copy{padding:24px 14px 15px!important}
  body.guest-mode #explore .marketplace-kicker{font-size:10px!important;margin-bottom:8px!important}
  body.guest-mode #explore .marketplace-hero-copy>h1#marketplace-title{
    font-size:clamp(32px,8.8vw,37px)!important;
    line-height:1.01!important;
  }
  body.guest-mode #explore .marketplace-hero-copy>.hero-lead{
    margin:11px 0 16px!important;
    font-size:13.5px!important;
    line-height:1.46!important;
  }
  body.guest-mode #explore .hero-search-card{padding:10px!important;border-radius:11px!important}
  body.guest-mode #explore .hero-search-card .public-search{gap:9px!important}
  body.guest-mode #explore .hero-search-card .public-search label,
  body.guest-mode #explore .hero-search-card .public-search .search-location-field label,
  body.guest-mode #explore .hero-search-card .public-search .rent-search-field>label{
    margin-bottom:5px!important;
    font-size:11.5px!important;
  }

  body.guest-mode #explore .location-search-shell{
    grid-template-columns:22px minmax(0,1fr)!important;
    grid-template-rows:43px 36px!important;
    min-height:88px!important;
    padding:3px 5px 5px 10px!important;
    border-radius:9px!important;
  }
  body.guest-mode #explore .location-search-icon{width:18px!important;height:18px!important}
  body.guest-mode #explore .location-search-shell input{
    height:42px!important;min-height:42px!important;
    padding:0 7px!important;
    font-size:16px!important;
  }
  body.guest-mode #explore .location-current-button{
    height:34px!important;min-height:34px!important;
    gap:5px!important;
    padding:0 9px!important;
    border-radius:7px!important;
    font-size:13px!important;
  }
  body.guest-mode #explore .location-current-button svg{width:15px!important;height:15px!important}

  body.guest-mode #explore .hero-search-card .public-search select,
  body.guest-mode #explore .hero-search-card .rent-range-trigger{
    height:44px!important;min-height:44px!important;
    padding:0 11px!important;
    border-radius:8px!important;
    font-size:16px!important;
  }
  body.guest-mode #explore .hero-search-submit{
    height:46px!important;min-height:46px!important;
    border-radius:8px!important;
    font-size:15px!important;
  }
  body.guest-mode #explore .market-more-filters{margin-top:9px!important;border-radius:8px!important}
  body.guest-mode #explore .market-more-filters>summary{
    min-height:44px!important;
    padding:0 9px 0 11px!important;
    font-size:12.5px!important;
  }
  body.guest-mode #explore .market-more-filters>summary small{font-size:10.5px!important;max-width:50%!important}
  body.guest-mode #explore .market-more-filters>summary:after{
    width:27px!important;height:27px!important;flex-basis:27px!important;
    font-size:17px!important;
  }
  body.guest-mode #explore .market-more-grid{gap:9px!important;padding:10px 11px 11px!important}

  body.guest-mode #explore .hero-support{margin-top:12px!important;padding-top:11px!important}
  body.guest-mode #explore .hero-support>.hero-benefit{gap:5px!important;padding:0 4px!important}
  body.guest-mode #explore .hero-benefit-icon{
    width:28px!important;height:28px!important;flex:0 0 28px!important;
  }
  body.guest-mode #explore .hero-benefit-icon svg{width:14px!important;height:14px!important}
  body.guest-mode #explore .hero-benefit-copy b{font-size:10.5px!important;line-height:1.24!important}

  body.guest-mode #explore .marketplace-hero-visual{
    height:clamp(225px,66vw,285px)!important;
    min-height:225px!important;
  }
  body.guest-mode #explore .marketplace-category-showcase{padding:30px 14px 34px!important}
  body.guest-mode #explore .category-showcase-grid{margin:0 -14px!important;padding:0 14px 8px!important;gap:10px!important}
  body.guest-mode #explore .category-showcase-card.premium-category-card{
    flex:0 0 80%!important;
    width:80%!important;
    min-height:218px!important;
    aspect-ratio:1.42/1!important;
    border-radius:13px!important;
  }
  body.guest-mode #explore .premium-category-icon{
    top:15px!important;left:15px!important;
    width:42px!important;height:42px!important;
    border-radius:11px!important;
  }
  body.guest-mode #explore .premium-category-icon svg{width:20px!important;height:20px!important}
  body.guest-mode #explore .premium-category-copy{left:16px!important;right:14px!important;bottom:15px!important}
  body.guest-mode #explore .premium-category-copy>span{font-size:10.5px!important}
  body.guest-mode #explore .premium-category-copy>strong{font-size:22px!important}
  body.guest-mode #explore .premium-category-copy>small{font-size:10.5px!important;line-height:1.25!important}
}

@media (max-width:390px){
  body.guest-mode #explore .marketplace-hero-copy>h1#marketplace-title{font-size:31px!important}
  body.guest-mode #explore .hero-benefit-copy b{font-size:10px!important}
  body.guest-mode #explore .category-showcase-card.premium-category-card{flex-basis:84%!important;width:84%!important}
}

@media (prefers-reduced-motion:reduce){
  body.guest-mode #explore .category-showcase-card.premium-category-card{transition:none!important}
}
