<!-- wp:template-part {"slug":"header","tagName":"header"} /-->

<!-- wp:group {"tagName":"main","align":"full","layout":{"type":"constrained"}} -->
<main class="wp-block-group alignfull">

    <!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"6rem","bottom":"4rem"}}}} -->
    <div class="wp-block-group alignwide" style="padding-top:6rem;padding-bottom:4rem">
        <!-- wp:query-title {"type":"archive","textAlign":"center","style":{"typography":{"fontSize":"clamp(2.5rem, 5vw, 4rem)","fontWeight":"900"}}} /-->

        <!-- wp:paragraph {"textAlign":"center","style":{"typography":{"fontSize":"1.25rem"},"color":{"text":"#6b7280"}}} -->
        <p class="has-text-align-center has-text-color" style="color:#6b7280;font-size:1.25rem">Discover and book
            upcoming events in your area.</p>
        <!-- /wp:paragraph -->
    </div>
    <!-- /wp:group -->

    <!-- wp:query {"query":{"perPage":9,"pages":0,"offset":0,"postType":"nemtly_event","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true},"align":"wide","layout":{"type":"constrained"}} -->
    <div class="wp-block-query alignwide">

        <!-- wp:post-template {"style":{"spacing":{"blockGap":"2.5rem"}},"layout":{"type":"grid","columnCount":3}} -->

        <!-- wp:group {"tagName":"article","style":{"border":{"width":"1px","radius":"16px","color":"#f3f4f6"},"spacing":{"padding":{"top":"0","right":"0","bottom":"0","left":"0"}},"shadow":"var:preset|shadow|natural"},"backgroundColor":"white","className":"event-card"} -->
        <article class="wp-block-group event-card has-border-color has-white-background-color has-background"
            style="border-color:#f3f4f6;border-width:1px;border-radius:16px;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0;box-shadow:var(--wp--preset--shadow--natural)">

            <!-- wp:post-featured-image {"isLink":true,"height":"240px","style":{"border":{"radius":{"topLeft":"16px","topRight":"16px"}},"spacing":{"margin":{"bottom":"0"}}}} /-->

            <!-- wp:group {"style":{"spacing":{"padding":{"top":"2rem","right":"2rem","bottom":"2rem","left":"2rem"}}}} -->
            <div class="wp-block-group"
                style="padding-top:2rem;padding-right:2rem;padding-bottom:2rem;padding-left:2rem">

                <!-- wp:group {"style":{"spacing":{"margin":{"bottom":"1rem"}}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
                <div class="wp-block-group" style="margin-bottom:1rem">
                    <!-- wp:nemtly/event-date {"showTime":false,"style":{"typography":{"fontSize":"0.9rem","fontWeight":"700"},"color":{"text":"#3b82f6"}}} /-->
                    <!-- wp:nemtly/price {"style":{"typography":{"fontSize":"1.1rem","fontWeight":"800"}}} /-->
                </div>
                <!-- /wp:group -->

                <!-- wp:post-title {"isLink":true,"level":2,"style":{"typography":{"fontSize":"1.5rem","fontWeight":"700","lineHeight":"1.2"},"spacing":{"margin":{"top":"0","bottom":"1rem"}}}} /-->

                <!-- wp:post-excerpt {"moreText":"","style":{"typography":{"fontSize":"1rem","lineHeight":"1.6"},"color":{"text":"#4b5563"},"spacing":{"margin":{"bottom":"2rem"}}}} /-->

                <!-- wp:nemtly/booking-trigger {"text":"Reserve Seat","style":{"spacing":{"padding":{"top":"1rem","bottom":"1rem"}},"typography":{"fontWeight":"700"}}} /-->
            </div>
            <!-- /wp:group -->

        </article>
        <!-- /wp:group -->

        <!-- /wp:post-template -->

        <!-- wp:spacer {"height":"4rem"} -->
        <div style="height:4rem" aria-hidden="true" class="wp-block-spacer"></div>
        <!-- /wp:spacer -->

        <!-- wp:query-pagination {"layout":{"type":"flex","justifyContent":"center","flexWrap":"nowrap"}} -->
        <!-- wp:query-pagination-previous /-->
        <!-- wp:query-pagination-numbers /-->
        <!-- wp:query-pagination-next /-->
        <!-- /wp:query-pagination -->

        <!-- wp:query-no-results -->
        <!-- wp:paragraph -->
        <p>No events found matching your criteria.</p>
        <!-- /wp:paragraph -->
        <!-- /wp:query-no-results -->

    </div>
    <!-- /wp:query -->

    <!-- wp:spacer {"height":"6rem"} -->
    <div style="height:6rem" aria-hidden="true" class="wp-block-spacer"></div>
    <!-- /wp:spacer -->

</main>
<!-- /wp:group -->

<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->