/* Reuse the approved artwork, preserving the complete frame on every viewport. */
html body.pg-catalog #courses :is(.g3-package,.gp-package-card)>.package-cover{
 display:block;width:min(100%,640px);max-width:100%;height:auto!important;min-height:0;max-height:360px;
 aspect-ratio:16/9;object-fit:contain;object-position:center;flex:none;margin-inline:auto;
}
html body.pg-catalog #courses .g3-cover .g3-cover-img{object-fit:contain!important;object-position:center!important}
html body.pg-catalog #detail .gp-detail-visual .gp-course-cover{object-fit:contain!important;object-position:center!important}
html body.pg-catalog #detail .gp-detail-visual{width:100%;max-width:640px;max-height:360px;min-height:0!important;aspect-ratio:16/9;justify-self:start}
@media(max-width:700px){
 html body.pg-catalog #detail .gp-detail-visual{max-width:391px;max-height:220px}
 html body.pg-catalog #courses :is(.g3-package,.gp-package-card)>.package-cover{width:min(100%,391px);max-height:220px}
}
