<?php
/**
 * Title: Index Page
 * Slug: nova-autocare/index-page
 * Categories: nova-autocare
 *
 * @package nova-autocare
 * @since 1.0.0
 */
?>

<!-- wp:group {"align":"full","style":{"spacing":{"blockGap":"0"}},"layout":{"type":"default"}} -->
<div class="wp-block-group alignfull"><!-- wp:cover {"useFeaturedImage":true,"dimRatio":50,"overlayColor":"secondary","isUserOverlayColor":true,"minHeight":300,"isDark":false,"style":{"spacing":{"margin":{"bottom":"50px"},"blockGap":"0"}},"layout":{"type":"constrained"}} -->
<div class="wp-block-cover is-light" style="margin-bottom:50px;min-height:300px"><span aria-hidden="true" class="wp-block-cover__background has-secondary-background-color has-background-dim"></span><div class="wp-block-cover__inner-container"><!-- wp:heading {"textAlign":"center","level":1,"style":{"typography":{"fontSize":"40px"},"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}}},"textColor":"contrast"} -->
<h1 class="wp-block-heading has-text-align-center has-contrast-color has-text-color has-link-color" style="font-size:40px"><?php esc_html_e('Latest Articles','nova-autocare'); ?></h1>
<!-- /wp:heading -->

<!-- wp:group {"style":{"elements":{"link":{"color":{"text":"var:preset|color|bright"}}}},"textColor":"bright","layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"center"}} -->
<div class="wp-block-group has-bright-color has-text-color has-link-color"><!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}}},"textColor":"contrast"} -->
<p class="has-contrast-color has-text-color has-link-color"><?php esc_html_e('Posted Date: ','nova-autocare'); ?></p>
<!-- /wp:paragraph -->

