/* ========================================
   Gestion des images adaptatives
   ======================================== */

/* Images de galerie - Projet cards */
.project-card .image {
    position: relative;
    width: 100%;
    height: 550px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.project-card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.project-card:hover .image img {
    transform: scale(1.05);
}

/* Images de blog - Cards */
.blog-card .image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.blog-card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.blog-card:hover .image img {
    transform: scale(1.05);
}

/* Images de blog - Page liste */
.post .entry-media {
    position: relative;
    width: 100%;
    height: 470px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.post .entry-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Images de profil - Enseignants/Alumni/Étudiants */
.team-card .image {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.team-card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Images de détails - Pages individuelles */
.team-info-img {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #f5f5f5;
    border-radius: 8px;
}

.team-info-img img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    object-position: center;
}

/* Images des partenaires */
.client-logo ul li img {
    width: 132px;
    height: 94px;
    object-fit: contain;
    object-position: center;
    background-color: #fff;
    padding: 10px;
    transition: transform 0.3s ease;
}

.client-logo ul li:hover img {
    transform: scale(1.1);
}

/* Images responsives pour mobile */
@media (max-width: 768px) {
    .project-card .image {
        height: 300px;
    }
    
    .blog-card .image {
        height: 250px;
    }
    
    .post .entry-media {
        height: 350px;
    }
    
    .team-card .image {
        height: 280px;
    }
}

/* Placeholder pour images manquantes */
.image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 48px;
}
