.block-recent-posts {
  padding: 20px;
}
.block-recent-posts .block-recent-posts-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.block-recent-posts .post-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
.block-recent-posts .post-card__image-link {
  display: block;
  overflow: hidden;
}
.block-recent-posts .post-card__image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.block-recent-posts .post-card__image-link:hover .post-card__image {
  transform: scale(1.04);
}
.block-recent-posts .post-card__body {
  padding: 24px;
  background: rgba(0, 34, 68, 1);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.block-recent-posts .post-card__date {
  font-size: 13px;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0;
}
.block-recent-posts .post-card__title {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 25px;
  line-height: 1.35;
  color: white;
  margin-bottom: 10px;
  flex: 1;
}
.block-recent-posts .post-card__title a {
  color: inherit;
  text-decoration: none;
}
.block-recent-posts .post-card__read-more {
  color: #fff;
  background: rgba(52, 112, 62, 1);
  padding: 12px 35px;
  border-radius: 3px;
  width: max-content;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.3s ease;

  &:hover {
    background: #ff7a00;
    transition: all 0.3s ease;
  }
}
.block-recent-posts .post-card__date-container {
  display: flex;
  gap: 5px;
  align-items: center;
  margin-bottom: 10px;
}
@media (min-width: 768px) {
  .block-recent-posts .block-recent-posts-inner {
    grid-template-columns: repeat(3, 1fr);
  }
}
