.members-wrap {
    background:
        linear-gradient(135deg, #f4fbfb 0%, #ffffff 52%, #f6f9fc 100%);
    border-radius: 28px;
    padding: 28px 18px;
    margin: 35px 0;
    border: 1px solid rgba(36, 64, 87, .06);
}

.members-head h4 {
    color: #183047;
    font-weight: 800;
    font-size: 28px;
}

.members-head p {
    color: #6b7c8c;
    font-size: 14px;
}

.members-filter select {
    height: 46px;
    border-radius: 14px;
    border: 1px solid rgba(36, 64, 87, .12);
    background: #fff;
    min-width: 180px;
}

.members-filter button {
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, #244057 0%, #2d536f 100%);
    color: #fff;
    font-weight: 700;
    padding: 0 22px;
    border: 0;
    box-shadow: 0 10px 22px rgba(36, 64, 87, .14);
}

.member-card {
    position: relative;
    overflow: hidden;
    height: 100%;
    background:
        linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);

    border-radius: 26px;

    border: 1px solid rgba(36, 64, 87, .08);

    box-shadow:
        0 10px 30px rgba(36, 64, 87, .08),
        0 2px 8px rgba(36, 64, 87, .04);

    transition: .28s ease;
}

.member-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 26px;
    padding: 1px;

    background:
        linear-gradient(135deg,
            rgba(42, 157, 143, .22),
            rgba(217, 144, 61, .18),
            rgba(36, 64, 87, .12));

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite: xor;
    mask-composite: exclude;

    pointer-events: none;
}

.member-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 22px 44px rgba(36, 64, 87, .14),
        0 6px 16px rgba(36, 64, 87, .08);
}

.member-card img {
    width: 100%;
    height: 235px;
    object-fit: cover;
    background: #eef4f7;
}

.member-content {
    padding: 18px;
}

.member-card h6 {
    color: #183047;
    font-weight: 800;
    line-height: 1.5;
    margin-bottom: 10px;
    min-height: 46px;
}

.badge-soft {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 50px;
    background: linear-gradient(135deg,
            rgba(42, 157, 143, .10),
            rgba(42, 157, 143, .18));
    color: #21867b;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 12px;
}

.member-bio {
    color: #607080;
    font-size: 13px;
    line-height: 1.8;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;
    text-overflow: ellipsis;

    min-height: 48px;

}

.member-btn {
    width: 100%;
    border: 0;
    border-radius: 14px;
    background: rgba(36, 64, 87, .08);
    color: #244057 !important;
    font-weight: 800;
    padding: 10px 16px;
    transition: .2s ease;
    font-size: 13px;
}

.member-btn:hover {
    background: #244057;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(36, 64, 87, .16);
}

.pagination {
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.page-link {
    border: 0;
    min-width: 38px;
    height: 38px;
    border-radius: 12px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #244057;
    background: #fff;
    box-shadow: 0 4px 12px rgba(36, 64, 87, .06);
}

.page-item.active .page-link {
    background: #244057;
    color: #fff;
}

@media (max-width: 768px) {

    .members-wrap {
        padding: 16px 10px;
        border-radius: 20px;
        margin: 20px 0;
    }

    .members-head {
        text-align: center;
        display: block !important;
    }

    .members-head h4 {
        font-size: 22px;
    }

    .members-head p {
        font-size: 13px;
        line-height: 1.7;
    }

    .members-filter {
        width: 100%;
        margin-top: 14px;
        display: block !important;
    }

    .members-filter select,
    .members-filter button {
        width: 100%;
        margin: 0 0 10px 0 !important;
    }

    .member-card {
        border-radius: 20px;
        text-align: center;
    }



    .member-card img {
        width: 100%;
        height: 235px;
        object-fit: cover;
        background: #eef4f7;

        border-bottom: 1px solid rgba(36, 64, 87, .06);
    }

    .member-content {
        padding: 14px;
    }

    .member-card h6 {
        font-size: 14px;
        min-height: auto;
    }

    .member-bio {
        font-size: 12px;
        min-height: auto;
    }

    .member-btn {
        font-size: 12px;
        padding: 9px 12px;
        border-radius: 12px;
    }

    .page-link {
        min-width: 34px;
        height: 34px;
        font-size: 12px;
    }
}

.member-image-wrap {
    position: relative;
    overflow: hidden;
    height: 260px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(145deg,
            #244057 0%,
            #416b84 52%,
            #d9903d 100%);
}

.member-image-wrap::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    left: -60px;
    top: -60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .10);
}

.member-image-wrap::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    right: -45px;
    bottom: -45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
}

.member-image-ring {
    position: relative;
    z-index: 2;

    width: 160px;
    height: 160px;

    border-radius: 50%;
    background: #fff;

    padding: 7px;

    box-shadow:
        0 18px 35px rgba(0, 0, 0, .18);
}

.member-image-ring::before {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, .75);

    animation: rotateMemberRing 40s linear infinite;
}

.member-image-ring img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

@keyframes rotateMemberRing {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width:768px) {

    .member-image-wrap {
        height: 220px;
    }

    .member-image-ring {
        width: 130px;
        height: 130px;
    }
}

.member-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(135deg,
            #eef4f7 0%,
            #ffffff 100%);

    color: #244057;

    font-size: 58px;
}

.member-placeholder i {
    opacity: .75;
}