.soutiens-container {
  display: grid;
  grid-template-columns: 1fr;  /* une seule colonne, pleine largeur */
  gap: 20px;
  max-width: 600px;            /* si tu veux plus étroit */
  margin: 40px auto;
}



.soutien-card {
  background: #f9f9f9;
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 320px;  
  border: 1px solid #e3e3e3;
}

/* Zone détails – scrolle à l’intérieur de la carte */
.soutien-details {
  padding: 10px 14px 14px 14px;
  font-size: 0.9rem;
  line-height: 1.4;
  background: #fbfbfb;

  flex: 1 1 auto;
  min-height: 0;          /* 👈 important pour Flex + scroll */
  overflow-y: auto;       /* scroll seulement si besoin */
}


/* Bande colorée pour le titre */
.soutien-header {
  padding: 10px 14px;
  border-bottom: 1px solid #e0e0e0;
}

/* alternance de couleurs pour mieux découper visuellement */
.soutien-card:nth-child(odd) .soutien-header {
  background: #f0f5ff;   /* bleu très léger */
}

.soutien-card:nth-child(even) .soutien-header {
  background: #fff6e5;   /* orangé très léger */
}

.soutien-titre {
  font-size: 1.05rem;
  margin: 0;
}

/* Bande pour l'organisateur */
.soutien-organisateur {
  margin: 0;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  background: #ffffff;
  border-bottom: 1px dashed #e4e4e4;
}


.soutien-details p {
  margin: 2px 0;
}

/* ===== Cartes de soutien : version plus large et lisible ===== */
.soutiens-container {
  width: min(100%, 1000px);
  max-width: 1000px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.soutien-card {
  width: 100%;
  min-width: 0;
  min-height: 330px;
  max-height: none;
}

.soutien-header {
  padding: 20px 22px 16px;
}

.soutien-titre {
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  line-height: 1.08;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.soutien-organisateur {
  padding: 12px 22px;
}

.soutien-details {
  padding: 18px 22px 22px;
  font-size: 1rem;
  line-height: 1.55;
  overflow-y: visible;
}

@media (max-width: 700px) {
  .soutiens-container {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .soutien-card {
    min-height: 0;
  }
}

