/* Page actualite : masquer l'image principale (l'affiche cliquable est dans le texte) */
.news-detail img.news-image { display: none; }

/* Accueil et Nouvelles : vignettes de meme format */
.itemImage img.e-thumbnail { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: center; border-radius: 10px; display: block; }

/* Actualites : boutons En savoir plus alignes */
@media (min-width: 768px) { .newsList > .row { display: flex; flex-wrap: wrap; } .newsList > .row::before, .newsList > .row::after { display: none; } .newsList > .row > .item { display: flex; flex-direction: column; } .newsList > .row > .item > .actions { margin-top: auto !important; padding-top: 10px; } }

/* Accueil : afficher toute la photo de la banniere sur mobile */
@media (max-width: 767px) { .mod-banner__img { background-size: 100% auto !important; background-position: center bottom !important; background-color: var(--secondary, #154F78) !important; height: auto !important; } .mod-banner__content { height: auto !important; padding-bottom: calc(69.3vw + 20px) !important; } }

/* Evenements : vignettes de meme format et boutons alignes */
.events-mosaic .item img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; object-position: center top; display: block; }
@media (min-width: 768px) { .events-mosaic .row { display: flex; flex-wrap: wrap; } .events-mosaic .row::before, .events-mosaic .row::after { display: none; } .events-mosaic .row > [class*="col-"] { display: flex; } .events-mosaic .item { display: flex; flex-direction: column; width: 100%; } .events-mosaic .item .actions { margin-top: auto !important; } }

/* === Ameliorations esthetiques (nov. 2026) === */
/* En-tete : logo plus grand et mieux lisible */
.zone-header img.mod-header-logo { height: 110px !important; width: 110px !important; max-width: none !important; max-height: none !important; object-fit: contain; }
.zone-header .mod-header-container, .zone-header .rf-mod-header-wrapper, .zone-header .mod-header-part__left { height: auto !important; }
/* Banniere d'accueil : voile plus leger, texte toujours lisible */
.mod-banner__img::before { background-image: linear-gradient(rgba(0,0,0,.40), rgba(0,0,0,.15) 70%, rgba(0,0,0,.05)) !important; }
.mod-banner__content h1, .mod-banner__content h2, .mod-banner__content p { text-shadow: 0 2px 8px rgba(0,0,0,.55); }
/* Texte courant : police sans empattement plus lisible */
.site-inner p, .site-inner li, .newsList .intro { font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; line-height: 1.6; }
.site-inner p .btn { font-family: Georgia, serif; }
/* Bloc bleu : liens Devenir membre / Faire un don en boutons */
.line-secondary .content > p:has(> a[href*="membres"]):has(> a[href*="faire-un-don"]) { font-size: 0; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 25px; }
.line-secondary .content > p:has(> a[href*="membres"]):has(> a[href*="faire-un-don"]) > a { font-family: Georgia, serif; font-size: 16px; display: inline-block; padding: 12px 30px; border-radius: 30px; background: #5A8522; color: #fff !important; text-decoration: none; font-weight: bold; transition: background .2s; }
.line-secondary .content > p:has(> a[href*="membres"]):has(> a[href*="faire-un-don"]) > a:hover { background: #4a6f1b; }
/* Accueil : reduire le grand vide apres les Nouvelles */
.line-main:has(.zone-news_flash) { padding-bottom: 0 !important; }
.zone-news_flash .newsList .item { padding-bottom: 0 !important; margin-bottom: 10px !important; }
/* Mobile : boutons du bloc bleu pleine largeur, comme les autres */
@media (max-width: 767px) { .line-secondary .content > p:has(> a[href*="membres"]):has(> a[href*="faire-un-don"]) > a { flex: 1 1 100%; text-align: center; } }
