.card {
    /*width: 350px;*/
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8);
    cursor: pointer;
}

.image-container {
    position: relative;
    overflow: visible;
    padding-bottom: 30px; /* Ajoute un espace supplémentaire pour le bouton rond */
}

.image {
    width: 100%;
    height: auto;
    display: block;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    transition: filter 0.3s ease;
}

.card:hover .image {
    filter: brightness(0.7);
    cursor: pointer;
}

.circle-button {
    position: absolute;
    bottom: 0px; /* Place le bouton en bas de l'image */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10; /* Augmente le z-index pour garantir que le bouton soit au-dessus */
}

.round-button {
    width: 50px;
    height: 50px;
    background-color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card:hover .round-button {
    background-color: #ffc91f;
}

.round-button:hover {
    background-color: #ffc91f;
}

.card-content {
    padding: 15px;
}

.title {
    font-weight: bold;
    font-size: 1.1em;
    color: #000000;
    margin: 0 0 10px;
    text-align: center; /* Centrer le texte */
    text-transform: uppercase;
}

.subtitle {
    font-size: 0.9em;
    color: #555555;
    line-height: 1.5;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.date {
    font-size: 0.8em;
    color: #999999;
    display: flex;
    align-items: center;
}

.news-button {
    background-color: #ffc91f;
    color: black;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.news-button:hover {
    background-color: #ffc91f;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: white;
}


.overlay-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 20%; /* L'image superposée prendra 20% de la largeur de l'image parent */
    height: auto;
    border-top-right-radius: 15px; /* Garder le même arrondi */
    border-bottom-left-radius: 15px; /* Ajouter un arrondi si nécessaire */
}