/* Estilos específicos para Docentes */
:root {
    --primary: #291874;
    --secondary: #0AAADA;
    --accent: #F1E902;
    --white: #ffffff;
    --text-dark: #212529;
}

/* Hero Section */
.docentes-hero {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    color: var(--white);
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.breadcrumb {
    justify-content: center;
    background: none;
}

.breadcrumb-item a {
    color: var(--white);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--accent);
}

/* Filtro de Docentes */
.filtro-docentes {
    padding: 2rem 0;
    background-color: var(--white);
}

.filtros {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.filtros select,
.filtros input {
    max-width: 250px;
}

/* Listado de Docentes */
.lista-docentes {
    background-color: var(--gray-100);
    padding: 4rem 0;
}

.docentes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.docente-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.docente-card:hover {
    transform: translateY(-10px);
}

/*.docente-imagen {
    position: relative;
    padding-top: 100%; 
}

.docente-imagen img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}*/


.docente-imagen {
    position: relative;
    padding-top: 80%; 
    overflow: hidden;
}

.docente-imagen img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top; 
}

.docente-imagen .docente-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(41, 24, 116, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.docente-card:hover .docente-overlay {
    opacity: 1;
}

.docente-redes {
    display: flex;
    gap: 1.5rem;
}

.docente-redes a {
    color: var(--white);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.docente-redes a:hover {
    transform: scale(1.2);
}

.docente-info {
    padding: 1.5rem;
    text-align: center;
}

.docente-info h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.docente-departamento {
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.docente-categoria {
    color: var(--text-dark);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.docente-especialidad {
    font-size: 0.9rem;
    color: var(--text-dark);
}

.docente-especialidad span {
    font-weight: 600;
    color: var(--primary);
}

/* Paginación */
.paginacion {
    display: flex;
    justify-content: center;
}

.pagination .page-link {
    color: var(--primary);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Media Queries */
@media (max-width: 1200px) {
    .docentes-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* [Resto de estilos anteriores permanecen igual] */

/* Media Queries */
@media (max-width: 1200px) {
    .docentes-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .filtros {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .filtros select,
    .filtros input {
        width: 100%;
        max-width: 100%;
    }

    .docentes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .docentes-grid {
        grid-template-columns: 1fr;
    }

    .filtros select,
    .filtros input {
        width: 100%;
    }

    .docente-info {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .filtros {
        padding: 0 1rem;
    }

    .docente-info h3 {
        font-size: 1rem;
    }

    .docente-departamento,
    .docente-categoria,
    .docente-especialidad {
        font-size: 0.8rem;
    }
}