/* Cần Thơ Ford v1.4.28 — Final UI regression pass 01
   Scope: header brand scale + mobile home-benefits layout only. */

/* Header brand: the uploaded Cần Thơ Ford mark has generous internal whitespace,
   so give it a larger display box without making navigation visually heavy. */
.site-header .header-inner{
  min-height:76px;
}
.site-header .brand{
  min-width:255px!important;
}
.site-header .brand-logo-img{
  display:block!important;
  width:240px!important;
  max-width:240px!important;
  height:68px!important;
  max-height:68px!important;
  object-fit:contain!important;
  object-position:left center!important;
}

/* Home benefits: explicitly constrain both grid children so no desktop columns
   can leak into the narrow layout through earlier cascade layers. */
.home-benefits{
  overflow:hidden;
}
.home-benefit-shell,
.home-benefit-copy,
.home-benefit-grid,
.home-benefit-grid article{
  min-width:0;
}

@media(max-width:1100px){
  .site-header .brand{min-width:220px!important}
  .site-header .brand-logo-img{
    width:210px!important;
    max-width:210px!important;
    height:62px!important;
    max-height:62px!important;
  }
}

@media(max-width:900px){
  .site-header .brand{min-width:0!important;flex:1 1 auto!important}
  .site-header .brand-logo-img{
    width:195px!important;
    max-width:195px!important;
    height:60px!important;
    max-height:60px!important;
  }

  .home-benefit-shell{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
  }
  .home-benefit-copy{
    width:100%!important;
    max-width:none!important;
    margin:0 0 30px!important;
  }
  .home-benefit-copy h2,
  .home-benefit-copy p{
    max-width:680px!important;
  }
  .home-benefit-grid{
    width:100%!important;
    max-width:100%!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .home-benefit-grid article{
    width:auto!important;
    max-width:none!important;
  }
}

@media(max-width:640px){
  .site-header .header-inner{
    height:68px!important;
    min-height:68px!important;
  }
  .site-header .brand-logo-img{
    width:188px!important;
    max-width:188px!important;
    height:58px!important;
    max-height:58px!important;
  }

  .home-benefits{
    padding-top:50px!important;
    padding-bottom:50px!important;
  }
  .home-benefit-copy{
    margin-bottom:26px!important;
  }
  .home-benefit-copy h2{
    max-width:100%!important;
    margin-bottom:14px!important;
    font-size:32px!important;
    line-height:1.07!important;
    letter-spacing:-.03em!important;
  }
  .home-benefit-copy p{
    max-width:100%!important;
    font-size:14px!important;
    line-height:1.65!important;
  }
  .home-benefit-copy .btn{
    margin-top:20px!important;
    min-height:46px!important;
  }
  .home-benefit-grid{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    border-radius:8px!important;
  }
  .home-benefit-grid article{
    min-height:0!important;
    padding:22px 20px!important;
    border-right:0!important;
    border-bottom:1px solid rgba(255,255,255,.13)!important;
  }
  .home-benefit-grid article:last-child{
    border-bottom:0!important;
  }
  .home-benefit-grid span{
    font-size:10px!important;
    letter-spacing:.06em!important;
  }
  .home-benefit-grid h3{
    margin:12px 0 6px!important;
    font-size:19px!important;
    line-height:1.22!important;
  }
  .home-benefit-grid p{
    font-size:13px!important;
    line-height:1.55!important;
  }
}

@media(max-width:380px){
  .site-header .brand-logo-img{
    width:172px!important;
    max-width:172px!important;
  }
  .home-benefit-copy h2{font-size:30px!important}
}
