.blog-related-posts__title{
  text-align:center;
}
.blog-related-posts__list{
    display: flex;

    gap: 20px;
    justify-content: center;    
  flex-wrap: wrap;
}
/* Related Post Card */
.related-post {
  border: 2px solid #eff7fe;
  margin-bottom: 1.5rem;
  padding: 0;

  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 300px;
      border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .19), 0 6px 6px rgba(0, 0, 0, .23);
    overflow: hidden;
    width: calc(30% - 1.5rem);
}

/* Image Wrapper - fixed height */
.related-post__image-wrapper {
  width: 100%;
  height: 180px; /* keep images uniform */
  overflow: hidden;
  flex-shrink: 0;
}

.related-post__image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* keeps image centered/cropped consistently */
}

/* Content Wrapper */
.related-post__content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 1.5rem;
      justify-content: space-between;
}



/* Title */
.related-post__title {
  line-height: 1.4;
  margin-bottom: 1rem;
  flex-shrink: 0;
    font-family: Raleway, sans-serif;
    font-size: 18px;
    font-weight: inherit;
}
}

/* Button always at bottom */
.related-post__button {
  margin-top: auto; /* pushes button down */
  align-self: flex-start;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
  .related-post {
    width: 100%;
    min-height: auto; /* let it shrink naturally on small screens */
  }
  .related-post__image-wrapper {
    height: 200px; /* a bit taller on mobile */
  }
}
