.members-filter-tabs {
    margin-bottom: 12px;
}
.tab-item {
    display: inline-block;
    padding: 5px 12px;
    font-size: 13px;
    font-weight: bold;
    border: 1px solid #ddd;
    margin-right: 5px;
    cursor: pointer;
}
.tab-item.active {
    background: #2e7d32;
    color: #fff;
    border-color: #2e7d32;
}

.members-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.member-single-card {
    border: 1px solid var(--border-gray);
    background: #fff;
    padding: 8px;
    text-align: center;
}
.member-avatar img, .empty-avatar {
    width: 100%;
    height: 125px;
    object-fit: cover;
    background: #eaeaea;
}
.badge-role {
    display: block;
    font-size: 11px;
    color: #777;
    margin-top: 5px;
}
.member-meta .name {
    font-size: 13px;
    font-weight: bold;
    color: #222;
    margin-top: 2px;
}
.social-mini-icons {
    margin-top: 6px;
    font-size: 11px;
    color: #888;
}

.pressclub-pagination {
    margin-top: 20px;
    text-align: center;
}
.pressclub-pagination a, .pressclub-pagination span {
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid #ccc;
    color: #333;
    text-decoration: none;
    margin: 0 2px;
    font-size: 13px;
}
.pressclub-pagination .current {
    background: #2e7d32;
    color: #fff;
    border-color: #2e7d32;
}


/* কন্টেইনার ও ট্যাব */
.members-filter-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 22px;
}

.tab-item {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    font-size: 13.5px;
    font-weight: 700;
    border-radius: 50px;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.tab-item:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: translateY(-1px);
}

.tab-item.active {
    background: linear-gradient(135deg, #1e7e34, #155724);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(30, 126, 52, 0.3);
}

/* মেম্বার গ্রিড */
.members-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* মেম্বার সিঙ্গেল কার্ড */
.member-single-card {
    position: relative;
    background: #ffffff;
    border-radius: 14px;
    padding: 14px 12px 12px;
    text-align: center;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
}

/* টপ গ্রেডিয়েন্ট বর্ডার লাইন */
.member-single-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5px;
    background: linear-gradient(90deg, #8b0000, #ff4d4d, #f59e0b);
    opacity: 0.85;
    transition: height 0.3s ease;
}

/* কার্ড হোভার মোশন ও লিফটিং */
.member-single-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(139, 0, 0, 0.12), 0 4px 10px rgba(0, 0, 0, 0.04);
    border-color: rgba(139, 0, 0, 0.25);
}

.member-single-card:hover::before {
    height: 4.5px;
}

/* মেম্বার এভাটার/ছবি ফ্রেম */
.member-avatar {
    position: relative;
    width: 104px;
    height: 104px;
    margin: 4px auto 12px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, #8b0000, #f87171, #facc15);
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.18);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.member-single-card:hover .member-avatar {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(139, 0, 0, 0.28);
}

/* পারফেক্ট ইমেজ সাইজিং (কেটে যাবে না বা বাঁকা হবে না) */
.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 50%;
    background: #f8fafc;
    border: 2px solid #ffffff;
    display: block;
    transition: filter 0.3s ease;
}

.member-avatar .empty-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #f1f5f9;
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 26px;
}

/* পদবী ব্যাজ */
.badge-role {
    display: inline-block;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 600;
    color: #8b0000;
    background: rgba(139, 0, 0, 0.07);
    border-radius: 20px;
    margin-bottom: 6px;
    letter-spacing: 0.2px;
    border: 1px solid rgba(139, 0, 0, 0.12);
}

/* সদস্যের নাম */
.member-meta .name {
    font-size: 14.5px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px;
    line-height: 1.35;
    transition: color 0.2s ease;
}

.member-single-card:hover .name {
    color: #8b0000;
}

/* সোশ্যাল ও কন্টাক্ট মিনি বাটন */
.social-mini-icons {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px dashed #e2e8f0;
    width: 100%;
}

.social-mini-icons span,
.social-mini-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    font-size: 11px;
    color: #64748b;
    background: #f8fafc;
    border-radius: 50%;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    transition: all 0.25s ease;
    cursor: pointer;
}

.social-mini-icons a:hover,
.social-mini-icons span:hover {
    background: linear-gradient(135deg, #8b0000, #b91c1c);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(139, 0, 0, 0.25);
}

/* পেজিনেশন ডিজাইন */
.pressclub-pagination {
    margin-top: 30px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.pressclub-pagination a,
.pressclub-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.25s ease;
}

.pressclub-pagination a:hover {
    background: #8b0000;
    color: #ffffff;
    border-color: #8b0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(139, 0, 0, 0.25);
}

.pressclub-pagination .current {
    background: linear-gradient(135deg, #1e7e34, #155724);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 3px 8px rgba(30, 126, 52, 0.3);
}

/* ডার্ক মোড সাপোর্ট */
body.dark-mode .member-single-card {
    background: #18181b !important;
    border-color: #27272a !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

body.dark-mode .member-single-card:hover {
    border-color: #8b0000 !important;
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.3);
}

body.dark-mode .member-avatar img {
    border-color: #18181b;
}

body.dark-mode .member-meta .name {
    color: #f4f4f5 !important;
}

body.dark-mode .badge-role {
    background: rgba(139, 0, 0, 0.2);
    color: #fca5a5;
    border-color: rgba(139, 0, 0, 0.35);
}

body.dark-mode .social-mini-icons {
    border-color: #27272a;
}

body.dark-mode .social-mini-icons span,
body.dark-mode .social-mini-icons a {
    background: #27272a;
    border-color: #3f3f46;
    color: #cbd5e1;
}

body.dark-mode .tab-item {
    background: #27272a;
    color: #cbd5e1;
    border-color: #3f3f46;
}

/* সোশ্যাল ও কন্টাক্ট আইকন বার */
.social-mini-icons {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px dashed #e2e8f0;
    width: 100%;
}

/* প্রতিটি আইকনের মূল বাটন */
.social-mini-icons a,
.social-mini-icons span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

/* ১. ফেসবুক ব্র্যান্ড কালার */
.social-mini-icons a.pc-btn-fb {
    background: #1877f2;
    color: #ffffff !important;
}

/* ২. হোয়াটসঅ্যাপ ব্র্যান্ড কালার */
.social-mini-icons a.pc-btn-wa {
    background: #25d366;
    color: #ffffff !important;
}

/* ৩. জিমেইল/ইমেইল ব্র্যান্ড কালার */
.social-mini-icons a.pc-btn-mail {
    background: #ea4335;
    color: #ffffff !important;
}

/* ৪. ফোন কল ব্র্যান্ড কালার */
.social-mini-icons a.pc-btn-call {
    background: #0284c7;
    color: #ffffff !important;
}

/* হোভার অ্যানিমেশন */
.social-mini-icons a:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
}