.post-card__post {
  width: calc(33.5% - 8px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  box-sizing: border-box;
  border: 1px solid var(--color-gray-light);
  border-radius: 16px;
}

@media screen and (max-width: 768px) {
  .post-card__post {
    width: 100%;
  }
}

.post-card__post:hover {
  border-color: var(--color-pink-dark);
  animation: fadeIn 0.2s ease-in-out;
}

.post-card__post a {
  text-decoration: none;
}

.post-card__post-title {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.post-card__post-title h2 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-gray-dark);
  margin: 0;
}

.post-card__post-date {
  font-size: 12px;
  color: var(--color-pink-dark);
  margin-top: 16px;
  margin-bottom: 0px;
}

.post-card__post-image {
  width: 100%;
  height: 220px;
  background-color: var(--color-gray-light);
  border-radius: 16px;
  background-position: center;
  background-size: cover;
}

@media screen and (max-width: 768px) {
  .post-card__post-image {
    height: 150px;
  }
}

.post-card__post-tags {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
}

.post-card__post-tags a {
  text-decoration: none;
  color: var(--color-gray-dark);
  font-size: 12px;
  background-color: var(--color-gray-light);
  padding: 4px 8px;
  border-radius: 16px;
}

.post-card__post-excerpt {
  font-size: 12px;
  color: var(--color-gray-medium);
  margin: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
