:root {
  --deepblue: #1a2744;
  --cimred: #ff3019;
  --cimred-dark: #ff3019;
  --skyblue: #1a2744;
  --white: #ffffff;
  --border: rgba(26, 39, 68, 0.12);
  --muted: #6b7a9a;
  --cim-font: "Manrope", sans-serif;
}

.cteam-directory {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 56px) clamp(16px, 4vw, 32px);
  font-family: var(--cim-font);
}

/* committee block */
.cteam-committee {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
}

.cteam-committee-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: var(--white);
  border: none;
  cursor: pointer;
  text-align: left;
}

.cteam-committee-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.cteam-committee-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--skyblue);
  color: #fff;
  font-size: 15px;
  flex-shrink: 0;
}

.cteam-committee-name {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--deepblue);
  line-height: 1.35;
}

.cteam-committee-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.cteam-committee-count {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.cteam-chevron {
  color: var(--cimred);
  font-size: 13px;
  transition: transform 0.25s ease;
}

.cteam-committee.cteam-open .cteam-chevron {
  transform: rotate(180deg);
}

/* body / grid */
.cteam-committee-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  border-top: 1px solid transparent;
}

.cteam-committee.cteam-open .cteam-committee-body {
  border-top: 1px solid var(--border);
}

.cteam-member-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
}

.cteam-member-card {
  background: var(--white);
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.cteam-member-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ff3019;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.cteam-member-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.cteam-member-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--deepblue);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cteam-member-role {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.cteam-member-call {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 20px;
  background: var(--skyblue);
  color: #fff;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.cteam-member-call i {
  font-size: 11px;
}

.cteam-member-call:hover {
  background: var(--cimred);
  color: #ffffff;
}

.cteam-empty {
  text-align: center;
  color: var(--muted);
  padding: 40px 0;
}

/* responsive */
@media (max-width: 640px) {
  .cteam-member-grid {
    grid-template-columns: 1fr;
  }

  .cteam-committee-header {
    padding: 15px 16px;
  }

  .cteam-committee-name {
    font-size: 14px;
  }

  .cteam-committee-count {
    display: none;
  }
}
