/*
  VEMNATV - Padronizacao de capas dos carrosseis
  Sem alterar anuncios
*/

:root {
  --vntv-poster-radius: 0px;
  --vntv-poster-bg: #08111d;
}

/* Desktop / TV */
@media screen and (min-width: 1200px) {
  :root {
    --vntv-poster-width: 145px;
  }
}

/* Tablet */
@media screen and (min-width: 768px) and (max-width: 1199.98px) {
  :root {
    --vntv-poster-width: 132px;
  }
}

/* Mobile */
@media screen and (max-width: 767.98px) {
  :root {
    --vntv-poster-width: 118px;
  }
}

/* Card ajustado apenas quando o JS marcar */
.vntv-carousel-card-v1 {
  width: var(--vntv-poster-width) !important;
  min-width: var(--vntv-poster-width) !important;
  max-width: var(--vntv-poster-width) !important;
  box-sizing: border-box;
}

/* Moldura/máscara visual */
.vntv-carousel-poster-v1 {
  display: block !important;
  width: var(--vntv-poster-width) !important;
  min-width: var(--vntv-poster-width) !important;
  max-width: var(--vntv-poster-width) !important;
  aspect-ratio: 2 / 3 !important;
  height: auto !important;
  object-fit: cover !important;
  object-position: center top !important;
  overflow: hidden !important;
  border-radius: var(--vntv-poster-radius) !important;
  background: var(--vntv-poster-bg) !important;
  box-sizing: border-box !important;
}

/* Se existir moldura pai só para a imagem, esconder sobra */
.vntv-carousel-poster-wrap-v1 {
  width: var(--vntv-poster-width) !important;
  min-width: var(--vntv-poster-width) !important;
  max-width: var(--vntv-poster-width) !important;
  aspect-ratio: 2 / 3 !important;
  overflow: hidden !important;
  border-radius: var(--vntv-poster-radius) !important;
  background: var(--vntv-poster-bg) !important;
  box-sizing: border-box !important;
}

/* Mantem textos e barras dentro da largura do poster */
.vntv-carousel-card-v1 h3,
.vntv-carousel-card-v1 h4,
.vntv-carousel-card-v1 strong,
.vntv-carousel-card-v1 p,
.vntv-carousel-card-v1 span,
.vntv-carousel-card-v1 .title,
.vntv-carousel-card-v1 .subtitle {
  max-width: 100%;
  overflow-wrap: anywhere;
  box-sizing: border-box;
}


/* VNTV-CAROUSEL-COVER-V2 */

/*
 * Preenche a area existente de cada capa.
 * Nao modifica largura, altura, card ou carrossel.
 */
.v110-section .v110-row
img.vntv-carousel-poster-v1 {
  object-fit: cover !important;
  object-position: center center !important;
}

/* VNTV-POSTER-COVER-V3 */
html body .v110-section .v110-row
img.vntv-carousel-poster-v1 {
  object-fit: cover !important;
  object-position: center center !important;
}


/* VNTV-POSTER-SPECIFICITY-V4
   Prioridade superior ao catalog-cover-clean-v1307519.
   Exclusivo para imagens de capas dos carrosseis.
*/
#vemnatvCatalogV110
.v110-section .v110-row
.v110-card.vntv-carousel-card-v1
img.v110-card-bg.vntv-carousel-poster-v1 {
  object-fit: cover !important;
  object-position: center center !important;
}
