.blog-article {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

    .main-title {
        text-align: center;
        margin-bottom: 3rem;
        animation: fadeIn 1s ease-out;
    }

    .main-title h1 {
        font-size: 2.8rem;
        color: #2c3e50;
        margin-bottom: 1rem;
        position: relative;
        display: inline-block;
    }

    .main-title h1::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: linear-gradient(to right, #3498db, #2c3e50);
        border-radius: 2px;
    }

    .main-title p {
        font-size: 1.2rem;
        color: #7f8c8d;
        max-width: 800px;
        margin: 0 auto;
    }
    
    .blog-imagen-destacada {
        margin-bottom: 2rem;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .imagen-grande img {
        width: 100%;
        height: 400px;
        object-fit: cover;
        display: block;
    }
    
    .blog-meta {
        margin-bottom: 2rem;
        border-radius: 20px;
    }
    
    .meta-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .autor-info {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    
    .autor-miniatura {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        overflow: hidden;
    }
    
    .autor-miniatura img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .autor-nombre p {
        margin: 0;
        color: #f2f0eb;
    }
    
    .fecha-info p {
        margin: 0;
        color: #f2f0eb;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .blog-contenido {
        background: white;
        border-radius: 12px;
        padding: 2.5rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        margin-bottom: 3rem;
    }
    
    .blog-contenido p {
        color: #555;
        line-height: 1.6;
        margin-bottom: 1.5rem;
        text-align: justify;
    }
    
    .blog-contenido h3 {
        color: #2c3e50;
        margin: 2rem 0 1rem;
        padding-bottom: 0.5rem;
        border-bottom: 2px solid #eaf2f8;
    }
    
/* ===== Tags del Blog ===== */

.blog-tags {
    margin: 2.5rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid #e1e8ef;
}

.tags-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    justify-content: center;
}

.tag-link {
    display: inline-block;
    padding: 0.6rem 1.1rem;
    background: #f8f9fa;
    color: #1a5fb4;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 2px solid #e1e8ef;
    transition: all 0.3s ease;
}

.tag-link:hover {
    background: #1a5fb4;
    color: white;
    border-color: #1a5fb4;
    transform: translateY(-2px);
}
    
    .blog-temas-interes {
        margin-bottom: 3rem;
    }
    
    .blog-temas-interes h2 {
        color: #2c3e50;
        margin-bottom: 2rem;
        text-align: center;
        position: relative;
        padding-bottom: 15px;
    }
    
    .blog-temas-interes h2::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: linear-gradient(to right, #3498db, #2c3e50);
        border-radius: 2px;
    }

/* aqui es para aumentar o disminuir el tamaño del grid */

    .temas-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
    
    .tema-card {
        background: white;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        transition: transform 0.3s ease;
    }
    
    .tema-card:hover {
        transform: translateY(-5px);
    }
    
    .tema-imagen {
        height: 200px;
        overflow: hidden;
    }
    
    .tema-imagen img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }
    
    .tema-card:hover .tema-imagen img {
        transform: scale(1.05);
    }
    
    .tema-info {
        padding: 1.5rem;
    }
    
    .tema-info h3 {
        color: #2c3e50;
        margin-bottom: 0.5rem;
        font-size: 1.1rem;
    }
    
    .tema-info p {
        color: #7f8c8d;
        margin: 0;
        font-size: 0.9rem;
    }
    
    /* Animaciones */
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }

    @keyframes slideIn {
        from { opacity: 0; transform: translateX(-30px); }
        to { opacity: 1; transform: translateX(0); }
    }

    /* Responsive */
@media (max-width: 768px) {
    .main-title h1 {
        font-size: 2.2rem;
    }
        
    .main-title p {
        font-size: 1rem;
    }
    
    .meta-container {
        flex-direction: column;
        align-items: flex-start;
    }
        
    .imagen-grande img {
        height: 250px;
    }
        
    .blog-contenido {
        padding: 1.5rem;
    }
        
    .tags-grid {
        gap: 0.5rem;
    }
    
    .tag-link {
        padding: 0.5rem 0.9rem;
        font-size: 0.85rem;
    }
        
    .temas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
    
    @media (max-width: 480px) {
        .temas-grid {
            grid-template-columns: 1fr;
        }
    }