.hb-latest-posts {
  background: var(--ocf-bg);
  overflow: hidden;
}

.hb-latest-posts__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hb-latest-posts__heading {
  max-width: 720px;
  margin: 0;
  color: var(--ocf-heading);
}

.hb-latest-posts__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.hb-latest-posts .hb-post-card {
  height: 100%;
}

@media (max-width: 991px) {
  .hb-latest-posts__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 599px) {
  .hb-latest-posts__header {
    display: grid;
    align-items: start;
  }

  .hb-latest-posts__grid {
    grid-template-columns: 1fr;
  }
}
