/* VDMT V21 — Dự án MỞ typography, scoped to this course detail only.
   Goal: match the established About/DMT hero hierarchy and halve the specified
   internal section headings. Identical structural rules for VI/EN; desktop/mobile explicit. */

/* Desktop: hero follows the approved editorial hero scale rather than the 17px V18 course-detail override. */
@media (min-width: 761px){
  body.du-an-mo-page-v21 .page-hero h1.du-an-mo-hero-title-v21{
    font-family:var(--serif)!important;
    font-weight:400!important;
    font-size:clamp(27px,2.6vw,41px)!important;
    line-height:1.06!important;
    letter-spacing:-.035em!important;
    max-width:720px!important;
    margin-bottom:18px!important;
  }

  /* Requested headings: approximately half of the former 58px display scale. */
  body.du-an-mo-page-v21 .course-intro-card h2,
  body.du-an-mo-page-v21 .course-section h2{
    font-family:var(--serif)!important;
    font-weight:400!important;
    font-size:29px!important;
    line-height:1.12!important;
    letter-spacing:-.025em!important;
    margin:0 0 14px!important;
  }

  /* Sidebar title: approximately half of the former ~28px h3 scale. */
  body.du-an-mo-page-v21 .course-sidebar h3{
    font-family:var(--serif)!important;
    font-weight:400!important;
    font-size:14px!important;
    line-height:1.28!important;
    letter-spacing:-.01em!important;
    margin:0 0 14px!important;
  }
}

/* Mobile: the same hierarchy, independently sized for readability. */
@media (max-width: 760px){
  body.du-an-mo-page-v21 .page-hero h1.du-an-mo-hero-title-v21{
    font-family:var(--serif)!important;
    font-weight:400!important;
    font-size:25px!important;
    line-height:1.08!important;
    letter-spacing:-.025em!important;
    max-width:none!important;
    margin-bottom:14px!important;
  }

  /* Former mobile h2 scale is ~36px; requested half is 18px. */
  body.du-an-mo-page-v21 .course-intro-card h2,
  body.du-an-mo-page-v21 .course-section h2{
    font-family:var(--serif)!important;
    font-weight:400!important;
    font-size:18px!important;
    line-height:1.18!important;
    letter-spacing:-.015em!important;
    margin:0 0 10px!important;
  }

  body.du-an-mo-page-v21 .course-sidebar h3{
    font-family:var(--serif)!important;
    font-weight:400!important;
    font-size:14px!important;
    line-height:1.28!important;
    letter-spacing:0!important;
    margin:0 0 12px!important;
  }
}

/* Keep print compact but readable; scope prevents changes to other courses. */
@media print{
  body.du-an-mo-page-v21 .page-hero h1.du-an-mo-hero-title-v21{font-size:28px!important;line-height:1.08!important}
  body.du-an-mo-page-v21 .course-intro-card h2,
  body.du-an-mo-page-v21 .course-section h2{font-size:16px!important;line-height:1.15!important}
  body.du-an-mo-page-v21 .course-sidebar h3{font-size:12px!important;line-height:1.25!important}
}

/* V23 — Correct target from screenshot: the JS-injected course detail panel title.
   Reduce it to about half of the previous display size on both desktop and mobile. */
@media (min-width: 761px){
  body.du-an-mo-page-v21 .course-ux > h2{
    font-family:var(--serif)!important;
    font-weight:400!important;
    font-size:29px!important;
    line-height:1.12!important;
    letter-spacing:-.025em!important;
    margin:0 0 16px!important;
    max-width:900px!important;
  }
}
@media (max-width: 760px){
  body.du-an-mo-page-v21 .course-ux > h2{
    font-family:var(--serif)!important;
    font-weight:400!important;
    font-size:18px!important;
    line-height:1.18!important;
    letter-spacing:-.015em!important;
    margin:0 0 12px!important;
    max-width:none!important;
  }
}
@media print{
  body.du-an-mo-page-v21 .course-ux > h2{font-size:16px!important;line-height:1.15!important}
}
