.c-teaser-card__heading {
    font-size: 1rem; 
    text-align: center; 
    color: theme('colors.primary.600'); 
    text-transform: uppercase; 
    font-family: theme('fonts.sans');
    margin-top: 2.3125rem;

    @screen md {
        margin-top: 3.375rem;
    }
}

.c-teaser-card,
.c-teaser-card__image {
    display: block;
    width: 100vw;
}

.c-teaser-card {
    width: 360px;
    max-width: 100%;

    @screen sm {
        width: auto;
    }
}

.c-teaser-card__title {
    font-size: 1.2rem;
    padding: 0 0.5rem 0;
    font-family: theme('fonts.sans');
    font-weight: 400;
    line-height: 1.2;
    hyphens: auto;
    color: theme('colors.gray.600');

    .fonts-loaded-2 & {
        font-family: theme('fonts.cursive');
    }
}

.c-teaser-card__text {
    font-size: 1rem;
    padding: 0 .5rem 0;

    &:empty {
        display: none;
    }
}

.c-teaser-card__media,
.c-teaser-card__tag {
    position: relative;
}

.c-tag {
    position: absolute;
    font-family: theme('fontFamily.oswald');
    font-size: 0.875rem;
    text-transform: uppercase;
    top: 0.5rem;
    left: 0.5rem;
    background-color: rgba(27, 66, 93, 0.6);
    color: white;
    padding: 0.25rem;
    margin: 0.125rem;
    max-width: fit-content;
    width: 92%;
}

.c-teaser-card__footer {
    padding: 0 .5rem 0;
}
