/* === Meadow Musings: equal-height cards for blog grid === */

/* Make every card a flex column and give it a consistent height */
.blog-listing .blog-listing__panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 430px;              /* adjust 400–480px to taste */
}

/* Keep the image area uniform across cards */
.blog-listing .blog-listing__media img {
  width: 100%;
  height: 220px;                   /* adjust if you want taller images */
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

/* Let the text area stretch so bottoms align */
.blog-listing .blog-listing__data {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

/* Clamp long titles to 2 lines so they don't grow the card */
.blog-listing .blog-listing__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;           /* 1–2 lines */
  overflow: hidden;
  min-height: 3.2em;               /* reserves space for 2 lines */
}

/* Optional: light polish for the storybook look */
.blog-listing .blog-listing__panel {
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
