.evenement-grid {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr;
    background-color: var(--cyan);
    border-radius: 20px;
    padding: 20px 30px;
    color: white;
}

.date {
    font-weight: 700;
    font-size: 18px;
}

.place-rest {
    font-weight: 700;
    font-size: 18px;
}

.postuler {
    text-align: center;
}

.postuler a {
    color: white;
    background-color: var(--orange);
    border-radius: 5px;
    padding: 5px 25px;
    color: white;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.2s;
}

.postuler a:hover {
    background-color: var(--orangelight);
}

.border-top {
    border-top: 1px solid white;
    font-weight: 600;
}

.postuler span {
    display: none;
}

.place-none-active + .postuler span {
    display: block;
}

.place-none-active + .postuler a {
    display: none;
}

.evenement-grid > div {
    padding-right: 10px;
    padding-top: 15px;
    padding-bottom: 15px;
}

.evenement-grid > div:nth-child(3n + 3) {
    padding-right: 0;
}

.liste-stage {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.liste-stage > div:last-child {
    padding: 25px;
    background-color: var(--rose);
    border-radius: 20px;
    color: white;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
}

.liste-stage > div:last-child ul {
    padding-bottom: 0;
}

.liste-stage > div:last-child ul li {
    line-height: 1.3;
}

@media (max-width: 500px) {
    .evenement-grid {
        padding: 20px 15px;
        font-size: 14px;
    }

    .postuler a {
        padding: 3px 10px;
    }

    .evenement-grid > div {
        padding-right: 5px;
    }
}