<?php
/**
 * Title: CTA Centered heading
 * Slug: matchday/cta-centered-heading
 * Categories: call-to-action
 * Description: A hero with a centered heading, paragraph and button.
 */
?>

<!-- wp:group {"metadata":{"name":"CTA"},"align":"wide","className":"matchday-section__inner","style":{"spacing":{"padding":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70","left":"var:preset|spacing|40","right":"var:preset|spacing|40"}},"elements":{"link":{"color":{"text":"var:preset|color|base"}},"heading":{"color":{"text":"var:preset|color|background"}}},"border":{"radius":{"topLeft":"1.5rem","topRight":"1.5rem","bottomLeft":"1.5rem","bottomRight":"1.5rem"}}},"backgroundColor":"accent-4","textColor":"base","layout":{"type":"constrained","contentSize":"860px"}} -->
<div class="wp-block-group alignwide matchday-section__inner has-base-color has-accent-4-background-color has-text-color has-background has-link-color" style="border-top-left-radius:1.5rem;border-top-right-radius:1.5rem;border-bottom-left-radius:1.5rem;border-bottom-right-radius:1.5rem;padding-top:var(--wp--preset--spacing--70);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--70);padding-left:var(--wp--preset--spacing--40)">
	<!-- wp:group {"metadata":{"name":"Heading Group"},"style":{"spacing":{"blockGap":"var:preset|spacing|20"}},"layout":{"type":"flex","orientation":"vertical","flexWrap":"nowrap","justifyContent":"center"}} -->
	<div class="wp-block-group">
		<!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|accent"}}},"typography":{"fontStyle":"normal","fontWeight":"600","textTransform":"uppercase","letterSpacing":"0.25em"}},"textColor":"accent","fontSize":"small"} -->
		<p class="has-accent-color has-text-color has-link-color has-small-font-size" style="font-style:normal;font-weight:600;letter-spacing:0.25em;text-transform:uppercase"><?php esc_html_e( 'Before You Get Started', 'matchday' ); ?></p>
		<!-- /wp:paragraph -->
		<!-- wp:heading {"className":"is-style-default","style":{"spacing":{"margin":{"bottom":"0.25em"}},"typography":{"lineHeight":"1.2","textAlign":"center"}},"fontSize":"gigantic"} -->
		<h2 class="wp-block-heading has-text-align-center is-style-default has-gigantic-font-size" style="margin-bottom:0.25em;line-height:1.2"><?php esc_html_e( 'Official MeinTurnierplan WordPress Theme', 'matchday' ); ?></h2>
		<!-- /wp:heading -->
	</div>
	<!-- /wp:group -->
	<!-- wp:paragraph {"className":"is-style-default","style":{"typography":{"textAlign":"center"}}} -->
	<p class="has-text-align-center is-style-default"><?php esc_html_e( 'A modern WordPress theme designed specifically for MeinTurnierplan. Seamlessly fetch and display tournament data via API using custom Gutenberg blocks - fast, flexible, and always up to date.', 'matchday' ); ?></p>
	<!-- /wp:paragraph -->
	<!-- wp:buttons {"style":{"spacing":{"padding":{"top":"var:preset|spacing|40"}}},"layout":{"type":"flex","justifyContent":"center","flexWrap":"wrap"}} -->
	<div class="wp-block-buttons" style="padding-top:var(--wp--preset--spacing--40)">
		<!-- wp:button {"textColor":"background","className":"is-style-outline","style":{"elements":{"link":{"color":{"text":"var:preset|color|background"}}}}} -->
		<div class="wp-block-button is-style-outline"><a class="wp-block-button__link has-background-color has-text-color has-link-color wp-element-button" href="#"><?php esc_html_e( 'Download Now', 'matchday' ); ?></a></div>
		<!-- /wp:button -->
	</div>
	<!-- /wp:buttons -->
</div>
<!-- /wp:group -->
