<?php
/**
 * Title: Latest Blog Section
 * Slug: aamira/latest-blog-section
 * Categories: header, featured, latest, posts
 * Block Types: core/template-part/header
 * Description: Latest blog posts section
 *
 * @package WordPress
 * @subpackage Aamira
 * @since Aamira 1.0
 */
?>

<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"bottom":"70px"}}},"layout":{"type":"constrained","contentSize":"1150px","wideSize":"1380px"}} -->
<div class="wp-block-group alignfull" style="padding-bottom:70px">
    <!-- wp:group {"align":"full","style":{"border":{"radius":"2px"}},"layout":{"type":"constrained","contentSize":"1150px","wideSize":"1380px"}} -->
    <div class="wp-block-group alignfull" style="border-radius:2px">
        <!-- wp:paragraph {"align":"center","style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"0"}},"elements":{"link":{"color":{"text":"#007cba"}}},"typography":{"fontSize":"62px"},"color":{"text":"#007cba"}}} -->
        <p class="has-text-align-center has-text-color has-link-color"
            style="color:#007cba;padding-top:var(--wp--preset--spacing--50);padding-bottom:0;font-size:62px">
            <?php esc_html_e( 'Latest Blog', 'aamira' ); ?>
        </p>
        <!-- /wp:paragraph -->

        <!-- wp:heading {"textAlign":"center","style":{"spacing":{"padding":{"right":"0","left":"0","top":"0px","bottom":"20px"}},"color":{"text":"#8c9597"},"elements":{"link":{"color":{"text":"#8c9597"}}}},"fontSize":"medium"} -->
        <h2 class="wp-block-heading has-text-align-center has-text-color has-link-color has-medium-font-size"
            style="color:#8c9597;padding-top:0px;padding-right:0;padding-bottom:20px;padding-left:0">
            <?php esc_html_e( 'Separated they live in. A small river named Durden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country', 'aamira' ); ?>
        </h2>
        <!-- /wp:heading -->

        <!-- wp:query {"query":{"perPage":3,"pages":0,"offset":"0","postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false,"taxQuery":null,"parents":[]},"align":"wide","layout":{"type":"constrained","contentSize":"1150px","wideSize":"1380px"}} -->
<div class="wp-block-query alignwide">
    <!-- wp:columns {"align":"wide","style":{"spacing":{"margin":{"bottom":"0"}}}} -->
    <div class="wp-block-columns alignwide" style="margin-bottom:0">
        <!-- wp:post-template {"layout":{"type":"grid","columnCount":3}} -->
            <!-- wp:column {"style":{"color":{"text":"#000000"},"elements":{"link":{"color":{"text":"#000000"}}},"spacing":{"padding":{"top":"2em","right":"2em","bottom":"2em","left":"2em"}},"border":{"radius":"0px","width":"3px","color":"#0693e3"}}} -->
            <div class="wp-block-column has-border-color has-text-color has-link-color"
                style="border-color:#0693e3;border-width:3px;border-radius:0px;color:#000000;padding-top:2em;padding-right:2em;padding-bottom:2em;padding-left:2em">
                    <!-- wp:group {"layout":{"type":"constrained"}} -->
                        <div class="wp-block-group">
                            <!-- wp:post-featured-image {"isLink":true,"sizeSlug":"medium","linkTarget":"_blank","align":"full"} /-->
                            <!-- wp:group {"align":"wide","className":"is-style-default","style":{"spacing":{"margin":{"top":"0%","bottom":"0%"}}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"center"}} -->
                            <div class="wp-block-group alignwide is-style-default" style="margin-top:0%;margin-bottom:0%">
                                <!-- wp:post-date {"isLink":true,"style":{"spacing":{"margin":{"top":"-50px","right":"0px"},"padding":{"top":"var:preset|spacing|20","bottom":"var:preset|spacing|20","left":"10px","right":"10px"}},"elements":{"link":{"color":{"text":"var:preset|color|white"}}},"typography":{"fontSize":"18px"},"layout":{"selfStretch":"fit","flexSize":null},"border":{"radius":"5px"}},"backgroundColor":"vivid-cyan-blue","textColor":"white"} /-->
                            </div>
                            <!-- /wp:group -->
                        </div>
                    <!-- /wp:group -->

                    <!-- wp:post-title {"textAlign":"left","style":{"typography":{"fontStyle":"normal","fontWeight":"300","fontSize":"24px"},"color":{"text":"#364d59"},"elements":{"link":{"color":{"text":"#364d59"}}},"spacing":{"padding":{"top":"20px"}}}} /-->

                    <!-- wp:post-excerpt {"excerptLength":30,"style":{"color":{"text":"#364d59"},"elements":{"link":{"color":{"text":"#364d59"}}},"typography":{"fontStyle":"normal","fontWeight":"100","fontSize":"16px"}}} /-->

                    <!-- wp:group {"layout":{"type":"constrained"}} -->
                    <div class="wp-block-group">
                        <!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
                        <div class="wp-block-group">
                            <!-- wp:buttons {"style":{"spacing":{"padding":{"top":"0","right":"0","bottom":"0","left":"0"}}},"layout":{"type":"flex","justifyContent":"center"}} -->
                            <div class="wp-block-buttons" style="padding-top:0;padding-right:0;padding-bottom:0;padding-left:0">
                                <!-- wp:button {"textColor":"base","style":{"color":{"background":"#007cba"},"elements":{"link":{"color":{"text":"var:preset|color|base"}}},"spacing":{"padding":{"left":"15px","right":"15px"}}}} -->
                                <div class="wp-block-button">
                                    <a class="wp-block-button__link has-base-color has-text-color has-background has-link-color wp-element-button" style="background-color:#007cba;padding-right:15px;padding-left:15px"> <?php esc_html_e( 'Read More →', 'aamira' ); ?>  </a>
                                </div>
                                <!-- /wp:button -->
                            </div>
                            <!-- /wp:buttons -->

                            <!-- wp:post-author {"showAvatar":false,"showBio":false,"isLink":true,"align":"left","style":{"color":{"text":"#007cba"},"elements":{"link":{"color":{"text":"#007cba"}}},"spacing":{"padding":{"right":"0px","left":"20px"}}},"fontSize":"medium"} /-->
                             
                        </div>
                        <!-- /wp:group -->
                    </div>
                    <!-- /wp:group -->
                
                </div>
                <!-- /wp:column -->
            <!-- /wp:post-template -->
        </div>
        <!-- /wp:columns -->
    </div>
    <!-- /wp:query -->
    </div>
    <!-- /wp:group -->
</div>
<!-- /wp:group -->