<?php
/**
 * Title: Section Blog 3 Cols
 * Slug: matchday/section-blog-3-cols
 * Categories: matchday-sections
 */
?>

<!-- wp:group {"metadata":{"name":"Section - Blog / 3 cols"},"style":{"spacing":{"padding":{"top":"var:preset|spacing|70","bottom":"0"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--70);padding-bottom:0">
	<!-- wp:group {"metadata":{"name":"Heading Group"},"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|50"}}},"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between"}} -->
	<div class="wp-block-group" style="margin-bottom:var(--wp--preset--spacing--50)">
		<!-- wp:heading {"className":"is-style-default","style":{"typography":{"textAlign":"center"}}} -->
		<h2 class="wp-block-heading has-text-align-center is-style-default"><?php esc_html_e( 'Latest News', 'matchday' ); ?></h2>
		<!-- /wp:heading -->
		<!-- wp:group {"metadata":{"name":"More Link"},"style":{"spacing":{"blockGap":"0.5rem"},"typography":{"fontStyle":"normal","fontWeight":"700"},"elements":{"link":{"color":{"text":"var:preset|color|foreground"},":hover":{"color":{"text":"var:preset|color|primary"}}}}},"fontSize":"small","layout":{"type":"flex","flexWrap":"nowrap"}} -->
		<div class="wp-block-group has-link-color has-small-font-size" style="font-style:normal;font-weight:700">
			<!-- wp:paragraph -->
			<p><a href="<?php echo esc_url(home_url('/blog/')); ?>" class="no-underline hover:underline"><?php esc_html_e( 'View All News', 'matchday' ); ?></a></p>
			<!-- /wp:paragraph -->
			<!-- wp:icon {"icon":"matchday/arrow-right","style":{"dimensions":{"width":"1.25rem"},"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}}},"textColor":"contrast"} /-->
		</div>
		<!-- /wp:group -->
	</div>
	<!-- /wp:group -->
	<!-- wp:query {"queryId":2,"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"ignore","inherit":false,"taxQuery":null,"parents":[],"format":[]},"className":"matchday-query-loop"} -->
	<div class="wp-block-query matchday-query-loop">
		<!-- wp:post-template {"style":{"spacing":{"blockGap":"1.25rem"}},"layout":{"type":"grid","columnCount":3,"minimumColumnWidth":"12rem"}} -->
		<!-- wp:group {"metadata":{"name":"Card Post"},"className":"matchday-post-card","style":{"border":{"width":"1px","color":"#C7CDD6","radius":{"topLeft":"1.5rem","topRight":"1.5rem","bottomLeft":"1.5rem","bottomRight":"1.5rem"}},"spacing":{"padding":{"top":"6px","bottom":"6px","left":"6px","right":"6px"},"blockGap":"0"},"dimensions":{"minHeight":"100%"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
		<div class="wp-block-group matchday-post-card has-border-color" style="border-color:#C7CDD6;border-width:1px;border-top-left-radius:1.5rem;border-top-right-radius:1.5rem;border-bottom-left-radius:1.5rem;border-bottom-right-radius:1.5rem;min-height:100%;padding-top:6px;padding-right:6px;padding-bottom:6px;padding-left:6px">
			<!-- wp:post-featured-image {"isLink":true,"aspectRatio":"3/2","sizeSlug":"medium","className":"matchday-post-card__featured-image"} /-->
			<!-- wp:group {"metadata":{"name":"Content"},"className":"matchday-query-loop__content","style":{"spacing":{"padding":{"top":"var:preset|spacing|30","right":"var:preset|spacing|30","left":"var:preset|spacing|30","bottom":"var:preset|spacing|30"},"blockGap":"1rem"}},"backgroundColor":"background","layout":{"type":"flex","orientation":"vertical","flexWrap":"nowrap","justifyContent":"stretch"}} -->
			<div class="wp-block-group matchday-query-loop__content has-background-background-color has-background" style="padding-top:var(--wp--preset--spacing--30);padding-right:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--30);padding-left:var(--wp--preset--spacing--30)">
				<!-- wp:post-terms {"term":"category","className":"is-style-post-terms-1"} /-->
				<!-- wp:post-title {"level":3,"isLink":true,"style":{"typography":{"lineHeight":"1.35"},"elements":{"link":{"color":{"text":"var:preset|color|foreground"},":hover":{"color":{"text":"var:preset|color|accent-4"}}}}},"fontSize":"large"} /-->
				<!-- wp:post-date {"datetime":"2026-01-12T17:50:10.557Z","fontSize":"small"} /-->
			</div>
			<!-- /wp:group -->
			<!-- wp:group {"metadata":{"name":"Footer"},"className":"matchday-post-card__footer","style":{"spacing":{"padding":{"left":"var:preset|spacing|30","right":"var:preset|spacing|30","bottom":"var:preset|spacing|30","top":"var:preset|spacing|30"},"blockGap":"1rem"}},"backgroundColor":"base-2","layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between"}} -->
			<div class="wp-block-group matchday-post-card__footer has-base-2-background-color has-background" style="padding-top:var(--wp--preset--spacing--30);padding-right:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--30);padding-left:var(--wp--preset--spacing--30)">
				<!-- wp:post-author {"avatarSize":24} /-->
				<!-- wp:post-time-to-read {"displayAsRange":false,"fontSize":"small"} /-->
			</div>
			<!-- /wp:group -->
		</div>
		<!-- /wp:group -->
		<!-- /wp:post-template -->
		<!-- wp:query-no-results -->
		<!-- wp:pattern {"slug":"matchday/alert-warning"} /-->
		<!-- /wp:query-no-results -->
	</div>
	<!-- /wp:query -->
</div>
<!-- /wp:group -->
