/* Center the Lab Hero section */
.lab-hero {
    text-align: center; /* Centers the image and the caption text */
    margin: 30px 0;    /* Adds some breathing room above and below the hero section */
}

.lab-hero img {
    /* Keep your 60% width but ensure it behaves like a block for centering */
    display: block;
    margin: 0 auto 10px auto; /* Auto margins on left/right center the block */
    border-radius: 8px;
    width: 60%;
}

.lab-hero p {
    color: #666;
    font-style: italic;
    margin: 0;
}

/* Lab Page Specifics */
.member-grid {
    display: grid;
    /* Forces exactly 4 equal columns */
    grid-template-columns: repeat(4, 1fr); 
    gap: 25px;
    /* Centers the grid within the main content area */
    max-width: 1000px; 
    margin: 0 auto;
}

.member-card {
    text-align: center;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 8px;
    background: #fff;
    /* Ensures buttons/links stay at the bottom if cards have different text lengths */
    display: flex;
    flex-direction: column;
    align-items: center;
	h4 { margin: 12px 0 6px; }
	p  { margin: 0 0 10px; color: #555; }
}

.member-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 2px solid #f4f4f4;
}

/* Mobile Responsiveness: 
   On smaller screens, 4 columns will be too squished. 
   This drops it to 2 columns on tablets and 1 on phones. */
@media (max-width: 900px) {
    .member-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .member-grid {
        grid-template-columns: 1fr;
    }
}

.recruit-banner {
    margin: 15px 0 20px 0;
    padding: 14px 18px;
    background: #fafafa;
    border-left: 4px solid #9d2235;
    font-size: 0.95rem;
    border-radius: 6px;
}

.recruit-banner i {
    margin-right: 8px;
    color: #9d2235;
}

.recruit-banner a {
    font-weight: 600;
    text-decoration: none;
}

.recruit-banner a:hover {
    text-decoration: underline;
}

