

/*titres de l'inspirothèque en blanc*/
div[data-zone-alias="Zone 1904740"] a,
div[data-zone-alias="Zone 1904740"] h2{
  color: white !important;
}

/* Conteneur items pour news flash (nouvelle page) */
.zone-50.zone-news_flash .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 15px;
    padding: 0;
}

/* Conteneur images */
.zone-50.zone-news_flash .itemImage {
    width: 350px;
    height: 200px;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin: 0 auto 15px;
}

/* Image centrée et contenue dans le carré */
.zone-50.zone-news_flash .itemImage img.e-thumbnail {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* Titres */
.zone-50.zone-news_flash .item h3 {
    font-size: 2rem;
    margin: 0 0 5px;
}

/* Texte intro */
.zone-50.zone-news_flash .item .intro {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
}

/* Boutons uniformes */
.zone-50.zone-news_flash .item .actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.zone-50.zone-news_flash .item .actions .btn {
    font-size: 13px !important;
    font-weight: bold !important;
    padding: 6px 12px !important;
    min-width: 100px !important;
    width: 100px !important;
    line-height: 1.2 !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

/* Supprimer marges/paddings des lignes */
.zone-50.zone-news_flash .row {
    margin: 0;
    padding: 0;
}

/* Supprimer paragraphes vides */
.zone-50.zone-news_flash .intro p:empty {
    display: none;
}



/* Force toutes les images des blocs news, news flash et events */
.newsList .itemImage img.e-thumbnail,
.zone-news_flash .itemImage img.e-thumbnail,
.events .itemImage img.e-thumbnail {
    max-height: 200px !important;   /* hauteur max */
    width: auto !important;         /* largeur automatique pour garder le ratio */
    object-fit: contain !important; /* pas de recadrage */
    display: block !important;
    margin: 0 auto;                 /* centrer horizontalement */
}

/* S’assure que le conteneur garde la taille fixe */
.newsList .itemImage,
.zone-news_flash .itemImage,
.events .itemImage {
    width: 350px !important;
    height: 200px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    overflow: hidden !important;
    margin: 0 auto 15px !important;
    background-color: #fff !important;
}

#news_content .col-sm-8 {
    padding: 2px !important;      /* petit padding interne */
    margin: 0 !important;
    display: block !important;
}

#news_content .news-thumbnail,
#news_content .news-title,
#news_content .news-title a {
    display: block !important;
    margin: 0 0 20px 0 !important;  /* espace de 5px en bas */
    padding: 0 !important;
    line-height: 1 !important;
}

#news_content .row {
    margin: 0 !important;
    row-gap: 20px !important;       /* espace de 5px entre les lignes */
}


/* cibler toutes les images de l'inspirothèque */
#news_content .news-thumbnail {
    width: 250px !important;
    height: 200px !important;
    object-fit: contain !important; /* garde le ratio sans rogner */
    display: block !important;
    margin: 5px auto !important; /* espace autour */
}


.event-detail__image-wrapper img {
    width: 700px !important;   /* largeur fixe */
    height: auto !important;    /* conserve le ratio */
    display: block !important;  /* évite les comportements inline */
    margin: 0 auto !important;  /* centre l'image */
}



/* Agrandir les icônes RS */
.mod-social-links .social-link .fab {
    font-size: 24px !important;   /* taille sur desktop */
    color: #FFCE00 !important;       /* couleur noire, à ajuster si nécessaire */
}

/* Espacement entre les icônes */
.mod-social-links .social-link {
    margin-right: 10px !important;
}

/* Force l'affichage des icônes sociales sur mobile */
@media(max-width: 767px) {
    .header-ext-social-links,
    .header-ext-social-links .mod-social-links,
    .header-ext-social-links .social-link {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        width: auto !important;
    }
}

/* Supprime la ligne ou bordure sous les icônes sociales */
.header-ext-social-links .mod-social-links {
    border: none !important;
    box-shadow: none !important;
}

.header-ext-social-links .social-link {
    border: none !important;
    box-shadow: none !important;
    text-decoration: none !important; /* supprime soulignement éventuel */
}

.footer-classic,
.footer-classic * {
    color: white !important; /* tout le texte en blanc */
}

.footer-classic h3 {
    display: none; /* cache les mots Adresse, Email, Nous suivre */
}
