/* ===== Padronizacao da imagem de capa em 600x500 (6:5) ===== */
/* Vale para todos os temas. Enfileirado depois do CSS do tema. */

/* Imagens diretas — aplica aspect-ratio na propria <img> */
.sc-card-img,
.sc-hero-img,
.sc-sidebar-thumb {
    aspect-ratio: 6 / 5 !important;
    width: 100% !important;
    max-width: 600px;
    height: auto !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center !important;
}

/* Wrapper do card no archive — anula height fixa em px dos temas */
.sc-card-img-wrapper {
    aspect-ratio: 6 / 5 !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden;
}

/* Checkout — thumb pequena mantendo 6:5 (96x80 mobile, 120x100 desktop) */
.ch-curso-img {
    width: 96px !important;
    height: 80px !important;
    object-fit: cover !important;
    object-position: center !important;
}
@media (min-width: 768px) {
    .ch-curso-img {
        width: 120px !important;
        height: 100px !important;
    }
}
