/* Rang Xinh v17.1 - 2026-09-29 */
.guest-hero-copy h1,.home-hero-v14 .hero-copy h2{white-space:nowrap}
.guest-hero-copy h1,.guest-hero-copy h1 em,.home-hero-v14 .hero-copy h2,.home-hero-v14 .hero-copy h2 em{color:#ffd84d!important}
.scan-extra-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.scan-extra-grid label{margin:0}
@media(max-width:760px){.guest-hero-copy h1,.home-hero-v14 .hero-copy h2{white-space:normal}.scan-extra-grid{grid-template-columns:1fr}}


/* V17.1 banner hotfix - 2026-09-30
   Prevent the camera card from being pushed/cropped by the nowrap slogan. */
.home-hero-v14{
  grid-template-columns:minmax(0,1.55fr) minmax(270px,.45fr)!important;
}
.home-hero-v14 .hero-copy{
  min-width:0;
  padding-right:24px;
}
.home-hero-v14 .hero-copy h2{
  font-size:clamp(32px,3.05vw,50px);
  letter-spacing:-1.7px;
}
.hero-v14-panel{
  min-width:270px;
  overflow:hidden;
  padding:22px 18px;
}
.hero-v14-camera{
  width:min(100%,280px)!important;
  min-width:0;
  padding:24px 20px;
  border-radius:24px;
}
.hero-v14-camera strong{
  font-size:clamp(22px,1.8vw,30px);
  white-space:normal;
}
.hero-v14-camera span{
  white-space:normal;
}
@media(max-width:1180px){
  .home-hero-v14{grid-template-columns:minmax(0,1fr) 250px!important}
  .home-hero-v14 .hero-copy h2{font-size:clamp(29px,3.2vw,40px)}
  .hero-v14-panel{min-width:250px}
}
@media(max-width:900px){
  .home-hero-v14{grid-template-columns:1fr!important}
  .home-hero-v14 .hero-copy h2{white-space:normal}
  .hero-v14-panel{min-width:0;min-height:180px}
  .hero-v14-camera{width:min(100%,520px)!important;min-height:130px}
}

/* Banner fix v2: force the right camera card fully inside the hero. */
@media(min-width:901px){
  .home-hero.home-hero-v14{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 300px!important;
  }
  .home-hero-v14 .hero-copy{min-width:0!important;padding:34px 28px 34px 42px!important;}
  .home-hero-v14 .hero-copy h2{
    white-space:nowrap!important;
    font-size:clamp(34px,2.75vw,44px)!important;
    letter-spacing:-1.5px!important;
  }
  .home-hero-v14 .hero-v14-panel{
    width:300px!important;min-width:300px!important;max-width:300px!important;
    padding:24px!important;overflow:hidden!important;
  }
  .home-hero-v14 .hero-v14-camera{
    box-sizing:border-box!important;width:252px!important;max-width:252px!important;
    min-height:190px!important;padding:24px 20px!important;margin:0!important;
  }
  .home-hero-v14 .hero-v14-camera strong{font-size:25px!important;white-space:normal!important;}
}
@media(min-width:901px) and (max-width:1200px){
  .home-hero.home-hero-v14{grid-template-columns:minmax(0,1fr) 260px!important;}
  .home-hero-v14 .hero-v14-panel{width:260px!important;min-width:260px!important;max-width:260px!important;padding:20px!important;}
  .home-hero-v14 .hero-v14-camera{width:220px!important;max-width:220px!important;}
  .home-hero-v14 .hero-copy h2{font-size:32px!important;}
}
