/* Theo Properties RC1.0.11.20.15 — Benefit Strip Overflow & Tablet Width Lock
   Surgical safeguard for the Explore hero benefit strip only.
   Removes viewport-based nowrap assumptions that caused Android tablet spill. */

body.theo-app #explore .hero-support{
  min-width:0!important;
  overflow:hidden!important;
}

body.theo-app #explore .hero-support>.hero-benefit,
body.theo-app #explore .hero-benefit-copy{
  min-width:0!important;
  max-width:100%!important;
}

/* Copy must fit the column, not the reported device viewport. */
body.theo-app #explore .hero-benefit-copy b,
body.theo-app #explore .hero-benefit-copy small{
  max-width:100%!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
}

body.theo-app #explore .hero-benefit-copy b{
  text-wrap:balance;
}

/* Large Android tablets / compact desktop widths: keep 3 columns, allow graceful wrap. */
@media (min-width:1181px) and (max-width:1400px){
  body.theo-app #explore .hero-support>.hero-benefit{
    grid-template-columns:30px minmax(0,1fr)!important;
    gap:8px!important;
    padding-inline:12px!important;
  }
  body.theo-app #explore .hero-support>.hero-benefit:first-child{padding-left:0!important}
  body.theo-app #explore .hero-support>.hero-benefit:last-child{padding-right:0!important}
  body.theo-app #explore .hero-benefit-icon{
    width:30px!important;
    height:30px!important;
  }
  body.theo-app #explore .hero-benefit-icon svg{
    width:15px!important;
    height:15px!important;
  }
  body.theo-app #explore .hero-benefit-copy b{
    font-size:12px!important;
    line-height:1.22!important;
  }
  body.theo-app #explore .hero-benefit-copy small{
    font-size:10.5px!important;
    line-height:1.27!important;
  }
}

/* Tablet widths: retain the approved three-column presentation without collision. */
@media (min-width:701px) and (max-width:1180px){
  body.theo-app #explore .hero-support{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  body.theo-app #explore .hero-support>.hero-benefit{
    overflow:hidden!important;
  }
}

/* Very narrow tablet split view: use 2 + 1 rather than squeeze three columns. */
@media (min-width:701px) and (max-width:760px){
  body.theo-app #explore .hero-support{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    row-gap:10px!important;
  }
  body.theo-app #explore .hero-support>.hero-benefit:nth-child(2):after{
    display:none!important;
  }
  body.theo-app #explore .hero-support>.hero-benefit:nth-child(3){
    grid-column:1/-1!important;
    padding:10px 0 0!important;
    border-top:1px solid #e2e8eb!important;
  }
}
