<script>
$( document ).ready(function() {
function chessmate(){
//задаём ID нашего блока и класс колонки
let columnID = '#rec117000222 .t-col_3';
if ($(window).width() > 980){ let cardmaSS = $(columnID).length;
//Задаём кол-во колонок
const colliNE = 4;
let findcaRD = (Math.floor(cardmaSS/colliNE))*colliNE;
let missbLK = cardmaSS - findcaRD; let clearliNE= colliNE - missbLK; if(missbLK != 0 ){
$(columnID+':eq('+findcaRD+')').css('padding-left' , 'calc( (100%*'+clearliNE+' ) /( 2*'+colliNE+'))');
};}else{ $(columnID).css('padding-left','0px');};};chessmate();
$( window ).resize(function(){chessmate();});
});
</script>