.elementor-39873 .elementor-element.elementor-element-e245bcd{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--background-transition:0.3s;--border-radius:0px 0px 0px 0px;box-shadow:0px 0px 10px 0px rgba(0,0,0,0.5);--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:20px;--padding-bottom:20px;--padding-left:20px;--padding-right:20px;}.elementor-39873 .elementor-element.elementor-element-e245bcd:not(.elementor-motion-effects-element-type-background), .elementor-39873 .elementor-element.elementor-element-e245bcd > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FFFFFF;}.elementor-39873 .elementor-element.elementor-element-e245bcd, .elementor-39873 .elementor-element.elementor-element-e245bcd::before{--border-transition:0.3s;}/* Start custom CSS for shortcode, class: .elementor-element-20a5eb0 *//* Container principal */
.heroNewsCarousel {
    width: 100%;
    height: 500px; /* Tu peux ajuster la hauteur ici */
    /*border-radius: 15px;*/
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.hero-card {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
    padding: 0 10%; /* Marges internes pour le texte */
}

/* Badge en haut à droite */
.hero-top-right {
    position: absolute;
    top: 20px;
    right: 20px;
}

.hero-badge {
    background: #C3363C;
    color: #fff;
    padding: 5px 15px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Corps du texte */
.hero-body {
    text-align: center;
}

.hero-title {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 20px !important;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8) !important;
}

.hero-excerpt {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color:#fff;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7) !important;
}

/* LIRE LA SUITE - DESIGN HAUT CONTRASTE */
.hero-link {
    color: #FCCC40 !important; /* Jaune présent dans ton fichier source */
    text-decoration: none !important;
    font-weight: bold;
    font-size: 16px;
    display: inline-flex !important;
    align-items: center;
    transition: all 0.3s ease;
    padding: 10px 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-link .dashicons {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.hero-link:hover {
    color: #ffffff !important; /* Devient blanc au survol pour l'interactivité */
}

.hero-link:hover .dashicons {
    transform: translateX(5px); /* La petite flèche bouge à droite */
}

.hero-link {
    position: relative;
}

.hero-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%; /* Ligne invisible au départ */
  height: 2px;
  background-color: #FCCC40;
  transition: width 300ms ease;
}

.hero-link:hover::after {
  width: 100%; /* La ligne se déploie au survol */
}

/* Footer sombre pour la date */
.hero-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7); /* Fond noir atténué */
    padding: 15px 40px;
    display: flex;
    align-items: center;
}

.hero-date {
    font-size: 14px;
    color: #e9e9e9;
}

/* Pagination (petits ronds) */
.heroNewsCarousel .swiper-pagination-bullet {
    background: #fff !important;
    opacity: 0.5;
}

.heroNewsCarousel .swiper-pagination-bullet-active {
    background: #FCCC40 !important;
    opacity: 1;
}

@media (max-width: 768px) {
    /* Titre de la grille */
    .card-title-simple {
        font-size: 17px !important; /* Un peu plus petit que les 19px sur desktop */
        line-height: 1.2 !important;
    }

    /* Résumé de l'actu */
    .card-excerpt-simple {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .card-body-simple {
        padding: 15px; /* On passe de 25px à 15px */
    }

    .hero-link {
        font-size: 15px; /* Bouton légèrement plus compact */
    }
    .hero-title {
        font-size: 22px !important; /* On descend de 32px à 22px */
    }

    .hero-excerpt {
        font-size: 15px;
        padding: 0 5%; /* On réduit les marges latérales */
    }

    .hero-badge { 
        display: none !important; 
    }
    
    .heroNewsCarousel .swiper-pagination-bullet {
        display: none !important;
    }

    .heroNewsCarousel .swiper-pagination-bullet-active {
        display: none !important;
    }
    
}/* End custom CSS */