/* Outer wrapper */
.staffSection {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1rem;
    background-color:#b4b5ba48;
    height: 40rem;
}

/* Page heading */
.staffHeading {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

/* Flex layout for card row */
.staffContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;

}



.Position {
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-weight: bold;
  text-align: center;
  min-height: 3.6em; /* Adjust based on max expected lines */
  line-height: 1.2em;
font-family: "Roboto", serif;
}


.staffChild {
  width: clamp(280px, 30vw, 360px);
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  

  box-sizing: border-box;
    display: grid;
  grid-template-rows: minmax(3.6em, auto) repeat(4, 1fr);
}

.staffChild:hover{
   transform: scale(1.1); 
           transition:  all 1 s ease-in-out 0s, visibility 0s ;
}

.staffChild p {
  margin: 0;
  padding: 0.3rem 0;
  line-height: 1;
  text-align: left;
  word-break: break-word;
}

.staffChild p:first-of-type {
  font-size: 1.1rem; /* or whatever size you want */

}



/* Responsive: full width cards on mobile */
@media (max-width: 768px) {
  .staffChild {
    width: 100%;
  }
}
