* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.containerEven {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    padding: 20px;
}

.card {
    position: relative;
    border-radius: 8px !important;
    overflow: hidden;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0px !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #24b365 !important;
    /* height: 800px; */
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.date-badge {
    position: absolute;
    top: 0px;
    left: 0px;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 5px 10px;
    border-radius: 4px;
    text-align: center;
    font-size: 1em;
    text-transform: uppercase;
    color: #fff;
}

.type-badge {
    position: absolute;
    top: 0px;
    right: 0px;
    /* background-color: rgba(0, 0, 0, 0.8); */
    background-color: rgba(200, 44, 44, 0.8);
    padding: 5px 10px;
    border-radius: 4px;
    text-align: center;
    font-size: 1em;
    text-transform: uppercase;
    color: #fff;
}

.labo {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 5px;
    border-radius: 10px;
    text-align: center;
    font-size: 2em;
    text-transform: uppercase;
    color: #fff;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.4);
    font-weight: bold;
    margin-top: 1px;
}

.date-badge strong {
    display: block;
    font-size: 2.5em;
    margin-top: 3px;
}

.info {
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    text-align: justify;
}

.category {
    font-size: 1em;
    opacity: 0.9;    
}

.location {
    font-size: 0.9em;
    opacity: 0.8;
}

.time {
    display: flex;
    align-items: center;
    font-size: 1em;
    opacity: 0.9;
    /* margin-top: 10px; */
    
}

.time span {
    margin-right: 5px;
}

.pin-icon {
    margin-right: 5px;
    font-size: 1.8em;
    color: #fff; /* Couleur de l'icône */
}

.voir {
    padding: 0px 5px;
}
