/* Cards Hover */
.background-cards-wrapper {
    background-color: var(--white);
}

.column-image-container figure {
    display: block;
    width: 100%;
    height: 100%;
}

.background-column-container {
    gap: 10px
}

.background-card-container {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0;
    width: inherit;
    margin: 0;
    margin-top: 0px;
    transition: .5s flex-basis, .5s flex-grow, .5s height;
}



.overlay-gradient {
    position: var(--position-absolute);
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(110deg, rgba(0, 0, 0, 0.56) 16.52%, rgba(0, 0, 0, 0) 42.85%);
}

.background-column-block {
    position: var(--position-relative);
    position: relative;
    height: calc(100vw / 2.3);
    cursor: pointer;
}

.column-image-container {
    position: var(--position-absolute);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.column-image-container img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.column-image-container img:hover {
    transform: none;
}

.bg-headline {
    position: var(--position-absolute);
    left: 0;
    bottom: 10px;
    padding: 10px 0 10px 12px;
    color: var(--white);
    font-size: 24px;
    font-weight: var(--fw-normal);
    margin-bottom: 0;
    line-height: 1.1;
    letter-spacing: -0.9px;
    transition: 0.1s linear;
    z-index: 1;
}


/* Cards Hover Close */


@media(min-width:768px) {
    .background-card-container {
        flex-basis: calc(50% - 20px);
        min-height: 600px;
    }

    .background-column-container {
        gap: 20px
    }

    .background-column-block {
        height: 100%;
    }

}

@media(min-width:1200px) {
    .background-column-container .background-card-container.active {
        flex-grow: 4;
    }

    .background-card-container {
        flex-basis: 0;
        min-height: 765px;
    }

    .bg-headline {
        max-width: 210px;
        overflow-wrap: anywhere;
    }

    .active .bg-headline {
        opacity: 0;
    }


}

@media(min-width:1440px) {
    .bg-headline {
        font-size: 32px;
    }
}