.event-teaser-wrapper {
    display: flex;
    flex-wrap: wrap;
}

body:not(.home) .event-teaser-wrapper {
    gap: 1.5rem;
}

.event-teaser-wrapper h2,
.event-teaser-wrapper h3 {
    hyphens: auto;
    margin: 0;
}

body.home .event-teaser-wrapper h2 {
    font-size: 60px;
    margin-bottom: 32px;
    margin-top: 0;
}

.event-teaser-left-column {
    border-right: 1px solid #000;
    width: 51%;
}

.event-teaser-left-column .event-inner-content-wrapper {
    padding-right: 100px;
}

.event-teaser-wrapper .event-teaser-right-column {
    width: 48%;
}

.event-teaser-right-column .event-inner-content-wrapper {
    padding-left: 32px;
}

.event-date-location-wrapper,
.event-teaser-item-date-location {
    font-weight: 500;
    text-decoration: underline;
}

body:not(.home) .event-teaser-item {
    margin-bottom: 5rem;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
}


body:not(.home) .event-teaser-item .event-teaser-item-thumbnail {
    grid-column: span 4;
}

body:not(.home) .event-teaser-item .event-teaser-item-information-wrapper {
    grid-column: span 8;
    display: flex;
    flex-direction: column;
    padding-left: 2rem;
    justify-content: center;
}

.event-teaser-right-column .event-teaser-item:first-child {
    border-bottom: 1px solid #000;
    margin-bottom: 32px;
    padding-bottom: 32px;
}

.event-teaser-right-column .event-teaser-item:last-child {
    padding-bottom: 10px;
}


body:not(.home) .event-teaser-item-link,
.event-teaser-right-column .event-teaser-item-link {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    position: relative;
}

.single-events .event-detail-wrapper a,
.event-teaser-wrapper a {
    color: var(--tbi-theme-color-accent-blue);
    text-decoration: none;
}

.event-teaser-item-link a::after {
    background: var(--icon-arrow);
    background-repeat: no-repeat;
    background-position: center left;
    content: "";
    display: inline-block;
    height: 100%;
    position: absolute;
    width: 30px;
    transform: rotate(180deg);
}

.event-teaser-item-link a:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-inset: 0 -30px;
    text-underline-offset: 10px;
}

.event-teaser-item-thumbnail img {
    max-width: 100%;
}

.event-teaser-overview-link {
    background-color: var(--tbi-theme-color-accent-blue);
    border-radius: 50px;
    font-size: 22px;
    font-weight: 500;
    margin-top: 2rem;
    width: max-content;
    padding: 16px 32px;
}

.event-teaser-overview-link:after {
    background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="37" height="18" viewBox="0 0 37 18" fill="none"%3E%3Cpath d="M36.1001 9.82738C36.5404 9.38715 36.5404 8.6734 36.1001 8.23317L28.9262 1.05925C28.486 0.619024 27.7722 0.619024 27.332 1.05925C26.8918 1.49948 26.8918 2.21323 27.332 2.65346L33.7088 9.03027L27.332 15.4071C26.8918 15.8473 26.8918 16.5611 27.332 17.0013C27.7722 17.4415 28.486 17.4415 28.9262 17.0013L36.1001 9.82738ZM0.733337 10.1575H35.303V7.903H0.733337V10.1575Z" fill="white"%3E%3C/path%3E%3C/svg%3E');
    background-repeat: no-repeat;
    content: "";
    display: inline-block;
    height: 18px;
    margin-left: 1rem;
    width: 37px;
}

.event-teaser-overview-link a {
    color: #fff !important;
    text-decoration: none;
}

.back-to-overview-wrapper {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
    position: relative;
    display: flex;
    align-items: center;
}

.back-to-overview-wrapper > a {
    color: var(--tbi-theme-color-accent-blue);
    margin-left: 30px;
    text-decoration: none;
}

.back-to-overview-wrapper > a:before {
    background: var(--icon-arrow);
    background-repeat: no-repeat;
    background-position: center left;
    content: "";
    display: inline-block;
    height: 100%;
    left: 0;
    position: absolute;
    width: 30px;
}


.back-to-overview-wrapper > a:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-inset: -30px 0px;
    text-underline-offset: 10px;
}

.single-events .event-detail-wrapper figcaption {
    color: #333;
    font-style: italic;
    font-weight: 400;
    line-height: 1.4;
}

.event-content {
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    padding-bottom: 2rem;
}

.event-content a {
    font-weight: 500;
}

@media (max-width: 639px) {
    .event-teaser-wrapper {
        flex-direction: column;
    }

    .event-teaser-wrapper .event-teaser-left-column,
    .event-teaser-wrapper .event-teaser-right-column {
        width: 100%;
    }

    .event-teaser-wrapper h2 {
        font-size: 32px;
    }

    .event-teaser-wrapper img {
        width: 100%;
    }

    .event-teaser-left-column {
        border: 0;
    }

    .event-teaser-left-column .event-inner-content-wrapper {
        padding: 0;
    }

    .event-teaser-right-column .event-inner-content-wrapper {
        padding: 0;
    }

    .event-teaser-right-column {
        margin-top: 4rem;
    }

    .event-teaser-right-column .event-teaser-item:first-child {
        border: 0;
    }

    body:not(.home) .event-teaser-item {
        width: 100%;
    }


    body:not(.home) .event-teaser-item .event-teaser-item-thumbnail {
        grid-column: span 12;
    }

    body:not(.home) .event-teaser-item .event-teaser-item-information-wrapper {
        grid-column: span 12;
        padding-left: 0;
    }

}
