.team-section,
.team-section * {
  box-sizing: border-box;
}

/* Shortcode-only board layout moved here for cacheability. */
.board-usa-grid .bio-card:last-child {
  grid-column: 1 / -1;
  width: calc(50% - 14px);
  justify-self: center;
}

@media (max-width: 1024px) {
  .board-usa-grid .bio-card:last-child {
    grid-column: auto;
    width: 100%;
  }
}

.team-section {
  width: 100%;
  padding: 45px 5% 55px;
  background: #fffdf9;
  font-family: inherit;
  color: #082b17;
}

.team-main-title {
  text-align: center;
  margin-bottom: 25px;
}

.team-main-title h2 {
  margin: 0;
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.1;
  color: #031A3B;
  font-weight: 700;
}

.team-main-title h2 span {
  color: #e94b12;
}

.team-title-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 18px;
}

.team-title-line span {
  width: 230px;
  height: 1px;
  background: #efc6b3;
}

.team-title-line svg,
.team-group-icon svg,
.member-icon svg,
.note-icon svg {
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.team-title-line svg {
  width: 30px;
  height: 30px;
  stroke: #e94b12;
}

.team-group-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 26px 0 18px;
}

.boxed-title {
  margin-top: 0;
}

.team-group-title h3 {
  margin: 0;
  font-size: clamp(25px, 2.5vw, 34px);
  color: #031A3B;
  font-weight: 700;
}

.team-group-title h3 span {
  color: #e94b12;
}

.team-group-icon {
  width: 68px;
  height: 68px;
  min-width: 68px;
  border-radius: 50%;
  background: #f2f8ee;
  border: 1px solid #d7e7cf;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-group-icon svg {
  width: 35px;
  height: 35px;
  stroke: #031A3B;
}

.team-grid {
  max-width: 1120px;
  margin: 0 auto 18px;
  display: grid;
  gap: 28px;
}

.team-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.team-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.india-board-grid {
  max-width: 980px;
}

.team-card {
  background: #ffffff;
  border: 1px solid #eee2dc;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transition: all 0.35s ease;
  height: 100%;
}

.team-card:hover {
  transform: translateY(-7px);
  border-color: #e94b12;
  box-shadow: 0 18px 38px rgba(8,43,23,0.12);
}

.center-card {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 28px 25px;
}

.center-card .member-icon {
  margin-bottom: 18px;
}

.center-card h4 {
  margin: 0;
  color: #e94b12;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.bio-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.member-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.member-icon {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .35s ease;
}

.member-icon.orange {
  background: #fff1e8;
}

.member-icon.green {
  background: #edf5ea;
}

.member-icon.large {
  width: 80px;
  height: 80px;
  min-width: 80px;
}

.member-icon svg {
  width: 32px;
  height: 32px;
  stroke: #e94b12;
  transition: .35s ease;
}

.member-icon.green svg {
  stroke: #031A3B;
}

.team-card:hover .member-icon {
  background: #e94b12;
  transform: scale(1.08) rotate(5deg);
}

.team-card:hover .member-icon svg {
  stroke: #ffffff;
}

.team-card h4 {
  margin: 0 0 7px;
  font-size: 18px;
  line-height: 1.35;
  color: #e94b12;
  font-weight: 700;
}

.team-card h4 small {
  color: #111827;
  font-weight: 500;
  font-size: 15px;
}

.team-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #111827;
}

.team-card .sub {
  font-size: 14px;
}

.compact {
  margin-bottom: 22px;
}

.mini-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px 30px;
}

.advisory-box {
  max-width: 1240px;
  margin: 40px auto 28px;
  padding: 28px 36px;
  background: linear-gradient(135deg, #fff2e8, #fffaf4);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.compliance-title {
  margin-top: 34px;
}

.compliance-grid {
  max-width: 820px;
  grid-template-columns: 1fr;
}

.compliance-card {
  justify-content: center;
}

.team-note {
  max-width: 1050px;
  margin: 35px auto 0;
  padding: 28px 36px;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 25px;
  align-items: center;
  background: #fff2e8;
  border: 1px solid #f1d5c7;
  border-radius: 10px;
}

.note-icon {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: #fff7ef;
  display: flex;
  align-items: center;
  justify-content: center;
}

.note-icon svg {
  width: 46px;
  height: 46px;
  stroke: #e94b12;
}

.team-note p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #111827;
}

@media (max-width: 1024px) {
  .team-grid-2,
  .team-grid-3 {
    grid-template-columns: 1fr;
  }

  .team-title-line span {
    width: 110px;
  }

  .center-card {
    min-height: 150px;
  }

  .advisory-box {
    padding: 25px 20px;
  }
}

@media (max-width: 767px) {
  .team-section {
    padding: 35px 18px;
  }

  .team-title-line span {
    width: 55px;
  }

  .team-group-title {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .team-group-icon {
    width: 58px;
    height: 58px;
    min-width: 58px;
  }

  .team-group-icon svg {
    width: 30px;
    height: 30px;
  }

  .team-card,
  .mini-card {
    padding: 22px;
  }

  .center-card {
    min-height: 145px;
    padding: 24px 20px;
  }

  .center-card h4 {
    font-size: 18px;
  }

  .member-row,
  .mini-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .member-icon {
    width: 58px;
    height: 58px;
    min-width: 58px;
  }

  .member-icon svg {
    width: 29px;
    height: 29px;
  }

  .team-note {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 25px 20px;
  }

  .note-icon {
    margin: 0 auto;
  }
}
