FlexMasonry.init('.list-posts', {

responsive: true,
breakpointCols: {
    'min-width: 1500px': 3,
    'min-width: 700px': 2,
}

});