/* Améliorations des cartes de date pour les événements passés */

.news-date {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #2563EB;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    line-height: 1;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    min-width: 60px;
}

.news-image:hover .news-date {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

.news-date .day {
    display: block;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 2px;
}

.news-date .month {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Ajout d'un subtil effet de superposition sur les images */
.news-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.05) 20%, rgba(0,0,0,0) 50%);
    border-radius: 10px 10px 0 0;
    z-index: 1;
}

/* Ajustements responsives */
@media (max-width: 768px) {
    .news-date {
        padding: 6px 10px;
        min-width: 50px;
    }
    
    .news-date .day {
        font-size: 18px;
    }
    
    .news-date .month {
        font-size: 12px;
    }
}
