<?php
/**
 * Title: Latest News
 * Slug: green-vegetable-store/latest-news
 * Categories: green-vegetable-store, latest-news
 */
?>

<!-- wp:group {"className":"latest-news","style":{"spacing":{"padding":{"top":"var:preset|spacing|70","right":"0","bottom":"var:preset|spacing|70"}}},"layout":{"type":"constrained","contentSize":"90%"}} -->
<div class="wp-block-group latest-news" style="padding-top:var(--wp--preset--spacing--70);padding-right:0;padding-bottom:var(--wp--preset--spacing--70)"><!-- wp:group {"className":"head-box","style":{"spacing":{"padding":{"top":"0","bottom":"0"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group head-box" style="padding-top:0;padding-bottom:0"><!-- wp:heading {"textAlign":"center","level":3,"style":{"elements":{"link":{"color":{"text":"var:preset|color|secondary"}}},"typography":{"fontStyle":"normal","fontWeight":"500"}},"textColor":"secondary","fontSize":"small","fontFamily":"shantell-sans"} -->
<h3 class="wp-block-heading has-text-align-center has-secondary-color has-text-color has-link-color has-shantell-sans-font-family has-small-font-size" style="font-style:normal;font-weight:500"><?php esc_html_e('From The Blog Post','green-vegetable-store'); ?></h3>
<!-- /wp:heading -->

<!-- wp:heading {"textAlign":"center","style":{"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}},"typography":{"fontStyle":"normal","fontWeight":"700","fontSize":"45px"},"spacing":{"margin":{"top":"0","bottom":"var:preset|spacing|60"}}},"textColor":"foreground","fontFamily":"amatic-sc"} -->
<h2 class="wp-block-heading has-text-align-center has-foreground-color has-text-color has-link-color has-amatic-sc-font-family" style="margin-top:0;margin-bottom:var(--wp--preset--spacing--60);font-size:45px;font-style:normal;font-weight:700"><?php esc_html_e('Latest News &amp; Articles','green-vegetable-store'); ?></h2>
<!-- /wp:heading --></div>
<!-- /wp:group -->

<!-- wp:query {"queryId":10,"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"taxQuery":null,"parents":[],"format":[]}} -->
<div class="wp-block-query"><!-- wp:post-template {"className":"wow slideInUp","layout":{"type":"grid","columnCount":4}} -->
<!-- wp:post-date {"textAlign":"center","format":"j M","style":{"typography":{"fontStyle":"normal","fontWeight":"500"},"elements":{"link":{"color":{"text":"var:preset|color|base"}}},"spacing":{"padding":{"top":"var:preset|spacing|30","bottom":"var:preset|spacing|30","left":"var:preset|spacing|30","right":"var:preset|spacing|30"},"margin":{"top":"0","bottom":"var:preset|spacing|40"}},"border":{"radius":{"bottomRight":"22px","topLeft":"0px","topRight":"0px","bottomLeft":"0px"}}},"backgroundColor":"secondary","textColor":"base","fontSize":"extra-small","fontFamily":"dm-sans"} /-->

<!-- wp:post-title {"textAlign":"center","level":4,"style":{"typography":{"fontStyle":"normal","fontWeight":"700","fontSize":"30px"},"spacing":{"margin":{"top":"0","bottom":"var:preset|spacing|40"},"padding":{"bottom":"0"}},"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}}},"textColor":"foreground","fontFamily":"amatic-sc"} /-->

<!-- wp:post-excerpt {"textAlign":"center","excerptLength":10,"style":{"typography":{"fontSize":"14px","fontStyle":"normal","fontWeight":"500"},"spacing":{"margin":{"top":"0","bottom":"var:preset|spacing|20"}},"color":{"text":"#0000007d"},"elements":{"link":{"color":{"text":"#0000007d"}}}},"fontFamily":"dm-sans"} /-->

<!-- wp:post-author-name {"textAlign":"center","isLink":true,"linkTarget":"_blank","style":{"color":{"text":"#00000066"},"elements":{"link":{"color":{"text":"#00000066"}}},"typography":{"fontStyle":"normal","fontWeight":"500","textTransform":"capitalize"},"spacing":{"margin":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"}}},"fontSize":"extra-small","fontFamily":"dm-sans"} /-->

<!-- wp:read-more {"content":"Learn More","linkTarget":"_blank","style":{"typography":{"fontSize":"15px","fontStyle":"normal","fontWeight":"500"},"elements":{"link":{"color":{"text":"var:preset|color|primary"}}},"spacing":{"margin":{"top":"var:preset|spacing|30","bottom":"var:preset|spacing|50"},"padding":{"top":"var:preset|spacing|30","bottom":"var:preset|spacing|30","left":"var:preset|spacing|60","right":"var:preset|spacing|60"}},"border":{"radius":{"topLeft":"35px","topRight":"35px","bottomLeft":"35px","bottomRight":"0px"},"width":"1px"}},"textColor":"primary","fontFamily":"dm-sans","borderColor":"primary"} /-->

<!-- wp:post-featured-image {"style":{"border":{"radius":"12px"}}} /-->
<!-- /wp:post-template --></div>
<!-- /wp:query --></div>
<!-- /wp:group -->