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

<!-- wp:group {"metadata":{"categories":["carpet-store"],"patternName":"carpet-store/latest-news","name":"Latest News"},"className":"home-blog-section wow bounceInDown","style":{"spacing":{"padding":{"top":"40px","bottom":"40px"}}},"layout":{"type":"constrained","contentSize":"80%"}} -->
<div class="wp-block-group home-blog-section wow bounceInDown" style="padding-top:40px;padding-bottom:40px"><!-- wp:group {"className":"latest-news-heading","layout":{"type":"constrained","contentSize":"100%"}} -->
<div class="wp-block-group latest-news-heading"><!-- wp:heading {"level":6,"className":"short-text","style":{"typography":{"fontSize":"14px","fontStyle":"normal","fontWeight":"400"},"color":{"background":"var(\u002d\u002dwp\u002d\u002dpreset\u002d\u002dcolor\u002d\u002dsecondary-theme)"},"spacing":{"margin":{"bottom":"10px"}},"elements":{"link":{"color":{"text":"var:preset|color|white"}}}},"textColor":"white","fontFamily":"rubik"} -->
<h6 class="wp-block-heading short-text has-white-color has-text-color has-background has-link-color has-rubik-font-family" style="background-color:var(--wp--preset--color--secondary-theme);margin-bottom:10px;font-size:14px;font-style:normal;font-weight:400"><?php esc_html_e('Our Blog','carpet-store'); ?></h6>
<!-- /wp:heading -->

<!-- wp:heading {"textAlign":"center","level":3,"style":{"typography":{"fontSize":"20px","fontStyle":"normal","fontWeight":"700"},"color":{"text":"#222222"},"spacing":{"padding":{"top":"0","bottom":"0"},"margin":{"top":"var:preset|spacing|20","bottom":"var:preset|spacing|20"}}},"fontFamily":"rubik"} -->
<h3 class="wp-block-heading has-text-align-center has-text-color has-rubik-font-family" style="color:#222222;margin-top:var(--wp--preset--spacing--20);margin-bottom:var(--wp--preset--spacing--20);padding-top:0;padding-bottom:0;font-size:20px;font-style:normal;font-weight:700"><?php esc_html_e('Latest News &amp; Update','carpet-store'); ?></h3>
<!-- /wp:heading --></div>
<!-- /wp:group -->

<!-- wp:query {"queryId":1,"query":{"perPage":3,"pages":"","offset":"","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":"grid-layout","layout":{"type":"grid","columnCount":3}} -->
<!-- wp:group {"className":"has-shadow-dark  wow bounceInDown","style":{"spacing":{"padding":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}}},"layout":{"inherit":true,"type":"constrained"}} -->
<div class="wp-block-group has-shadow-dark wow bounceInDown" style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><!-- wp:post-featured-image {"isLink":true,"align":"wide","className":"no-padding"} /-->

<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"40px","right":"40px","bottom":"40px","left":"40px"},"margin":{"top":"0px"},"blockGap":"10px"}},"backgroundColor":"background"} -->
<div class="wp-block-group alignwide has-background-background-color has-background" style="margin-top:0px;padding-top:40px;padding-right:40px;padding-bottom:40px;padding-left:40px"><!-- wp:post-title {"level":3,"isLink":true,"align":"wide","style":{"typography":{"fontStyle":"normal","fontWeight":"600"}},"fontSize":"large"} /-->

<!-- wp:post-date {"format":"F j, Y","style":{"typography":{"fontStyle":"normal","fontWeight":"600"},"elements":{"link":{"color":{"text":"var:preset|color|primary"}}}},"textColor":"primary","fontSize":"small"} /-->

<!-- wp:post-excerpt {"moreText":"Know More\u003ca role=\u0022textbox\u0022 aria-multiline=\u0022true\u0022 aria-label=\u0022\u0026quot;Read more\u0026quot; link text\u0022 class=\u0022block-editor-rich-text__editable wp-block-post-excerpt__more-link rich-text\u0022 style=\u0022font-size: revert; font-family: var(\u002d\u002dwp\u002d\u002dpreset\u002d\u002dfont-family\u002d\u002dpoppins); min-width: 1px; display: inline !important;\u0022\u003e\u003c/a\u003e","excerptLength":25,"style":{"elements":{"link":{"color":{"text":"var:preset|color|primary"}}},"typography":{"fontSize":"14px"}}} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
<!-- /wp:post-template --></div>
<!-- /wp:query -->

<!-- wp:buttons {"style":{"spacing":{"padding":{"top":"1px","bottom":"1px"},"margin":{"top":"10px","bottom":"0"}}},"layout":{"type":"flex","justifyContent":"center"}} -->
<div class="wp-block-buttons" style="margin-top:10px;margin-bottom:0;padding-top:1px;padding-bottom:1px"><!-- wp:button {"textColor":"background","style":{"typography":{"fontStyle":"normal","fontWeight":"400"},"elements":{"link":{"color":{"text":"var:preset|color|background"}}},"spacing":{"padding":{"left":"25px","right":"25px","top":"10px","bottom":"10px"}},"border":{"radius":"30px"},"color":{"background":"var(\u002d\u002dwp\u002d\u002dpreset\u002d\u002dcolor\u002d\u002dprimary)"}},"fontSize":"tiny","fontFamily":"rubik"} -->
<div class="wp-block-button"><a class="wp-block-button__link has-background-color has-text-color has-background has-link-color has-rubik-font-family has-tiny-font-size has-custom-font-size wp-element-button" href="#" style="border-radius:30px;background-color:var(--wp--preset--color--primary);padding-top:10px;padding-right:25px;padding-bottom:10px;padding-left:25px;font-style:normal;font-weight:400"><?php esc_html_e('View All News','carpet-store'); ?></a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons --></div>
<!-- /wp:group -->