.bf-split {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 992px) {
    .bf-split {
        flex-direction: row;
        align-items: flex-start;
    }

    .bf-left {
        flex: 0 0 70%;
        max-width: 70%;
    }

    .bf-right {
        flex: 0 0 30%;
        max-width: 30%;
    }
}

.bf-preview-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: transparent;
    border: 1px solid var(--color4);
    border-radius: .5rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bf-preview {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.bf-thumbs {
    display: flex;
    flex-wrap: nowrap;
    gap: .5rem;
    overflow-x: auto;
    padding-bottom: .25rem;
}

.bf-thumb {
    position: relative;
    flex: 0 0 auto;
    width: 84px;
    height: 60px;
    border: 1px solid var(--color4);
    border-radius: .5rem;
    overflow: hidden;
    cursor: pointer;
}

.bf-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bf-thumb.is-active {
    outline: 2px solid var(--color2);
    outline-offset: 2px;
}

.bf-thumb-remove {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    border: 1px solid var(--color4);
    background: var(--color5);
    color: var(--color2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
    transition: .3s ease-out all;
}

.bf-thumb-remove:hover{
    color: var(--color3);
    transform: scale(1.05);
}

.bf-thumb-remove:focus {
    outline: 2px solid var(--color2);
    outline-offset: 2px;
}

.bf-portraits {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.bf-portrait {
    width: 64px;
    height: 64px;
    border: 1px solid var(--color4);
    border-radius: .5rem;
    overflow: hidden;
}

.bf-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
