/* ===============================
   HOME / BLOG — NOTÍCIAS
   =============================== */

.home-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* CARD */
.home-news-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #eee;
  transition: all .25s ease;
}

.home-news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.08);
}

/* IMAGEM */
.news-image {
  position: relative;
  height: 220px;
  background: #f4f4f4;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* DATA */
.news-date {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #fff;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
}

/* CONTEÚDO */
.news-content {
  padding: 24px;
}

.news-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.news-content p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 18px;
}

.news-link {
  font-weight: 700;
  text-decoration: none;
  color: #111;
}

.news-link span {
  margin-left: 6px;
  transition: transform .2s ease;
}

.news-link:hover span {
  transform: translateX(4px);
}

/* RESPONSIVO */
@media (max-width: 992px) {
  .home-news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .home-news-grid {
    grid-template-columns: 1fr;
  }
}

.news-image img {
  background: #f4f4f4;
}
