/* ========= STAFF PAGE GREEN BLEND ========= */

:root {
    /* Main Green Palette */
    --primary: #15803d;      /* Deep Forest */
    --secondary: #10b981;    /* Vibrant Emerald */
    --accent-light: #f0fdf4; /* Mint/Sage Background */
    
    /* Neutrals */
    --text-muted: #64748b;
    --border-color: #e2e8f0;
}

.staff-hero {
    text-align: center;
    padding: 60px 0 40px;
}

.staff-hero h1 {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #0f172a;
}

/* Deep Green Text for the highlight word */
.staff-hero .highlight {
    color: var(--primary);
}

.staff-hero p {
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
}

/* Filters */
.filter-container {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.filter-chips {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-chips .chip {
    padding: 10px 20px;
    border-radius: 25px;
    border: 1px solid var(--border-color);
    background: white;
    color: #475569;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Hover: Mint Background + Emerald Border */
.filter-chips .chip:hover {
    background: var(--accent-light);
    border-color: var(--secondary);
    color: var(--primary);
}

/* Active: Solid Forest Green + Green Shadow */
.filter-chips .chip.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(21, 128, 61, 0.3);
}

/* Empty State */
.staff-display {
    min-height: 300px;
}

.empty-state {
    text-align: center;
    padding: 100px 0;
    color: var(--text-muted);
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.3;
}

/* --- ANIMATED HIGHLIGHT --- */

.highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

/* Create the line using a pseudo-element */
.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px; 
    left: 0;
    height: 4px;
    background: var(--secondary); /* Emerald Green Line */
    border-radius: 2px;
    
    /* Initial state before animation */
    width: 0;
    
    /* Apply the animation */
    animation: loadLine 1.2s ease-out forwards;
    animation-delay: 0.3s;
}

/* Define the loading motion */
@keyframes loadLine {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        width: 100%;
        opacity: 1;
    }
}