/* ===== Leadership + Our Team — About page ===== */
.nd-team {
  --nd-purple: #902dbd;
  --nd-purple-dark: #6e1f93;
  --nd-purple-soft: #f1e7f7;
  --nd-ink: #14142b;
  --nd-text: #4a4a5a;
  --nd-linkedin: #0a66c2;
  background: #f7f5fb;
  padding: 64px 20px 72px;
  font-family: 'Open Sans', sans-serif;
}
.nd-team__inner { max-width: 1140px; margin: 0 auto; }

/* ---------- section headings (left aligned) ---------- */
.nd-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.nd-head--team { margin-top: 64px; }
.nd-team .nd-head__title {
  font-family: Roboto, sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--nd-ink);
  margin: 0 0 6px;
  line-height: 1.2;
}
.nd-team .nd-head__sub { color: #5a5a6a; font-size: 0.98rem; margin: 0; }

/* ---------- grids ---------- */
.nd-team .nd-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}
.nd-grid--team { gap: 20px; }

/* ---------- shared card look ---------- */
.nd-leader,
.nd-member {
  background: #ffffff;
  border-radius: 12px;
  border-top: 3px solid var(--nd-purple);
  box-shadow: 0 4px 18px rgba(40, 20, 70, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.nd-leader:hover,
.nd-member:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(40, 20, 70, 0.14);
}

/* ---------- shared text ---------- */
.nd-team .nd-name {
  font-family: Roboto, sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--nd-ink);
  margin: 0 0 3px;
  line-height: 1.3;
}
.nd-deg { font-weight: 400; color: #555566; }
.nd-team .nd-role {
  color: var(--nd-purple);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 12px;
}
.nd-team .nd-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--nd-linkedin);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}
.nd-team .nd-linkedin svg { width: 20px; height: 20px; flex: none; }
.nd-team .nd-linkedin:hover span,
.nd-team .nd-linkedin:focus-visible span { text-decoration: underline; }
.nd-team .nd-linkedin[href="#"],
.nd-team .nd-linkedin[href=""] { display: none; }

/* ---------- Leadership card: photo on top ---------- */
.nd-leader {
  display: flex;
  flex-direction: column;
  padding: 10px 10px 0;
}
.nd-leader__photo {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: #ece4f1;
}
.nd-leader__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.nd-leader__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px 12px 18px;
}
.nd-team .nd-points {
  list-style: none;
  margin: 0 0 14px !important;
  padding: 0 !important;
  flex: 1;
}
.nd-team .nd-points li {
  position: relative;
  padding-left: 16px;
  margin: 0 0 6px;
  color: var(--nd-text);
  font-size: 0.9rem;
  line-height: 1.5;
}
.nd-team .nd-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.58em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nd-purple);
}

/* ---------- Team member card: small portrait left ---------- */
.nd-member {
  display: flex;
  gap: 14px;
  padding: 10px;
}
.nd-member__photo {
  flex: 0 0 96px;
  height: 124px;
  border-radius: 8px;
  overflow: hidden;
  background: #ece4f1;
}
.nd-member__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.nd-member__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 4px 4px 2px 0;
}
.nd-team .nd-member .nd-name { font-size: 1rem; }
.nd-team .nd-member .nd-role { font-size: 0.7rem; margin-bottom: 8px; }
.nd-team .nd-bio {
  color: var(--nd-text);
  font-size: 0.84rem;
  line-height: 1.5;
  margin: 0 0 10px;
  flex: 1;
}

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .nd-team .nd-grid { grid-template-columns: repeat(2, 1fr); }
  .nd-team .nd-grid--leaders { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
@media (max-width: 767px) {
  .nd-team .nd-grid--leaders { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 575px) {
  .nd-team { padding: 48px 16px 56px; }
  .nd-team .nd-head__title { font-size: 1.7rem; }
  .nd-team .nd-grid { grid-template-columns: 1fr; }
  .nd-head--team { margin-top: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .nd-leader, .nd-leader:hover,
  .nd-member, .nd-member:hover { transition: none; transform: none; }
}