/* VDMT V21 — targeted hero headline scale.
   Only the seven user-specified display headlines are reduced.
   VI/EN share the exact same rules; desktop/mobile are explicit. */

@media (min-width: 761px){
  /* Homepage first hero: 54–82px -> about half. */
  body[data-page="home"] .home-hero h1.headline-half-v18{
    font-size:clamp(27px,2.8vw,41px)!important;
    line-height:1.04!important;
    letter-spacing:-.03em!important;
    max-width:420px!important;
  }

  /* V21 shared editorial hero token: About and DMT are now identical. */
  body[data-page="about"] .page-hero h1.headline-half-v18,
  body[data-page="dmt"] .page-hero h1.headline-half-v18,
  body[data-page="explore"] .page-hero h1.headline-half-v18{
    font-size:clamp(27px,2.6vw,41px)!important;
    line-height:1.06!important;
    letter-spacing:-.035em!important;
  }

  /* Other reduced editorial heroes retain their approved V18 scale. */
  body[data-page="courses"]:not(.course-detail-v88) .page-hero h1.headline-half-v18,
  body[data-page="therapy"] .page-hero h1.headline-half-v18,
  body[data-page="community"] .page-hero h1.headline-half-v18{
    font-size:clamp(22px,2.5vw,35px)!important;
    line-height:1.08!important;
    letter-spacing:-.03em!important;
  }

  /* Dự án MỞ course detail was forced to 34px -> 17px. */
  body.course-detail-v88 .page-hero h1.headline-half-v18{
    font-size:17px!important;
    line-height:1.15!important;
    letter-spacing:-.01em!important;
    max-width:720px!important;
  }
}

@media (max-width: 760px){
  /* Homepage 40–50px -> 20–25px. */
  body[data-page="home"] .home-hero h1.headline-half-v18{
    font-size:clamp(20px,5.9vw,25px)!important;
    line-height:1.04!important;
    letter-spacing:-.025em!important;
    max-width:260px!important;
  }

  /* V21 shared mobile hero token: About and DMT are now identical. */
  body[data-page="about"] .page-hero h1.headline-half-v18,
  body[data-page="dmt"] .page-hero h1.headline-half-v18,
  body[data-page="explore"] .page-hero h1.headline-half-v18{
    font-size:25px!important;
    line-height:1.08!important;
    letter-spacing:-.025em!important;
  }

  /* Other reduced editorial heroes retain their approved V18 mobile scale. */
  body[data-page="courses"]:not(.course-detail-v88) .page-hero h1.headline-half-v18,
  body[data-page="therapy"] .page-hero h1.headline-half-v18,
  body[data-page="community"] .page-hero h1.headline-half-v18{
    font-size:21.5px!important;
    line-height:1.1!important;
    letter-spacing:-.02em!important;
  }

  body.course-detail-v88 .page-hero h1.headline-half-v18{
    font-size:17px!important;
    line-height:1.18!important;
    letter-spacing:-.005em!important;
  }
}

@media (max-width: 380px){
  body[data-page="home"] .home-hero h1.headline-half-v18{font-size:20px!important}
}
