/* Board of Directors - About page, Figma node 989:2507
   .person-card is shared with the Leadership Management section below it. */

.board {
  padding: 64px 0;
}

.board__title {
  text-align: center;
  font-size: 40px;
  font-weight: 600;
  color: var(--grey-dark-charcoal);
  margin-bottom: 32px;
}

.board__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.person-card {
  flex: 1 1 calc(33.333% - 16px);
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px;
  background: var(--blue-tint-04);
  border: 1px solid var(--primary-blue);
  border-radius: 24px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.person-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.person-card__name {
  font-size: 20px;
  font-weight: 600;
  color: var(--grey-dark-charcoal);
}

.person-card__title {
  font-size: 16px;
  text-transform: uppercase;
  color: var(--primary-blue);
}

.person-card__linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.person-card__linkedin img {
  width: 24px;
  height: 24px;
}

@media (max-width: 1023px) {
  .board__grid {
    flex-wrap: wrap;
  }

  .person-card {
    flex: 1 1 calc(50% - 12px);
  }
}

@media (max-width: 639px) {
  .board {
    padding: 48px 0;
  }

  .board__title {
    font-size: 30px;
  }

  .person-card {
    flex: 1 1 100%;
  }
}
