/* Horaweb Cursos — capas inteiras. Nao muda logotipos, avatares ou icones. */
:root { --hw-cover-surface: #0b1621; }

/* Cards da pagina inicial, catalogo e categorias */
html body .course-img,
html body .course-card-ui__image,
html body .course-grid-media img,
html body .home-tile-image img,
html body .mini-poster-stack-v40 img,
html body .home-course-grid-v816 .course-card img.course-img,
html body .category-page-v70 .side-course-list-v70 img,
html body #home-course-search-v832 .home-live-image-v842 img {
  object-fit: contain !important;
  object-position: center center !important;
  background-color: var(--hw-cover-surface) !important;
}

/* Detalhes do curso; override das regras inline carregadas apos o header */
html body .course-page-v70 .course-cover-card img,
html body .course-cover-card img {
  object-fit: contain !important;
  object-position: center center !important;
  background-color: var(--hw-cover-surface) !important;
}

/* Destaque inicial e miniaturas; preserva os layouts e a proporcao dos boxes */
html body .hero-featured-poster-v40 img,
html body .home-featured-stage-v816 .hero-featured-poster-v40 img {
  object-fit: contain !important;
  object-position: center center !important;
  background-color: var(--hw-cover-surface) !important;
}

/* Imagens devem permanecer inteiras tambem no hover (nao ampliar e recortar). */
html body .home-course-tile:hover .home-tile-image img,
html body .course-grid-card:hover .course-grid-media img {
  transform: none !important;
}
