/* =======================================
   BENTO GRID RESPONSIVE
======================================= */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr; /* Por defecto en celus: todo en 1 columna apilada */
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* En tablets y PC se convierte en mosaico */
@media (min-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bento-wide {
        grid-column: span 2; /* La tarjeta destacada ocupa todo el ancho */
    }
}

.card-bento {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.card-bento:hover {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.18);
    transform: translateY(-2px);
}

.bento-badges {
    margin-bottom: 0.5rem;
}

.card-bento h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.card-bento p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
/* =======================================
   HOME: SECCIÓN ÚLTIMOS POSTS
======================================= */
#ultimos-posts {
    margin-top: 3.5rem;
    margin-bottom: 3.5rem;
}

.header-ultimos-posts {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1.25rem;
}

.link-ver-todo {
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.cargando-texto {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
}
/* =======================================
