/* DRUK R5.69 — Course hero outer spacing lock
   Requirement: keep normal left/right/bottom breathing room; reduce TOP only.
   Scope: all 16 course detail pages. */
body.course-standard-v561 .course-detail-hero.page-hero{
  margin:0!important;
  padding-top:8px!important;
  padding-right:0!important;
  padding-bottom:24px!important;
  padding-left:0!important;
  min-height:0!important;
}

/* Restore the standard site container width and centering on both sides. */
body.course-standard-v561 .course-detail-hero.page-hero > .container{
  width:min(calc(100% - 48px),var(--container))!important;
  margin-left:auto!important;
  margin-right:auto!important;
  margin-top:0!important;
  padding-top:0!important;
}

/* Do not alter the inner hero card's own padding/layout; only position it closer to the menu. */
body.course-standard-v561 .course-detail-hero .page-hero-grid{
  margin-top:0!important;
}

@media (max-width:900px){
  body.course-standard-v561 .course-detail-hero.page-hero{
    padding-top:7px!important;
    padding-bottom:20px!important;
  }
  body.course-standard-v561 .course-detail-hero.page-hero > .container{
    width:min(calc(100% - 32px),var(--container))!important;
  }
}

@media (max-width:640px){
  body.course-standard-v561 .course-detail-hero.page-hero{
    padding-top:6px!important;
    padding-bottom:16px!important;
  }
  body.course-standard-v561 .course-detail-hero.page-hero > .container{
    width:min(calc(100% - 24px),var(--container))!important;
  }
}
