
/* Branded Knowledge covers: retain the complete logo and title in cards and dialogs. */
.course-art:has(img[src*="-knowledge-cover.webp"]){aspect-ratio:1.6;height:auto!important;min-height:0!important;background:#fff!important}
.course-art img[src*="-knowledge-cover.webp"]{display:block;width:100%!important;height:100%!important;max-width:none!important;object-fit:contain!important;object-position:center!important;transform:none!important;position:static!important;margin:0!important}
#modal img[src*="-knowledge-cover.webp"]{display:block;width:100%!important;height:auto!important;max-width:100%!important;max-height:none!important;object-fit:contain!important;object-position:center!important;transform:none!important;background:#fff}
/* Match the other Knowledge cards' framing, with a distinct muted blue. */
#grid .course-art:has(img[src*="legacy-dashboard-knowledge-cover.webp"]){background:#dce5f0!important}
