/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
}

/* Staff Container */
.staff-container {
    text-align: center;
    padding: 50px 20px;
    background-color: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    max-width: 1200px;
    margin: 40px auto;
}

.staff-title {
    font-size: 32px;
    font-weight: bold;
    color: #ff0000;
    margin-bottom: 20px;
}

/* Staff Grid */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    justify-items: center;
}

/* Staff Card */
.staff-card {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.staff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Staff Image */
.staff-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Staff Name */
.staff-name {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 10px 0;
}

/* Primary and Secondary Role */
.staff-role {
    font-size: 16px;
    padding: 5px;
    border-radius: 5px;
    margin: 5px auto;
    display: inline-block;
    width: 80%;
}

/* Primary Role Style */
.staff-role.primary {
    background-color: #ff0000;
    color: white;
    font-weight: bold;
}

/* Secondary Role Style */
.staff-role.secondary {
    background-color: #555;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .staff-container {
        padding: 30px 10px;
    }

    .staff-title {
        font-size: 28px;
    }

    .staff-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .staff-card {
        width: 90%;
    }

    .staff-title {
        font-size: 24px;
    }
}

.staff-bio {
    font-size: 14px;
    color: #555; /* Subtle dark gray for readability */
    margin-top: 8px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.05); /* Light transparent background */
    border-left: 4px solid #007BFF; /* Accent left border */
    border-radius: 5px;
    line-height: 1.5;
    word-wrap: break-word;
}
