.board-title {
    color: #ea6f3a;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
}

.board-section {
    padding: 30px 0;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.board-member {
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
  padding: 10px;
  border-radius: 10px;
}
.board-member.active {
  border: 2px solid #0073e6;
  background: #f0f8ff;
}

.board-image img {
  width: 100%;
  border-radius: 10px;
}
.board-base {
  height: 6px;
  width: 80%;
  background: #ea6f3a;
  margin: 5px auto 0;
  border-radius: 3px;
}
.board-name {
  font-size: 18px;
  margin: 10px 0 5px;
}
.board-position {
  font-size: 14px;
  color: #555;
}

.board-detail-row {
  grid-column: 1 / -1; /* full hàng */
  position: relative;
}
.board-detail {
  padding: 20px;
  border: 1px solid #ddd;
  background: #f9f9f9;
  border-radius: 8px;
  display: none;
}
.connector {
  position: absolute;
  top: -20px;
  width: 2px;
  height: 20px;
  background: #0073e6;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  transition: left 0.3s;
}

.board-member .board-image {
  overflow: hidden; /* giữ ảnh trong khung */
  border-radius: 10px;
}

.board-member .board-image img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.3s;
}

/* .board-member:hover .board-image img {
  transform: scale(1.05);
}

.board-member.active:hover .board-image img {
  transform: scale(1.08);
} */

/* Responsive: xuống mobile, mỗi box 1 hàng */
@media (max-width: 768px) {
  .board-grid {
    grid-template-columns: 1fr; /* 1 box / hàng */
  }

  .board-title {
    font-size: 20px;
    margin-bottom: 30px;
  }
}
