/* Card thumbnails (member spotlights, blog, category and author archives).

   The source pages reserve a fixed-ratio box for every card image and center the artwork
   inside it. Because the box is taller than the artwork, an empty strip of the card's grey
   background (#f6f6f6) was left visible below each image.

   These rules drop the reserved space and let the artwork itself define the box height, so the
   only thing above the card text is the linked image. */

.elementor-posts .elementor-post__thumbnail,
.elementor-posts-container .elementor-post__thumbnail {
  padding-bottom: 0 !important;
  height: auto !important;
  aspect-ratio: auto !important;
}

.elementor-posts .elementor-post__thumbnail img,
.elementor-posts-container .elementor-post__thumbnail img {
  position: static !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
}

/* Keep the card artwork connected to its title spacing. */
.elementor-posts--thumbnail-top .elementor-post__thumbnail__link {
  margin-bottom: 20px;
}