/* Preserve the original full-height cards after changing buttons into image links.
   Elementor's generic image height:auto must not override these gallery thumbnails. */
.elementor .portfolio-grid a.portfolio-tile {
  display: block;
  color: #fff;
  text-decoration: none;
}
.elementor .portfolio-grid a.portfolio-tile > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
