.posts-grid {
}

.posts-grid .post a {
  border-radius: 0.75rem;
  /* overflow: hidden; */
  display: block;
  text-decoration: none;
  /* transition: background 200ms; */
}

.posts-grid .post-thumbnail {
  display: flex;
}
.posts-grid .post-thumbnail img {
  width: 100%;
  margin-left: -100%;
  aspect-ratio: 4/3;
  transition: opacity 200;
  border-radius: 0.75rem;
  overflow: hidden;
}
.posts-grid .post a:hover .post-thumbnail img {
  opacity: 0.75;
  transition: opacity 200ms;
}
.posts-grid .post-name {
  width: 100%;
  height: auto;
  display: flex;
  align-self: flex-start;
  flex-direction: column;
  background: #fff;
  margin-top: 2rem;
  padding: 1rem;
  color: black;
  line-height: 1;
  position: relative;
  z-index: 1;
  transition: background 200;
}
.posts-grid .post a:hover .post-name {
  background: var(--gray-50);
  transition: background 200;
}
.posts-grid .post-name .post-days {
  letter-spacing: 1em;
}
.posts-grid .post .excerpt {
  padding: 2rem 1.5rem;
  border-radius: 0.75rem;
  background: var(--primary-dark);
  margin-top: 0;
  box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.75);
}
.posts-grid .post a:hover .excerpt {
  /* background: var(--primary-700); */
  box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.5);
  transition: background 200ms;
}
/* .excerpt > p {
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
} */

.filter_posts {
  padding: 1rem 2.5rem;
  background: var(--gray-50);
  display: flex;
  list-style-type: none;
  color: var(--primary-700);
  text-align: center;
  margin-bottom: 4rem;
  border-radius: 50px;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  width: var(--content-width);
}
.filter_posts li {
  cursor: pointer;
  font-weight: 400;
}
.filter_posts li.active {
  font-weight: bold;
  font-size: clamp(1.125rem, 1.09rem + 0.18vw, 1.25rem);
  font-size: clamp(1.25rem, 1.11rem + 0.71vw, 1.75rem);
}
.posts-grid .post {
  max-width: 32rem;
  margin: 0 auto;
}
@media screen and (max-width: 60rem) {
  .posts-grid .post a {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
}
