/* SITEMAP IN DIVI PAGE 
Conteneur en colonnes responsives */
.fff-sitemap {
  column-count: 2;
  column-gap: 2rem;
}
@media (max-width: 980px){
  .fff-sitemap { column-count: 1; }
}

/* Éviter que les blocs/UL se coupent entre colonnes */
.fff-sitemap ul,
.fff-sitemap li { break-inside: avoid; }

/* Titres de section du sitemap */
.fff-sitemap h2,
.fff-sitemap h3,
.fff-sitemap h4 {
  column-span: all;           /* le titre occupe toute la largeur */
  margin: 2rem 0 0.75rem;
  font-weight: 700;
}

/* Listes plus compactes et propres */
.fff-sitemap ul { margin: 0 0 1.25rem 1.25rem; padding: 0; }
.fff-sitemap li { margin: .25rem 0; line-height: 1.35; }

/* Liens */
.fff-sitemap a { text-decoration: none; }
.fff-sitemap a:hover { text-decoration: underline; }

/* Date à côté du titre (AIOSEO ajoute souvent une classe dédiée ; sinon fallback) */
.fff-sitemap li .aioseo-sitemap__date,
.fff-sitemap li small {
  color: #6b7280;             /* gris doux */
  font-size: 90%;
  margin-left: .35rem;
}

/* FOOTER: 1st column full width, next columns 1/2 + gap on ≤767px */
@media (max-width: 767px){
  .mobile-custom-layout{
    display:flex;
    flex-wrap:wrap;
    gap:10px;                 /* space between columns/rows */
    align-items:stretch;
  }

  /* neutralise les largeurs/marges mobiles par défaut de Divi */
  .mobile-custom-layout > .et_pb_column{
    margin:0 !important;
    width:auto;               /* override width:100% mobile */
    max-width:none;
    min-width:0;
  }

  /* 1ère colonne sur toute la largeur */
  .mobile-custom-layout > .et_pb_column:nth-child(1){
    flex:0 0 100%;
  }

  /* à partir de la 2e colonne : 1/2 - la moitié du gap */
  .mobile-custom-layout > .et_pb_column:nth-child(n+2){
    flex:1 1 calc(50% - 5px);
  }

  /* (optionnel) cartes égales si tu veux des hauteurs identiques */
  /* .mobile-custom-layout > .et_pb_column { display:flex; flex-direction:column; }
     .mobile-custom-layout > .et_pb_column .et_pb_module:last-child { margin-top:auto; } */
}