/* A role card may show a photograph only for its matching office. */
.committee-heading {
  width: 100%;
  margin: 58px 0 0;
  padding: 0;
  text-align: center;
}

.committee-heading h2 {
  margin: 0 0 24px;
  color: var(--blue);
  font-size: clamp(28px, 4vw, 42px);
  line-height: .96;
}

.committee-heading p:last-child {
  margin: 0 auto;
  color: #43635b;
  font-size: 17px;
}

.committee-placeholder-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

.committee-placeholder {
  min-height: 190px;
  padding: 22px;
  background: #eef2f1;
  border: 1px dashed #8ca8a0;
  border-radius: 8px;
}

.committee-placeholder h3 {
  margin: 18px 0 7px;
  color: var(--blue);
  font-size: 20px;
  line-height: 1.05;
}

.committee-placeholder p {
  margin: 0;
  color: #58717d;
}

.office-card .role-photo {
  display: block;
  width: 96px;
  height: 96px;
  margin: 0;
  object-fit: cover;
  object-position: center;
  border: 1px solid #d9e5e2;
  border-radius: 8px;
}

.office-card .role-photo[src*="sergio-marini"] {
  object-position: center 0%;
}

.office-card .office-detail {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-height: 96px;
  margin-top: 16px;
}

.office-card .office-detail small {
  min-width: 0;
  margin: 0;
}

@media (max-width: 520px) {
  .office-card .role-photo {
    width: 82px;
    height: 82px;
  }

  .office-card .office-detail {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 12px;
    min-height: 82px;
  }

  .committee-placeholder-grid {
    grid-template-columns: 1fr;
  }
}
