<?php
/**
 * Title: Latest News
 * Slug: ev-charging-station/latest-news
 * Categories: ev-charging-station
 * Keywords: latest-news, articles
 * Block Types: core/post-content
 * Post Types: page, wp_template
 */
?>
<!-- wp:group {"metadata":{"name":"Latest News"},"className":"latest-news wow zoomIn","style":{"spacing":{"padding":{"right":"0px","left":"0px"},"margin":{"top":"0","bottom":"100px"}}},"layout":{"type":"constrained","contentSize":"80%"}} -->
<div class="wp-block-group latest-news wow zoomIn" style="margin-top:0;margin-bottom:100px;padding-right:0px;padding-left:0px"><!-- wp:group {"style":{"spacing":{"margin":{"bottom":"45px"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group" style="margin-bottom:45px"><!-- wp:heading {"textAlign":"center","style":{"typography":{"fontSize":"22px","textTransform":"capitalize","fontStyle":"normal","fontWeight":"500","textDecoration":"underline"},"elements":{"link":{"color":{"text":"var:preset|color|primary"}}}},"textColor":"primary","fontFamily":"heading"} -->
<h2 class="wp-block-heading has-text-align-center has-primary-color has-text-color has-link-color has-heading-font-family" style="font-size:22px;font-style:normal;font-weight:500;text-decoration:underline;text-transform:capitalize"><?php echo esc_html__( 'blog & news', 'ev-charging-station' ); ?></h2>
<!-- /wp:heading -->

<!-- wp:paragraph {"align":"center","style":{"typography":{"fontSize":"25px","textTransform":"capitalize","fontStyle":"normal","fontWeight":"400"},"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}},"spacing":{"margin":{"top":"12px"}}},"textColor":"contrast","fontFamily":"body"} -->
<p class="has-text-align-center has-contrast-color has-text-color has-link-color has-body-font-family" style="margin-top:12px;font-size:25px;font-style:normal;font-weight:400;text-transform:capitalize"><?php echo esc_html__( 'stay updated with the latest in ev tech & travel', 'ev-charging-station' ); ?></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->

<!-- wp:query {"queryId":11,"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false,"taxQuery":null,"parents":[],"format":[]},"className":"news-boxes"} -->
<div class="wp-block-query news-boxes"><!-- wp:post-template {"className":"news-in-boxes owl-carousel","style":{"spacing":{"blockGap":"40px"}},"layout":{"type":"grid","columnCount":null,"minimumColumnWidth":"20rem"}} -->
<!-- wp:group {"className":"news-img-box","style":{"border":{"radius":{"topLeft":"20px","topRight":"20px","bottomRight":"20px","bottomLeft":"0px"}},"dimensions":{"minHeight":"300px"},"color":{"background":"#d9d9d9"}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group news-img-box has-background" style="border-top-left-radius:20px;border-top-right-radius:20px;border-bottom-left-radius:0px;border-bottom-right-radius:20px;background-color:#d9d9d9;min-height:300px"><!-- wp:post-featured-image {"isLink":true,"height":"300px","style":{"border":{"radius":{"topLeft":"20px","topRight":"20px","bottomLeft":"0px","bottomRight":"20px"}}}} /--></div>
<!-- /wp:group -->

<!-- wp:group {"className":"news-cont-box","style":{"spacing":{"margin":{"top":"20px"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group news-cont-box" style="margin-top:20px"><!-- wp:post-title {"level":3,"isLink":true,"className":"news-title","style":{"typography":{"fontSize":"20px","textTransform":"capitalize","fontStyle":"normal","fontWeight":"500"}},"fontFamily":"heading"} /-->

<!-- wp:post-excerpt {"excerptLength":20,"className":"news-excerpt","style":{"typography":{"fontSize":"14px"}}} /-->

<!-- wp:post-excerpt {"moreText":"read more","excerptLength":20,"className":"news-btn","style":{"typography":{"fontSize":"14px"}}} /--></div>
<!-- /wp:group -->
<!-- /wp:post-template --></div>
<!-- /wp:query --></div>
<!-- /wp:group -->