.voorstelling_layout {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: max(.75rem, calc(.75 * var(--su)));
    padding: max(1rem, calc(2.5 * var(--su)))
            max(1.25rem, calc(3 * var(--su)));
    aspect-ratio: 1.394;
    isolation: isolate;
    position: relative;
    overflow: clip;
    transition: aspect-ratio 300ms ease-in-out;
    text-decoration: none;
}

.voorstelling_layout.active{
    aspect-ratio: 1.217;
}

.voorstelling_layout .background-image {
    isolation: isolate;
    position: absolute;
    inset: 0;
    z-index: -1;
    transition: transform 300ms ease-in-out;
}

.voorstelling_layout:hover .background-image, .voorstelling_layout.active .background-image {
    transform: scale(1.05);
}

.voorstelling_layout .background-image img{
    position: absolute;
    object-fit: cover;
    width: 100%; height: 100%;
    object-position: center;
}

.voorstelling_layout .background-image::before{
    content: '';
    position: absolute;
    z-index: 1;
    background-color: hsla(0, 0%, 0%, 0.2);
    inset: 0;
}

.voorstelling_layout .tag {
    text-transform: uppercase;
    display: inline-flex;
    gap: max(.5rem, calc(.5 * var(--su)));
    align-items: center;
    color: var(--botergeel);
    font-weight: 500;
    text-decoration: underline;
}

.voorstelling_layout .tag::before{
    content: '';
    width: .33em;
    height: .33em;
    background-color: currentColor;
    border-radius: 50%;
}

.voorstelling_layout .title{
    margin-top: auto;
    color: var(--botergeel);
    margin-bottom: 0;
}

.voorstelling_layout .introduction{
    color: var(--wit);
    font-size: var(--desktop-body-md);
    font-weight: 500;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    margin-block: max(.25rem, calc(.25 * var(--su))) max(.25rem, calc(.75 * var(--su))); 
}

@media only screen and (max-width: 767px){

    .voorstelling_layout {
        aspect-ratio: unset;
    }
}
