/* ========================================
   ESTILOS PARA CARRUSEL SWIPER - EQUIPO DOCENTE
   ======================================== */

/* Contenedor del Swiper */
.faculty-swiper-container {
    position: relative;
    padding: 0 20px;
    margin: 40px 0;
    overflow: hidden;
    background: white;
}

/* Estilos del Swiper */
.faculty-swiper {
    width: 100%;
    height: 100%;
    padding: 20px 0;
    overflow: visible;
}

/* Estilos de las slides */
.faculty-swiper .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
    height: auto;
}



/* ========================================
   CARD STRUCTURE - 3 SECTIONS
   ======================================== */

/* Estilos de las cards */
.faculty-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    width: 100%;
    max-width: 300px;
    transition: all 0.3s ease;
    border: none;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* ========================================
   SECTION 1: HEAD (IMAGE)
   ======================================== */

/* Imagen del docente */
.faculty-image {
    height: 280px;
    overflow: hidden;
    position: relative;
    border-radius: 12px 12px 0 0;
    background: #f8f9fa;
}

.faculty-image img {
    padding: 20px;
    border-radius: 30px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Placeholder para imagen */
.faculty-image .image-placeholder {
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-weight: 500;
    border: 2px dashed #dee2e6;
}

.faculty-image .image-placeholder span {
    font-size: 1rem;
    margin-top: 8px;
}

/* ========================================
   SECTION 2: BODY (TEXT)
   ======================================== */

/* Información del docente */
.faculty-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    flex-grow: 1;
}



.faculty-info h4 {
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.3;
    padding: 0;
    padding: 0 20px 0 20px;

}

.faculty-info p {
    color: #666;
    font-size: 0.9rem;
    margin: 0 0 15px 0;
    line-height: 1.4;
    padding: 0;
    flex-grow: 1;
    padding: 0 20px 0 20px;

}

/* ========================================
   SECTION 3: FOOT (BUTTON)
   ======================================== */

/* Botón que ocupa todo el footer */
.faculty-info .btn {
    display: block;
    width: 100%;
    padding: 15px 20px;
    background: #ff6b35;
    color: white;
    text-decoration: none;
    border-radius: 0;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: default;
    margin-top: auto;
    text-align: center;
    transition: background-color 0.3s ease;
}

/* ========================================
   BUTTON STATES & OVERRIDES
   ======================================== */

/* Sobrescribir cualquier hover del tema principal */
.faculty-info .btn:hover,
.faculty-info .btn-primary:hover {
    background: #e55a2b !important;
    transform: none !important;
    box-shadow: none !important;
    color: white !important;
    cursor: pointer !important;
}

/* Navegación del Swiper - OCULTA */
.faculty-swiper .swiper-button-next,
.faculty-swiper .swiper-button-prev {
    display: none !important;
}

/* Estilos de hover y disabled - OCULTOS */
.faculty-swiper .swiper-button-next:hover,
.faculty-swiper .swiper-button-prev:hover,
.faculty-swiper .swiper-button-disabled,
.faculty-swiper .swiper-button-disabled:hover {
    display: none !important;
}

/* Contenido de los botones - OCULTO */
.faculty-swiper .swiper-button-next::after,
.faculty-swiper .swiper-button-prev::after {
    display: none !important;
}

/* Paginación */
.faculty-swiper .swiper-pagination {
    position: relative;
    margin-top: 30px;
    text-align: center;
}

.faculty-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #ddd;
    opacity: 1;
    transition: all 0.3s ease;
}

.faculty-swiper .swiper-pagination-bullet-active {
    background: #ff6b35;
}



/* Responsive */
@media (max-width: 768px) {
    .faculty-swiper-container {
        padding: 0 15px;
    }
    
    .faculty-card {
        max-width: 280px;
    }
    
    .faculty-image {
        height: 240px;
    }
    
    .faculty-info h4 {
        padding: 20px 15px 10px 15px;
        font-size: 1.1rem;
    }
    
    .faculty-info p {
        padding: 0 15px 15px 15px;
        font-size: 0.9rem;
    }
    
    .faculty-info .btn {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .faculty-swiper .swiper-button-next,
    .faculty-swiper .swiper-button-prev {
        display: none !important;
    }
    
    /* En móvil, la slide activa no se escala */
    .faculty-swiper .swiper-slide-active {
        transform: none;
    }
}

@media (max-width: 480px) {
    .faculty-swiper-container {
        padding: 0 10px;
    }
    
    .faculty-card {
        max-width: 260px;
    }
    
    .faculty-image {
        height: 200px;
    }
    
    .faculty-info h4 {
        padding: 15px 12px 8px 12px;
        font-size: 1rem;
    }
    
    .faculty-info p {
        padding: 0 12px 12px 12px;
        font-size: 0.85rem;
    }
    
    .faculty-info .btn {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
    
    .faculty-swiper .swiper-button-next,
    .faculty-swiper .swiper-button-prev {
        display: none !important;
    }
}
