/* ReachEmpireBot Home V22 - visual corrections from real phone review. */
@media (max-width:767px){
  /* Hero: keep all four benefits readable and the robot fully inside its frame. */
  body.reb-home .reb-hero-visual{
    position:relative!important;
    display:block!important;
    width:100%!important;
    min-height:260px!important;
    height:260px!important;
    max-height:260px!important;
    padding:10px!important;
    overflow:hidden!important;
  }
  body.reb-home .reb-hero-visual .reb-feature-list{
    position:absolute!important;
    left:10px!important;
    right:10px!important;
    top:10px!important;
    bottom:auto!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
    width:auto!important;
    height:auto!important;
    margin:0!important;
    z-index:3!important;
  }
  body.reb-home .reb-hero-visual .reb-feature{
    min-width:0!important;
    width:100%!important;
    min-height:42px!important;
    height:42px!important;
    padding:6px 8px!important;
    font-size:9px!important;
    line-height:1.15!important;
    overflow:hidden!important;
  }
  body.reb-home .reb-hero-visual .reb-feature span{
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
    overflow:hidden!important;
  }
  body.reb-home .reb-hero-visual > img.reb-robot{
    position:absolute!important;
    left:50%!important;
    right:auto!important;
    top:auto!important;
    bottom:-4px!important;
    width:154px!important;
    max-width:48vw!important;
    height:auto!important;
    max-height:174px!important;
    margin:0!important;
    object-fit:contain!important;
    transform:translateX(-50%)!important;
    z-index:2!important;
  }

  /* Three Steps: remove inherited empty height under the cards. */
  body.reb-home .reb-process{
    min-height:0!important;
    height:auto!important;
    padding:28px 0!important;
  }
  body.reb-home .reb-process .auto-container,
  body.reb-home .reb-process .inner-container,
  body.reb-home .reb-process .row,
  body.reb-home .reb-process .content-column,
  body.reb-home .reb-process .content-box{
    min-height:0!important;
    height:auto!important;
    margin-bottom:0!important;
    padding-bottom:0!important;
  }
  body.reb-home .reb-process .process-block-one:last-child{margin-bottom:0!important}

  /* Monitor Anywhere: text and robot occupy separate columns. */
  body.reb-home .reb-apps{padding:28px 0!important}
  body.reb-home .reb-apps .inner-container{
    grid-template-columns:minmax(0,1fr) 82px!important;
    grid-template-rows:auto!important;
    align-items:center!important;
    gap:10px!important;
    min-height:0!important;
    height:auto!important;
    padding:14px!important;
  }
  body.reb-home .reb-apps .content_block_two{
    grid-column:1!important;
    grid-row:1!important;
    z-index:2!important;
  }
  body.reb-home .reb-apps .image-layer{
    grid-column:2!important;
    grid-row:1!important;
    width:82px!important;
    height:118px!important;
    overflow:hidden!important;
    z-index:1!important;
  }
  body.reb-home .reb-apps .image-layer img{
    display:block!important;
    width:80px!important;
    max-width:80px!important;
    height:110px!important;
    max-height:110px!important;
    object-fit:contain!important;
    transform:none!important;
  }
  body.reb-home .reb-apps .sec-title h2{
    white-space:normal!important;
    font-size:17px!important;
    line-height:1.15!important;
  }
  body.reb-home .reb-apps .download-list{margin-top:9px!important}
}

@media (max-width:350px){
  body.reb-home .reb-hero-visual{height:246px!important;min-height:246px!important;max-height:246px!important}
  body.reb-home .reb-hero-visual > img.reb-robot{width:140px!important;max-height:160px!important}
  body.reb-home .reb-apps .inner-container{grid-template-columns:minmax(0,1fr) 68px!important}
  body.reb-home .reb-apps .image-layer{width:68px!important;height:104px!important}
  body.reb-home .reb-apps .image-layer img{width:66px!important;height:98px!important}
}
