/* ======================================================
   BLOG HOME — BANCO SOL
   ====================================================== */

.home-news {
  padding: 100px 0;
  background: #f9fafb;
}

/* ================= HEADER ================= */

.home-news-header {
  text-align: center;
  margin-bottom: 60px;
}

.home-news-header h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.home-news-header p {
  color: #666;
  font-size: 1rem;
}

/* ================= GRID ================= */

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

/* ================= CARD ================= */

.home-news-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
  transition: all .25s ease;
  display: flex;
  flex-direction: column;
}

.home-news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

/* ================= IMAGE ================= */

.news-image {
  position: relative;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform .35s ease;
}

.home-news-card:hover img {
  transform: scale(1.05);
}

.news-date {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #FFD200;
  color: #000;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 30px;
}

/* ================= CONTENT ================= */

.news-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.news-content p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 18px;
  flex-grow: 1;
}

.news-link {
  font-weight: 600;
  text-decoration: none;
  color: #000;
  transition: color .2s ease;
}

.news-link:hover {
  color: #FFD200;
}

/* ================= FOOTER ================= */

.home-news-footer {
  text-align: center;
  margin-top: 50px;
}

/* ================= RESPONSIVO ================= */

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