/* Pied partagé : carrousel « Quoi de neuf ? » + newsletter.
   L'accueil garde le héros (header 490px). Les autres pages retombent
   sur la hauteur réelle du bandeau. */

body:not(.path-frontpage):not(.page-node-2811) #header {
  height: auto !important;
  overflow: visible !important;
}
body:not(.path-frontpage):not(.page-node-2811) #header:after {
  content: none !important;
  display: none !important;
}
body:not(.path-frontpage):not(.page-node-2811) #main-wrapper {
  padding-top: 70px !important;
}
body:not(.path-frontpage):not(.page-node-2811) img {
  transform: none !important;
}

.list_news__list_wrapper .js_slick_news_footer,
.list_news__list_wrapper .js_slick_news_footer:not(.slick-initialized) {
  opacity: 1 !important;
  max-height: none !important;
}

.list_actu_footer h2.title {
  text-align: left !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  font-family: oxygenB, Arial, sans-serif !important;
  font-size: 20px !important;
  line-height: 28px !important;
  font-weight: 500 !important;
}
.list_actu_footer .scr-actu-entete {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 16px;
}
.list_actu_footer .scr-actu-entete h2.title { margin: 0; }
.list_actu_footer .scr-actu-entete h2.title::after {
  content: "";
  display: block;
  width: 20px;
  height: 5px;
  margin-top: 8px;
  background: #00f3a7;
}
.list_actu_footer .scr-actu-entete .subtitle { margin: 6px 0 0; }
.list_actu_footer .scr-actu-nav { display: flex; gap: 8px; flex: 0 0 auto; }
.list_actu_footer .scr-actu-nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  background: #fff;
  color: #011547;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.list_actu_footer .scr-actu-nav button:hover { background: #011547; color: #fff; }
.list_actu_footer .scr-actu-nav button:disabled {
  opacity: .35;
  cursor: default;
  background: #fff;
  color: #011547;
}
.list_actu_footer .scr-actu-vue {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  outline: none;
}
.list_actu_footer .scr-actu-vue::-webkit-scrollbar { display: none; }
.list_actu_footer .scr-actu-vue .js_slick_news_footer {
  display: flex !important;
  align-items: stretch;
  gap: 16px;
  width: max-content !important;
  transform: none !important;
}
.list_actu_footer .scr-actu-vue .article_teaser {
  flex: 0 0 var(--scr-carte, 100%) !important;
  width: var(--scr-carte, 100%) !important;
  max-width: var(--scr-carte, 100%) !important;
  min-width: 0 !important;
  margin: 0 !important;
  float: none !important;
  height: auto !important;
  scroll-snap-align: start;
}
.list_actu_footer .scr-actu-vue .article_teaser,
.list_actu_footer .scr-actu-vue .article_teaser__bg {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}
.list_actu_footer .scr-actu-vue .article_teaser__image,
.list_actu_footer .scr-actu-vue .article_teaser img {
  width: 100% !important;
  max-width: 100% !important;
  height: 140px !important;
  object-fit: cover;
  transform: none !important;
}
.list_actu_footer .scr-actu-vue .article_teaser__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.list_actu_footer .scr-actu-vue .article_teaser__title {
  display: block !important;
  -webkit-line-clamp: unset !important;
  overflow: visible !important;
  max-height: none !important;
}
.list_actu_footer .article_teaser__content::before { content: none !important; }
.list_actu_footer .scr-actu-vue .article_teaser__tag {
  margin-top: 14px !important;
  position: static !important;
  align-self: flex-start !important;
  width: auto !important;
}
.list_actu_footer .scr-actu-points {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 0;
}
.list_actu_footer .scr-actu-points button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #d5deea;
  cursor: pointer;
}
.list_actu_footer .scr-actu-points button[aria-current="true"] {
  width: 22px;
  background: #011547;
}
.list_actu_footer .article_teaser__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: #011547;
  color: #fff;
}

.block_newsletter__title {
  text-align: left !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  font-family: oxygenB, Arial, sans-serif !important;
  font-size: 20px !important;
  line-height: 28px !important;
  font-weight: 500 !important;
}
.block_newsletter__title::after {
  content: "";
  display: block;
  width: 20px;
  height: 5px;
  margin-top: 8px;
  background: #00f3a7;
}
.block_newsletter__text {
  font-family: oxygenR, Arial, sans-serif;
  font-size: 16px;
  line-height: 24px;
}
