
<?php
 /**
  * Title: Latest News
  * Slug: gutenify-template-hub/latest-news
  * Categories: gutenify-template-hub
  */
?>
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"100px","right":"30px","left":"30px","bottom":"100px"},"blockGap":"0px"}},"backgroundColor":"background","layout":{"inherit":true,"type":"constrained"}} -->
<div class="wp-block-group alignfull has-background-background-color has-background" style="padding-top:100px;padding-right:30px;padding-bottom:100px;padding-left:30px"><!-- wp:columns {"verticalAlignment":"center","align":"wide","style":{"border":{"bottom":{"width":"0px","style":"none"}},"spacing":{"padding":{"bottom":"0","top":"0","right":"0","left":"0"},"margin":{"top":"0","bottom":"0"},"blockGap":{"top":"var:preset|spacing|70","left":"var:preset|spacing|70"}}}} -->
<div class="wp-block-columns alignwide are-vertically-aligned-center" style="border-bottom-style:none;border-bottom-width:0px;margin-top:0;margin-bottom:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"><!-- wp:column {"verticalAlignment":"center","width":"30%"} -->
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:30%"><!-- wp:group {"style":{"spacing":{"blockGap":"0px"}}} -->
<div class="wp-block-group"><!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"left"}} -->
<div class="wp-block-group"><!-- wp:group {"style":{"border":{"radius":"10px"},"spacing":{"padding":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}},"color":{"background":"#3773fe14"}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"center"}} -->
<div class="wp-block-group has-background" style="border-radius:10px;background-color:#3773fe14;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><!-- wp:paragraph {"style":{"spacing":{"padding":{"top":"8px","right":"16px","bottom":"8px","left":"16px"}},"typography":{"fontStyle":"normal","fontWeight":"500","letterSpacing":"0.01em","lineHeight":"1.2","fontSize":"16px"}},"textColor":"primary"} -->
<p class="has-primary-color has-text-color" style="padding-top:8px;padding-right:16px;padding-bottom:8px;padding-left:16px;font-size:16px;font-style:normal;font-weight:500;letter-spacing:0.01em;line-height:1.2"><strong><?php echo esc_html__( 'Recent News', 'gutenify-template-hub' ); ?></strong></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->

<!-- wp:heading {"textAlign":"left","style":{"spacing":{"margin":{"bottom":"14px"}},"typography":{"textTransform":"capitalize","lineHeight":"1.7"}},"fontSize":"slider-title"} -->
<h2 class="wp-block-heading has-text-align-left has-slider-title-font-size" style="margin-bottom:14px;line-height:1.7;text-transform:capitalize"><?php echo esc_html__( 'Blog Posts', 'gutenify-template-hub' ); ?></h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>.<?php echo esc_html__( 'A description of your blog and what the visitor could expect to find in it', 'gutenify-template-hub' ); ?></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->

<!-- wp:buttons {"layout":{"type":"flex","justifyContent":"left"},"style":{"spacing":{"blockGap":"10px","margin":{"top":"20px","bottom":"20px"}}}} -->
<div class="wp-block-buttons" style="margin-top:20px;margin-bottom:20px"><!-- wp:button {"style":{"spacing":{"padding":{"right":"35px","left":"35px"}}},"className":"is-style-fill "} -->
<div class="wp-block-button is-style-fill"><a class="wp-block-button__link wp-element-button" href="#" style="padding-right:35px;padding-left:35px"><?php echo esc_html__( 'View All Blog', 'gutenify-template-hub' ); ?></a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons --></div>
<!-- /wp:column -->

<!-- wp:column {"verticalAlignment":"center"} -->
<div class="wp-block-column is-vertically-aligned-center"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"0px"}}},"layout":{"inherit":true,"type":"constrained"}} -->
<div class="wp-block-group alignwide" style="padding-bottom:0px"><!-- wp:query {"queryId":1,"query":{"perPage":"2","pages":"","offset":"","postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false},"tagName":"main","displayLayout":{"type":"flex","columns":2},"align":"wide","layout":{"inherit":false}} -->
<main class="wp-block-query alignwide"><!-- wp:post-template {"align":"wide","style":{"typography":{"fontStyle":"normal","fontWeight":"500"}}} -->
<!-- wp:group {"style":{"spacing":{"padding":{"top":"0px","right":"0px","bottom":"0px","left":"0px"},"blockGap":"var:preset|spacing|40"}},"layout":{"inherit":true,"type":"constrained"}} -->
<div class="wp-block-group" style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><!-- wp:cover {"useFeaturedImage":true,"dimRatio":20,"minHeight":311,"minHeightUnit":"px","customGradient":"linear-gradient(0deg,rgb(0,0,0) 24%,rgba(0,0,0,0) 63%)","contentPosition":"bottom right","isDark":false,"className":"image-zoom-hover "} -->
<div class="wp-block-cover is-light has-custom-content-position is-position-bottom-right image-zoom-hover" style="min-height:311px"><span aria-hidden="true" class="wp-block-cover__background has-background-dim-20 has-background-dim has-background-gradient" style="background:linear-gradient(0deg,rgb(0,0,0) 24%,rgba(0,0,0,0) 63%)"></span><div class="wp-block-cover__inner-container"><!-- wp:paragraph {"align":"center","placeholder":"Write title…","fontSize":"large"} -->
<p class="has-text-align-center has-large-font-size"></p>
<!-- /wp:paragraph --></div></div>
<!-- /wp:cover -->

<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"40px","right":"40px","bottom":"40px","left":"40px"},"margin":{"top":"0px"},"blockGap":"10px"}},"backgroundColor":"background","className":"has-no-underline has-background-secondary-background-color"} -->
<div class="wp-block-group alignwide has-no-underline has-background-secondary-background-color has-background-background-color has-background" style="margin-top:0px;padding-top:40px;padding-right:40px;padding-bottom:40px;padding-left:40px"><!-- wp:post-date {"format":"M j, Y","isLink":true,"style":{"elements":{"link":{"color":{"text":"var:preset|color|body-text"}}}},"textColor":"primary","fontSize":"small"} /-->

<!-- wp:post-title {"level":3,"isLink":true,"align":"wide","style":{"typography":{"fontStyle":"normal","fontWeight":"500","textTransform":"capitalize","fontSize":"1.5rem"}}} /-->

<!-- wp:read-more {"content":"","style":{"typography":{"fontStyle":"normal","fontWeight":"600","textTransform":"capitalize"}},"textColor":"primary","className":"is-style-underline"} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
<!-- /wp:post-template --></main>
<!-- /wp:query --></div>
<!-- /wp:group --></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></div>
<!-- /wp:group -->