<?php
/** Title: Post card horizontal
 * Slug: crowdfunding-platform/post-card-horizontal
 * Categories: posts
 * Description: Horizontal card layout with featured image, meta, title, excerpt and footer. Features responsive design with proper content flow and accessibility support. Includes hover effects and optimized spacing.
 * Block Types: core/post-template
 * Inserter: no
 */

?>
<!-- wp:group {"className":"post-card-horizontal","style":{"border":{"radius":"8px","width":"1px"},"spacing":{"margin":{"bottom":"var(--wp--preset--spacing--50)"},"padding":{"top":"var(--wp--preset--spacing--40)","bottom":"var(--wp--preset--spacing--40)","left":"var(--wp--preset--spacing--40)","right":"var(--wp--preset--spacing--40)"}}},"borderColor":"accent-6","backgroundColor":"base","shadow":"card"} -->
<div class="wp-block-group post-card-horizontal has-border-color has-accent-6-border-color has-base-background-color has-background has-card-shadow" style="border-width:1px;border-radius:8px;margin-bottom:var(--wp--preset--spacing--50);padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--40)">
	
	<!-- wp:columns {"verticalAlignment":"top","isStackedOnMobile":false,"style":{"spacing":{"blockGap":"var:preset|spacing|40"},"dimensions":{"minHeight":"250px"}}} -->
	<div class="wp-block-columns are-vertically-aligned-top is-not-stacked-on-mobile">
		<!-- wp:column {"className":"post-card-image-column","verticalAlignment":"top","width":"250px","style":{"spacing":{"padding":{"top":"0","bottom":"0","left":"0","right":"0"}}}} -->
		<div class="wp-block-column post-card-image-column is-vertically-aligned-top" style="padding-top:0;padding-right:0;padding-bottom:0;padding-left:0;flex-basis:250px">
			<!-- wp:post-featured-image {"isLink":true,"width":"250px","height":"250px","style":{"border":{"radius":"6px"},"spacing":{"margin":{"top":"0","bottom":"0","left":"0","right":"0"}}}} /-->
		</div>
		<!-- /wp:column -->
		
		<!-- wp:column {"className":"post-card-content-column","verticalAlignment":"top"} -->
		<div class="wp-block-column post-card-content-column is-vertically-aligned-top">
	
	<!-- wp:group {"className":"post-card-meta-row","textColor":"secondary","layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"left"}} -->
	<div class="wp-block-group post-card-meta-row has-secondary-color has-text-color">
		<!-- wp:post-date {"fontSize":"small"} /-->
		<!-- wp:post-terms {"term":"category","fontSize":"small"} /-->
	</div>
	<!-- /wp:group -->
	
	<!-- wp:post-title {"isLink":true,"level":3,"fontSize":"large"} /-->
	
	<!-- wp:post-excerpt {"moreText":"<?php esc_attr_e( 'Read more', 'crowdfunding-platform' ); ?>","showMoreOnNewLine":false,"textColor":"secondary"} /-->
	
	<!-- wp:group {"className":"post-card-footer","layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between","verticalAlignment":"center"}} -->
	<div class="wp-block-group post-card-footer">
		<!-- wp:post-author {"showAvatar":false,"fontSize":"small","textColor":"secondary"} /-->
		<!-- wp:post-terms {"term":"post_tag","fontSize":"small","textColor":"primary"} /-->
	</div>
	<!-- /wp:group -->
	
		</div>
		<!-- /wp:column -->
	</div>
	<!-- /wp:columns -->
	
</div>
<!-- /wp:group -->