<?php

/**
 * Title: Blog Parts
 * Slug: walkercore/dustless-blog-parts
 * Categories: dustless-pro
 */


?>
<!-- wp:group {"style":{"spacing":{"padding":{"left":"var:preset|spacing|40","right":"var:preset|spacing|40","top":"80px","bottom":"80px"},"blockGap":"50px"}},"backgroundColor":"terniary","layout":{"type":"constrained","wideSize":"1180px"}} -->
<div class="wp-block-group has-terniary-background-color has-background" style="padding-top:80px;padding-right:var(--wp--preset--spacing--40);padding-bottom:80px;padding-left:var(--wp--preset--spacing--40)"><!-- wp:group {"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between"}} -->
    <div class="wp-block-group"><!-- wp:heading {"textAlign":"left","style":{"typography":{"fontSize":"40px"}},"fontFamily":"sarabun"} -->
        <h2 class="wp-block-heading has-text-align-left has-sarabun-font-family" style="font-size:40px"><?php esc_html_e('Recent News and Article', 'dustless') ?></h2>
        <!-- /wp:heading -->

        <!-- wp:buttons {"layout":{"type":"flex","justifyContent":"space-between"}} -->
        <div class="wp-block-buttons"><!-- wp:button {"backgroundColor":"primary","style":{"border":{"radius":"0px"},"typography":{"textTransform":"uppercase"}},"className":"is-style-button-hover-secondary","fontFamily":"public-sans"} -->
            <div class="wp-block-button is-style-button-hover-secondary has-public-sans-font-family" style="text-transform:uppercase"><a class="wp-block-button__link has-primary-background-color has-background wp-element-button" style="border-radius:0px"><?php esc_html_e('View All Blogs', 'dustless') ?></a></div>
            <!-- /wp:button -->
        </div>
        <!-- /wp:buttons -->
    </div>
    <!-- /wp:group -->

    <!-- wp:group {"style":{"spacing":{"padding":{"right":"0","left":"0","top":"0","bottom":"0"}}},"layout":{"type":"constrained"}} -->
    <div class="wp-block-group" style="padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"><!-- wp:query {"queryId":59,"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":"30px"}},"layout":{"type":"grid","columnCount":3}} -->
            <!-- wp:group {"style":{"spacing":{"padding":{"top":"0px","right":"0px","bottom":"0px","left":"0px"},"blockGap":"0px"},"border":{"width":"0px","style":"none"}},"className":"dustless-blog-group","layout":{"inherit":false}} -->
            <div class="wp-block-group dustless-blog-group" style="border-style:none;border-width:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"224px","scale":"fill"} /-->

                <!-- wp:group {"style":{"spacing":{"padding":{"right":"0","left":"0","top":"var:preset|spacing|40","bottom":"0"}}},"backgroundColor":"white","layout":{"type":"constrained","wideSize":"100%","justifyContent":"left"}} -->
                <div class="wp-block-group has-white-background-color has-background" style="padding-top:var(--wp--preset--spacing--40);padding-right:0;padding-bottom:0;padding-left:0"><!-- wp:group {"style":{"spacing":{"padding":{"right":"var:preset|spacing|40","left":"var:preset|spacing|40","top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"},"blockGap":"25px"}},"layout":{"type":"constrained"}} -->
                    <div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--40)"><!-- wp:group {"style":{"typography":{"fontSize":"16px"},"elements":{"link":{"color":{"text":"var:preset|color|primary"}}}},"textColor":"primary","layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"},"fontFamily":"public-sans"} -->
                        <div class="wp-block-group has-primary-color has-text-color has-link-color has-public-sans-font-family" style="font-size:16px"><!-- wp:post-date {"isLink":true,"className":"dustless-text-decoration-none"} /--></div>
                        <!-- /wp:group -->

                        <!-- wp:group {"style":{"spacing":{"blockGap":"10px"}},"layout":{"type":"constrained"}} -->
                        <div class="wp-block-group"><!-- wp:post-title {"isLink":true,"style":{"elements":{"link":{"color":{"text":"var:preset|color|black"}}}},"textColor":"black","className":"dustless-text-decoration-none","fontFamily":"sarabun"} /-->

                            <!-- wp:post-excerpt {"showMoreOnNewLine":false,"excerptLength":15,"style":{"typography":{"fontSize":"16px"},"elements":{"link":{"color":{"text":"var:preset|color|grey"}}}},"textColor":"grey","fontFamily":"public-sans"} /-->
                        </div>
                        <!-- /wp:group -->
                    </div>
                    <!-- /wp:group -->

                    <!-- wp:group {"style":{"spacing":{"padding":{"right":"var:preset|spacing|40","left":"var:preset|spacing|40","top":"0","bottom":"0"},"margin":{"top":"0","bottom":"0"}},"elements":{"link":{"color":{"text":"var:preset|color|grey"}}}},"textColor":"grey","className":"dustless-blog-group-seperator","layout":{"type":"constrained","justifyContent":"left"}} -->
                    <div class="wp-block-group dustless-blog-group-seperator has-grey-color has-text-color has-link-color" style="margin-top:0;margin-bottom:0;padding-top:0;padding-right:var(--wp--preset--spacing--40);padding-bottom:0;padding-left:var(--wp--preset--spacing--40)"><!-- wp:separator {"backgroundColor":"cyan-bluish-gray","className":"is-style-wide"} -->
                        <hr class="wp-block-separator has-text-color has-cyan-bluish-gray-color has-alpha-channel-opacity has-cyan-bluish-gray-background-color has-background is-style-wide" />
                        <!-- /wp:separator -->
                    </div>
                    <!-- /wp:group -->

                    <!-- wp:group {"className":"dustless-blog-btn-group","layout":{"type":"constrained","wideSize":"100%","contentSize":"100%","justifyContent":"left"}} -->
                    <div class="wp-block-group dustless-blog-btn-group"><!-- wp:read-more {"style":{"elements":{"link":{"color":{"text":"var:preset|color|grey"}}},"typography":{"textTransform":"uppercase"},"spacing":{"padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40","left":"var:preset|spacing|40","right":"var:preset|spacing|40"},"margin":{"top":"0","bottom":"0"}}},"textColor":"grey","fontFamily":"public-sans"} /--></div>
                    <!-- /wp:group -->
                </div>
                <!-- /wp:group -->
            </div>
            <!-- /wp:group -->
            <!-- /wp:post-template -->
        </div>
        <!-- /wp:query -->
    </div>
    <!-- /wp:group -->
</div>
<!-- /wp:group -->