/*
 * GUMA DIGITAL — Projects Images V2
 * Images éditoriales — sans modification des projets.
 */

/* Grande carte */
.guma-projects-feature,
.guma-projects-featured,
.guma-projects-hero-card {
    background-image:
        linear-gradient(
            180deg,
            rgba(39, 13, 58, 0.05) 15%,
            rgba(39, 13, 58, 0.35) 55%,
            rgba(39, 13, 58, 0.94) 100%
        ),
        url('/images/guma/projects/guma-projets-engagement.png');

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Développement économique */
.guma-projects-side-card:first-child .guma-projects-side-card__media,
.guma-projects-card--economic .guma-projects-card__media {
    background-image:
        url('/images/guma/projects/guma-developpement-economique.png');

    background-position: center;
    background-size: cover;
}

/* Éducation et inclusion */
.guma-projects-side-card:nth-child(2) .guma-projects-side-card__media,
.guma-projects-card--education .guma-projects-card__media {
    background-image:
        url('/images/guma/projects/guma-education-inclusion.png');

    background-position: center;
    background-size: cover;
}

/* ===================================================
   GUMA PROJECTS V3 — IMAGES DES CARTES AH3
   =================================================== */

/* Grande carte : engagement communautaire */
.guma-projects--ah3
.guma-ah3-grid--waiting
.guma-ah3-placeholder--lead {
    background-image:
        linear-gradient(
            180deg,
            rgba(37, 10, 56, 0.05) 0%,
            rgba(37, 10, 56, 0.12) 45%,
            rgba(37, 10, 56, 0.82) 100%
        ),
        url('/images/guma/projects/guma-projets-engagement.png') !important;

    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Première petite carte : développement économique */
.guma-projects--ah3
.guma-ah3-grid--waiting
.guma-ah3-mini-visual--green {
    background:
        url('/images/guma/projects/guma-developpement-economique.png')
        center / cover no-repeat !important;
}

/* Deuxième petite carte : éducation */
.guma-projects--ah3
.guma-ah3-grid--waiting
.guma-ah3-mini-visual--orange {
    background:
        url('/images/guma/projects/guma-education-inclusion.png')
        center / cover no-repeat !important;
}

/* Les pictogrammes sont remplacés par les photos */
.guma-projects--ah3
.guma-ah3-grid--waiting
.guma-ah3-placeholder--lead > *,
.guma-projects--ah3
.guma-ah3-grid--waiting
.guma-ah3-mini-visual > * {
    visibility: hidden;
}

/* Préserver le contraste du contenu */
.guma-projects--ah3
.guma-ah3-card--waiting-lead
.guma-ah3-card-content {
    position: relative;
    z-index: 2;
}
