/* Shared safety rules for future records; approved reference variants retain their proportions. */
.programme-course .usm-hero__grid>*{min-width:0}
.programme-course :is(h1,h2,h3,p,strong,dd,li){overflow-wrap:anywhere}
.programme-course .usm-summary>div,.programme-course .usm-highlight-grid>div{min-width:0}
.programme-course .usm-module__count:empty{display:none}
.programme-course .usm-prose img{max-width:100%;height:auto}
.programme-course .usm-prose :is(iframe,video){max-width:100%}
.programme-course .usm-prose :is(pre,table){max-width:100%;overflow:auto}
.programme-course .usm-prose table{display:block}
.programme-course .programme-hero--text{grid-template-columns:minmax(0,1fr)}
.programme-course .programme-hero--text .usm-hero__copy{max-width:1000px}
.programme-course--general .usm-hero h1{font-size:clamp(40px,4.45vw,64px)}
.programme-course--general .usm-hero__visual{height:auto;align-self:center}
.programme-course--general .usm-hero__visual>img{position:relative;inset:auto;display:block;width:100%;height:auto;max-height:640px;object-fit:contain;object-position:center;background:#fff}
.programme-course--general .usm-summary{grid-template-columns:repeat(var(--programme-summary-columns,4),minmax(0,1fr))}
.programme-course--general .usm-intro-grid{grid-template-columns:minmax(0,1fr) 370px}
.programme-course--general .usm-curriculum{width:calc(100% - 426px)}
.programme-course--general .usm-highlight-grid>div:last-child:nth-child(odd){grid-column:1/-1}
.programme-course--general .usm-subjects strong{min-width:0;flex:1}
.programme-course--general .usm-subjects small{max-width:40%;white-space:normal;overflow-wrap:anywhere}
.programme-course--general .usm-button{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.programme-course--general .usm-button>span{flex:none}
.programme-course--general .usm-benefits{grid-template-columns:repeat(var(--programme-benefit-columns,2),minmax(0,1fr))}
.programme-requirements-note{margin:18px 0;color:#66626e;font-size:15px;line-height:1.6}
@media(max-width:1250px){.programme-course--general .usm-intro-grid{grid-template-columns:minmax(0,1fr) 340px}.programme-course--general .usm-curriculum{width:calc(100% - 375px)}}
@media(max-width:820px){.programme-course--general .usm-intro-grid{grid-template-columns:minmax(0,1fr)}.programme-course--general .usm-curriculum{width:100%}.programme-course--general .usm-intro-grid>.ic-enquiry{position:static;width:100%;max-width:580px;margin-inline:auto;order:-1}.programme-course--general .usm-hero h1{font-size:clamp(39px,7vw,60px)}}
@media(max-width:550px){.programme-course--general .usm-benefits{grid-template-columns:1fr}.programme-course--general .usm-hero h1{font-size:39px}}
/* Keep facts readable instead of squeezing four columns into a small screen. */
@media(max-width:1000px){
 .programme-course .usm-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:#e8e8eb}
 .programme-course .usm-summary>div{padding:22px 24px;border:0;background:#fff}
 .programme-course .usm-summary>div:last-child:nth-child(odd){grid-column:1/-1}
}
@media(max-width:600px){
 .programme-course .usm-summary{grid-template-columns:minmax(0,1fr)}
 .programme-course .usm-summary>div{padding:20px 24px}
}
