/* Programs uses the editorial row contract, with the shared inner-page shell. */
.program-lead{display:grid;grid-template-columns:5fr 6fr;gap:var(--mm-gap);align-items:center;padding-block:var(--mm-space-8);width:100%;max-width:none;padding-left:max(var(--mm-gutter),calc((100vw - var(--mm-max))/2))}
.program-lead h1{margin-block:var(--mm-space-5);max-width:10ch}
.program-lead-copy>p{max-width:42ch;font-size:var(--mm-type-lead)}
.program-lead .btn{margin-top:var(--mm-space-6)}
.program-lead figure{margin:0;min-width:0;overflow:hidden}
.program-lead img{display:block;width:100%;height:auto}
.program-index{display:flex;flex-wrap:wrap;justify-content:space-between;gap:var(--mm-space-2) var(--mm-space-5);padding-block:var(--mm-space-3);border-block:var(--mm-rule) solid var(--mm-line)}
.program-index a{display:inline-flex;align-items:center;min-height:var(--mm-target);font-size:var(--mm-type-small);font-weight:700}
.program-index a:hover{color:var(--mm-accent-hover);text-decoration:underline;text-underline-offset:var(--mm-space-2)}
.program-list{padding-bottom:var(--mm-space-8)}
.program-row{scroll-margin-top:var(--mm-space-6)}
.program-row .section-label{margin-bottom:var(--mm-space-4)}
.program-description{align-self:center}
.program-description p{max-width:42ch}
.program-description .text-link{margin-top:var(--mm-space-5);font-size:var(--mm-type-small);font-weight:700}
.first-class{background:var(--mm-surface-raised);padding-block:var(--mm-space-8)}
.first-grid{display:grid;grid-template-columns:1fr 1fr;gap:var(--mm-gap)}
.first-grid h2{margin-top:var(--mm-space-5)}
.first-grid p{max-width:42ch}
.first-grid p+p{margin-top:var(--mm-space-4)}
.first-actions{display:flex;align-items:center;flex-wrap:wrap;gap:var(--mm-space-5);margin-top:var(--mm-space-6)}
.first-actions .text-link{font-size:var(--mm-type-small);font-weight:700}
@media(max-width:900px){
.program-lead{grid-template-columns:1fr;gap:var(--mm-space-7);padding-left:var(--mm-gutter-tablet)}
.program-lead-copy{padding-right:var(--mm-gutter-tablet)}
.program-lead h1{max-width:none}
.program-lead-copy>p{max-width:var(--mm-prose)}
.program-lead figure{max-width:100%}
.first-grid{grid-template-columns:1fr;gap:var(--mm-space-5)}
.program-description p{max-width:var(--mm-prose)}
.program-index{justify-content:start}
}

@media(max-width:600px){
.program-lead{padding-left:var(--mm-gutter-mobile)}
.program-lead-copy{padding-right:var(--mm-gutter-mobile)}
.program-lead,.first-class{padding-block:var(--mm-space-7)}
.program-list{padding-bottom:var(--mm-space-7)}
}
