/* Only the homepage mobile renderer adds these classes. Keep height intrinsic
   so enlarged text and long metrics grow the card instead of being clipped. */
@media(max-width:767px){
 .bi-mobile [data-home-redesign] .bi-home-mobile-card{
  height:auto!important;min-height:230px!important;max-height:none!important;
  flex-shrink:0;align-self:flex-start;
 }
 .bi-mobile [data-home-redesign] .bi-home-mobile-card>.bi-home-listing-photo{
  height:164px!important;min-height:164px!important;max-height:164px!important;
  aspect-ratio:auto!important;flex:0 0 164px!important;
 }
 .bi-mobile [data-home-redesign] .bi-home-mobile-card>.bi-home-listing-photo>img{
  display:block;width:100%;height:100%;object-fit:cover;
 }
 .bi-mobile [data-home-redesign] .bi-home-mobile-card>.bi-home-listing-photo .font-price-display{
  font-size:1rem!important;
 }
 .bi-mobile [data-home-redesign] .bi-home-mobile-card-body{
  display:flex;flex-direction:column;justify-content:flex-start;
  flex:0 0 auto;min-width:0;padding:8px 12px 0!important;
 }
 .bi-mobile [data-home-redesign] .bi-home-mobile-card-copy{min-width:0}
 .bi-mobile [data-home-redesign] .bi-home-mobile-card-title{
  display:block!important;margin:0 0 4px!important;min-width:0;
  font-size:.9375rem!important;line-height:1.2!important;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  -webkit-line-clamp:unset;
 }
 .bi-mobile [data-home-redesign] .bi-home-mobile-card-location-row{margin:0!important}
 .bi-mobile [data-home-redesign] .bi-home-mobile-card .bi-home-card-location{
  display:flex;flex-wrap:nowrap;gap:6px;min-width:0;
 }
 .bi-mobile [data-home-redesign] .bi-home-mobile-card .bi-home-card-address{
  flex:1 1 0%;min-width:0;font-size:.75rem;line-height:1.4;
 }
 .bi-mobile [data-home-redesign] .bi-home-mobile-card .bi-home-card-type{
  flex:0 0 auto;max-width:100%;padding:2px 6px;font-size:.625rem;
  white-space:normal;overflow-wrap:anywhere;
 }
 .bi-mobile [data-home-redesign] .bi-home-mobile-card-specs{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  align-items:start;gap:4px;margin-top:6px;border-top:1px solid #dce5db;
  padding:12px 0;min-width:0;
 }
 .bi-mobile [data-home-redesign] .bi-home-mobile-card-spec{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:center;
  gap:3px;min-width:0;font-size:.8125rem;line-height:1.2;font-weight:600;
 }
 .bi-mobile [data-home-redesign] .bi-home-mobile-card-spec>.material-symbols-outlined{
  flex:0 0 auto;font-size:1.125rem;line-height:1;
 }
 .bi-mobile [data-home-redesign] .bi-home-mobile-card-spec>span:last-child{
  min-width:0;overflow-wrap:anywhere;
 }
 .bi-mobile [data-home-redesign] .bi-home-mobile-card-list{
  height:auto!important;min-height:0!important;align-items:start;
  padding-bottom:8px!important;
 }
 /* Leave room above for the official Premium corner, without a tall track. */
 .bi-mobile [data-home-redesign] .bi-home-mobile-card-list.bi-home-premium-carousel{padding-top:16px}
}
