
.member {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 60px;
  align-items: flex-start;
  background-color: white;
  
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 30px;
}

.member img {
  width: 180px;
  height: 180px;
  object-fit: contain; /* antes estaba en 'cover' */
  
  /*border: 4px solid #29abe2;*/
  flex-shrink: 0;
  background-color: white; /* Por si el logo tiene fondo transparente */
  display: flex;
  align-items: center;
  justify-content: center;
}

.member-summary {
  flex: 1;
  min-width: 250px;
}

.member-details {
  flex-basis: 100%;
  margin-top: 10px;
}

.member-summary h2 {
  margin: 0 0 10px;
  font-size: 1.5em;
  color: #29abe2;
}

.member-summary p,
.member-details p {
  margin: 8px 0;
  font-size: 1em;
  line-height: 1.6;
}
.member-header {
  display: flex;
  align-items: center; /* Esto alinea verticalmente */
  gap: 20px; /* Espacio entre logo y texto */
}
.logo-box {
  width: 220px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white; /* opcional */
  border: none;
  border-radius: 0;
  flex-shrink: 0;
}

.logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .member {
    flex-direction: column;
    text-align: center;
  }

  .member img {
    margin-bottom: 20px;
  }

  .member-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .member-summary,
  .member-details {
    flex-basis: 100%;
    text-align: left;
  }

  .member-summary h2 {
    font-size: 1.3em;
  }
  .member-summary {
    text-align: center;
  }
}