<?php
/**
 * Title: NewsWP Pro Post Carousel
 * Slug: walker-core/newswp-pro-grid-carousel
 * Categories: newswp-pro
 **/

?>

<!-- wp:group {"metadata":{"categories":["newswp-pro"],"patternName":"walker-core/newswp-pro-grid-carousel","name":"NewsWP Pro Post Carousel"},"layout":{"type":"constrained","contentSize":"1280px"}} -->
<div class="wp-block-group"><!-- wp:group {"style":{"border":{"bottom":{"color":"var:preset|color|primary","width":"2px"},"top":[],"right":[],"left":[]}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
	<div class="wp-block-group" style="border-bottom-color:var(--wp--preset--color--primary);border-bottom-width:2px"><!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|white"}}},"typography":{"textTransform":"uppercase","fontStyle":"normal","fontWeight":"700"},"spacing":{"padding":{"top":"8px","bottom":"8px","left":"12px","right":"12px"}}},"backgroundColor":"primary","textColor":"white","fontSize":"normal"} -->
		<p class="has-white-color has-primary-background-color has-text-color has-background has-link-color has-normal-font-size" style="padding-top:8px;padding-right:12px;padding-bottom:8px;padding-left:12px;font-style:normal;font-weight:700;text-transform:uppercase"><?php esc_html_e( "Editor's Choice Pro", 'walker-core' ); ?></p>
		<!-- /wp:paragraph -->
	</div>
	<!-- /wp:group -->

	<!-- wp:walker-core/post-carousel {"clientId":"9fa95937-9e3e-4e92-8ecd-28b5057ee4a2","pagination":{"enabled":false,"default":{"width":10,"height":10,"borderRadius":10,"color":"#000","colorHover":""},"active":{"width":"","height":"","borderRadius":"","offset":0,"border":{"width":"","style":"","color":""},"color":"#f49805","borderColorHover":"","colorHover":""},"verticalPosition":-26,"gap":4},"navigation":{"enabled":true,"hoverShow":true,"size":16,"boxWidth":35,"boxHeight":35,"borderRadius":0,"border":{"color":"#0000001a","style":"solid","width":"1px"},"boxColor":"#0000001A","color":"#fff","boxColorHover":"#117DD1","borderColorHover":"","colorHover":""},"sliderOptions":{"direction":"horizontal","autoplay":{"enabled":true,"pauseOnMouseEnter":true,"delay":2500},"loop":true,"centeredSlides":false,"slidesPerView":4,"spaceBetween":25,"speed":1500,"effect":"none"}} -->
	<div class="wp-block-walker-core-post-carousel">
		<div class="walker-core-post-block layout-carousel  nav-hover-show  carousel-direction-horizontal" id="walkerCore_9fa95937_9e3e_4e92_8ecd_28b5057ee4a2"><!-- wp:query {"queryId":1,"query":{"perPage":10,"postType":"post","offset":0},"lock":{"move":false,"remove":true},"className":"walker-core-post__swiper-container"} -->
			<div class="wp-block-query walker-core-post__swiper-container"><!-- wp:post-template {"lock":{"move":false,"remove":true},"className":"walker-core__grid-wrapper swiper-wrapper"} -->
				<!-- wp:cover {"useFeaturedImage":true,"isUserOverlayColor":true,"minHeight":240,"gradient":"primary-gradient","contentPosition":"bottom left","className":"is-style-cover-hover-zoom-in","style":{"spacing":{"padding":{"top":"20px","bottom":"20px","left":"20px","right":"20px"}}},"layout":{"type":"constrained"}} -->
				<div class="wp-block-cover has-custom-content-position is-position-bottom-left is-style-cover-hover-zoom-in" style="padding-top:20px;padding-right:20px;padding-bottom:20px;padding-left:20px;min-height:240px"><span aria-hidden="true" class="wp-block-cover__background has-background-dim-100 has-background-dim has-background-gradient has-primary-gradient-gradient-background"></span>
					<div class="wp-block-cover__inner-container"><!-- wp:group {"style":{"spacing":{"blockGap":"10px"}},"layout":{"type":"constrained"}} -->
						<div class="wp-block-group"><!-- wp:post-terms {"term":"category","className":"is-style-category-background-mixed","style":{"typography":{"fontSize":"9px"},"elements":{"link":{"color":{"text":"var:preset|color|white"}}}},"textColor":"white"} /-->

							<!-- wp:post-title {"isLink":true,"style":{"typography":{"fontSize":"20px","fontStyle":"normal","fontWeight":"700"},"elements":{"link":{"color":{"text":"var:preset|color|white"},":hover":{"color":{"text":"var:preset|color|secondary"}}}}},"textColor":"white","fontFamily":"inter"} /-->

							<!-- wp:post-date {"fontSize":"tiny"} /-->
						</div>
						<!-- /wp:group -->
					</div>
				</div>
				<!-- /wp:cover -->
				<!-- /wp:post-template -->
			</div>
			<!-- /wp:query -->
			<div class="swiper-button-prev"></div>
			<div class="swiper-button-next"></div>
		</div>
	</div>
	<!-- /wp:walker-core/post-carousel -->
</div>
<!-- /wp:group -->
