body {
  margin: 0;
  font-family: "Playfair Display", serif;
  background: #fafafa;
  color: #222;
}

.noticias-container {
  max-width: 1100px;
  margin: 90px auto 40px; /* deja espacio para el topbar */
  padding: 0 1rem;
  display: grid;
  gap: 2rem;
}

.noticia {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.noticia img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.contenido {
  padding: 1rem 1.2rem;
}

.noticia h2 {
  margin: 0;
  font-size: 1.5rem;
}

.fecha {
  display: block;
  font-size: 0.9rem;
  color: #777;
  margin: 0.3rem 0 1rem;
}

.noticia p {
  font-size: 1rem;
  line-height: 1.5;
}

.leer-mas {
  display: inline-block;
  margin-top: 1rem;
  color: blue;
  font-weight: bold;
  text-decoration: none;
}

.leer-mas:hover {
  text-decoration: underline;
}

/* 📱 Responsive */
@media screen and (min-width: 768px) {
  .noticias-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 1100px) {
  .noticias-container {
    grid-template-columns: repeat(3, 1fr);
  }
}
