<?php

/**
 * Title: Latest Post Section
 * Slug: fota-home-solutions/latest-post-section
 * Categories: fhs-patterns
 */
?>
<!-- wp:group {"style":{"spacing":{"padding":{"top":"120px","right":"var:preset|spacing|40","bottom":"120px","left":"var:preset|spacing|40"}}},"backgroundColor":"background-alt","layout":{"type":"constrained","contentSize":"1200px","justifyContent":"center"}} -->
<div class="wp-block-group has-background-alt-background-color has-background" style="padding-top:120px;padding-right:var(--wp--preset--spacing--40);padding-bottom:120px;padding-left:var(--wp--preset--spacing--40)"><!-- wp:heading {"textAlign":"center","level":1,"style":{"typography":{"lineHeight":"1","fontSize":"48px","fontStyle":"normal","fontWeight":"700"},"spacing":{"margin":{"bottom":"80px"}}}} -->
    <h1 class="wp-block-heading has-text-align-center" style="margin-bottom:80px;font-size:48px;font-style:normal;font-weight:700;line-height:1"><?php echo esc_html('Latest Blog &amp; Articles', 'fota-home-solutions') ?></h1>
    <!-- /wp:heading -->

    <!-- wp:query {"queryId":29,"query":{"perPage":"3","pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":false}} -->
    <div class="wp-block-query"><!-- wp:post-template {"style":{"spacing":{"blockGap":"var:preset|spacing|60"}},"layout":{"type":"grid","columnCount":3}} -->
        <!-- wp:group {"style":{"spacing":{"padding":{"top":"0px","right":"0px","bottom":"0px","left":"0px"},"blockGap":"var:preset|spacing|20"}},"className":"fhs-article-box","layout":{"inherit":false}} -->
        <div class="wp-block-group fhs-article-box" style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><!-- wp:post-featured-image {"height":"300px","style":{"border":{"radius":"10px"}}} /-->

            <!-- wp:post-terms {"term":"category","style":{"spacing":{"margin":{"top":"var:preset|spacing|50"}}},"className":"is-style-categories-background-with-round","fontSize":"x-small"} /-->

            <!-- wp:post-title {"isLink":true,"style":{"elements":{"link":{"color":{"text":"var:preset|color|heading-color"}}},"spacing":{"margin":{"bottom":"var:preset|spacing|50","top":"var:preset|spacing|20"}},"typography":{"fontSize":"24px","lineHeight":"1.3","fontStyle":"normal","fontWeight":"600"}},"className":"is-style-title-hover-secondary-color"} /-->

            <!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|20","padding":{"bottom":"var:preset|spacing|20"}}},"layout":{"type":"flex","flexWrap":"nowrap"},"fontSize":"x-small"} -->
            <div class="wp-block-group has-x-small-font-size" style="padding-bottom:var(--wp--preset--spacing--20)"><!-- wp:post-date /-->

                <!-- wp:paragraph -->
                <p>.</p>
                <!-- /wp:paragraph -->

                <!-- wp:post-author-name /-->
            </div>
            <!-- /wp:group -->
        </div>
        <!-- /wp:group -->
        <!-- /wp:post-template -->
    </div>
    <!-- /wp:query -->
</div>
<!-- /wp:group -->