.follow-form {
    margin: 0;
    display: inline-flex;
}

.follow-button {
    border: 1px solid #d9dde3;
    background: #fff;
    color: var(--blue);
    min-height: 38px;
    border-radius: 9px;
    padding: 6px 14px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 800;
    cursor: pointer;
}

.follow-form.is-compact .follow-button {
    min-height: 30px;
    padding: 4px 10px;
    font-size: 12px;
}

.follow-button.is-following {
    background: #e5f0ee;
    color: var(--green);
    border-color: #bfcfcc;
}

.follow-button-icon {
    width: 18px;
    height: 18px;
    display: block;
}

.following-mini-badge {
    display: inline-flex;
    vertical-align: middle;
    margin-left: 5px;
}

.following-mini-badge img {
    width: 16px;
    height: 16px;
}

.post-card-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 22px;
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.user-card:last-child {
    border-bottom: 0;
}

.user-card-main {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.user-card-main strong {
    display: block;
    color: var(--blue);
    font-size: 18px;
}

.user-card-main span {
    display: block;
    color: var(--muted);
    font-size: 13px;
}

.user-card.is-compact {
    border-bottom: 0;
    padding: 12px 0;
    background: transparent;
}

.user-card.is-compact .avatar {
    width: 42px;
    height: 42px;
}

.user-card.is-compact .user-card-main strong {
    font-size: 14px;
}

.user-card.is-compact .user-card-main span {
    font-size: 12px;
}

.follow-side-card .user-card + .user-card {
    border-top: 1px solid #f0e2d5;
}

.connections-list {
    margin-bottom: 42px;
}

.empty-connection-row {
    padding: 28px;
    color: var(--muted);
}

.people-you-might-know {
    background: #fff;
    border: 1px solid #d6d0ca;
    box-shadow: var(--shadow);
    padding: 34px;
    margin-top: 46px;
}

.people-you-might-know h2 {
    margin: 0 0 24px;
    font-size: 22px;
    color: var(--muted);
    font-weight: 600;
}

.suggestion-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.profile-info {
    justify-content: flex-start;
}

.profile-main-info {
    min-width: 220px;
}

.profile-stats {
    margin-left: auto;
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 34px;
    text-align: center;
}

.profile-stats a {
    display: grid;
    gap: 3px;
}

.profile-stats strong {
    color: var(--cyan);
    font-size: 20px;
}

.profile-stats span {
    color: var(--muted);
    font-size: 14px;
}

@media (max-width: 900px) {
    .suggestion-grid {
        grid-template-columns: 1fr;
    }

    .profile-info {
        flex-wrap: wrap;
    }

    .profile-stats {
        width: 100%;
        margin-left: 0;
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 700px) {
    .post-card-top {
        flex-direction: column;
    }

    .post-card-controls {
        width: 100%;
        justify-content: flex-end;
    }

    .profile-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .user-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .user-card .follow-form,
    .user-card .follow-button {
        width: 100%;
    }
}
