/* KING AI v9.0 — mobile hero and responsive layout repair */
html,body{max-width:100%;overflow-x:clip}
body{min-width:0}
body.evos .ka-hero-grid,
body.evos .ka-hero-copy,
body.evos .ka-hero-visual,
body.evos .ka-hero-visual img{min-width:0}

/* Mobile: the hero must become one clean vertical column. The prior desktop grid
   selector had higher specificity and kept the right column on phones. */
@media (max-width:760px){
  body.evos .ka-hero{min-height:0;overflow:hidden}
  body.evos .ka-hero-grid{
    min-height:0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    grid-template-columns:1fr!important;
    gap:0!important;
  }
  body.evos .ka-hero-copy{
    order:1!important;
    width:100%!important;
    padding:30px 0 22px!important;
  }
  body.evos .ka-hero-visual{
    order:2!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    margin:0!important;
    aspect-ratio:16 / 10!important;
    overflow:hidden!important;
    border-radius:20px!important;
    align-self:stretch!important;
    display:block!important;
  }
  body.evos .ka-hero-visual img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    max-width:none!important;
    object-fit:cover!important;
    object-position:center center!important;
    border-radius:20px!important;
    box-shadow:none!important;
  }
  body.evos .ka-hero-visual::after{display:none!important}
  body.evos .ka-hero h1,
  body.evos .ka-home-title{
    max-width:100%!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
    text-wrap:balance!important;
  }
  html[lang^="zh"] body.evos .ka-home-title{
    font-size:clamp(1.24rem,5.85vw,1.56rem)!important;
    line-height:1.22!important;
    letter-spacing:-.045em!important;
  }
  html[lang^="zh"] body.evos .ka-home-title .ka-title-line{
    display:block!important;
    white-space:nowrap!important;
  }
  html[lang="en"] body.evos .ka-home-title{
    font-size:clamp(1.54rem,7.15vw,2.1rem)!important;
    line-height:1.2!important;
    letter-spacing:-.04em!important;
  }
  body.evos .ka-hero .ka-lede{
    max-width:100%!important;
    font-size:1rem!important;
    line-height:1.72!important;
    margin-bottom:18px!important;
  }
  body.evos .ka-tokens{gap:8px 14px!important;margin:15px 0 18px!important}
  body.evos .ka-actions{width:100%!important;display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
  body.evos .ka-actions>a{width:100%!important;min-height:48px!important}
  body.evos .ka-stat-row{
    width:100%!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
    margin-top:22px!important;
  }
  body.evos .ka-stat{font-size:.84rem!important;line-height:1.34!important}
}

@media (max-width:360px){
  html[lang^="zh"] body.evos .ka-home-title{font-size:1.16rem!important;letter-spacing:-.052em!important}
  body.evos .ka-hero-copy{padding-top:26px!important}
  body.evos .ka-hero .ka-lede{font-size:.96rem!important}
}
