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

<!-- wp:group {"metadata":{"categories":["skating-routines","latest-news"],"patternName":"skating-routines/latest-news","name":"Latest News"},"className":"latest-news","layout":{"type":"constrained","contentSize":"85%"}} -->
<div class="wp-block-group latest-news"><!-- wp:paragraph {"align":"center","style":{"elements":{"link":{"color":{"text":"var:preset|color|primary"}}},"typography":{"fontStyle":"normal","fontWeight":"400","textTransform":"capitalize","fontSize":"20px"}},"textColor":"primary"} -->
<p class="has-text-align-center has-primary-color has-text-color has-link-color" style="font-size:20px;font-style:normal;font-weight:400;text-transform:capitalize"><?php esc_html_e('Our Blog','skating-routines'); ?></p>
<!-- /wp:paragraph -->

<!-- wp:heading {"textAlign":"center","style":{"typography":{"fontSize":"30px","fontStyle":"normal","fontWeight":"700"}}} -->
<h2 class="wp-block-heading has-text-align-center" style="font-size:30px;font-style:normal;font-weight:700"><?php esc_html_e('Our News &amp; Articles','skating-routines'); ?></h2>
<!-- /wp:heading -->

<!-- wp:spacer {"height":"32px"} -->
<div style="height:32px" 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":false}} -->
<div class="wp-block-query"><!-- wp:post-template {"className":"latest-blogs","layout":{"type":"grid","columnCount":"3"}} -->
<!-- wp:group {"className":"blog-box-upper","style":{"spacing":{"padding":{"top":"0","bottom":"0","left":"0","right":"0"},"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group blog-box-upper" style="margin-top:0;margin-bottom:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"><!-- wp:cover {"useFeaturedImage":true,"dimRatio":10,"overlayColor":"body-text","isUserOverlayColor":true,"minHeight":300,"isDark":false,"style":{"border":{"radius":"20px"}},"layout":{"type":"default"}} -->
<div class="wp-block-cover is-light" style="border-radius:20px;min-height:300px"><span aria-hidden="true" class="wp-block-cover__background has-body-text-background-color has-background-dim-10 has-background-dim"></span><div class="wp-block-cover__inner-container"><!-- wp:group {"className":"date-box-wrap","style":{"spacing":{"padding":{"top":"var:preset|spacing|20","bottom":"var:preset|spacing|20","left":"var:preset|spacing|20","right":"var:preset|spacing|20"}},"border":{"radius":"509%"}},"backgroundColor":"primary","layout":{"type":"constrained"}} -->
<div class="wp-block-group date-box-wrap has-primary-background-color has-background" style="border-radius:509%;padding-top:var(--wp--preset--spacing--20);padding-right:var(--wp--preset--spacing--20);padding-bottom:var(--wp--preset--spacing--20);padding-left:var(--wp--preset--spacing--20)"><!-- wp:group {"className":"date-box-inner","layout":{"type":"constrained"}} -->
<div class="wp-block-group date-box-inner"><!-- wp:post-date {"textAlign":"center","format":"j","style":{"elements":{"link":{"color":{"text":"var:preset|color|white"}}},"typography":{"fontStyle":"normal","fontWeight":"600"}},"textColor":"white","fontSize":"medium"} /-->

<!-- wp:post-date {"textAlign":"center","format":"M","style":{"elements":{"link":{"color":{"text":"var:preset|color|white"}}},"spacing":{"margin":{"top":"0","bottom":"0"}},"typography":{"lineHeight":"1.3"}},"textColor":"white","fontSize":"extra-small"} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div></div>
<!-- /wp:cover -->

<!-- wp:group {"metadata":{"name":""},"className":"latest-blog-content","style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"var:preset|spacing|40","right":"var:preset|spacing|40"}},"border":{"radius":{"topLeft":"20px","topRight":"20px"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group latest-blog-content" style="border-top-left-radius:20px;border-top-right-radius:20px;padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--40)"><!-- wp:post-title {"level":5,"style":{"elements":{"link":{"color":{"text":"var:preset|color|heading"}}},"typography":{"fontSize":"20px","fontStyle":"normal","fontWeight":"400"},"spacing":{"padding":{"left":"0"}}},"textColor":"heading"} /-->

<!-- wp:post-excerpt {"excerptLength":10,"style":{"spacing":{"padding":{"left":"0"}},"typography":{"fontSize":"14px"}}} /-->

<!-- wp:group {"className":"latest-btn","style":{"spacing":{"padding":{"right":"20px"}}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
<div class="wp-block-group latest-btn" style="padding-right:20px"><!-- wp:post-author {"avatarSize":24,"showBio":false,"style":{"typography":{"fontSize":"14px","textTransform":"capitalize","fontStyle":"normal","fontWeight":"500"}},"fontFamily":"josefin-sans"} /-->

<!-- wp:read-more {"content":"Read More","style":{"elements":{"link":{"color":{"text":"var:preset|color|body-text"}}},"typography":{"fontSize":"14px","fontStyle":"normal","fontWeight":"500"}},"textColor":"body-text","fontFamily":"josefin-sans"} /--></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('Sorry, no post exist...','skating-routines'); ?></p>
<!-- /wp:paragraph -->
<!-- /wp:query-no-results --></div>
<!-- /wp:query --></div>
<!-- /wp:group -->