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

.c-competition-headline {
    &__title,
    &__subtitle,
    &__duration {
        margin-top: 0;
        margin-bottom: v-space(3);
    }

    &__title {
        @extend %title;
        color: $seafoam-140;
        @media screen and (max-width: 680px) {
            font-size: 2.4rem;
        }
        @media print {
            font-size: 3.2rem;
        }
    }

    &__subtitle {
        @extend %subtitle;
        color: $seafoam-160;
        @media screen and (max-width: 680px) {
            font-size: 1.6rem;
        }

        @media print {
            font-size: 2.4rem;
        }
    }

    &__duration {
        color: $grey-50;
        font-size: 1.4rem;
        line-height: v-space(3);
        margin: 0;
        margin-top: v-space(1);

        span {
            color: $grey-75;
        }
    }

    &__owner {
        margin-top: v-space(2);
        margin-bottom: 0;
        & > span {
            line-height: v-space(2);
        }
    }

    &__avatar {
        vertical-align: middle;
        margin-right: 1.6rem;
    }

    &__owner-name {
        @extend %heading-xs;
        margin: 0;
    }

    &__institution {
        @extend %heading-xs;
        margin: 0;
        color: $grey-70;
    }
}
