<?php
/**
 * Title: Latest News
 * Slug: dental-blocks/latest-news
 * Categories: dental-blocks, latest-news
 */
?>

<!-- wp:group {"className":"latest-news","layout":{"type":"constrained","contentSize":"70%"}} -->
<div class="wp-block-group latest-news"><!-- wp:spacer {"height":"18px"} -->
<div style="height:18px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

<!-- wp:heading {"textAlign":"center","level":6,"style":{"elements":{"link":{"color":{"text":"var:preset|color|primary"}}},"typography":{"fontStyle":"normal","fontWeight":"700"}},"textColor":"primary","fontSize":"medium","fontFamily":"roboto"} -->
<h6 class="wp-block-heading has-text-align-center has-primary-color has-text-color has-link-color has-roboto-font-family has-medium-font-size" style="font-style:normal;font-weight:700"><?php esc_html_e('LATEST NEWS','dental-blocks'); ?></h6>
<!-- /wp:heading -->

<!-- wp:group {"className":"latest-heading","layout":{"type":"constrained","contentSize":"50%"}} -->
<div class="wp-block-group latest-heading"><!-- wp:heading {"textAlign":"center"} -->
<h2 class="wp-block-heading has-text-align-center"><?php esc_html_e('Stay Informed on Oral and Dental Care','dental-blocks'); ?></h2>
<!-- /wp:heading --></div>
<!-- /wp:group -->

<!-- wp:spacer {"height":"18px"} -->
<div style="height:18px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

<!-- wp:query {"queryId":36,"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true}} -->
<div class="wp-block-query"><!-- wp:post-template {"className":"latest-blogs","layout":{"type":"grid","columnCount":3}} -->
<!-- wp:group {"className":"blog-box","style":{"border":{"radius":"10px"},"elements":{"link":{"color":{"text":"var:preset|color|body-text"}}},"spacing":{"padding":{"right":"var:preset|spacing|40","left":"var:preset|spacing|40"}}},"textColor":"body-text","layout":{"type":"constrained"}} -->
<div class="wp-block-group blog-box has-body-text-color has-text-color has-link-color" style="border-radius:10px;padding-right:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--40)"><!-- wp:group {"className":"blog-image-box","layout":{"type":"constrained"}} -->
<div class="wp-block-group blog-image-box"><!-- wp:post-featured-image {"isLink":true,"align":"center"} /-->

<!-- wp:group {"className":"blog-content-box","style":{"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50"},"margin":{"top":"0","bottom":"0"}}},"backgroundColor":"section-bg","layout":{"type":"constrained","contentSize":""}} -->
<div class="wp-block-group blog-content-box has-section-bg-background-color has-background" style="margin-top:0;margin-bottom:0;padding-right:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--50)"><!-- wp:post-date {"fontSize":"extra-small"} /-->

<!-- wp:post-title {"level":3,"style":{"typography":{"fontStyle":"normal","fontWeight":"700","textTransform":"capitalize"},"spacing":{"padding":{"right":"0","left":"0"}},"elements":{"link":{"color":{"text":"#042c9f"}}},"color":{"text":"#042c9f"}},"fontSize":"medium"} /-->

<!-- wp:post-excerpt {"excerptLength":15,"className":"blog-excerpt","style":{"spacing":{"padding":{"right":"0","left":"0"}}},"fontSize":"small"} /-->

<!-- wp:group {"className":"latest-readmore","layout":{"type":"constrained","justifyContent":"left"}} -->
<div class="wp-block-group latest-readmore"><!-- wp:read-more {"content":"Learn More","style":{"elements":{"link":{"color":{"text":"var:preset|color|primary"}}},"spacing":{"margin":{"bottom":"0"}},"typography":{"fontStyle":"normal","fontWeight":"500"}},"textColor":"primary","fontSize":"extra-small"} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
<!-- /wp:post-template -->

<!-- wp:query-no-results -->
<!-- wp:paragraph {"align":"center","placeholder":"Add text or blocks that will display when a query returns no results."} -->
<p class="has-text-align-center"><?php esc_html_e('There is no post found','dental-blocks'); ?></p>
<!-- /wp:paragraph -->
<!-- /wp:query-no-results --></div>
<!-- /wp:query --></div>
<!-- /wp:group -->