
.collection-widget-row{
    display: flex;
    align-items: end;
    justify-content: space-between;

    > input{
        margin-bottom: 1.5rem;
    }

    > div{
        /* apply most of .row's styles */

        --bs-gutter-x: 1.5rem;
        --bs-gutter-y: 0;
        display: flex;
        flex-wrap: wrap;
        flex-grow: 1;
        margin-top: calc(-1 * var(--bs-gutter-y));
        margin-right: calc(-0.5 * var(--bs-gutter-x));
        margin-left: calc(-0.5 * var(--bs-gutter-x));

        > *{
            margin-bottom: 1.5rem;

            max-width: 100%;
            padding-right: calc(var(--bs-gutter-x) * 0.5);
            padding-left: calc(var(--bs-gutter-x) * 0.5);
            margin-top: var(--bs-gutter-y);
        }
    }

    &:has(.remove-collection-widget:hover){
        > div{
            opacity: .5;
        }
    }

    .translated-field{
        &:not([class*="col-"]){
            width: 100%;
        }
        margin-left: calc(var(--bs-gutter-x)*.5);
    }
}
