/* LAFER v39: compact two-column needs grid on EVERY phone width.
 * Cards remain fully clickable; this changes only the Home needs section.
 * No per-device-inch exceptions, no effect on desktop or cinema banners. */
@media (max-width:740px){
  html body.lafer-enterprise #main #resolver .solve-heading{
    margin-bottom:clamp(19px,4vw,28px)!important;
  }
  html body.lafer-enterprise #main #resolver .problems-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:clamp(9px,2.3vw,13px)!important;
    align-items:stretch!important;
    width:100%!important;
  }
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card.problem-v2,
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card.problem-v2:nth-child(7){
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
    grid-column:auto!important;
    width:auto!important;
    min-width:0!important;
    min-height:clamp(170px,34vw,200px)!important;
    height:auto!important;
    padding:clamp(55px,10vw,64px) clamp(12px,2.9vw,17px) clamp(12px,2.8vw,16px)!important;
    gap:0!important;
    border-radius:clamp(16px,3.8vw,21px)!important;
    box-shadow:0 7px 17px rgba(6,35,93,.08)!important;
    overflow:hidden!important;
  }
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card.problem-v2>.problem-icon{
    position:absolute!important;
    top:clamp(10px,2.5vw,14px)!important;
    right:clamp(10px,2.5vw,14px)!important;
    left:auto!important;
    width:clamp(35px,7.2vw,42px)!important;
    height:clamp(35px,7.2vw,42px)!important;
    min-width:0!important;
    min-height:0!important;
    margin:0!important;
    border-radius:12px!important;
  }
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card.problem-v2>.problem-icon svg{
    width:clamp(18px,3.9vw,22px)!important;
    height:clamp(18px,3.9vw,22px)!important;
    min-width:0!important;min-height:0!important;
  }
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card.problem-v2>strong{
    font-size:clamp(12px,2.65vw,14px)!important;
    line-height:1.25!important;
    letter-spacing:-.025em!important;
    max-width:100%!important;
    margin:0 0 8px!important;
    overflow-wrap:break-word!important;
    hyphens:auto;
  }
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card.problem-v2>.problem-desc{
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;
    overflow:hidden!important;
    line-height:1.3!important;
    font-size:clamp(10px,2.2vw,11.5px)!important;
    margin:0 0 8px!important;
  }
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card.problem-v2>.problem-mobile-go{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:5px!important;
    font-size:clamp(10px,2.25vw,11px)!important;
    font-weight:800!important;
    line-height:1.25!important;
    min-height:29px!important;
    max-width:100%!important;
    padding:0!important;
    margin:auto 0 0!important;
    flex-shrink:0!important;
  }
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card.problem-v2>.problem-mobile-go svg{
    width:13px!important;height:13px!important;min-width:13px!important;
  }
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card.problem-v2>.problem-arrow,
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card.problem-v2>.problem-hover{
    display:none!important;
  }
}
@media (max-width:480px){
  html body.lafer-enterprise #main #resolver .problems-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card.problem-v2,
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card.problem-v2:nth-child(7){
    grid-column:auto!important;
    min-height:clamp(159px,44vw,181px)!important;
    padding:52px 11px 12px!important;
    border-radius:17px!important;
  }
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card.problem-v2>strong{
    font-size:clamp(11.6px,3.25vw,13.5px)!important;
    line-height:1.22!important;
    letter-spacing:-.02em!important;
    margin-bottom:6px!important;
  }
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card.problem-v2>.problem-icon{
    width:35px!important;height:35px!important;
    top:10px!important;right:10px!important;
  }
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card.problem-v2>.problem-icon svg{
    width:19px!important;height:19px!important;
  }
  /* Card heading is sufficient on narrow phones; leave complete details in
     the linked pages rather than making the four rows unnecessarily tall. */
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card.problem-v2>.problem-desc{
    display:none!important;
  }
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card.problem-v2>.problem-mobile-go{
    font-size:10px!important;min-height:26px!important;
  }
}
@media (max-width:340px){
  html body.lafer-enterprise #main #resolver>.container{
    width:calc(100% - 32px)!important;
  }
  html body.lafer-enterprise #main #resolver .problems-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card.problem-v2,
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card.problem-v2:nth-child(7){
    grid-column:auto!important;padding:49px 10px 10px!important;
  }
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card.problem-v2>strong{
    font-size:11.5px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card.problem-v2{
    transition:none!important;transform:none!important;
  }
}
