/* ----- TEASER ----- */

.cmp-teaser .cmp-teaser__content .cmp-teaser__action-container a, .cmp-teaser__recipes .cmp-teaser .cmp-teaser__content .cmp-teaser__action-container a {
    background-color: var(--ShA-primary__red);
    max-width: max-content;
    padding: 10px 20px;
    max-height: max-content;
    width: 100%;
    height: fit-content;
    min-height: 25px;
    border-radius: 70px;
    border: none;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    display: block;
    color: var(--ShA-primary__white);
    font-weight: 700;
    text-align: center;
}
.cmp-teaser .cmp-teaser__image, .cmp-teaser__recipes .cmp-teaser .cmp-teaser__image {
    margin-bottom: 20px;
}



.cmp-teaser__recipes .cmp-teaser {
    height: 100%;
    position: relative;
    margin-bottom: 3.5em;
}
.cmp-teaser__recipes .cmp-teaser .cmp-teaser__content {
    height: auto;
}
.cmp-teaser__recipes .cmp-teaser .cmp-teaser__content .cmp-teaser__action-container {
    position: absolute;
    bottom: 0;
    min-width: 100%;
}

/* ----- left and right layout options ----- */

.cmp-teaser__image-left .cmp-teaser, .cmp-teaser__image-right .cmp-teaser {
    display: flex;
}

.cmp-teaser__image-left .cmp-teaser .cmp-teaser__content > div,
.cmp-teaser__image-left .cmp-teaser .cmp-teaser__content > h5,
.cmp-teaser__image-right .cmp-teaser .cmp-teaser__content > div,
.cmp-teaser__image-right .cmp-teaser .cmp-teaser__content > h5 {
    margin: 1.5rem 0;
}

.cmp-teaser__image-left .cmp-teaser .cmp-teaser__content .cmp-teaser__action-container a, .cmp-teaser__image-right .cmp-teaser .cmp-teaser__content .cmp-teaser__action-container a {
    background-color: var(--ShA-primary__button-grey);
    max-width: max-content;
    padding: 10px 25px;
    max-height: max-content;
    width: max-content;
    height: fit-content;
    min-height: 25px;
    border-radius: 70px;
    border: none;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    display: block;
    color: var(--ShA-primary__white);
    font-weight: 700;
    text-align: center;
}

@media (min-width: 320px) {

    .cmp-teaser__image-left .cmp-teaser, .cmp-teaser__image-right .cmp-teaser {
        display: flex;
        flex-direction: column;
        margin-bottom: 24px;
    }

    .cmp-teaser__image-left .cmp-teaser .cmp-teaser__image, .cmp-teaser__image-right .cmp-teaser .cmp-teaser__image {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
        order: 0;
    }

    .cmp-teaser__image-left .cmp-teaser .cmp-teaser__content,.cmp-teaser__image-right .cmp-teaser .cmp-teaser__content {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        order: 1;
    }
    .cmp-teaser__image-left .cmp-teaser .cmp-teaser__content .cmp-teaser__action-container,
    .cmp-teaser__image-right .cmp-teaser .cmp-teaser__content .cmp-teaser__action-container {
        width: 100%;
        display: flex;
        justify-content: center;
    }

}

@media (min-width: 768px) {
    .cmp-teaser__image-left .cmp-teaser, .cmp-teaser__image-right .cmp-teaser {
        flex-direction: row;
    }

    .cmp-teaser__image-left .cmp-teaser .cmp-teaser__image {
        width: 50%;
        margin-right: 24px;
        order: 0;
    }

    .cmp-teaser__image-left .cmp-teaser .cmp-teaser__content {
        width: 50%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        order: 1;
    }

    .cmp-teaser__image-right .cmp-teaser .cmp-teaser__image {
        width: 50%;
        margin-left: 24px;
        order: 1;
    }

    .cmp-teaser__image-right .cmp-teaser .cmp-teaser__content {
        width: 50%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        order: 0;
    }

    .cmp-teaser__image-left .cmp-teaser .cmp-teaser__content .cmp-teaser__action-container,
    .cmp-teaser__image-right .cmp-teaser .cmp-teaser__content .cmp-teaser__action-container {
        width: 100%;
        display: flex;
        justify-content: start;
    }
}




