/**
 * Text Video Block Styles
 */

.block-card-content {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: hidden;
}

@media screen and (max-width: 1024px) {
    .block-card-content {
        height: auto;
        padding-bottom: 0;
        flex-direction: column;
    }
}

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

@media screen and (max-width: 1024px) {
    .block-card-content__video {
        height: 28em;
    }
}

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

.block-editor__container img { height: 100%; }

.block-card-content-box {
    width: 45em;
    max-width: 100%;
    padding: 1.3125em 1.5625em 2em 1.5625em;
    background: var(--color-4);
    border-radius: 0.375em;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 2em;
    height: 21.625em;
    max-height: 100%;
    position: absolute;
    bottom: 2.5em;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 1;
    color: var(--color-1);
}

@media screen and (max-width: 1024px) {
    .block-card-content-box {
        width: calc(100% - 1.5625em);
        max-width: 100%;
        height: 20.125em;
        padding: 1.5em 1.5em 1.6875em 0.75em;
        flex-direction: column;
        justify-content: space-between;
        gap: 2em;
        bottom: 0;
        position: relative;
        margin-top: 19em;
    }

    .block-card-content .block-card-content__figure {
        position: relative;
        height: 30vh;
    }
}

.block-card-content__title-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.875em;
    width: 50%;
}

.block-card-content__description {
    display: flex;
    flex-direction: column;
    gap: 1.6875em;
}

@media screen and (max-width: 1024px) {
    .block-card-content__title-content {
        width: 100%;
    }
}

.block-card-content__description p:first-child {
    opacity: 0.5;
}

.block-card-content__description-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 1.6875em;
}
