// -------------------- //
// Portrait
// -------------------- //
@mixin card-portrait() {

    .c-card__teaser,
    .c-card__separator {
        display: none;
    }

    .c-card {}
    .c-card__link {}

    .c-card__header {}
    .c-card__footer {
        > :first-child {
            margin-top: 18px;
        }
    }

    .c-card__obj {}
    .c-card__obj__header {}

    .c-card__images {
        // Half height of line + actual margin
        margin-bottom: 16px + 12px;
    }
    .c-card__images:after {
        background-color: $pink-rose;
        bottom: -16px;
        display: block;
        content: '';
        height: 32px;
        left: 50%;
        position: absolute;
        width: 1px;
    }
    .c-card__image {}
    .c-card__image__icon {
        background-color: rgba($black, 0.5);
        border-radius: 50%;
        height: 48px;
        left: 50%;
        margin: -24px 0 0 -24px;
        top: 50%;
        width: 48px;

        svg {
            display: block;
            fill: $white;
            height: 16px;
            margin: 16px auto 0 auto;
            width: 16px;
        }
    }

    .c-card__obj__body {}

    .c-card__tag {
        @include font('SOLEIL', 12px, null, 16px);
        color: $pink-rose;
        letter-spacing: 0.18em;
        margin: 0;
        text-align: center;
        text-transform: uppercase;
    }
    .c-card__title {
        @include font('FREIGHT DISPLAY PRO', 24px, 'NORMAL', 28px);
        color: $stroller-grey;
        letter-spacing: 0.01em;
        margin: 6px 0 0 0;
        text-align: center;
        text-transform: capitalize;
    }

    .c-card__rating {
        text-align: center;
    }

    .c-card__byline {
        @include font('SOLEIL', 10px, null, 16px);
        color: $stroller-grey;
        letter-spacing: 0.12em;
        margin: 18px 0 0 0;
        text-align: center;
        text-transform: uppercase;
    }
    .c-card__byline--sponsorship {}
    .c-card__byline-prefix {}
    .c-card__byline-name {
        font-weight: bold;
    }

    .c-card__meta {
        font-size: 0;
        margin: 6px 0 0 0;
        text-align: center;
    }
    .c-card__meta-item {
        @include font('SOLEIL', 10px, null, 12px);
        color: $candle-grey;
        letter-spacing: 0.12em;
        position: relative;
        text-transform: uppercase;

        svg {
            display: none;
        }
    }
    .c-card__meta-item + .c-card__meta-item {
        margin-left: 8px;
        // 2px is the width of the before
        padding-left: 8px + 2px;
    }
    .c-card__meta-item + .c-card__meta-item:before {
        background-color: $candle-grey;
        border-radius: 50%;
        content: '';
        display: block;
        height: 2px;
        left: 0;
        position: absolute;
        top: 50%;
        width: 2px;
    }

}

// No difference between large and small
@mixin card-portrait-small() {}
@mixin card-portrait-large() {}

.c-card--portrait {
    @include card-portrait;
    @include card-portrait-small;
}

.c-card--portrait-small {
    @include card-portrait;
    @include card-portrait-small;
}

.c-card--portrait-large {
    @include card-portrait;
    @include card-portrait-large;
}