.c-grid-teaser {
    position: relative;
    display: block;
    height: 100%;
    min-height: 26rem;
    color: #fff;
    transition: all $transition-time linear;
    -webkit-font-smoothing: antialiased;
    overflow: hidden;

    &::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        z-index: 0;
        display: block;
        height: 100%;
        width: 100%;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, .7) 100%);
        transition: background $transition-time linear;
    }

    &.c-grid-teaser--no-image {
        &::after {
            display: none;
        }
    }
}

a.c-grid-teaser {
    &:hover,
    &:focus {
        color: #fff;
    }

    &.c-grid-teaser--no-image {
        &:hover {
            background: theme('colors.secondary.600');
        }
    }
}

.c-grid-teaser__image {
    position: absolute;
    object-fit: cover;
    height: 100%;
    width: 100%;
    transform: scale(1);
    transition: transform $transition-time--short ease-in;

    a.c-grid-teaser:hover & {
        transform: scale(1.05);
    }
}

.c-grid-teaser__silhouette {
    padding: 6rem 3rem;
    margin: 0 auto;
}

.c-grid-teaser__caption {
    position: absolute;
    bottom: 2rem;
    left: 1rem;
    z-index: 5;
    width: calc(100% - 3rem);
}

.c-grid-teaser__headline {
    color: #fff;
    font-size: 1.875rem;
    line-height: 1.25;
    font-family: 'BaseFontFamily', sans-serif;
    font-weight: bold;
    margin-top: theme('margin.1');
    hyphens: auto;
}

.c-grid-teaser__topline {
    font-size: 1rem;
    font-weight: bold;
}

.c-grid-teaser__topline-uppercase {
    text-transform: uppercase;
}

.c-grid-teaser__price {
    text-align: right;

    strong {
        font-size: theme('fontSize.xl');
    }
}
