.recent-posts {
  font-family: var(--default-font);
  max-width: 96vw !important;
  width: 96vw !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.posts-container > * {
  flex: 1 1 calc(33.333% - 1.25rem);
}

.recent-posts .post-item {
  background-color: white;
  transition: box-shadow 0.3s ease;
  border: 0.0625rem solid #ccc;
  padding-top: 4rem;
  border-radius: 0.7rem;
}

.recent-posts .post-item .post-title {
  font-weight: 700;
  transition: 0.3s;
}

.recent-posts .post-item:hover {
  box-shadow: 0 0 0.6875rem rgba(139, 155, 147, 1);
  transform: scale(1);
  border-left: 0.5rem solid rgba(80, 97, 91, 0.5);
  border-right: 0.5rem solid rgba(80, 97, 91, 0.5);
}

#post-text {
  color: var(--accent-color);
  padding: 0 1.875rem;
  text-align: center;
}

.posts-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.625rem;
  margin-top: 1.25rem;
}

@media (min-width: 1200px){
  .posts-container > * {
    flex: 1 1 calc(33.333% - 1.25rem);
    box-sizing: border-box;
  }

  .recent-posts .post-item {
    height: auto;
    padding: 1rem;
  }
}

@media (max-width: 991px) {
  .recent-posts .post-item:hover {
    box-shadow: none;
    transform: none;
    border-left: none;
    border-right: none;
  }
}