<?php

/**
 * Title: Hero Cover
 * Slug: monocle/hero-cover
 * Categories: monocle-sections
 */

?>
<!-- wp:group {"metadata":{"patternName":"monocle/hero-cover","name":"Hero Cover","categories":["monocle-sections"]},"style":{"spacing":{"padding":{"top":"0","bottom":"0","left":"0","right":"0"}}},"backgroundColor":"background-alt","layout":{"type":"constrained","contentSize":"100%"}} -->
<div class="wp-block-group has-background-alt-background-color has-background" style="padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"><!-- wp:query {"queryId":48,"query":{"perPage":1,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false,"taxQuery":null,"parents":[],"format":[]}} -->
<div class="wp-block-query"><!-- wp:post-template -->
<!-- wp:group {"layout":{"type":"constrained","contentSize":"1260px"}} -->
<div class="wp-block-group"><!-- wp:group {"align":"full","className":"is-style-monocle-boxshadow-md","style":{"dimensions":{"minHeight":"700px"},"spacing":{"padding":{"top":"0","bottom":"0","left":"0","right":"0"}}},"backgroundColor":"border-color","layout":{"type":"default"}} -->
<div class="wp-block-group alignfull is-style-monocle-boxshadow-md has-border-color-background-color has-background" style="min-height:700px;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"><!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"700px","dimRatio":10,"align":"full"} /--></div>
<!-- /wp:group -->

<!-- wp:group {"style":{"spacing":{"margin":{"top":"-150px","bottom":"0"},"padding":{"top":"60px","bottom":"60px","left":"26px","right":"26px"}}},"backgroundColor":"light-color","layout":{"type":"constrained","contentSize":"760px"}} -->
<div class="wp-block-group has-light-color-background-color has-background" style="margin-top:-150px;margin-bottom:0;padding-top:60px;padding-right:26px;padding-bottom:60px;padding-left:26px"><!-- wp:post-terms {"term":"category","className":"is-style-monocle-categories-alternate","style":{"elements":{"link":{"color":{"text":"var:preset|color|light-color"}}},"typography":{"textTransform":"uppercase","textAlign":"center"}},"textColor":"light-color","fontSize":"x-small"} /-->

<!-- wp:post-title {"textAlign":"center","level":3,"isLink":true,"style":{"elements":{"link":{"color":{"text":"var:preset|color|heading-color"},":hover":{"color":{"text":"var:preset|color|primary"}}}}},"textColor":"heading-color","fontSize":"jumbo"} /-->

<!-- wp:post-excerpt {"textAlign":"center","excerptLength":18} /-->

<!-- wp:group {"style":{"spacing":{"margin":{"top":"16px"},"blockGap":"6px"},"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}},"typography":{"textTransform":"capitalize"}},"textColor":"foreground","fontSize":"x-small","layout":{"type":"flex","flexWrap":"wrap","justifyContent":"center"}} -->
<div class="wp-block-group has-foreground-color has-text-color has-link-color has-x-small-font-size" style="margin-top:16px;text-transform:capitalize"><!-- wp:group {"style":{"spacing":{"blockGap":"6px"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group"><!-- wp:avatar {"size":24,"style":{"border":{"radius":{"topLeft":"100%","topRight":"100%","bottomLeft":"100%","bottomRight":"100%"}}}} /-->

<!-- wp:post-author-name {"style":{"border":{"top":{"width":"0px","style":"none"},"right":{"color":"var:preset|color|foreground","style":"solid","width":"1px"},"bottom":{"width":"0px","style":"none"},"left":{"width":"0px","style":"none"}},"spacing":{"padding":{"right":"6px"}}}} /--></div>
<!-- /wp:group -->

<!-- wp:post-date {"format":null,"metadata":{"bindings":{"datetime":{"source":"core/post-data","args":{"field":"date"}}}},"style":{"spacing":{"padding":{"right":"6px"}},"border":{"top":{"width":"0px","style":"none"},"right":{"color":"var:preset|color|foreground","width":"1px"},"bottom":{"width":"0px","style":"none"},"left":{"width":"0px","style":"none"}}}} /-->

<!-- wp:post-time-to-read {"displayAsRange":false} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
<!-- /wp:post-template -->

<!-- wp:query-no-results -->
<!-- wp:paragraph {"placeholder":"Add text or blocks that will display when a query returns no results."} -->
<p>
<?php
	esc_html_e( 'Oops! Blogs Not Found', 'monocle' );
?>
</p>
<!-- /wp:paragraph -->
<!-- /wp:query-no-results --></div>
<!-- /wp:query --></div>
<!-- /wp:group -->