/* ============================================
   Staff Page Styles
   ============================================ */

.staff-section {
    padding: 80px 0;
    background: #f8fafc;
}

.staff-section .section-intro {
    max-width: 900px;
    margin: 0 auto 35px;
    text-align: center;
}

.staff-section .section-intro p {
    font-size: 20px;
    line-height: 1.8;
    color: #475569;
}

/* Filter Tabs */
.staff-filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 25px 0 45px;
}

.staff-filter-tab {
    padding: 10px 16px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    text-decoration: none;
    color: #64748b;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.staff-filter-tab:hover {
    transform: translateY(-1px);
    border-color: rgba(30, 47, 122, 0.25);
}

.staff-filter-tab.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Cards Grid */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 40px;
    margin: 40px 0;
}

/* Larger portrait circles on trustee page */
.staff-grid .message-portrait-circle {
    width: 300px !important;
    height: 300px !important;
}

.staff-grid .message-portrait-circle img {
    object-position: top;
}

/* Portrait circles on staff page */
.staff-section .message-portrait-circle {
    width: 260px;
    height: 260px;
}

.staff-section .message-portrait-wrapper {
    width: 100%;
}

.caption-qualification {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 15px;
    color: #666;
    font-style: italic;
    max-width: 240px;
}

.staff-empty {
    text-align: center;
    color: #64748b;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px;
    max-width: 850px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 1024px) {
    .staff-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px 30px;
    }
}

@media (max-width: 768px) {
    .staff-section {
        padding: 50px 0;
    }

    .staff-section .section-intro p {
        font-size: 18px;
    }

    .staff-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .staff-section .message-portrait-circle {
        width: 220px;
        height: 220px;
    }
}

@media (max-width: 480px) {
    .staff-section .message-portrait-circle {
        width: 200px;
        height: 200px;
    }
}