/* Correctif responsive minimal ajoute lors de la remise a plat statique (2026).
   Le theme d'origine etait en largeur fixe 1200px, sans aucune media query. */
img, table, iframe { max-width: 100%; }
img { height: auto; }

/* legende statique de la carte des acteurs (le JS d'origine l'injectait dans un filtre) */
.page-carte-acteurs .links-acteurs { float: none; overflow: hidden; margin: 0 0 12px; }
.page-carte-acteurs .links-acteurs > span { display: inline-block; margin-right: 18px; }

/* index des actualites regroupe par annee */
.page-actualites h2.actu-year {
  font-size: 42px !important;
  font-weight: 400;
  color: #303a43;
  margin: 45px 0 20px !important;
  padding: 0 0 6px;
  border-bottom: 1px solid #dce5e7;
}
.page-actualites h2.actu-year:after { display: none; }
.page-actualites h2.actu-year:first-of-type { margin-top: 10px !important; }

@media (max-width: 1240px) {
  #header div.section, #main, #footer-wrapper,
  #section-1-wrapper, #section-2-wrapper {
    width: auto;
    max-width: 1200px;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }
}

@media (max-width: 980px) {
  #header { position: static; height: auto; float: none; }
  .not-front #page-wrapper { padding-top: 0; }
  #header div.section { text-align: center; }
  #logo { position: static; display: inline-block; float: none; margin: 10px 0; }
  #main-menu { position: static; float: none; width: auto; }
  #main-menu-links { display: block; padding: 0; }
  #main-menu-links li { float: none; display: inline-block; margin: 0 6px; }
  #content, #sidebar-first, #sidebar-second,
  .no-sidebars #content, .one-sidebar #content, .two-sidebars #content {
    float: none; display: block; width: auto; margin-right: 0;
  }
  #main-menu-links a { display: inline-block; margin: 0; padding-bottom: 2px; }
  .l-banner-home { padding-top: 0; }
  .l-banner-home .l-banner-home-wrapper { padding: 60px 16px; }
  .l-banner-home .home-banner__title { font-size: 12vw; line-height: 1.05; }
  .l-banner-home .home-banner__title span { font-size: 6vw; }
  .page-node-37 .sidebar .section { margin-top: 0; }
  #block-views-accueil-actualites-block { margin-top: 0; }
  #block-views-accueil-actualites-block h2, .page-actualites h2 { font-size: 34px; margin-bottom: 20px; }
  #lombri-map { height: 60vh !important; min-height: 320px; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  h1.title, #page-title { font-size: 1.6em; }
  #footer-wrapper .menu li { float: none; display: block; margin: 4px 0; }
}
