.lab-header {
  text-align: center;
  margin-bottom: 30px;
}

.lab-logo {
  height: 80px;
  margin-bottom: 15px;
  max-width: 100%;
  object-fit: contain;
}

.section-title {
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  margin: 30px 0 20px;
  text-transform: capitalize;
}

.info-box {
  background-color: #fce5cd;
  padding: 20px;
  border-radius: 10px;
  font-size: 0.9rem;
  color: #884400;
  margin-bottom: 30px;
  white-space: pre-line;
  display: none;
}

.lab-description-text {
  background: white;
  padding: 30px 40px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #F37021;
  line-height: 1.8;
  color: #555;
  font-size: 20px;
  /* max-width: 900px; */
  margin: 0 auto 40px auto;
  text-align: left;

  /* แก้จุดนี้ */
  display: block;
  /* เปลี่ยนจาก none เป็น block หรือลบออกไปเลย */
}


.members-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

.member-card {
  background-color: #fff;
  padding: 15px;
  width: 200px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid #eee;
}

.member-img {
  width: 170px;
  height: 170px;
  background-color: #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
}

.card-info {
  text-align: center;
  width: 100%;
}

.card-info .name {
  font-weight: 500;
  font-size: 1rem;
  margin: 5px 0;
  color: #000;
}

.card-info .role {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
}


@media (max-width: 768px) {
  .lab-logo {
    height: 60px;
  }

  .member-card {
    width: 160px;
    padding: 10px;
  }

  .member-img {
    width: 140px;
    height: 140px;
  }
}