.post-card {
  max-width: 350px;
  display: block;
  
  border-radius: 12px;
  background: white;
  border: 1px solid #f1f5fb;
  box-sizing: border-box;
  overflow: hidden;

}

.post-card .post-card-img-container {
  aspect-ratio: 4 / 3;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.post-card .category {
  padding: 2px 8px;
  gap: 10px;

  position: absolute;
  right: 16px;
  top: 16px;

  border-radius: 20px;
  background: #F4F6F9;
}

.post-card .category p {
  color: #364C65;
  font-family: "Noto Sans";
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.post-card .post-card-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card .post-card-info {
  padding: 24px 24px 32px 24px;
}

.post-card .post-card-title {
  color: var(--secondary);
  font-family: Montserrat;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.post-card .post-card-date {
  color: var(--secondary-light);
  font-family: "Noto Sans";
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 8px;
}

.post-card .post-card-info  p:last-of-type {
  color: #324861;
  font-family: "Noto Sans";
  font-size: 14px;
  font-weight: 400;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
  margin-bottom: 32px;
}

.post-card a {
  padding: 8px 16px;
  border-radius: 4px;
  border: 1px solid var(--main);
  background-color: transparent;

  color: var(--main);
  font-family: Montserrat;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.post-card a:hover, 
.post-card a:hover:focus {
  background: var(--main);
  color: #FFF;
  border-color: var(--main);
  box-shadow: 0 4px 18px 0 rgba(31, 45, 61, 0.08);
}