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

.c-post {
    box-shadow: $box-shadow-2;
    background-color: $white;

    &__timestamp {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: $container-padding-mobile $container-padding-mobile 0;

        p {
            margin: 0;
            font-weight: $font-weight-bold;
            font-size: 1.4rem;
            line-height: v-space(2);
            color: $grey-70;
            &:last-of-type {
                text-align: right;
            }
        }
    }

    &__action-toggle {
        justify-content: flex-end;
        height: v-space(3);
        min-height: unset;
        width: v-space(5);
        color: $grey-30;

        &:hover {
            color: $seafoam;
        }

        &__menu {
            right: -1.2rem;
        }

        &__icon {
            margin-left: v-space(1);
            width: 1.6rem;
        }
    }

    &__title {
        @extend %subtitle;
        margin: 0;
        padding: v-space(1) $container-padding-mobile;
        color: $grey-30;
    }

    &__author {
        @extend %label;
        margin: 0;
        padding: 0 $container-padding-mobile;
        & > span {
            vertical-align: 0.8rem;
        }
    }

    &__text {
        padding: 0 calc(#{$container-padding-mobile} - #{v-space(3)});
        border: 0;
    }
}
