.postGrid {
  padding: 18px 0 42px;
}

.postGrid__container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.postGrid__title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 14px;
  color: #111;
}

.postGrid__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.postCard {
  border: 1px solid #eaeaea;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.postCard__imgWrap {
  height: 140px;
  background: #f2f2f2;
}

.postCard__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.postCard__body {
  padding: 10px 10px 12px;
}

.postCard__text {
  font-size: 12px;
  line-height: 1.25;
  margin: 0 0 10px;
  color: #111;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.postCard__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.postCard__date {
  font-size: 11px;
  color: #777;
}

.postCard__btn {
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 6px;
  background: #111;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.postGrid__moreWrap {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.postGrid__moreBtn {
  font-size: 12px;
  padding: 8px 14px;
  border-radius: 8px;
  background: #111;
  color: #fff;
  text-decoration: none;
}

/* responsive */
@media (max-width: 900px) {
  .postGrid__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .postGrid__grid {
    grid-template-columns: 1fr;
  }

  .postCard__imgWrap {
    height: 160px;
  }
}
