/* ==========================================================================
   CSDCI - Governing Board Page Styles (Clean Raw CSS Grid)
   ========================================================================== */

/* Grid Container */
.csdci-board-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #ffffff;
}

/* Section Title */
.csdci-board-section-title {
  font-family: "Raleway", Georgia, sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #4e2300;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

/* Grid Layout */
.csdci-board-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  justify-content: center;
}

/* Individual Board Card */
.csdci-board-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 35px 20px 30px 20px;
  position: relative;
  text-align: center;
}

.csdci-board-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Card Top Colored Accent Line */
.csdci-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: #6dbfe8; /* Brand Light Blue */
  transition: background-color 0.3s ease;
}

.csdci-board-card:hover .csdci-card-accent {
  background-color: #4e2300; /* Change accent to Brown on hover */
}

/* Profile Image Wrapper */
.csdci-card-img-wrap {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #6dbfe8;
  margin-bottom: 22px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  transition: border-color 0.3s ease;
}

.csdci-board-card:hover .csdci-card-img-wrap {
  border-color: #4e2300;
}

/* Portrait Image */
.csdci-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.csdci-board-card:hover img {
  transform: scale(1.08);
}

/* Board Member Details */
.csdci-card-name {
  font-family: "Raleway", Georgia, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #4e2300;
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.csdci-card-role {
  font-family: "Raleway", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #6dbfe8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 12px 0;
}

.csdci-card-org {
  font-family: "Raleway", Arial, sans-serif;
  font-size: 13.5px;
  color: #555555;
  line-height: 1.45;
  margin: 0;
  font-weight: 500;
}

/* Responsive Media Queries */
@media (max-width: 1199px) {
  .csdci-board-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }
}

@media (max-width: 991px) {
  .csdci-board-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .csdci-board-section-title {
    font-size: 28px;
    margin-bottom: 40px;
  }
}

@media (max-width: 576px) {
  .csdci-board-container {
    padding: 40px 15px;
  }

  .csdci-board-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .csdci-board-section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }
}
