<?php
/**
 * Title: Archive Banner
 * Slug: swp-painting/banner-archive
 * Categories: banner, swp-painting
 * Description: Banner for archive pages with archive title.
 */
?>

<!-- wp:cover {"url":"<?php echo esc_url( get_theme_file_uri( 'assets/images/hero/hero-main.webp' ) ); ?>","dimRatio":70,"overlayColor":"heading","isUserOverlayColor":true,"focalPoint":{"x":0.56,"y":0.46},"minHeight":25,"minHeightUnit":"vh","metadata":{"patternName":"swp-painting/banner-archive","name":"Archive Banner","description":"Banner for archive pages with archive title.","categories":["banner","swp-painting"]},"align":"full","className":"swpbannercustomclass","style":{"spacing":{"padding":{"top":"20px","bottom":"20px","left":"20px","right":"20px"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-cover alignfull swpbannercustomclass" style="padding-top:20px;padding-right:20px;padding-bottom:20px;padding-left:20px;min-height:25vh"><img class="wp-block-cover__image-background" alt="Banner Image" src="<?php echo esc_url( get_theme_file_uri( 'assets/images/hero/hero-main.webp' ) ); ?>" style="object-position:56% 46%" data-object-fit="cover" data-object-position="56% 46%"/><span aria-hidden="true" class="wp-block-cover__background has-heading-background-color has-background-dim-70 has-background-dim"></span><div class="wp-block-cover__inner-container"><!-- wp:group {"style":{"spacing":{"blockGap":"20px"}},"layout":{"type":"constrained","contentSize":"1200px"}} -->
<div class="wp-block-group"><!-- wp:query-title {"type":"archive","textAlign":"center","showPrefix":false,"style":{"elements":{"link":{"color":{"text":"var:preset|color|light-background"}}}},"textColor":"light-background","fontSize":"h2"} /-->

<!-- wp:group {"className":"swpbannercustomclass","style":{"css":"max-width: fit-content !important;","elements":{"link":{"color":{"text":"var:preset|color|accent"}}},"spacing":{"blockGap":"var:preset|spacing|20","padding":{"top":"var:preset|spacing|20","bottom":"var:preset|spacing|20","left":"var:preset|spacing|50","right":"var:preset|spacing|50"}},"border":{"radius":{"topLeft":"50px","topRight":"50px","bottomLeft":"50px","bottomRight":"50px"}}},"backgroundColor":"light-background","textColor":"accent","layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"center"}} -->
<div class="wp-block-group swpbannercustomclass has-custom-css has-accent-color has-light-background-background-color has-text-color has-background has-link-color" style="border-top-left-radius:50px;border-top-right-radius:50px;border-bottom-left-radius:50px;border-bottom-right-radius:50px;padding-top:var(--wp--preset--spacing--20);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--20);padding-left:var(--wp--preset--spacing--50)"><!-- wp:heading {"level":6,"style":{"elements":{"link":{"color":{"text":"var:preset|color|accent"}}}},"textColor":"accent","fontSize":"h6"} -->
<h6 class="wp-block-heading has-accent-color has-text-color has-link-color has-h-6-font-size">Home</h6>
<!-- /wp:heading -->

<!-- wp:paragraph {"fontSize":"h4"} -->
<p class="has-h-4-font-size">/</p>
<!-- /wp:paragraph -->

<!-- wp:query-title {"type":"archive","textAlign":"center","level":6,"showPrefix":false,"style":{"elements":{"link":{"color":{"text":"var:preset|color|heading"}}},"layout":{"selfStretch":"fit","flexSize":null}},"textColor":"heading"} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div></div>
<!-- /wp:cover -->