.c-slider-teaser {
    display: block;
    height: 100%;
    min-height: 15.375rem; // 246px
}

.c-slider-teaser--linked {
    text-decoration: none;
    overflow: hidden;

    &:hover,
    &:focus {
        .c-slider-teaser__content {
            &::after {
                opacity: .6;
            }
        }

        .c-slider-teaser__image {
            transform: scale(1.05);
        }

        .c-slider-teaser__text {
            padding-bottom: 1.25rem;
        }
    }
}

.c-slider-teaser__content {
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;

    &::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        z-index: 2;
        height: 61.8%;
        width: 100%;
        background: linear-gradient(to top, rgba(0, 0, 0, .6), rgba(0, 0, 0, 0));
        transition: opacity $transition-time;
    }
}

.c-slider-teaser__image {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    object-fit: cover;
    height: 100%;
    width: 100%;
    transition: transform $transition-time;
}

.c-slider-teaser__text {
    z-index: 3;
    margin-top: auto;
    padding: 1rem;
    color: #fff;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    transition: padding $transition-time;
}

.c-slider-teaser__topline {
    font-size: 1.125rem;
    font-family: 'HeadingFontFamily', 'BaseFontFamily', serif;
    margin-top: 0;
    margin-bottom: .25rem;
}

.c-slider-teaser__title {
    font-size: 1.625rem;
    font-weight: bold;
    color: #fff;
    font-family: 'BaseFontFamily', sans-serif;
    line-height: 1.2;
}

h3.c-slider-teaser__title {
    text-transform: none;
}

.c-slider-teaser__subline {
    font-size: 1rem;
    margin-top: .5rem;
}
