/* Your own CSS overrides go here. This file is never replaced by template logic. */

/* Cards: scale every image to the card width and keep its own proportions.
   Nothing is cropped and there are no empty bars; cards in a row may differ in image height. */
.blog-item .item-image img,
.items-leading .blog-item .item-image img,
.related-cards img {
  aspect-ratio: auto;
  height: auto;
  object-fit: fill;
  background: none;
}

/* Home page card grid */
.cardgrid__media {
  aspect-ratio: auto;
  background: none;
}
.cardgrid__media img {
  height: auto;
  object-fit: fill;
}
