<?php
/**
 * Title: Featured Post
 * Slug: monowp/featured-post
 * Inserter: false
 */
?>

<!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"right":"0","left":"0"},"margin":{"top":"0","bottom":"var:preset|spacing|40"}},"elements":{"link":{"color":{"text":"var:preset|color|white"}}}},"backgroundColor":"black","textColor":"white","layout":{"type":"constrained"}} -->
<main id="featured-post" class="wp-block-group has-white-color has-black-background-color has-background has-text-color has-link-color" style="margin-top:0;margin-bottom:var(--wp--preset--spacing--40);padding-right:0;padding-left:0"><!-- wp:query {"queryId":17,"query":{"perPage":"1","pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"only","inherit":false},"enhancedPagination":true,"align":"full"} -->
<div class="wp-block-query alignfull"><!-- wp:post-template {"style":{"spacing":{"blockGap":"0"},"elements":{"link":{"color":{"text":"var:preset|color|white"}}}},"textColor":"white","layout":{"type":"default","columnCount":3}} -->
<!-- wp:cover {"useFeaturedImage":true,"hasParallax":true,"dimRatio":70,"overlayColor":"black","isUserOverlayColor":true,"minHeight":91,"minHeightUnit":"vh","className":"grayscale","style":{"color":{"duotone":"var:preset|duotone|grayscale"},"spacing":{"padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"}},"elements":{"link":{"color":{"text":"var:preset|color|white"}},"heading":{"color":{"text":"var:preset|color|white"}}}},"textColor":"white","layout":{"type":"constrained"}} -->
<div class="wp-block-cover has-parallax has-white-color has-text-color has-link-color grayscale" style="padding-top:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40);min-height:91vh"><span aria-hidden="true" class="wp-block-cover__background has-black-background-color has-background-dim-70 has-background-dim"></span><div class="wp-block-cover__inner-container">
<!-- wp:heading {"textAlign":"center","align":"wide","style":{"typography":{"textTransform":"uppercase"},"elements":{"link":{"color":{"text":"var:preset|color|white"}}}},"textColor":"white","fontSize":"medium"} -->
<h2 class="wp-block-heading alignwide has-text-align-center has-white-color has-text-color has-link-color has-medium-font-size" style="text-transform:uppercase"><?php echo esc_html_x( 'Featured', 'Featured post label', 'monowp' ); ?></h2>
<!-- /wp:heading -->

<!-- wp:post-title {"textAlign":"center","level":1,"style":{"elements":{"link":{"color":{"text":"var:preset|color|white"}}},"typography":{"fontStyle":"normal","fontWeight":"300"}},"textColor":"white","fontSize":"x-large"} /-->

<!-- wp:post-excerpt {"textAlign":"center","moreText":"<?php echo esc_html_x( 'READ POST', 'Link to article', 'monowp' ); ?> ➔","style":{"elements":{"link":{"color":{"text":"black"}}}},"textColor":"white","className":"featured-excerpt"} /--></div></div>
<!-- /wp:cover -->
<!-- /wp:post-template --></div>
<!-- /wp:query --></main>
<!-- /wp:group -->
