.user-card__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.user-card__favorite {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    height: 20px;
}

.user-card__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100px;
    margin-top: 5px;
}

.user-card__name {
    width: 100%;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.user-card__name a {
    width: 100%;
    text-align: center;
    font-weight: var(--people-font-weight-bold) !important;
    font-size: var(--people-font-size-ml) !important;
}

.user-card__contacts {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    height: 20px;
    margin-top: 10px;
}

.user-card__contacts > div {
    display: flex;
    align-items: center;
}

.user-card__contacts mail-btn,
.user-card__contacts chat-btn,
.user-card__contacts phone-btn {
    display: flex;
    align-items: center;
}

.user-card__position {
    width: 100%;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.user-card__position a,
.user-card__position a:visited,
.user-card__position a:focus,
.user-card__position a:active {
    width: 100%;
    text-align: center;
    font-size: var(--people-font-size-s) !important;
    color: var(--people-sub-text-strong-color) !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-card__position a:hover {
    color: var(--people-color-orange) !important;
}

.user-card__department {
    width: 160px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 5px;
}

.user-card__department a,
.user-card__department a:visited,
.user-card__department a:focus,
.user-card__department a:active {
    width: 100%;
    text-align: center;
    font-size: var(--people-font-size-s) !important;
    color: var(--people-text-gray-slate) !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-card__department a:hover {
    color: var(--people-color-orange) !important;
}