/* Secció introductòria */
#colaboradors-intro {
  background-color: #f8f9fa;
}


.colaborador {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: default;
  padding: 1rem;
  border-radius: 0.5rem;
  background-color: #fff;
  border: 0.5px solid #dc3545;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;
}

.colaborador a {
  cursor: pointer;
}

.colaborador:hover {
  transform: translateY(-5px);
  box-shadow:
    0 8px 20px rgba(0,0,0,0.15),
    0 0 12px rgba(220, 53, 69, 0.25);
}

.colaborador .img-wrapper {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.colaborador img {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* 🔥 La clau per eliminar espai blanc */
  object-position: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.colaborador:hover img {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.colaborador h6 {
  color: #dc3545;
  font-weight: bold;
  text-align: center;
  margin-bottom: 0.25rem;
}

.rollup-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.rollup-img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

