.member-info {
  position: relative;
}

.member-link {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease-in-out;
}

.member-link:hover {
  text-decoration: none;
  color: #6c757d;
}

/*
 * Bio panel must stay in document flow. With flex (`member-info` + `mt-auto` on `.responsive`),
 * `position: absolute` on `.description` removed it from layout so `top: auto` landed the panel
 * far down the page (often overlapping the footer).
 */
.member-info .description {
  display: none;
  position: static;
  font-size: 0.875rem;
  width: 100%;
  padding: 0.75rem 0.35rem 0;
  margin-top: 0.5rem;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  box-shadow: none;
  opacity: 1;
}

.member-info.show-description .description {
  display: block;
}

.description:hover {
  background-color: #f1f3f5;
}

.descriptionside {
  font-size: 16px;
  background-color: #f0f0f0;
  box-shadow: 0 4px 8px black;
  border-radius: 14px;
}

.descriptionside:hover {
  background-color: white;
}

.team-img {
  object-fit: cover;
  transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
}

.img-div:hover .team-img {
  transform: scale(1.1);
  box-shadow: 0 8px 16px rgba(197, 15, 15, 0.2);
}
