/* Container principal en grid pour un alignement parfait */
.elementor-element-1678f920 {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Style pour chaque carte */
.elementor-element-1678f920 .elementor-widget-image-box {
    height: 350px;
    /* Hauteur fixe pour toutes les cartes */
    display: flex;
    flex-direction: column;
}

.elementor-element-1678f920 .elementor-image-box-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Conteneur image fixe */
.elementor-element-1678f920 .elementor-image-box-img {
    height: 250px;
    flex-shrink: 0;
    overflow: hidden;
}

.elementor-element-1678f920 .elementor-image-box-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

/* Contenu texte */
.elementor-element-1678f920 .elementor-image-box-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #fff;
}

.elementor-element-1678f920 .elementor-image-box-title {
    margin: 0;
    text-align: center;
    width: 100%;
}

/* Responsive */
@media (max-width: 1024px) {
    .elementor-element-1678f920 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .elementor-element-1678f920 {
        grid-template-columns: 1fr;
    }

    .elementor-element-1678f920 .elementor-widget-image-box {
        height: 300px;
    }

    .elementor-element-1678f920 .elementor-image-box-img {
        height: 200px;
    }
}