body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #ffffff;
  }
  
  .menu nav {
    background-color: #cc0000;
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 15px;
  }
  
  .menu nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
  }
  
  .menu nav a:hover {
    text-decoration: underline;
  }
  
  .noticias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 30px;
    max-width: 1200px;
    margin: auto;
  }
  
  .noticia {
    background: #f2f2f2;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
  }
  
  .noticia:hover {
    transform: translateY(-5px);
  }
  
  .noticia img {
    width: 100%;
    height: 160px;
    object-fit: cover;
  }
  
  .noticia h3 {
    font-size: 16px;
    padding: 12px;
    color: #000;
    line-height: 1.4;
  }
  
  .noticia.texto-puro {
    background-color: #f9f9f9;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  
  .noticia.texto-puro h3 {
    padding: 20px;
    font-weight: normal;
  }
