/* Grid wrapper */
.users-loop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin: 20px 0;
    padding: 0;
}

/* Card container */
.user-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.user-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.1);
}

/* Image section */
.user-card-image {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.user-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Body content */
.user-card-body {
    padding: 12px 16px;
    text-align: center;
}

/* Name */
.user-card-name {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
}

/* Social links below name */
.user-card-socials {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.user-card-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #555;
    font-size: 16px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.user-card-socials a:hover {
    background: #0073aa;
    color: #fff;
}

/* Bio */
.user-card-bio {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.4;
    margin-top: 8px;
    padding: 0 4px;
}

/* Read More link inside bio */
.user-card-bio .read-more {
    color: #0073aa;
    text-decoration: none;
    font-weight: 500;
}

.user-card-bio .read-more:hover {
    text-decoration: underline;
}

.users-pagination {
    text-align:center;
    margin-top:20px;
}
.users-pagination .page-numbers {
    margin:0 4px;
    padding:6px 10px;
    background:#f0f0f0;
    border-radius:4px;
    text-decoration:none;
}
.users-pagination .current {
    background:#0073aa;
    color:#fff;
}
