.personal-container {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        max-width: 1200px;
        margin: 0 auto;
        padding: 2rem;
        color: #333;
    }
    
    .personal-container h2 {
        text-align: center;
        color: #2c3e50;
        margin-bottom: 2rem;
        font-size: 2rem;
        position: relative;
    }
    
    .personal-container h2::after {
        content: '';
        display: block;
        width: 80px;
        height: 4px;
        background: #3498db;
        margin: 0.5rem auto 2rem;
    }
    
    .categoria-personal {
        margin-bottom: 3rem;
    }
    
    .categoria-personal h3 {
        color: #2c3e50;
        margin-bottom: 1.5rem;
        padding-bottom: 0.5rem;
        border-bottom: 2px solid #3498db;
        display: inline-block;
    }
    
    .personal-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
    }
    
    .persona-card {
        background: white;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
        width: calc(33.333% - 2rem);
        max-width: 350px;
        min-width: 280px;
    }
    
    .persona-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    }
    
    .persona-imagen {
        height: 200px;
        background-size: cover;
        background-position: center;
        position: relative;
    }
    
    .persona-imagen::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    }
    
    .persona-info {
        padding: 1.5rem;
    }
    
    .persona-titulo {
        font-size: 0.9rem;
        color: #3498db;
        margin-bottom: 0.3rem;
        font-weight: 600;
    }
    
    .persona-nombre {
        font-size: 1.3rem;
        color: #2c3e50;
        margin-bottom: 1rem;
        font-weight: 700;
    }
    
    .persona-rol {
        color: #555;
        margin-bottom: 1rem;
        line-height: 1.5;
    }
    
    .persona-materias {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #eee;
    }
    
    .persona-materias h4 {
        color: #2c3e50;
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .materias-lista {
        list-style-type: none;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .materias-lista li {
        background: #f1f8fe;
        color: #3498db;
        padding: 0.3rem 0.6rem;
        border-radius: 20px;
        font-size: 0.8rem;
    }
    
    /* Estilos para diferentes cantidades de personas */
    .personal-grid[data-count="1"] .persona-card {
        width: 100%;
        max-width: 500px;
    }
    
    .personal-grid[data-count="2"] .persona-card {
        width: calc(50% - 2rem);
    }
    
    /* Responsive */
    @media (max-width: 900px) {
        .persona-card {
            width: calc(50% - 2rem);
        }
        
        .personal-grid[data-count="1"] .persona-card,
        .personal-grid[data-count="2"] .persona-card,
        .personal-grid[data-count="3"] .persona-card {
            width: calc(50% - 2rem);
        }
    }
    
    @media (max-width: 600px) {
        .persona-card {
            width: 100%;
        }
        
        .personal-grid[data-count="1"] .persona-card,
        .personal-grid[data-count="2"] .persona-card,
        .personal-grid[data-count="3"] .persona-card {
            width: 100%;
        }
    }