/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Encuadre («Encuadrar» en el panel): una imagen recortada ya trae elegido lo
   que se debe ver, así que se alinea al centro. Sin esto, plantillas con un
   object-position fijo pensado para fotos sin recortar (p. ej. «center 25%» en
   las tarjetas de noticias del inicio) corrían el encuadre hacia abajo.
   !important: esas plantillas lo fijan en el style inline. */
img[src*="/rails/active_storage/representations/"] {
  object-position: 50% 50% !important;
}
