@import '~@equitysim/react-uikit/dist/styles/styleguide';

.c-certificate__user-profile {
    display: grid;
    column-gap: v-space(2);
    grid-template-columns: v-space(10) auto;

    @media screen and (max-width: $screen-medium) {
        grid-template-columns: 1fr;
    }

    &__avatar {
        height: v-space(10);
        width: v-space(10);
        @media screen and (max-width: $screen-medium) {
            margin: 0 auto v-space(2) auto;
        }
    }

    &__portfolio-name {
        @extend %heading-md;
        font-weight: $font-weight-bold;

        color: $grey-40;
        margin-bottom: v-space(1);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        @media screen and (max-width: 680px) {
            text-align: center;
        }
    }

    &__user-name {
        color: $grey-40;
        margin: 0;
        @media screen and (max-width: 680px) {
            text-align: center;
        }
    }
}
