/* ── Board Section ─────────────────────────────── */
.board-section {
  padding: 80px 0;
  background-color: #fff;
}

/* ── Group Label ───────────────────────────────── */
.board-group {
  margin-bottom: 64px;
}
.board-group:last-child {
  margin-bottom: 0;
}
.board-group__label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-green);
  margin-bottom: 32px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(35, 145, 60, 0.2);
}

/* ── Grid ──────────────────────────────────────── */
.board-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* ── Card ──────────────────────────────────────── */
.board-card {
  background: var(--color-white);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.board-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.09);
}

/* ── Photo ─────────────────────────────────────── */
.board-card__photo-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: #e8e4ec;
  display: none;
}
.board-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.3s ease;
}
.board-card:hover .board-card__photo {
  transform: scale(1.03);
}

/* Initials fallback avatar */
.board-card__initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-green), #0f5b4d);
}

/* LinkedIn badge */
.board-card__linkedin {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  background: #0077b5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition:
    background-color 0.2s,
    transform 0.2s;
}
.board-card__linkedin:hover {
  background: #005f93;
  transform: scale(1.1);
}

/* ── Info ──────────────────────────────────────── */
.board-card__info {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.board-card__name {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
  margin: 0 0 2px;
}
.board-card__credentials {
  font-weight: 400;
  font-size: 13px;
  color: var(--color-green);
  margin-left: 4px;
}
.board-card__board-title {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-green);
  margin: 0;
}
.board-card__job-title {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
  margin: 4px 0 0;
  line-height: 1.4;
}
.board-card__company {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-text);
  opacity: 0.6;
  margin: 2px 0 0;
  line-height: 1.4;
}
.board-card__bio {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-text);
  opacity: 0.75;
  line-height: 1.65;
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

/* ── Responsive ────────────────────────────────── */
@media (max-width: 1200px) {
  .board-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .board-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
@media (max-width: 520px) {
  .board-section {
    padding: 50px 0;
  }
  .board-grid {
    grid-template-columns: 1fr;
  }
  .board-card__photo-wrap {
    aspect-ratio: 3 / 2;
  }
}
