/* =============================================================================
   HOMEPAGE POST GRID  [lfgc_homepage_posts]  — Figma node 115:20247
   ============================================================================= */

.lfgc-hp-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.lfgc-hp-posts__image-wrap {
  display: block;
  height: 341px;
  overflow: hidden;
  transition: height 0.35s ease;
}

.lfgc-hp-posts__image-wrap img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
  transition: transform 0.35s ease;
}

.lfgc-hp-posts__card:hover .lfgc-hp-posts__image-wrap {
  height: 360px;
}

.lfgc-hp-posts__card:hover .lfgc-hp-posts__image-wrap img {
  transform: scale(1.06);
}

.lfgc-hp-posts__image-placeholder {
  background: var(--lfgc-hp-posts-placeholder);
  display: block;
  height: 100%;
  width: 100%;
}

.lfgc-hp-posts__body {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding-top: 19px;
}

.lfgc-hp-posts__meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.lfgc-hp-posts__date {
  color: var(--lfgc-hp-posts-muted);
  font-family: Lato, sans-serif;
  font-size: 14.5px;
  line-height: 1.53;
}

.lfgc-hp-posts__title {
  color: var(--lfgc-hp-posts-charcoal);
  font-family: 'Area_Extended_SemiBold', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.45;
  margin: 0;
}

.lfgc-hp-posts__title a {
  color: inherit;
  text-decoration: none;
}

.lfgc-hp-posts__title a:hover {
  text-decoration: underline;
}

.lfgc-hp-posts__title a:focus {
  text-decoration: underline;
  outline: none;
}

.lfgc-hp-posts__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.lfgc-hp-posts__cat {
  border: 1px solid var(--lfgc-hp-posts-border);
  border-radius: 89px;
  color: var(--lfgc-hp-posts-charcoal);
  font-family: 'Area_Extended_SemiBold', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.53;
  padding: 6px 10px;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .lfgc-hp-posts {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .lfgc-hp-posts {
    grid-template-columns: 1fr;
  }

  .lfgc-hp-posts__image-wrap {
    height: 240px;
  }
}
