/* ==========================================================================
   Committee Section & Categories - Modern Redesign
   ========================================================================== */
.committee-category {
    margin-bottom: 2.8rem;
}

.committee-category:last-child {
    margin-bottom: 0;
}

.category-header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.2rem;
    border-bottom: 1.5px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.category-heading {
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--brand-navy, #0f172a);
    border-left: 4px solid var(--brand-orange, #ea580c);
    padding-left: 0.75rem;
    margin: 0;
}

.category-count {
    font-size: 0.75rem;
    font-weight: 700;
    background: #f1f5f9;
    color: #64748b;
    padding: 2px 9px;
    border-radius: 12px;
}

/* ==========================================================================
   আর্কাইভ সিলেক্টর ফিল্টার
   ========================================================================== */
.archive-selector-wrapper {
    margin-top: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #ffffff;
    padding: 0.35rem 0.8rem;
    border-radius: 30px;
    border: 1px solid #cbd5e1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.archive-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #334155;
}

.select-box-wrap select {
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--brand-blue, #164282);
    cursor: pointer;
    outline: none;
    padding: 0.2rem 0.4rem;
}

/* ==========================================================================
   মূল নেতৃত্ব (President & General Secretary)
   ========================================================================== */
.leadership-top-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 820px;
    margin: 0 auto;
}

.lead-card-featured {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.25rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    position: relative;
    box-shadow: 0 4px 14px rgba(22, 66, 130, 0.06);
    background: linear-gradient(135deg, #ffffff 70%, #f8fafc 100%);
    border-left: 4px solid var(--brand-blue, #164282);
    transition: all 0.25s ease;
}

.lead-card-featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(22, 66, 130, 0.12);
}

.lead-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.lead-avatar {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background-color: #f1f5f9;
    border: 3px solid var(--brand-blue, #164282);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--brand-blue, #164282);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.lead-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lead-badge-dot {
    position: absolute;
    bottom: 0;
    right: 2px;
    background: #ea580c;
    color: #ffffff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.lead-details {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.lead-role-badge {
    font-size: 0.72rem;
    font-weight: 800;
    color: #ea580c;
    background: #fff7ed;
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid #ffedd5;
}

.lead-name {
    font-size: 1.08rem;
    font-weight: 800;
    color: #0f172a;
    margin: 2px 0 0;
    line-height: 1.3;
}

.lead-sub {
    font-size: 0.76rem;
    color: #64748b;
}

/* ==========================================================================
   অন্যান্য সদস্য গ্রিড
   ========================================================================== */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 1rem;
}

.member-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.1rem 0.6rem 0.9rem;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.25s ease;
}

.member-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

.member-avatar {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background-color: #f8fafc;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-blue, #164282);
    overflow: hidden;
    margin-bottom: 0.65rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px;
    line-height: 1.3;
}

.member-role-badge {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--brand-blue, #164282);
    background: #eff6ff;
    padding: 2px 7px;
    border-radius: 4px;
    line-height: 1.2;
}

/* ==========================================================================
   মোবাইল রেসপনসিভ
   ========================================================================== */
@media (max-width: 768px) {
    .leadership-top-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .lead-card-featured {
        padding: 1rem 1.1rem;
        gap: 0.9rem;
    }

    .lead-avatar {
        width: 65px;
        height: 65px;
    }

    .lead-name {
        font-size: 1rem;
    }

    .members-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .member-card {
        padding: 0.9rem 0.4rem;
    }

    .member-avatar {
        width: 68px;
        height: 68px;
    }

    .member-name {
        font-size: 0.84rem;
    }

    .member-role-badge {
        font-size: 0.68rem;
    }
}
