.teaser-wrapper {
    margin-inline: auto;
    max-width: unset !important;
    padding-inline: 0 !important;
}

.teaser {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.teaser.large {
    max-height: 828px;
}

.teaser-content-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: var(--content-fixed-width);
    margin: 0 auto;
    position: absolute;
    width: 100%;
}

.teaser.large .teaser-content-container {
    padding-inline: .8rem;
    width: auto;
}

.teaser-content {
    width: 90%;
    text-align: center;
    margin-top: 25%;
}

.teaser.large .teaser-content {
    width: auto;
}

.teaser-title {
    color: var(--white);
    font-size: 25px;
    line-height: 1;
    padding: 15px 0;
}

.teaser-text, .teaser-label {
    color: var(--white);
    font-size: .875rem;
}

.teaser-input-group {
    background: var(--white);
    border-radius: 2px;
    box-shadow: 0 2px 4px 0 rgba(0 0 0 / 30%);
    height: 48px;
    max-width: 312px;
    margin-block: 1.5rem;
    margin-inline: auto;
    display: flex;
    align-items: center;
    padding-inline: 10px;
}

.teaser-input {
    background: transparent;
    border: none;
    height: 48px;
    padding-inline: 10px;
    outline: none;
    width: 100%;
}

.teaser-input-button {
    height: 48px;
    width: 50px;
}

.teaser-input-button::after {
    font-family: "Material Icons", sans-serif;
    content: "\e8b6";
    font-size: var(--heading-font-size-xl);
    color: var(--header-chevron, var(--brand-color-primary-2));
}

.teaser-image {
    width: 100%;
}

.large .teaser-title {
    font-weight: 700;
}

.teaser-image .mobile {
    display: block;
}

.teaser-image.has-mobile .desktop {
    display: none;
}

.teaser-image .mobile img {
    width: 100%;
}

@media (width > 600px) {
    .teaser-content {
        margin-top: 0;
        width: 540px;
    }

    .teaser:not(.large) .teaser-content-container {
        justify-content: flex-end;
        margin-right: 20px;
    }

    .teaser-image img {
        height: 368px;
        object-fit: cover;
        object-position: top;
        width: 100%;
    }

    .teaser.large .teaser-image img {
        height: auto;
        max-height: 828px;
    }

    .teaser-image .mobile{
        display: none;
    }

    .teaser-image:has(.mobile) .desktop {
        display: block;
    }

    .teaser-title {
        font-size: 2rem;
    }

    .large .teaser-title {
        font-size: 2.65rem;
    }

    .teaser-text, .teaser-label {
        font-size: 1.25rem;
    }

    .teaser-input-group {
        margin-block: 3rem;
    }
}
