.committee-page {
  background: #f6fafc;
  color: #153d57;
}

.committee-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 170px 0 84px;
  color: #fff;
  background: linear-gradient(115deg, #064b92, #087fba 58%, #009b9d);
  border-bottom: 4px solid #76bddb;
}

.committee-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("body-contours.svg?v=2") center / 640px 480px repeat;
  opacity: 0.16;
  pointer-events: none;
}

.committee-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 48px;
}

.committee-kicker {
  display: inline-block;
  margin: 0 0 18px;
  padding: 5px 14px;
  border: 1px solid #ffffff40;
  border-radius: 999px;
  background: #ffffff14;
  font-family: system-ui, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.committee-hero h1 {
  margin: 0;
  font-size: clamp(2.3rem, 6vw, 4.6rem);
  line-height: 1.35;
  text-shadow: none;
}

.committee-logo {
  width: 160px;
  height: 160px;
  object-fit: contain;
  padding: 22px;
  border: 6px solid #ffffff30;
  border-radius: 24px;
  background: #fff;
  background-clip: padding-box;
  box-shadow: 0 18px 40px #003b6026;
}

.committee-main {
  padding: 48px 0 88px;
  background-image: linear-gradient(#ffffffF7, #ffffffF7), url("body-contours.svg?v=2");
  background-size: auto, 640px 480px;
}

.committee-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 36px;
}

.committee-heading h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.committee-count {
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  padding-inline: 10px;
  border: 1px solid #cce8ef;
  border-radius: 12px;
  color: #007b91;
  background: #e9f8f8;
  font-family: system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}

.committee-page .member-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 310px));
  justify-content: center;
  gap: 28px;
  align-items: stretch;
}

.committee-page .member-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dfedf3;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 28px #064b920a;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.committee-page .member-card:hover {
  transform: translateY(-4px);
  border-color: #96d2e5;
  box-shadow: 0 18px 40px #064b9218;
}

.member-photo-wrap {
  aspect-ratio: 1 / 1.06;
  overflow: hidden;
  background: linear-gradient(135deg, #eaf7fc, #e7f9f6);
}

.committee-page .member-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.member-photo-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #007f9a;
  font-size: 5rem;
  background: linear-gradient(135deg, #eaf7fc, #d9f4ef);
}

.member-body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0 22px 26px;
  text-align: center;
}

.member-role {
  max-width: 100%;
  margin-top: -19px;
  padding: 5px 18px;
  border: 4px solid #fff;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(110deg, #0066cc, #008d9e);
  font-size: 0.85rem;
  line-height: 1.8;
}

.committee-page .member-name {
  margin: 4px 0;
  color: #153d57;
  font-size: 1.4rem;
  line-height: 1.6;
}

.member-contact {
  max-width: 100%;
  color: #5d788a;
  font-family: system-ui, sans-serif;
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.member-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 4px;
  padding: 6px 22px;
  border: 1px solid #cce8ef;
  border-radius: 12px;
  color: #0066cc;
  background: #edf8fc;
  font-family: system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
}

.member-contact:hover,
.member-phone:hover {
  color: #007f9a;
}

.committee-empty {
  grid-column: 1 / -1;
  padding: 48px 24px;
  border: 1px dashed #c8e4ef;
  border-radius: 20px;
  color: #5d788a;
  background: #fff;
  text-align: center;
}

@media (max-width: 900px) {
  .committee-page .member-grid {
    grid-template-columns: repeat(2, minmax(0, 310px));
    gap: 22px;
  }
}

@media (max-width: 680px) {
  .committee-hero {
    padding: 132px 0 58px;
  }

  .committee-hero-inner {
    grid-template-columns: 1fr;
    gap: 26px;
    text-align: center;
  }

  .committee-logo {
    grid-row: 1;
    justify-self: center;
    width: 110px;
    height: 110px;
    padding: 14px;
  }

  .committee-main {
    padding: 36px 0 64px;
  }

  .committee-page .member-grid {
    grid-template-columns: minmax(0, 350px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .committee-page .member-card {
    transition: none;
    transform: none;
  }
}
