/* Staff Page Styles */
.page-header {
    background: var(--light-bg);
    padding: 4rem 5%;
    text-align: center;
    margin-top: 80px;
}

.page-header h1 {
    color: var(--text-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    color: #666;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

.staff-section {
    padding: 4rem 5%;
    background: #fff;
}

.staff-container {
    max-width: 1200px;
    margin: 0 auto;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 0 10px;
}

.staff-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.staff-card:hover {
    transform: translateY(-5px);
}

.staff-image {
    width: 100%;
    height: 280px; /* Fixed height for consistency */
    overflow: hidden;
}

.staff-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.staff-card:hover .staff-image img {
    transform: scale(1.1);
}

.staff-info {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.staff-info h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.2;
}

.staff-info p {
    margin: 0.1rem 0 0.3rem 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.3;
}

.staff-bio {
    margin: 0.5rem 0 1rem 0;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #555;
    flex-grow: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.staff-social {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.staff-social a {
    color: var(--text-color);
    font-size: 1.1rem;
    transition: color 0.2s ease;
    opacity: 0.8;
}

.staff-social a:hover {
    opacity: 1;
}

.staff-social a:hover {
    color: var(--primary-color);
}

/* Mobile Styles */
@media (max-width: 1024px) {
    .staff-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.25rem;
    }
    
    .staff-image {
        height: 240px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 2.5rem 4%;
        margin-top: 60px;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .staff-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1rem;
        padding: 0 5px;
    }
    
    .staff-section {
        padding: 1.5rem 4%;
    }
    
    .staff-image {
        height: 220px;
    }
    
    .staff-info {
        padding: 1rem;
    }
    
    .staff-info h3 {
        font-size: 1rem;
    }
    
    .staff-info p {
        font-size: 0.85rem;
    }
    
    .staff-bio {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
    }
}

@media (max-width: 480px) {
    .staff-grid {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }
    
    .staff-image {
        height: 260px;
    }
}
