{% set totalResults = craft.entries()
    .section([
        'homes'
    ])
    .slug('not ' ~ entry.slug)
    .orderBy('RAND()')
    .limit(3)
    .all()
%}

<section class="explore-homes-panel w-full relative bg-white-primary">
    <div class="container-wrapper max-w-7xl mx-auto">
        <div class="padding-wrapper px-6 sm:px-8 lg:px-10 py-8 sm:py-10 lg:py-12 xl:py-16">
            <div class="content-wrapper w-full flex flex-col justify-start items-start">
                <div class="title-wrapper w-full flex flex-col justify-center items-center mb-8 sm:mb-10 lg:mb-12 xl:mb-16">
                    <h2 class="font-header text-center text-brand-terracotta-aa font-semibold text-3xl lg:text-4xl">
                        Explore some of our other homes
                    </h2>
                </div>
                <div class="grid-wrapper w-full flex flex-col justify-start items-start sm:grid sm:grid-cols-2 lg:grid-cols-3 sm:gap-x-6 sm:gap-y-8 lg:gap-x-8 lg:gap-y-10 xl:gap-x-10 xl:gap-y-12">
                    {% for result in totalResults %}
                        {% include themeDir ~ '/_includes/_blocks/_explore-homes/_explore-homes-result-card.twig' %}
                    {% endfor %}
                </div>
            </div>
        </div>
    </div>
</section>