@media (min-width: 1025px) {
    body:not(.home) .elementor-loop-container.elementor-grid {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }

    body:not(.home) .elementor-loop-container.elementor-grid > .e-loop-item {
        flex: 0 0 calc(33.333% - 20px);
        max-width: calc(33.333% - 20px);
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    body:not(.home) .elementor-loop-container.elementor-grid {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }

    body:not(.home) .elementor-loop-container.elementor-grid > .e-loop-item {
        flex: 0 0 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

/* Desktop */
@media (min-width: 1025px) {
    body:not(.home) .elementor-loop-container.elementor-grid > .e-loop-item:nth-of-type(odd) .e-con.e-parent {
        background-color: #282974 !important;
    }
    
    body:not(.home) .elementor-loop-container.elementor-grid > .e-loop-item:nth-of-type(even) .e-con.e-parent {
        background-color: #323232 !important;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
    body:not(.home) .elementor-loop-container.elementor-grid > .e-loop-item:nth-of-type(4n+1) .e-con.e-parent,
    body:not(.home) .elementor-loop-container.elementor-grid > .e-loop-item:nth-of-type(4n) .e-con.e-parent {
        background-color: #282974 !important;
    }
    
    body:not(.home) .elementor-loop-container.elementor-grid > .e-loop-item:nth-of-type(4n+2) .e-con.e-parent,
    body:not(.home) .elementor-loop-container.elementor-grid > .e-loop-item:nth-of-type(4n+3) .e-con.e-parent {
        background-color: #323232 !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    body:not(.home) .elementor-loop-container.elementor-grid > .e-loop-item:nth-of-type(odd) .e-con.e-parent {
        background-color: #282974 !important;
    }
    
    body:not(.home) .elementor-loop-container.elementor-grid > .e-loop-item:nth-of-type(even) .e-con.e-parent {
        background-color: #323232 !important;
    }
}