.board-section {
  padding: 10px 0 20px;
}

.board-title-main {
  font-size: 34px;
  font-weight: 700;
  color: #1677ad;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
}

.board-title-main:after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #1677ad 0%, #10ac5b 100%);
  border-radius: 3px;
  margin-top: 10px;
}

.board-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 10px 25px rgba(22, 119, 173, 0.10);
  border: 1px solid #edf3f7;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.board-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 35px rgba(16, 172, 91, 0.12), 0 15px 35px rgba(22, 119, 173, 0.12);
}

.board-card-image-wrap {
  height: 360px;
  overflow: hidden;
  background: linear-gradient(180deg, #f5fbff 0%, #f8fffb 100%);
}

.board-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.board-card:hover .board-card-image {
  transform: scale(1.05);
}

.board-card-body {
  padding: 22px 18px 20px;
  text-align: center;
}

.board-card-name {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
  color: #1b3552;
  margin-bottom: 12px;
  min-height: 43px;
}

.board-card-line {
  width: 55px;
  height: 3px;
  background: linear-gradient(90deg, #1677ad 0%, #10ac5b 100%);
  margin: 0 auto 14px;
  border-radius: 10px;
}

.board-card-position {
  font-size: 14px;
  line-height: 1.6;
  color: #5d6b78;
  min-height: 88px;
  margin-bottom: 18px;
}

.board-card-more {
  display: inline-block;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  border-radius: 30px;
  background: linear-gradient(90deg, #1677ad 0%, #10ac5b 100%);
  box-shadow: 0 8px 18px rgba(22, 119, 173, 0.18);
}

/* Modal */
.board-modal .modal-dialog {
  max-width: 920px;
}

.board-modal-content {
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
  position: relative;
}

.board-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 10;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  font-size: 28px;
  line-height: 1;
  color: #1677ad;
  opacity: 1;
  outline: none;
  box-shadow: 0 8px 20px rgba(0,0,0,0.10);
}

.board-modal-image-wrap {
  height: 100%;
  min-height: 460px;
  background: linear-gradient(180deg, #eaf7ff 0%, #eefcf4 100%);
}

.board-modal-image {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: contain;
  object-position: top;
}

.board-modal-info {
  height: 100%;
  padding: 55px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at top right, rgba(16,172,91,0.10), transparent 30%),
    radial-gradient(circle at bottom left, rgba(22,119,173,0.10), transparent 35%),
    #ffffff;
}

.board-modal-badge {
  display: inline-block;
  align-self: flex-start;
  background: linear-gradient(90deg, #1677ad 0%, #10ac5b 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.board-modal-name {
  font-size: 32px;
  line-height: 1.25;
  color: #18324f;
  font-weight: 800;
  margin-bottom: 18px;
}

.board-modal-line {
  width: 70px;
  height: 4px;
  border-radius: 10px;
  background: linear-gradient(90deg, #1677ad 0%, #10ac5b 100%);
  margin-bottom: 22px;
}

.board-modal-position {
  font-size: 17px;
  line-height: 1.8;
  color: #536271;
  margin-bottom: 15px;
}

@media (max-width: 991px) {
  .board-card-image-wrap {
    height: 290px;
  }

  .board-modal-name {
    font-size: 26px;
  }
}

@media (max-width: 767px) {
  .board-title-main {
    font-size: 28px;
  }

  .board-card-name {
    min-height: auto;
  }

  .board-card-position {
    min-height: auto;
  }

  .board-modal-image-wrap,
  .board-modal-image {
    min-height: 300px;
  }

  .board-modal-info {
    padding: 30px 22px;
  }

  .board-modal-name {
    font-size: 24px;
  }

  .board-modal-position {
    font-size: 15px;
    line-height: 1.7;
  }
}