.chrono-slider {
    width: 100%;
    padding: 0 0 80px 0 !important;
    overflow: hidden;
}

.chrono-slider .swiper-slide {
    opacity: 0.3; 
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.chrono-slider .swiper-slide-active,
.chrono-slider .swiper-slide-next {
    opacity: 1 !important;
}

.slide-image-container {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.slide-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Bloc contenu 80% et chevauchement */
.slide-content-bottom {
    margin: -40px auto 0 auto; /* Centré horizontalement et remonte de 40px */
    width: 80%;
    position: relative;
    z-index: 20;
}

.date-wrapper {
    display: flex;
    flex-direction: column;
    border-left: 3px solid #5191cd;
    padding-left: 20px;
    text-align: left;
}

.chrono-date {
    font-size: 55px;
    font-weight: 900;
    color: #ffffff;
    line-height: 0.9;
    margin-bottom: 10px;
    display: block;
}

.chrono-description p {
    font-size: 14px;
    color: #ffffff !important; /* Texte en blanc */
    line-height: 1.4;
    margin: 0;
}
/* Pagination - 8 barres horizontales avec Timer */
.chrono-slider .swiper-pagination {
    bottom: 10px !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chrono-slider .swiper-pagination-bullet {
    width: 40px;
    height: 3px;
    background: #ffffff;
    border-radius: 0;
    opacity: 0.2;
    margin: 0 5px !important;
    transition: all 0.3s ease;
    position: relative; /* Nécessaire pour le timer */
    overflow: hidden;   /* Pour que le remplissage ne dépasse pas */
}

.chrono-slider .swiper-pagination-bullet-active {
    opacity: 1;
    width: 70px;
    background: rgba(255, 255, 255, 0.3);
}

/* La barre de progression (Timer) */
.chrono-slider .swiper-pagination-bullet-active::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #5191cd; /* Ta couleur bleue */
    animation: swiperTimer 5s linear forwards; /* 5s = delay du JS */
}

/* Animation du remplissage */
@keyframes swiperTimer {
    from { width: 0; }
    to { width: 100%; }
}

/* Pause si on survole le slider */
.chrono-slider:hover .swiper-pagination-bullet-active::after {
    animation-play-state: paused;
}

/* Responsive tablette et mobile */
@media (max-width: 980px) {
    .chrono-slider .swiper-slide-next {
        opacity: 0.3 !important; /* Une seule photo claire sur mobile */
    }
    .chrono-date { font-size: 40px; }
    .slide-content-bottom { width: 90%; }
}