.mb100 {
  margin-bottom: 100px;
}

.conteudo-postagem {
  padding-bottom: 0;
  color: #111;
  line-height: 1.4;
}

:root {
  --blog-img-h: 240px;
  --blog-title-h: calc(15px + (22px * 1.3 * 2) + 15px);
  --blog-resumo-h: calc(16px * 1.4 * 4);
}

/* Grid de posts: cards com mesma altura na linha */
#posts-container.blog-posts-grid,
#posts-container {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.blog-card-col {
  display: flex;
  margin-bottom: 24px;
}

.blog-card {
  display: grid;
  width: 100%;
  height: 100%;
  background-color: #f7f7f7;
  align-content: start;
  justify-items: stretch;
  grid-template-rows:
    var(--blog-img-h)
    var(--blog-title-h)
    var(--blog-resumo-h)
    auto
    minmax(0, 1fr);
  box-sizing: border-box;
}

/* Filhos do wrapper participam do grid do card */
.blog-card__content {
  display: contents;
}

.blog-card .img-blog {
  width: 100%;
  height: var(--blog-img-h);
  object-fit: cover;
  display: block;
  grid-row: 1;
}

.blog-card__title-link {
  display: block;
  grid-row: 2;
  padding: 15px 0;
  width: 100%;
  box-sizing: border-box;
  height: var(--blog-title-h);
  max-height: var(--blog-title-h);
  overflow: hidden;
}

.blog-card__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.3;
  margin: 0;
}

.blog-card__resumo {
  grid-row: 3;
  margin: 0;
  overflow: hidden;
  word-break: break-word;
  font-size: 16px;
  line-height: 1.4;
  height: var(--blog-resumo-h);
  max-height: var(--blog-resumo-h);
}

.blog-card__cta {
  grid-row: 4;
  padding-top: 16px;
  width: 100%;
}

.blog-card__cta .btn-blog {
  width: 100%;
  text-align: center;
  color: white;
  background: #2b3c62;
}

.blog-card__footer {
  grid-row: 5;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  margin-top: 20px;
  align-self: start;
}

.blog-card__footer-tags {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.35;
  max-height: calc(14px * 1.35 * 2);
}

@media (max-width: 600px) {
  .coluna-mr {
    flex-direction: column-reverse !important;
  }

  :root {
    --blog-img-h: 185px;
  }

  .blog-card {
    grid-template-rows: auto;
    display: flex;
    flex-direction: column;
  }

  .blog-card__content {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .blog-card .img-blog,
  .blog-card__title-link,
  .blog-card__resumo,
  .blog-card__cta,
  .blog-card__footer {
    grid-row: auto;
  }

  .blog-card__title-link {
    height: auto;
    max-height: none;
  }

  .blog-card__resumo {
    height: auto;
    max-height: none;
  }
}
