/* Staff page styles */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.staff-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.staff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.staff-photo {
    height: 250px;
    overflow: hidden;
    position: relative;
    background-color: #f0f0f0;
}

.staff-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-photo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    color: white;
    font-size: 4rem;
    font-weight: bold;
}

.staff-info {
    padding: 20px;
}

.staff-info h2 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--dark-color);
}

.staff-info h3 {
    margin: 5px 0 15px;
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 500;
}

.staff-info p {
    margin: 0 0 20px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #666;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.social-links a {
    display: inline-block;
    padding: 5px 10px;
    background-color: #f0f0f0;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #555;
    text-decoration: none;
    transition:
        background-color 0.3s,
        color 0.3s;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .staff-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

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