/**
 * Text + Image Block Styles
 */

.block-text-image {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: 100vh;
    overflow: hidden;
    justify-content: space-between;
    padding: 2.56em 2.75em 4.8em 2.75em;
    color: var(--color-primary);
}

.block-card-content__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    
}

.block-card-content__figure {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    
}

.block-card-content__figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.block-text-image__top {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: flex-start;
}

.block-text-image__top-content {
    width: 59em;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.875em;
}

.block-text-image__bottom {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
}   

@media screen and (max-width: 1024px) {
    .block-text-image__bottom {
        justify-content: flex-start;
    }
}

.block-text-image__bottom-content {
    width: 23.75em;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.875em;
}

@media screen and (max-width: 1024px) {
    .block-text-image {
        position: relative;
        height: auto;
        min-height: 45em;
        padding: 1.43em 0.56em 2.06em 0.56em;
    }

    .block-text-image__bottom-content {
        gap: 0.87em;
    }
}