.featured-blog-posts {
  padding-inline: 0.75rem;
}
.featured-blog-posts .post-img {
  overflow: hidden;
}
.featured-blog-posts img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: scale 300ms;
}
.featured-blog-posts a:where(:hover, :focus-visible) img {
  scale: 1.2;
}
.featured-blog-posts .post-body {
  margin-inline: 1rem;
  padding: 1rem;
  background: white;
  z-index: 10;
  translate: 0 -3rem;
}
@media (width < 64em) {
  .featured-blog-posts a {
    text-decoration: none;
  }
}
@media (width >= 64em) {
  .featured-blog-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}