.blog__recent-cont {
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.recent-posts .blog__recent-cont h2 {
  background-color: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 150px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.5s ease;
}

.blog-flex {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.recent-posts .blog__recent-cont h2:hover {
  background-color: rgba(0, 0, 0, 0.2);
  text-decoration: none !important;
}

.blog-flex a:hover {
  text-decoration: none !important;
}
@media only screen and (max-width: 1150px) {
  section.post-table-cont {
    flex-direction: column;
  }
  section.post-table-cont article {
    width: 100%;
  }
  .recent-posts {
    width: 100%;
  }
  .blog-flex {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .blog-flex .center-contents {
    width: 31%;
  }
}
@media only screen and (max-width: 800px) {
  .blog-flex .center-contents {
    width: 47%;
  }
}
@media only screen and (max-width: 500px) {
  .blog-flex .center-contents {
    width: 99%;
  }
}
