.blog-listado {
    display: flex;
    flex-direction: row;
    gap: 30px;
    margin-top: 30px;
}

.contenido-principal {
    flex: 3;
}

.sidebar-area {
    flex: 1;

}

.post-item {
    background: white;
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
    padding-left: 1.5rem;
}

.post-item:hover {
    transform: translateY(-4px);
}

.post-imagen {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid #e5e7eb;
}

.post-contenido {
    padding: 20px;
}

.post-categoria {
    font-size: 14px;
    color: var(--primary);
    font-weight: bold;
    margin-bottom: 6px;
}

.post-titulo {
    font-size: 22px;
    margin-bottom: 6px;
}

.post-titulo a {
    color: var(--text);
    text-decoration: none;
    transition: color var(--transition);
}

.post-titulo a:hover {
    color: var(--primary);
}

.post-fecha {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 10px;
}

.post-extracto {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--text);
}

.btn-leer-mas {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-leer-mas:hover {
    background-color: #1d4ed8;
}

.paginacion {
    margin-top: 30px;
    text-align: center;
     width: 100%;
    clear: both;
    box-sizing: border-box;
}

.pagina {
    display: inline-block;
    margin: 0 6px;
    padding: 8px 14px;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text);
    transition: background var(--transition);
}

.pagina:hover {
    background: #e0e7ff;
}

.pagina.activa {
    background-color: var(--primary);
    color: white;
    font-weight: bold;
    pointer-events: none;
}



