/* CareerPort – solo seis guías de portada. Imágenes reales enteras, banderas miniatura. */
/* La imagen destacada es hija directa del enlace de la tarjeta.
   No usar .article-card img indiscriminadamente: capturaría los emojis de la categoría. */
.cp-latest-section .article-card > a > img:not(.emoji),
.cp-latest-section .article-card > a > picture > img:not(.emoji),
.cp-latest-section .article-card > a > figure > img:not(.emoji) {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 7 / 4 !important;
  object-fit: contain !important;
  object-position: center center !important;
  border: 0 !important;
  margin: 0 auto !important;
}
/* Los distintivos no deben crear una fila extra ni expandir la tarjeta. */
.cp-latest-section .article-card .post-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 5px 8px !important;
  min-height: 0 !important;
}
.cp-latest-section .article-card .post-meta .pill,
.cp-latest-section .article-card .post-meta .pill[data-cpigc-media="1"] {
  box-sizing: border-box !important;
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  align-items: center !important;
  vertical-align: middle !important;
  flex: 0 0 auto !important;
  gap: 5px !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: initial !important;
  overflow: visible !important;
  padding: 5px 9px !important;
  margin: 0 !important;
  border-radius: 99px !important;
  white-space: nowrap !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}
/* Miniatura de bandera, también cuando WordPress reemplaza un emoji por una IMG. */
.cp-latest-section .article-card .post-meta .pill img,
.cp-latest-section .article-card .post-meta .pill img.emoji,
.cp-latest-section .article-card .post-meta .pill img[data-cpigc-image="1"] {
  box-sizing: border-box !important;
  display: inline-block !important;
  position: static !important;
  flex: 0 0 17px !important;
  width: 17px !important;
  min-width: 17px !important;
  max-width: 17px !important;
  height: 17px !important;
  min-height: 17px !important;
  max-height: 17px !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 2px !important;
  box-shadow: none !important;
  transform: none !important;
  float: none !important;
  background: transparent !important;
}
@media (max-width: 767px) {
  .cp-latest-section .article-card .post-meta .pill,
  .cp-latest-section .article-card .post-meta .pill[data-cpigc-media="1"] {
    padding: 4px 7px !important;
    font-size: 10px !important;
  }
  .cp-latest-section .article-card .post-meta .pill img {
    width: 15px !important;
    min-width: 15px !important;
    max-width: 15px !important;
    height: 15px !important;
    min-height: 15px !important;
    max-height: 15px !important;
    flex-basis: 15px !important;
  }
}
