Posts in Elementor often have not equal height. The example of using posts grid widget of the Royal Elementor addons plugin shows how to make the equivalent height of the posts using JQuery.

jQuery(function ($) {
  $(document).ready(function () {

    setTimeout(function () {
      setStyleHeight();
    }, 200);

    /**
     * get article height
     * (equivalent height of the posts grid) from style
     */
    function getStyleHeight() {
      var heightStyleValue = parseInt(
        $(".elementor-element-fd60770 article")[0].style.height
      );
      return heightStyleValue;
    }

    function setStyleHeight() {
      heightStyleValue = getStyleHeight();

      if (!isNaN(heightStyleValue)) {
        $(".elementor-element-fd60770 article .wpr-grid-item-inner").height(
          heightStyleValue
        ); // add height of the article to inner container
      } else {
        setTimeout(function () {
          setStyleHeight();
        }, 200);
      }
    }

  });
});

Support the project through Monobank

Monobank