.elementor-13900 .elementor-element.elementor-element-a147be8{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--gap:40px 0px;--row-gap:40px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:150px;--padding-bottom:96px;--padding-left:104px;--padding-right:104px;}.elementor-13900 .elementor-element.elementor-element-92e31d3{text-align:center;}.elementor-13900 .elementor-element.elementor-element-92e31d3 .elementor-heading-title{font-family:"Montserrat", Sans-serif;font-size:40px;font-weight:700;color:var( --e-global-color-text );}@media(min-width:768px){.elementor-13900 .elementor-element.elementor-element-a147be8{--content-width:1200px;}}@media(max-width:1024px){.elementor-13900 .elementor-element.elementor-element-a147be8{--gap:56px 0px;--row-gap:56px;--column-gap:0px;--padding-top:80px;--padding-bottom:80px;--padding-left:48px;--padding-right:48px;}.elementor-13900 .elementor-element.elementor-element-92e31d3 .elementor-heading-title{font-size:40px;}}@media(max-width:767px){.elementor-13900 .elementor-element.elementor-element-a147be8{--gap:32px 0px;--row-gap:32px;--column-gap:0px;--padding-top:40px;--padding-bottom:40px;--padding-left:24px;--padding-right:24px;}.elementor-13900 .elementor-element.elementor-element-92e31d3 .elementor-heading-title{font-size:32px;line-height:32px;}}/* Start custom CSS for shortcode, class: .elementor-element-b757bc4 *//* --- Conteneur Global (Mise en page grille) --- */
.elementor-shortcode .events-list {
    display: grid;
    /* Crée une grille responsive : colonnes de 300px min */
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 24px; /* Espace entre les cartes */
}

/* --- Design de la Carte (Boite) --- */
.elementor-shortcode .event-item {
    border: 1px solid #000000; /* Contour noir 1px */
    border-radius: 16px;       /* Rayon 16 */
    box-shadow: none;          /* Pas d'ombre */
    overflow: hidden;          /* Pour que l'image respecte les bords arrondis */
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

/* --- Image de couverture --- */
.elementor-shortcode .event-thumbnail a,
.elementor-shortcode .event-thumbnail img {
    display: block;
    width: 100%;
    height: 250px;        /* Hauteur imposée */
    object-fit: cover;    /* L'image couvre la zone sans être déformée */
    margin: 0;
}

/* --- Zone de Contenu (Padding et Espacement) --- */
.elementor-shortcode .event-content {
    /* Padding: Haut Droite Bas Gauche */
    padding: 40px 24px 0px 24px; 
    
    /* Espacement de 24px entre les éléments (Titre, Date, Résumé, Bouton) */
    display: flex;
    flex-direction: column;
     
}

/* --- Typographie : Titre --- */
.elementor-shortcode .event-title,
.elementor-shortcode .event-title a {
    font-family: Montserrat; /* Assurez-vous que la fonte est chargée */
    font-size: 24px;
    font-weight: 600;
    line-height: 0.95;
    color: var(--Black, #1A1A1A) !important;
    text-decoration: none;
    margin: 0;
    padding: 0;
}

/* --- Typographie : Occurences (Dates & Lieux) --- */
.elementor-shortcode .event-occurrences-list {
    font-family: "PT Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--Black, #1A1A1A);
    
    /* Astuce pour séparer les lignes <br> de 8px visuellement */
    line-height: 1.5; /* 16px * 0.5 = 8px d'espace supplémentaire par ligne approx */
    display: block;
}

/* --- Typographie : Texte (Extrait) --- */
.elementor-shortcode .event-excerpt {
    font-family: "PT Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    color: var(--Black, #1A1A1A);
}

/* --- Bouton --- */
.elementor-shortcode .event-actions {
    margin-top: auto; /* Pousse le bouton vers le bas si les cartes ont des hauteurs différentes */
}

.elementor-shortcode .event-actions .button {
    display: inline-block;
    background-color: #AFCA0B;
    color: #FFF !important;
    
    /* Padding demandé : 32px vertical, 16px horizontal */
    padding: 16px 32px 16px 32px; 
    
    font-family: "PT Sans", sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    line-height: normal;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    border-radius: 8px;
}

/* État Survol du Bouton */
.elementor-shortcode .event-actions .button:hover {
    background-color: #359830;
    color: #FFF !important;
}

@media (max-width: 767px) {
    .elementor-widget-shortcode .elementor-widget-container {
			max-width: 100%;
    }
	
    .events-list {
        grid-template-columns: 1fr !important; /* Force l'affichage sur 1 colonne */
        display: grid; /* S'assure que le mode grid est actif */
        gap: 20px; /* Ajoute un espace entre les cartes si besoin */
    }
}

	/* Masquer la description sur mobile (écrans de moins de 767px) */
@media (max-width: 767px) {
    .events-list .event-excerpt {
        display: none !important;
    }
}/* End custom CSS */