/**
 * NEMEA Staff Manager - Frontend Styles
 */

.nemea-staff-container {
    margin: 0px 0;
}

/* Main Title */
.staff-main-title {
    font-size: 2em;
    color: rgb(167, 28, 32);
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}

/* Tab Filters */
.staff-filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.staff-filter-btn {
    padding: 10px 20px;
    background: #f5f5f5;
    border: 2px solid transparent;
    border-radius: 0;
    color: #333;
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.staff-filter-btn:hover {
    background: #e8e8e8;
    transform: translateY(-2px);
}

.staff-filter-btn.active {
    background: rgb(0, 66, 120);
    color: #fff;
    border-color: rgb(0, 66, 120);
}

/* Area Title and Description */
.staff-area-title {
    font-size: 1.4em;
    margin-bottom: 20px;
    padding-bottom: 0;
    color: rgb(0, 66, 120);
    text-align: center;
    font-weight: 700;
}

.staff-area-description {
    margin-bottom: 30px;
    color: #666;
    text-align: center;
    grid-column: 1 / -1;
}

/* Grid */
.staff-members-grid-all {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* Hide filtered items */
.staff-filter-item {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

.staff-filter-item.hidden {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staff Member Card */
.staff-member-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.et_pb_team_member_image {
    width: 100%;
    overflow: hidden;
    margin-bottom: 0;
}

.et_pb_team_member_image img {
    width: 100%;
    height: auto;
    display: block;
}

.staff-member-info {
    padding: 12px;
}

.staff-member-name {
    font-size: 0.95em;
    margin: 0 0 8px 0;
    color: rgb(167, 28, 32);
    font-weight: 600;
    text-align: center;
}

.staff-member-bio {
    margin-bottom: 8px;
    color: #666;
    font-size: 0.8em;
    line-height: 1.3;
    text-align: center;
}

/* Social Links */
.staff-member-social {
    display: flex;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
    justify-content: center;
}

.staff-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.staff-social-link:hover {
    transform: scale(1.1);
}

.staff-social-link.linkedin:hover {
    background: #0077b5;
    color: #fff;
}

.staff-social-link.email:hover {
    background: #ea4335;
    color: #fff;
}

.staff-social-link.phone:hover {
    background: #34a853;
    color: #fff;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .staff-members-grid-all {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1100px) {
    .staff-members-grid-all {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .staff-members-grid-all {
        grid-template-columns: repeat(2, 1fr);
    }

    .staff-filter-tabs {
        gap: 5px;
    }

    .staff-filter-btn {
        padding: 8px 16px;
        font-size: 0.85em;
    }
}

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