/* Consistent cover ratio and subject colors across all course entry points. */
body .eg-home-v96 .eg-home-course{display:flex;flex-direction:column;grid-template-columns:none;min-width:0}
body .eg-home-v96 .eg-home-course-art{display:flex;width:100%;aspect-ratio:16/9;height:auto;min-height:0;padding:0;box-sizing:border-box;overflow:hidden;background:#fffcf6}
body .eg-home-v96 .eg-home-course-art img{width:100%;height:100%;object-fit:contain;max-height:none;border-radius:0}
body .eg-home-v96 .eg-home-course-copy{flex:1;display:flex;flex-direction:column}
body .eg-home-v96 .eg-home-course h3 a{color:var(--course-title,var(--course-accent))}
body .eg-home-v96 .eg-home-course-link{align-self:flex-start;margin-top:auto;background:var(--course-accent);color:var(--course-foreground,#183454);border-color:var(--course-accent);border-radius:8px}
body .eg-home-course-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
body .ecg-course-page .ecg-course-cover{aspect-ratio:16/9;background:#fffcf6}
body .ecg-course-page .ecg-course-image{object-fit:contain}
body .ecg-course-catalog-grid .ecg-card{min-width:0;width:auto}
@media(max-width:1100px){body .eg-home-course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){body .eg-home-course-grid{grid-template-columns:1fr}}
