<?php
/**
 * Title: Latest Posts with Heading
 * Slug: chronicle-journal/latest-posts-with-heading
 * Categories: latest-posts
 *
 * @subpackage Chronicle_Journal
 * @since Chronicle Journal 1.0
 */
?>
<!-- wp:group {"className":"latest-posts-with-heading chronicle-journal-pattern","layout":{"type":"constrained","contentSize":"1200px"}} -->
<div class="wp-block-group latest-posts-with-heading chronicle-journal-pattern">
    <!-- wp:group {"layout":{"type":"constrained"}} -->
    <div class="wp-block-group"><!-- wp:paragraph {"align":"center"} -->
        <p class="has-text-align-center"><?php esc_html_e('Explore', 'chronicle-journal'); ?></p>
        <!-- /wp:paragraph -->

        <!-- wp:heading {"textAlign":"center"} -->
        <h2 class="wp-block-heading has-text-align-center">
            <?php esc_html_e('Discover Your Next Inspiring Story', 'chronicle-journal'); ?></h2>
        <!-- /wp:heading -->

        <!-- wp:paragraph {"align":"center"} -->
        <p class="has-text-align-center">
            <?php esc_html_e('Dive into a world of creativity with our curated articles. Each piece is designed to inspire and engage, perfect for cultural enthusiasts.', 'chronicle-journal'); ?>
        </p>
        <!-- /wp:paragraph -->
    </div>
    <!-- /wp:group -->

    <!-- wp:query {"queryId":0,"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":false},"metadata":{"categories":["posts"],"patternName":"core/query-grid-posts","name":"Grid"},"layout":{"type":"constrained","contentSize":"1200px"}} -->
    <div class="wp-block-query">
        <!-- wp:post-template {"layout":{"type":"grid","columnCount":3,"minimumColumnWidth":null}} -->
        <!-- wp:group {"layout":{"inherit":false}} -->
        <div class="wp-block-group">
            <!-- wp:post-featured-image {"isLink":true} /-->

            <!-- wp:post-title {"isLink":true, "className":"patterns-post-title"} /-->

            <!-- wp:group {"className": "has-xs-padding-top", "fontSize":"small","layout":{"type":"flex","flexWrap":"nowrap", "justifyContent":"space-between"}} -->
            <div class="wp-block-group has-xs-padding-top has-small-font-size">
                <!-- wp:post-author {"isLink":true} /-->

                <!-- wp:post-date {"format":"M j, Y", "isLink":true} /-->
            </div>
            <!-- /wp:group -->

            <!-- wp:post-excerpt {"moreText":"Learn More","excerptLength":20} /-->
        </div>
        <!-- /wp:group -->
        <!-- /wp:post-template -->
    </div>
    <!-- /wp:query -->

    <!-- wp:group {"className":"has-padding-top-lg","layout":{"type":"constrained"}} -->
    <div class="wp-block-group has-padding-top-lg"><!-- wp:buttons {"layout":{"type":"flex","justifyContent":"center"}} -->
        <div class="wp-block-buttons"><!-- wp:button {"textAlign":"left"} -->
            <div class="wp-block-button"><a class="wp-block-button__link has-text-align-left wp-element-button"><?php esc_html_e('Dive Deeper', 'chronicle-journal'); ?></a></div>
            <!-- /wp:button -->

            <!-- wp:button {"className":"is-style-outline"} -->
            <div class="wp-block-button is-style-outline"><a class="wp-block-button__link wp-element-button"><?php esc_html_e('More Info', 'chronicle-journal'); ?></a></div>
            <!-- /wp:button -->
        </div>
        <!-- /wp:buttons -->
    </div>
    <!-- /wp:group -->
    
</div>
<!-- /wp:group -->