<?php

/**
 * Title: Latest News
 * Slug: brick-beam/latest-news
 * Categories: brick-beam
 */
?>
<!-- wp:group {"metadata":{"name":"Recent News"},"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","right":"var:preset|spacing|30","left":"var:preset|spacing|30"}},"border":{"width":"0px","style":"none"}},"backgroundColor":"lower-background","layout":{"type":"constrained"}} -->
<div class="wp-block-group alignfull has-lower-background-background-color has-background"
    style="border-style:none;border-width:0px;padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--30)">
    <!-- wp:group {"align":"wide","style":{"spacing":{"blockGap":"0px","margin":{"top":"0","bottom":"0"}}}} -->
    <div class="wp-block-group alignwide" style="margin-top:0;margin-bottom:0">
        <!-- wp:group {"style":{"border":{"width":"0px","style":"none"},"spacing":{"padding":{"top":"0","bottom":"var:preset|spacing|10"}}},"layout":{"type":"constrained","justifyContent":"left"}} -->
        <div class="wp-block-group"
            style="border-style:none;border-width:0px;padding-top:0;padding-bottom:var(--wp--preset--spacing--10)">
            <!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
            <div class="wp-block-group">
                <!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|black"}}},"spacing":{"padding":{"left":"var:preset|spacing|10","right":"var:preset|spacing|10","top":"3px","bottom":"3px"}},"typography":{"textTransform":"uppercase"}},"backgroundColor":"primary","textColor":"black","fontSize":"tiny"} -->
                <p class="has-black-color has-primary-background-color has-text-color has-background has-link-color has-tiny-font-size"
                    style="padding-top:3px;padding-right:var(--wp--preset--spacing--10);padding-bottom:3px;padding-left:var(--wp--preset--spacing--10);text-transform:uppercase">
                    <?php echo esc_html__('// News articles', 'brick-beam'); ?>
                </p>
                <!-- /wp:paragraph -->
            </div>
            <!-- /wp:group -->
        </div>
        <!-- /wp:group -->

        <!-- wp:group {"style":{"border":{"top":{"style":"none","width":"0px"},"right":{"style":"none","width":"0px"}},"spacing":{"padding":{"top":"0","right":"var:preset|spacing|10"},"margin":{"bottom":"50px"}}},"layout":{"type":"constrained","justifyContent":"left","contentSize":"500px"}} -->
        <div class="wp-block-group"
            style="border-top-style:none;border-top-width:0px;border-right-style:none;border-right-width:0px;margin-bottom:50px;padding-top:0;padding-right:var(--wp--preset--spacing--10)">
            <!-- wp:heading {"textAlign":"left","style":{"border":{"top":{"color":"var:preset|color|tertiary","width":"0px","style":"none"},"right":{"color":"var:preset|color|tertiary","width":"0px","style":"none"},"bottom":{"width":"0px","style":"none"},"left":{"width":"0px","style":"none"}},"spacing":{"padding":{"top":"0","bottom":"0"},"margin":{"bottom":"0px","left":"0"}},"typography":{"fontStyle":"normal","fontWeight":"600","textTransform":"capitalize"}},"fontSize":"main-title"} -->
            <h2 class="wp-block-heading has-text-align-left has-main-title-font-size"
                style="border-top-color:var(--wp--preset--color--tertiary);border-top-style:none;border-top-width:0px;border-right-color:var(--wp--preset--color--tertiary);border-right-style:none;border-right-width:0px;border-bottom-style:none;border-bottom-width:0px;border-left-style:none;border-left-width:0px;margin-bottom:0px;margin-left:0;padding-top:0;padding-bottom:0;font-style:normal;font-weight:600;text-transform:capitalize">
                <?php echo esc_html__('Read some latest news articles', 'brick-beam'); ?>
            </h2>
            <!-- /wp:heading -->
        </div>
        <!-- /wp:group -->
    </div>
    <!-- /wp:group -->

    <!-- wp:group {"align":"wide","layout":{"type":"constrained"}} -->
    <div class="wp-block-group alignwide">
        <!-- wp:query {"queryId":1,"query":{"perPage":3,"pages":"3","offset":"0","postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false},"align":"wide","layout":{"inherit":false}} -->
        <div class="wp-block-query alignwide">
            <!-- wp:post-template {"align":"wide","className":"mobile-horizontal-scroll","layout":{"type":"grid","columnCount":3}} -->
            <!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"0","right":"0","bottom":"0","left":"0"},"blockGap":"var:preset|spacing|10"},"border":{"radius":"10px","width":"0px","style":"none"},"shadow":"var:preset|shadow|shadow-3"},"layout":{"type":"constrained"}} -->
            <div class="wp-block-group alignwide"
                style="border-style:none;border-width:0px;border-radius:10px;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0;box-shadow:var(--wp--preset--shadow--shadow-3)">
                <!-- wp:post-featured-image {"isLink":true,"aspectRatio":"4/3","align":"wide","className":"no-padding","style":{"layout":{"columnSpan":1,"rowSpan":1},"border":{"radius":"10px"}}} /-->

                <!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|20","right":"var:preset|spacing|20","bottom":"var:preset|spacing|20","left":"var:preset|spacing|20"},"margin":{"top":"0px"},"blockGap":"10px"}},"layout":{"type":"flex","orientation":"vertical","verticalAlignment":"center"}} -->
                <div class="wp-block-group alignwide"
                    style="margin-top:0px;padding-top:var(--wp--preset--spacing--20);padding-right:var(--wp--preset--spacing--20);padding-bottom:var(--wp--preset--spacing--20);padding-left:var(--wp--preset--spacing--20)">
                    <!-- wp:post-date {"format":"F j, Y","isLink":true,"metadata":{"bindings":{"datetime":{"source":"core/post-data","args":{"field":"date"}}}},"style":{"typography":{"fontStyle":"normal","fontWeight":"400"},"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}}},"textColor":"foreground","fontSize":"extra-small"} /-->

                    <!-- wp:post-title {"level":3,"isLink":true,"align":"wide","style":{"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}},"typography":{"fontStyle":"normal","fontWeight":"600"}},"textColor":"foreground","fontSize":"normal"} /-->

                    <!-- wp:post-excerpt {"moreText":"Know More","excerptLength":11,"fontSize":"extra-small"} /-->
                </div>
                <!-- /wp:group -->
            </div>
            <!-- /wp:group -->
            <!-- /wp:post-template -->
        </div>
        <!-- /wp:query -->
    </div>
    <!-- /wp:group -->
</div>
<!-- /wp:group -->