/* ====== ESTILOS GENERALES ====== */
body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f5f7fa;
    color: #222;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ====== SECCIÃ“N NOTICIAS ====== */
.noticias {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 15px;
}

.noticias h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    border-left: 6px solid #0b5ed7;
    padding-left: 12px;
}

/* ====== GRID ====== */
.noticias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* ====== TARJETA ====== */
.noticia-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.noticia-card:hover {
    transform: translateY(-5px);
}

.noticia-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.noticia-content {
    padding: 15px;
}

.noticia-content h3 {
    font-size: 1.1rem;
    margin: 0 0 10px;
    line-height: 1.4;
}

.noticia-fecha {
    font-size: 0.85rem;
    color: #6c757d;
}

/* ====== RESPONSIVE EXTRA ====== */
@media (max-width: 600px) {
    .noticias h2 {
        font-size: 1.6rem;
    }
}
 