/* =====================================================================
   INKADH — Widget : Activités
   ===================================================================== */
.inkadh-activites-section {
    background-color: var(--inkadh-blue-dark);
    background-size: 100% 100%; background-position: top left; background-repeat: no-repeat;
    padding: 100px 0 110px; position: relative; overflow: hidden;
}
.inkadh-activites-blur {
    position: absolute; bottom: 0; left: 0; width: auto; height: 55%;
    object-fit: contain; object-position: bottom left; pointer-events: none; z-index: 1;
}
.inkadh-activites-inner  { max-width: var(--inkadh-max-width); margin: 0 auto; padding: 0 var(--inkadh-inner-px); position: relative; z-index: 2; }
.inkadh-activites-header { text-align: center; margin-bottom: 70px; }
.inkadh-activites-title  { font-size: 2.4rem; font-weight: 600; color: var(--inkadh-white); margin-bottom: 18px; }
.inkadh-activites-subtitle { font-size: var(--inkadh-fs-body); color: var(--inkadh-white); max-width: 680px; margin: 0 auto; }
/* Grille unique : toutes les cartes identiques, dernière ligne centrée */
.inkadh-activites-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
}
.inkadh-act-card {
    width: calc(33.333% - 19px);   /* 3 par ligne (gap 28px) */
    border-radius: var(--inkadh-radius-sm);
    overflow: hidden;
    background: var(--inkadh-white);
    display: flex; flex-direction: column;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    transition: transform .3s ease, box-shadow .3s ease;
}
.inkadh-act-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
}
/* Image : hauteur fixe → toutes identiques (!important pour battre un
   éventuel img{height:auto} global d'Elementor/du thème) */
.inkadh-act-card-img {
    width: 100% !important;
    height: 210px !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block; flex-shrink: 0;
    transition: transform var(--inkadh-transition-slow);
}
.inkadh-act-card:hover .inkadh-act-card-img { transform: scale(1.05); }
/* Label : hauteur réservée pour 2 lignes → cartes de même hauteur */
.inkadh-act-card-label {
    background: var(--inkadh-white);
    padding: 20px 18px; text-align: center;
    flex: 1; display: flex; align-items: center; justify-content: center;
    min-height: 92px;
}
.inkadh-act-card-label p {
    font-size: var(--inkadh-fs-body); font-weight: 600;
    color: var(--inkadh-blue-dark); line-height: 1.45;
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

@media (max-width: 900px) {
    .inkadh-activites-section  { padding: 70px 0 80px; }
    .inkadh-activites-header   { margin-bottom: 44px; }
    .inkadh-activites-title    { font-size: 2rem; }
    .inkadh-act-card           { width: calc(50% - 15px); }  /* 2 par ligne */
    .inkadh-act-card-img       { height: 190px; }
}

@media (max-width: 580px) {
    .inkadh-activites-section  { padding: 50px 0 60px; }
    .inkadh-activites-inner    { padding: 0 24px; }
    .inkadh-activites-title    { font-size: 1.7rem; }
    .inkadh-activites-grid     { gap: 18px; }
    .inkadh-act-card           { width: 100%; }              /* 1 par ligne */
    .inkadh-act-card-img       { height: 190px; }
    .inkadh-act-card-label     { min-height: 0; padding: 16px 14px; }
    .inkadh-act-card-label p   { font-size: 0.9rem; }
}
