
.lastPost .zoneImg .infoCard{
    clip-path: polygon(0 0, 65% 0, 100% 100%, 0% 100%);
}

.lastPost .zoneImg img{
    height: 450px;
    object-fit: cover;
}

.lastPost .decoFleche svg path{
    stroke-width: 1px;
}

.lastPost .decoFleche{
    display: block;
}

.lastPost + .lastPost .decoFleche{
    display: none;
}

.lastPost.right .decoFleche{
    top: 0;
    left: 0;
    right: auto;
}

/* Bouton uniquement visible si lastpost sur la page des evenements */
@media (min-width: 769px) { 
    body.post-type-archive-evenements .btnEventslink .supremeBtn{
        display: none;
    }
    body.post-type-archive-evenements .btnEventslink .supremeBtn.btnLastPostEvents.hidden{
        display: inline-flex;
    }
    body:not(.post-type-archive-evenements) .btnEventslink .supremeBtn.btnLastPostEvents.hidden{
        display: none;
    }
}
@media (max-width: 769px) {
     body.post-type-archive-evenements .btnEventslink .supremeBtn{
        display: none;
    }
    body.post-type-archive-evenements .btnEventslink .supremeBtn.btnLastPostEventsMob.hidden{
        display: inline-flex;
    }
    body:not(.post-type-archive-evenements) .btnEventslink .supremeBtn.btnLastPostEventsMob.hidden{
        display: none;
    }
}

/* APPARENCES */
/* Image gauche/droite */
.lastPost.left .zoneText{
    order: 2;
    grid-column-start: 4;
    grid-column-end: 6;
}
.lastPost.left .zoneImg{
    order: 1;
    grid-column-start: 1;
    grid-column-end: 4;
}
/* Fond degrade */
.lastPost.gradient::before{
    background: #A730DC;
    background: radial-gradient(circle,rgba(167, 48, 220, 1) 75%, rgba(113, 0, 151, 1) 100%);    
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    z-index: 0;
}

.archiveBanner + .lastPost.gradient::before{
    background: #A730DC;
    background: radial-gradient(circle,rgba(167, 48, 220, 1) 75%, rgba(113, 0, 151, 1) 100%);    
    content: '';
    width: 100%;
    height: 165%;
    position: absolute;
    top: -60%;
    z-index: 0;
}
.lastPost.gradient .infoCard{
    background-color: rgba(113, 0, 151, 0.9);
}
.lastPost.gradient{
    margin-top: -6rem;
    margin-bottom: -6rem;
    padding-top: 6rem;
    padding-bottom: 12rem;
}
/* Avec ou sans décoration de flèche */ 
.lastPost.flecheNotVisible .decoFleche{
    display: none;
}

/* MOBILE */
@media (max-width: 769px) {

    .lastPost.left .zoneText{
        order: 1;
        grid-column-start: 1;
        grid-column-end: 6;
    }

    .lastPost.left .zoneImg{
        order: 2;
        grid-column-start: 1;
        grid-column-end: 6;
    }
    .lastPost.left .btnMob{
        order: 3;
    }

    .lastPost .zoneImg img{
        height: 450px;
    }

    .lastPost.gradient{
        margin-top: -2.5rem;
        margin-bottom: -2.5rem;
        padding-top: 0;
        padding-bottom: 6rem;
    }
    /* exception juste pour event agrde party 2025 */ 
    .lastPost .zoneImg img[src*="gardenparty-2025"]{
        height: 200px !important;
    }
}

@media (max-width: 1280px) {
    .lastPost.left .zoneText{
        order: 1;
        grid-column-start: 1;
        grid-column-end: 6;
    }

    .lastPost.left .zoneImg{
        order: 2;
        grid-column-start: 1;
        grid-column-end: 6;
    }
    .lastPost.left .btnMob{
        order: 3;
    }
    
    .lastPost.right .decoFleche{
        left: -400px;
        right: auto;
    }

    
}