/* Solo la imagen destacada identificada en la página individual. */
img.aihd-featured-horizontal {
  box-sizing: border-box;
  display: block;
  /* Los temas pueden escribir estas dimensiones en style="".
     Se sobreescriben solo en la destacada marcada por este módulo. */
  width: 100% !important;
  max-width: min(100%, 600px) !important;
  height: 350px !important;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 auto;
  box-shadow: 0 18px 35px -10px rgba(0,0,0,.2), 0 4px 6px -2px rgba(0,0,0,.05);
  transition: transform .3s ease, box-shadow .3s ease;
}
@supports (aspect-ratio: 12 / 7) {
  img.aihd-featured-horizontal { height: auto !important; aspect-ratio: 12 / 7 !important; }
}
@supports not (aspect-ratio: 12 / 7) {
  @media (max-width: 640px) { img.aihd-featured-horizontal { height: 52vw !important; max-height: 350px; } }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  img.aihd-featured-horizontal:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 45px -12px rgba(0,0,0,.3), 0 8px 12px -4px rgba(0,0,0,.1);
  }
}
@media (prefers-reduced-motion: reduce) {
  img.aihd-featured-horizontal { transition: none; transform: none; }
}
