.c-big-teaser {
    position: relative;
}

.c-big-teaser__content-wrapper {
    text-decoration: none;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 35rem;
    width: 100%;

    &::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        z-index: 2;
        height: 60%;
        width: 100%;
        opacity: .7;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .5) 50%, rgba(0, 0, 0, .7) 100%);
    }

    .c-button--color-primary {
        border-color: theme('colors.primary.500');
        background-color: theme('colors.primary.500');
    }

    .c-button--color-secondary {
        border-color: theme('colors.secondary.500');
        background-color: theme('colors.secondary.500');
    }

    .c-button--color-cta {
        border-color: theme('colors.cta.500');
        background-color: theme('colors.cta.500');
    }

    .c-button--color-transparent {
        border: 2px solid theme('colors.primary.500');
        background-color: transparent;
    }

    &:hover,
    &:active,
    &:focus {
        .c-button--color-primary {
            border-color: theme('colors.primary.600');
            background-color: theme('colors.primary.600');
        }

        .c-button--color-secondary {
            border-color: theme('colors.secondary.600');
            background-color: theme('colors.secondary.600');
        }

        .c-button--color-cta {
            border-color: theme('colors.cta.600');
            background-color: theme('colors.cta.600');
        }

        .c-button--color-transparent {
            border-color: theme('colors.primary.500');
            background-color: theme('colors.primary.500');
        }
    }
}

.c-big-teaser__content-wrapper--primary-gradient {
    &::after {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, var(--color-primary-500) 100%);
    }
}

.c-big-teaser__content-wrapper--secondary-gradient {
    &::after {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, var(--color-secondary-500) 100%);
    }
}

.c-big-teaser__content-wrapper--accent-gradient {
    &::after {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, var(--color-accent-500) 100%);
    }
}

.c-big-teaser__content-wrapper--cta-gradient {
    &::after {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, var(--color-cta-500) 100%);
    }
}

.c-big-teaser__content-wrapper--ambient-gradient {
    &::after {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, var(--color-ambient-500) 100%);
    }
}

.c-big-teaser__content-wrapper--gradient-50 {
    &::after {
        opacity: .5;
    }
}

.c-big-teaser__content-wrapper--gradient-20 {
    &::after {
        opacity: .2;
    }
}

.c-big-teaser__content-wrapper--gradient-0 {
    &::after {
        opacity: 0;
    }
}

.c-big-teaser__image {
    position: absolute;
    z-index: 1;
    object-fit: cover;
    height: 100%;
    width: 100%;
    transition: transform .2s;
}

.c-big-teaser__caption {
    position: absolute;
    margin: 0 auto;
    color: theme('colors.white');
    bottom: 4em;
    left: 2em;
    right: 2em;
    z-index: 3;
    padding: 0 1rem 1rem;
    transition: top .2s;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;

    @screen md {
        left: 4em;
        right: auto;
    }
}

.c-big-teaser__caption--centered {
    text-align: center;
    left: auto;
    right: auto;
    width: 100%;
}

.c-big-teaser__caption--right {
    text-align: right;

    @screen md {
        left: 2em;
        right: 4em;
    }
}

.c-big-teaser__topline {
    font-family: 'BaseFontFamily', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 0;
}

.c-big-teaser__title {
    color: #fff;
    font-size: 2rem;
    line-height: 1.25;
    font-weight: 700;
    margin-top: .25rem;
    hyphens: auto;
    word-break: break-word;

    @screen md {
        font-size: 3rem;
    }
}

.c-big-teaser__subline {
    margin-top: .75rem;
}

.c-big-teaser__button {
    margin-top: 1.5rem;
}

.c-big-teaser__decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

