/* v1007 — Home mobile-only Our Partners carousel.
   Desktop is intentionally untouched. */
@media (max-width: 640px){
  body .home-partners-section{
    padding-top:30px!important;
    padding-bottom:28px!important;
  }
  body .home-partners-section .container{
    max-width:100%!important;
    width:100%!important;
    padding-left:14px!important;
    padding-right:14px!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  body .home-partners-section .home-social-proof-head{
    margin-bottom:16px!important;
  }
  body .home-partners-section .home-social-proof-head h2{
    font-size:clamp(30px,9vw,40px)!important;
    line-height:1.08!important;
    letter-spacing:-.04em!important;
  }
  body .home-partners-section .home-partners-grid{
    display:grid!important;
    grid-template-rows:repeat(2, minmax(0, 1fr))!important;
    grid-template-columns:repeat(5, calc((100% - 20px) / 3))!important;
    grid-auto-flow:row!important;
    grid-auto-columns:calc((100% - 20px) / 3)!important;
    gap:10px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    -webkit-overflow-scrolling:touch!important;
    scroll-snap-type:x proximity!important;
    overscroll-behavior-x:contain!important;
    padding:1px 2px 12px!important;
    margin:0!important;
    max-width:100%!important;
    scrollbar-width:thin!important;
  }
  body .home-partners-section .partner-logo-card{
    min-width:0!important;
    min-height:0!important;
    width:100%!important;
    aspect-ratio:1 / 1!important;
    padding:10px!important;
    border-radius:18px!important;
    box-shadow:0 8px 20px rgba(15,23,42,.055)!important;
    scroll-snap-align:start!important;
  }
  body .home-partners-section .partner-logo-card img{
    width:100%!important;
    max-width:100%!important;
    height:100%!important;
    max-height:72%!important;
    object-fit:contain!important;
    display:block!important;
  }
}
