<?php
/**
 * Title: Card
 * Slug: absolute-2026/card
 * Description: A square image, linked heading, and short description inside a bordered card.
 * Categories: absolute-2026/components
 * Keywords: image
 * Viewport Width: 420
 */
?>

<!-- wp:group {"className":"is-style-card","layout":{"type":"default"}} -->
<div class="wp-block-group is-style-card">
	<!-- wp:image {"aspectRatio":"1","scale":"cover","sizeSlug":"large","linkDestination":"none","style":{"border":{"radius":"0px"}}} -->
	<figure class="wp-block-image size-large has-custom-border"><img alt="" style="border-radius:0px;aspect-ratio:1;object-fit:cover" /></figure>
	<!-- /wp:image -->

	<!-- wp:group {"className":"margin-top-zero","style":{"spacing":{"blockGap":"var:preset|spacing|050","padding":{"top":"var:preset|spacing|150","right":"var:preset|spacing|150","bottom":"var:preset|spacing|150","left":"var:preset|spacing|150"}}},"layout":{"type":"default"}} -->
	<div class="wp-block-group margin-top-zero" style="padding-top:var(--wp--preset--spacing--150);padding-right:var(--wp--preset--spacing--150);padding-bottom:var(--wp--preset--spacing--150);padding-left:var(--wp--preset--spacing--150)">
		<!-- wp:heading {"level":3} -->
		<h3 class="wp-block-heading"><a href="#"><?php echo esc_html_x( 'Card title', 'Sample linked title for the Card pattern', 'absolute-2026' ); ?></a></h3>
		<!-- /wp:heading -->

		<!-- wp:paragraph {"textColor":"muted"} -->
		<p class="has-muted-color has-text-color"><?php echo esc_html_x( 'A short description gives readers useful context about the linked content.', 'Sample description for the Card pattern', 'absolute-2026' ); ?></p>
		<!-- /wp:paragraph -->
	</div>
	<!-- /wp:group -->
</div>
<!-- /wp:group -->
