/* Only the two requested department pages. Inherit colours, fonts and image frames. */
.lp4-dept-hero .lp4-hero-copy { min-width:0; }
.lp4-dept-hero .lp-course { min-width:0; }
.lp4-included-heading { min-width:0; }
@media(min-width:900px) {
 .lp4-dept-hero .dm-hero-inner { display:grid; grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr); gap:48px; align-items:center; }
 .lp4-dept-hero .lp4-hero-copy h1 { font-size:clamp(2.3rem,3.3vw,3.2rem); max-width:none; }
}
@media(max-width:899px) {
 .lp4-dept-hero .lp-course { display:none; }
}
/* Department-only additions; the homepage and shared platform stylesheet stay unchanged. */
.lp4-dept-hero .dept-course-link {display:flex;width:fit-content;max-width:100%;min-height:44px;margin-top:10px;white-space:normal;}
#mathimata {scroll-margin-top:110px;}
#platform.department-platform .lp-lesson {max-width:330px;}
#platform .dept-lesson-compact {display:none;}
@media(max-width:899px) {
 #platform.department-platform .lp-lesson {max-width:300px;}
 #platform .dept-lesson-full {display:none;}
 #platform .dept-lesson-compact {display:block;}
}
@media(max-width:599px) {
 .lp4-dept-hero .dept-course-link {width:100%;font-size:15px;padding:11px 12px;}
}