<!-- wp:post-date {"textAlign":"center","metadata":{"bindings":{"datetime":{"source":"core/post-data","args":{"field":"date"}}}},"style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}}},"textColor":"contrast","fontSize":"small"} /--></div>
<!-- /wp:group --></div></div>
<!-- /wp:cover -->

<!-- wp:group {"style":{"spacing":{"padding":{"top":"0","bottom":"90px"},"blockGap":"0"}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="padding-top:0;padding-bottom:90px"><!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"left":"40px"},"padding":{"top":"0","bottom":"0"},"margin":{"top":"0","bottom":"0"}}}} -->
<div class="wp-block-columns alignwide" style="margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0"><!-- wp:column {"width":"66.66%","style":{"spacing":{"padding":{"top":"0px","bottom":"0px"},"blockGap":"0"}}} -->
<div class="wp-block-column" style="padding-top:0px;padding-bottom:0px;flex-basis:66.66%"><!-- wp:query {"queryId":61,"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 {"layout":{"type":"grid","columnCount":2,"minimumColumnWidth":null}} -->
<!-- wp:group {"style":{"spacing":{"blockGap":"0","margin":{"top":"0","bottom":"0"},"padding":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0"><!-- wp:post-featured-image {"isLink":true,"style":{"spacing":{"margin":{"top":"0","bottom":"0"},"padding":{"top":"0","bottom":"0"}}}} /-->

<!-- wp:group {"style":{"spacing":{"blockGap":"0","padding":{"top":"30px","bottom":"30px","left":"20px","right":"20px"}},"color":{"background":"#f9f9f9"}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group has-background" style="background-color:#f9f9f9;padding-top:30px;padding-right:20px;padding-bottom:30px;padding-left:20px"><!-- wp:post-date {"metadata":{"bindings":{"datetime":{"source":"core/post-data","args":{"field":"date"}}}},"style":{"typography":{"fontSize":"12px"}}} /-->

<!-- wp:post-title {"isLink":true,"style":{"typography":{"fontSize":"20px","lineHeight":"1.4"},"spacing":{"margin":{"bottom":"10px"}}}} /-->

<!-- wp:post-excerpt {"excerptLength":25} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
<!-- /wp:post-template -->

<!-- wp:query-pagination {"style":{"typography":{"fontSize":"18px"}},"layout":{"type":"flex","justifyContent":"space-between"}} -->
<!-- wp:query-pagination-previous {"label":"Prev"} /-->

<!-- wp:query-pagination-numbers /-->

<!-- wp:query-pagination-next {"label":"Next"} /-->
<!-- /wp:query-pagination --></div>
<!-- /wp:query --></div>
<!-- /wp:column -->

<!-- wp:column {"width":"33.33%","style":{"spacing":{"padding":{"top":"20px"}}}} -->
<div class="wp-block-column" style="padding-top:20px;flex-basis:33.33%"><!-- wp:group {"className":"nova-autocare-sidebar-widget","style":{"color":{"background":"#f5f5f5"},"spacing":{"padding":{"top":"30px","bottom":"30px","left":"20px","right":"20px"},"blockGap":"0"}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group nova-autocare-sidebar-widget has-background" style="background-color:#f5f5f5;padding-top:30px;padding-right:20px;padding-bottom:30px;padding-left:20px"><!-- wp:group {"style":{"border":{"left":{"width":"5px"}},"spacing":{"padding":{"left":"10px"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="border-left-width:5px;padding-left:10px"><!-- wp:heading -->
<h2 class="wp-block-heading"><?php esc_html_e('Recent Posts','nova-autocare'); ?></h2>
<!-- /wp:heading --></div>
<!-- /wp:group -->

<!-- wp:query {"queryId":46,"query":{"perPage":"5","pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false},"metadata":{"categories":["posts"],"patternName":"core/query-small-posts","name":"Small image and title"}} -->
<div class="wp-block-query"><!-- wp:post-template {"style":{"spacing":{"blockGap":"20px"}}} -->
<!-- wp:columns {"verticalAlignment":"center","style":{"spacing":{"padding":{"top":"0","bottom":"0"},"margin":{"top":"0","bottom":"0"},"blockGap":{"top":"0"}}}} -->
<div class="wp-block-columns are-vertically-aligned-center" style="margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0"><!-- wp:column {"verticalAlignment":"center","width":"25%"} -->
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:25%"><!-- wp:post-featured-image {"isLink":true,"height":"100px"} /--></div>
<!-- /wp:column -->

<!-- wp:column {"verticalAlignment":"center","width":"75%","style":{"spacing":{"blockGap":"0"}}} -->
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:75%"><!-- wp:post-title {"isLink":true,"style":{"typography":{"fontSize":"18px"}}} /-->

<!-- wp:post-date {"metadata":{"bindings":{"datetime":{"source":"core/post-data","args":{"field":"date"}}}},"style":{"typography":{"fontSize":"12px"}}} /--></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
<!-- /wp:post-template --></div>
<!-- /wp:query --></div>
<!-- /wp:group -->

<!-- wp:group {"className":"nova-autocare-sidebar-widget","style":{"color":{"background":"#f5f5f5"},"spacing":{"padding":{"top":"30px","bottom":"30px","left":"20px","right":"20px"},"blockGap":"30px"}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group nova-autocare-sidebar-widget has-background" style="background-color:#f5f5f5;padding-top:30px;padding-right:20px;padding-bottom:30px;padding-left:20px"><!-- wp:group {"style":{"border":{"left":{"width":"5px"}},"spacing":{"padding":{"left":"10px"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="border-left-width:5px;padding-left:10px"><!-- wp:heading -->
<h2 class="wp-block-heading"><?php esc_html_e('Recent Comments','nova-autocare'); ?></h2>
<!-- /wp:heading --></div>
<!-- /wp:group -->

<!-- wp:latest-comments {"style":{"spacing":{"margin":{"right":"0","left":"0"},"padding":{"right":"0","left":"0"}}}} /--></div>
<!-- /wp:group -->

<!-- wp:group {"className":"nova-autocare-sidebar-widget","style":{"color":{"background":"#f5f5f5"},"spacing":{"padding":{"top":"30px","bottom":"30px","left":"20px","right":"20px"},"blockGap":"30px"}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group nova-autocare-sidebar-widget has-background" style="background-color:#f5f5f5;padding-top:30px;padding-right:20px;padding-bottom:30px;padding-left:20px"><!-- wp:group {"style":{"border":{"left":{"width":"5px"}},"spacing":{"padding":{"left":"10px"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="border-left-width:5px;padding-left:10px"><!-- wp:heading {"style":{"typography":{"lineHeight":"1.5"}}} -->
<h2 class="wp-block-heading" style="line-height:1.5"><?php esc_html_e('All Categories','nova-autocare'); ?></h2>
<!-- /wp:heading --></div>
<!-- /wp:group -->

<!-- wp:categories {"showPostCounts":true,"style":{"typography":{"fontSize":"18px"}}} /--></div>
<!-- /wp:group -->

<!-- wp:group {"className":"nova-autocare-sidebar-widget","style":{"color":{"background":"#f5f5f5"},"spacing":{"padding":{"top":"30px","bottom":"30px","left":"20px","right":"20px"},"blockGap":"30px"}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group nova-autocare-sidebar-widget has-background" style="background-color:#f5f5f5;padding-top:30px;padding-right:20px;padding-bottom:30px;padding-left:20px"><!-- wp:group {"style":{"border":{"left":{"width":"5px"}},"spacing":{"padding":{"left":"10px"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="border-left-width:5px;padding-left:10px"><!-- wp:heading {"style":{"typography":{"lineHeight":"1.5"}}} -->
<h2 class="wp-block-heading" style="line-height:1.5"><?php esc_html_e('Tags','nova-autocare'); ?></h2>
<!-- /wp:heading --></div>
<!-- /wp:group -->

<!-- wp:post-terms {"term":"post_tag"} /--></div>
<!-- /wp:group --></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->