.staffProfileWrapper{
    display: flex;
    row-gap: 20px;
    column-gap:20px;
    flex-wrap: wrap;
    height: fit-content;
    width: calc(100% - 320px);
}

.staffProfileWrapper .staff{
    width: 30%;
    min-width: 220px;
    background-color: #FAFAFA;
    /* height: 30vw; */
    min-height: 350px;
    display: flex;
    flex-direction: column;
    /* gap: 1rem; */
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.staffProfileWrapper .staff img{
    height: auto;
    margin-bottom: 0;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 5/6;
    max-height: 300px;
}
.staffProfileWrapper .staffDescription{
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.25rem; /* Increased padding */
    background-color: #FAFAFA;
    text-align: left;
}
.staffProfileWrapper .staffDescription h1{
    font-size: clamp(18px, 1.3vw, 22px); /* Increased min font size */
    font-weight: 600;
    color: #333;
    line-height: 1.25;
    
    /* Limit to 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.25rem;
}
.staffProfileWrapper .staffDescription p{
    font-size: 14px;
    font-weight: 400; /* Slightly heavier for readability */
    color: var(--color-primary);
    margin-top: auto;
    border-top: 1px solid #eee;
    padding-top: 10px;
    width: 100%;
}

.facultyWrapper{
    display: flex;
    gap: clamp(20px, 4vw, 60px);
}


@media (max-width: 480px) {
   
    .staffProfileWrapper .staff{
        width: 100%;
    }
 
   .staffProfileWrapper{
    flex-direction: column;
    align-items: center;
    width: 100%;
   }
}
