.logo-wrapper {
  width: 210px;
  height: 300px;
  padding: 10px;
  border: 1px solid rgba(0, 0, 0, 0.342);
}

.logo-wrapper a {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* → zone réservée à l’image */
.image-zone {
  flex: 1;                  /* prend tout l’espace disponible */
  display: flex;
  justify-content: center;  /* centre verticalement */
  align-items: center;      /* centre horizontalement */
  width: 100%;
}

/* contrainte taille image */
.logo-wrapper img {
  max-width: 100%;
  max-height: 150px;
  object-fit: contain;
}

.logo-wrapper p {
  font-weight: bold;
  color: white;
  background-color: black;
  border: 1px black solid;
  border-radius: 5px;
  padding: 9px;
  text-align: center;
}

.logo-wrapper p:hover {
  background-color: white;
  color: black;
}

.logo-wrapper a {
  text-decoration: none;
}

.font-domaine {
  background-color: black;
  color: white;
}
/* =========================
   VERSION TÉLÉPHONE
   ========================= */
@media (max-width: 576px) {

  /* 2 partenaires par ligne */
  .col-6 {
    display: flex;
  }

  /* Card partenaire uniforme */
  .logo-wrapper {
    width: 100%;
    height: 220px;              /* 🔒 hauteur fixe */
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  /* Zone image fixe */
  .image-zone {
    flex: 1;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .logo-wrapper img {
    max-height: 90px;
  }

  /* Texte limité à 2 lignes max */
  .logo-wrapper p {
    font-size: 13px;
    padding: 6px;
    line-height: 1.2em;

    display: -webkit-box;
    -webkit-line-clamp: 2;     /* ⬅️ max 2 lignes */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

