.user_profiles_wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 24px;
}

.profile-card {
    width: calc(33.33% - 17px);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-family: Arial, sans-serif;
    padding: 16px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    transition: ease-in-out 0.3s;
}

.profile-bio p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media only screen and (max-width: 1100px) {
    .profile-card {
        width: calc(50% - 12px);
    }
}

@media only screen and (max-width: 800px) {
    .profile-card {
        width: 100%;
    }
}

.profile-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.profile-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 12px;
}

.profile-info {
    flex: 1;
}

h4.profile-name {
    margin: 0;
    font-size: 18px!important;
}

.profile-username {
    color: #333;
    font-size: 12px!important;
}

.profile-username a {
    color: #ccc!important;
}

.btn-profile {
    min-width: 124px;
    background-color: #4a90e2;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    transition: ease-in-out 0.3s;
}

.btn-profile:hover {
    background-color: #f0c933;
    color: #333333;
    text-decoration: none;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.profile-stats > div {
    display: flex;
    flex-direction: column-reverse;
}

.stat-label img {
    max-width: 18px;
    object-fit: contain;
    margin-left: 6px;
}
.stat-number {
    font-weight: bold;
}

.stat-label {
    color: #666;
    font-size: 12px;
    display: flex;
    align-items: center;
}

.profile-socials {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 12px;
    color: #666;
}

.profile-hashtags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 12px;
    margin-top: auto;
    align-self: flex-end;
}

.hashtag {
    background: #f0f0f0;
    padding: 4px 8px;
    border-radius: 8px;
    cursor: pointer;
}

.view-more {
    color: #4a90e2;
    background: transparent;
}