.postagens-main { padding: 60px 0 80px; }

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

.post-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  border-bottom: 3px solid var(--primary);
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,0.12); }

.post-card-img { height: 200px; overflow: hidden; background: #eef0eb; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card-img-placeholder { display: flex; align-items: center; justify-content: center; font-size: 3rem; }

.post-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.post-data { font-size: 0.78rem; color: var(--accent); font-weight: 600; margin-bottom: 8px; }
.post-card-body h2 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; color: var(--text); line-height: 1.4; }
.post-resumo { font-size: 0.85rem; color: var(--text-light); flex: 1; margin-bottom: 14px; }
.post-leia { font-size: 0.82rem; font-weight: 600; color: var(--primary); }

.sem-posts { text-align: center; padding: 60px 20px; }
.sem-posts p { color: var(--text-light); margin-bottom: 20px; }

/* SINGLE POST */
.post-hero { padding-bottom: 40px; }
.post-meta-info { font-size: 0.88rem; color: var(--text-light); margin-top: 8px; }

.post-destaque-img {
  width: 100%; max-height: 420px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 28px;
}

.post-article h2 { font-size: 1.4rem; font-weight: 700; margin: 28px 0 12px; }
.post-article h3 { font-size: 1.1rem; font-weight: 600; margin: 20px 0 8px; color: var(--primary); }
.post-article p { color: var(--text-light); margin-bottom: 14px; line-height: 1.8; }
.post-article ul, .post-article ol { padding-left: 20px; margin-bottom: 16px; }
.post-article li { color: var(--text-light); margin-bottom: 8px; line-height: 1.7; }
.post-article strong { color: var(--text); }
.post-article blockquote {
  border-left: 4px solid var(--primary);
  background: #eef0eb;
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  margin: 20px 0;
  font-style: italic;
  color: var(--text);
}

.post-compartilhar {
  border-top: 1px solid #eee;
  margin-top: 36px;
  padding-top: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.post-compartilhar p { color: var(--text-light); font-size: 0.9rem; margin: 0; }

@media (max-width: 900px) {
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .posts-grid { grid-template-columns: 1fr; }
  .post-compartilhar { flex-direction: column; align-items: flex-start; }
}
