/*
 * Button Teaser in vielen Varianten
 */
.button-teaser {
    position: relative;
    border: 1px solid #ced4da;

    &.align-center a {
        text-align: center;
    }

    &.align-right a {
        text-align: right;
    }

    .icon-play {
        padding-left: 45px;

        &::after {
            content: "";
            position: absolute;
            display: block;
            border-width: 12px 0 12px 20px;
            border-color: transparent transparent transparent var(--abc-red);
            border-style: solid;
            width: 20px;
            height: 24px;
            left: 16px;
            top: 50%;
            margin-top: -12px;
        }
    }

    & > a {
        display: block;
        overflow: hidden;
    }

    i.ion {
        position: absolute;
        top: 9px;
        left: 21px;
        font-size: 28px;
    }

    &.style-area {
        .area {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(255, 255, 255, .8);
            padding: 1.25rem 0.625rem 1.0625rem;
            backdrop-filter: blur(2px);

            @media (min-width: 768px) {
                padding: 1.875rem 1.25rem 1.5625rem;
            }
        }

        .headline {
            text-align: center;

            &::after {
                font-family: Consolas, monospace;
                content: '\203A';
                font-size: 1.125rem;
                margin-left: 10px;
            }
        }
    }

    &.style-center,
    &.style-bottom {
        h3 {
            position: absolute;
            top: 63%;
            left: 15px;
            right: 15px;
            text-align: center;
            font-size: 1.5rem;
            margin-bottom: 0;

            @media (min-width: 992px) {
                font-size: 1.75rem;
            }

            @media (min-width: 1330px) {
                font-size: 2rem;
            }
        }
    }

    &.style-center .btn {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translateY(-50%) translateX(-50%);
        white-space: nowrap;
        box-shadow: 0 0 10px 0 #ced4da;
    }

    &.style-bottom .btn {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateY(50%) translateX(-50%);
        white-space: nowrap;
        box-shadow: 0 0 10px 0 #ced4da;
    }

    img {
        transition: transform 100ms ease-in-out;
        width: 100%;
    }

    & > a:hover img {
        transform: scale(1.05);
    }
}

.button-teaser-description {
    margin-top: 1rem;
}
