.breakdance .bde-post-meta li { align-items: start!important; }
.ee-postmeta-terms-wrap { flex-wrap: nowrap!important; }

/* Conteneur en grille */
.rrma-network-actualites {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 colonnes par défaut */
  gap: 2rem;
  margin: 0 0 1rem 0;
}

/* ✅ Tablette (max 1024px) → 2 colonnes */
@media screen and (max-width: 1024px) {
  .rrma-network-actualites {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ✅ Mobile (max 768px) → 1 colonne */
@media screen and (max-width: 768px) {
  .rrma-network-actualites {
    grid-template-columns: 1fr;
  }
}

/* Cards RRMA */
.rrma-btn, .rrma-card a.rrma-btn{
  display:inline-flex!important;
  flex-direction: row;
  align-items:center;
  gap:3px;
  white-space:nowrap; 
  padding:5px 10px;
  border:1px solid #8e8e8e;border-radius:999px;
  font-size: 12px;
  color:#8e8e8e!important;
  background:#fff;
  text-decoration:none;
  cursor:pointer;
  transition:background .2s ease, border-color .2s ease, color .2s ease;
  text-transform: uppercase; 
}
.rrma-btn:hover{border-color:#333;color:#333!important;}

/* Cards Actus */
.rrma-card-actu {
  background: #fff;
  border-radius: 12px;
  box-shadow: 5px 5px 20px 0px #00000025;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Le lien prend toute la card */
.rrma-card-actu a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.rrma-card-image img {
  width: 100%;
  height: auto;
  display: block;
}

.rrma-card-actu h2 {
  font-size: 26px!important;
  color: #ff6600!important;
  line-height: 30px!important;
}

.rrma-card-content {
  padding: 1rem 1.2rem;
}

.rrma-card-meta {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 0.8rem;
}

.rrma-card-excerpt {
  font-size: 1rem;
  color: #333;
  line-height: 1.4;
  margin: 0;
}

.rrma-pagination {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 8px; /* pour espacer les boutons */
  flex-wrap: wrap;
  margin: 1rem 0;
}

.rrma-pagination a {
  display: inline-block;
  padding: 8px 12px;
  margin: 0 4px;
  border: 1px solid #ddd;
  background: #fff;
  color: #333;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s ease;
}
.rrma-pagination a:hover {
  background: #f1f1f1;
}
.rrma-pagination a.active {
  background: #f57c00;
  color: #fff;
  border-color: #f57c00;
}

/* Map Observatoire */
.carte-principale { width: 100%; height: 100vh; }

/* Le conteneur du tooltip */
.leaflet-tooltip.infotooltip{
  width:240px !important;
  max-width:240px !important;
  min-width:240px !important;
  white-space: normal !important;     /* <— écrase nowrap de Leaflet */
  overflow-wrap: anywhere;            /* casse les mots/urls longues */
  word-break: break-word;             /* fallback */
  text-align:left;
  font-size:1em;
  box-sizing:border-box;
}

/* Le wrapper interne de Leaflet */
.leaflet-tooltip.infotooltip .leaflet-tooltip-content{
  white-space: normal !important;     /* <— au cas où le contenu hérite */
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Sécurise les images de logo */
.leaflet-tooltip.infotooltip img{
  max-width:100% !important;
  height:auto !important;
  display:block;
}   

/* Tooltip enrichi */
.leaflet-tooltip.infotooltip {
  padding: 8px 10px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  background: #fff;
  color: #222;
}

.rrma-tip-logo {
  display: block;
  max-width: 240px;
  max-height: 86px;
  height: auto;
  width: auto;
}

.rrma-tip-text {
  display: inline-block;
  margin-top: 4px;
  font-size: .95rem;
  line-height: 1.3;
}