Force all slides to have same height in Owl Carousel

I have dynamic slides in Owl Carousel, but I can’t get them all to have the same height. The height automatically adjusts based on the amount of text inside each slide, causing inconsistent sizes that disrupt the layout. Everything works fine, there are no errors in the console, and the slides transition smoothly, but their height varies. How can I force all slides to have the same height regardless of content?

Screen:

enter image description here

  $(document).ready(function () {
        $('.slider-carousel').owlCarousel({
            loop: true,
            margin: 0,
            nav: false,
            center: true,
            autoplay: true,
            dots: true,
            responsive: {
                0: {
                    items: 1
                },
                768: {
                    items: 1
                },
                1000: {
                    items: 1
                }
            }
        });
    });

    $(document).ready(function () {
        $('.post-car').owlCarousel({
            loop: true,
            margin: 20,
            nav: true,
            center: true,
            autoplay: false,
            dots: false,
            responsive: {
                0: {
                    items: 1
                },
                768: {
                    items: 2
                },
                1000: {
                    items: 3
                }
            }
        });
    });

I tried changing to

$('.slider-carousel').owlCarousel({
    loop: true,
    margin: 0,
    nav: false,
    center: true,
    autoplay: true,
    dots: true,
    autoHeight: false, // WYŁĄCZAMY AUTO HEIGHT!
    responsive: {
        0: { items: 1 },
        768: { items: 1 },
        1000: { items: 1 }
    },
    onInitialized: function() {
        setTimeout(runHeightFix, 100);
    },
    onTranslated: function() {
        runHeightFix();
    }
});

and adding this to css

/* Wymuszenie tej samej wysokości dla każdego kafelka */
.slider-carousel .owl-stage-outer,
.post-car .owl-stage-outer {
    min-height: 400px !important;
    height: auto !important;
    overflow: hidden !important;
}

.slider-carousel .owl-item,
.post-car .owl-item {
    display: flex !important;
    align-items: stretch !important;
    min-height: 450px !important; /* Możesz zwiększyć */
    height: 100% !important;
    max-height: 600px !important; /* Możesz dostosować */
}

.slider-carousel .item,
.post-car .item {
    display: flex;
    flex-direction: column;
    height: 100% !important;
}

.slider-carousel .box-in,
.post-car .box-in {
    flex-grow: 1;
}

but no luck