/* --- Estilos para Blog y Noticias --- */
.blog-main-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 20px;
}

.blog-header-section {
    text-align: center;
    margin-bottom: 50px;
}

.blog-header-section h1 {
    font-size: 2.8rem;
    color: #1e3f20;
    margin-bottom: 15px;
}

.blog-header-section p {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.noticias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.noticia-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-top: 4px solid #7fad39;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.noticia-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.noticia-meta {
    margin-bottom: 12px;
}

.noticia-fecha {
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 500;
}

.noticia-titulo {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 15px;
    line-height: 1.3;
}

.noticia-resumen {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 20px;
}

.noticia-contenido {
    display: none;
    font-size: 1.05rem;
    color: #334155;
    line-height: 1.6;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #cbd5e1;
    animation: fadeIn 0.4s ease;
}

.noticia-contenido.expandido {
    display: block;
    padding-bottom: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-leer-mas {
    background: transparent;
    border: 2px solid #7fad39;
    color: #7fad39;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn-leer-mas:hover {
    background: #7fad39;
    color: #ffffff;
}

.no-news {
    text-align: center;
    font-size: 1.2rem;
    color: #94a3b8;
    grid-column: 1 / -1;
    padding: 40px;
    background: #f8fafc;
    border-radius: 12px;
}