/* TradesFolks 18.4.124 — mobile sourcing cleanup */

/* Prevent any malformed legacy cache-buster remnants from affecting layout */
.tf-homepage{overflow-x:hidden}

/* Compact "Discover more ways to source" area on phones */
@media(max-width:820px){
  .tf-homepage .tf-sourcing-solutions{
    width:calc(100% - 16px)!important;
    margin:14px auto!important;
    padding:0!important;
  }
  .tf-homepage .tf-sourcing-solutions > h2,
  .tf-homepage .tf-sourcing-solutions .section-title{
    font-size:22px!important;
    line-height:1.12!important;
    margin:0 0 10px!important;
  }
  .tf-homepage .tf-custom-sourcing-enterprise,
  .tf-homepage .tf-rfq-enterprise{
    padding:12px!important;
    border-radius:14px!important;
    min-height:0!important;
  }
  .tf-homepage .tf-custom-sourcing-card,
  .tf-homepage .tf-rfq-enterprise-card{
    padding:12px!important;
    min-height:0!important;
  }
  .tf-homepage .tf-custom-sourcing-card h2,
  .tf-homepage .tf-custom-sourcing-card h3,
  .tf-homepage .tf-rfq-enterprise-card h2,
  .tf-homepage .tf-rfq-enterprise-card h3{
    font-size:22px!important;
    line-height:1.12!important;
    margin:0 0 12px!important;
  }
  .tf-homepage .tf-custom-sourcing-card .products-grid,
  .tf-homepage .tf-rfq-enterprise-card .products-grid{
    gap:10px!important;
  }
  .tf-homepage .tf-custom-sourcing-actions,
  .tf-homepage .tf-rfq-enterprise-actions{
    margin-top:14px!important;
  }
}

/* Exact mobile procurement card layout: tighter images/text and remove huge dead space */
@media(max-width:820px){
  .tf-homepage [class*="procurement"]{
    min-height:0!important;
  }
  .tf-homepage [class*="procurement"] img{
    max-height:150px!important;
    object-fit:contain!important;
  }
  .tf-homepage [class*="procurement"] a,
  .tf-homepage [class*="procurement"] p{
    line-height:1.18!important;
  }
}
