/* Portadas interiores consolidadas, imágenes contenidas en el encabezado */
header.hero:has(.course-hero-photo){display:grid!important;grid-template-columns:minmax(0,1fr) minmax(260px,43%)!important;column-gap:clamp(18px,4vw,56px)!important;align-items:center!important;min-height:clamp(290px,34vw,410px)!important;padding:clamp(26px,4vw,52px)!important;overflow:hidden!important;border-radius:28px!important;background:linear-gradient(115deg,#f1e7dd,#f7f0ea 60%,#e7dbea)!important;box-sizing:border-box!important}
header.hero:has(.course-hero-photo)>h1,header.hero:has(.course-hero-photo)>p{grid-column:1!important;max-width:58ch!important;min-width:0!important}
header.hero:has(.course-hero-photo)>h1{font-size:clamp(36px,4.8vw,65px)!important;line-height:1.03!important}
header.hero .course-hero-photo{grid-column:2!important;grid-row:1 / span 6!important;width:100%!important;max-width:100%!important;height:auto!important;aspect-ratio:4/3!important;max-height:370px!important;margin:0!important;border-radius:22px!important;overflow:hidden!important;box-shadow:0 14px 36px #47335225!important}
header.hero .course-hero-photo img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
@media(max-width:760px){header.hero:has(.course-hero-photo){grid-template-columns:1fr!important;padding:24px!important}header.hero:has(.course-hero-photo)>h1,header.hero:has(.course-hero-photo)>p{grid-column:1!important}header.hero .course-hero-photo{grid-column:1!important;grid-row:auto!important;max-height:260px!important;margin-top:18px!important}}

/* Módulo 8: portada contenida, sin texto superpuesto */
.eval-cover{margin:18px 0 22px;border-radius:22px;overflow:hidden;width:100%;aspect-ratio:4/3;box-shadow:0 14px 36px #47335225}
@media(min-width:861px){.eval-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,40%);column-gap:44px;align-items:center}.eval-head>*{grid-column:1}.eval-head>.eval-cover{grid-column:2;grid-row:1 / span 8;margin:0}}.eval-cover img{width:100%;height:100%;object-fit:cover;display:block}
