/* Committee member grid (committee.php) */

.committee-member {
  margin-bottom: 30px;
  text-align: center;
}

/* Whole photo, never cropped: scales down to fit the column but keeps
   its aspect ratio (and is not upscaled past its natural size). */
.committee-photo {
  width: auto;
  max-width: 100%;
  max-height: 240px;
  margin: 0 auto 10px;
}

.committee-name {
  display: block;
  font-weight: 600;
}

.committee-position {
  display: block;
  font-size: 13px;
  color: #777;
}

/* Committee list in the right column — plain links, no list-group borders */
.committee-list .list-group-item {
  border: 0;
  padding-left: 0;
  padding-right: 0;
}

/* Selected committee: no blue block, just bold green text */
.committee-list .list-group-item.active,
.committee-list .list-group-item.active:hover,
.committee-list .list-group-item.active:focus {
  background-color: transparent;
  border: 0;
}

.committee-list .list-group-item.active > a,
.committee-list .list-group-item.active > a:hover,
.committee-list .list-group-item.active > a:focus {
  color: #046c37;
  font-weight: bold;
}

@media (max-width: 767px) {
  .committee-photo {
    max-height: 180px;
  }
}
