<?php
/**
 * Title: Newsletter signup
 * Slug: wp-bootstrap/cta-newsletter
 * Categories: wp-bootstrap_cta, call-to-action
 * Description: A newsletter signup section with heading, description, and search block.
 *
 * @package WPBootstrap
 * @since 0.1.0
 */
?>
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}},"backgroundColor":"light","layout":{"type":"constrained"}} -->
<div class="wp-block-group alignfull has-light-background-color has-background" style="padding-top:var(--wp--preset--spacing--70);padding-bottom:var(--wp--preset--spacing--70)"><!-- wp:heading {"textAlign":"center","fontSize":"xx-large"} -->
<h2 class="wp-block-heading has-text-align-center has-xx-large-font-size"><?php esc_html_e( 'Stay in the loop', 'wp-bootstrap' ); ?></h2>
<!-- /wp:heading -->

<!-- wp:paragraph {"align":"center","textColor":"secondary"} -->
<p class="has-text-align-center has-secondary-color has-text-color"><?php esc_html_e( 'Subscribe to our newsletter for updates, tips, and exclusive content.', 'wp-bootstrap' ); ?></p>
<!-- /wp:paragraph -->

<!-- wp:search {"label":"<?php esc_attr_e( 'Email', 'wp-bootstrap' ); ?>","showLabel":false,"placeholder":"<?php esc_attr_e( 'Enter your email address', 'wp-bootstrap' ); ?>","width":75,"widthUnit":"%","buttonText":"<?php esc_attr_e( 'Subscribe', 'wp-bootstrap' ); ?>","buttonPosition":"button-inside","buttonUseIcon":false,"style":{"border":{"radius":"0.375rem"}}} /--></div>
<!-- /wp:group -->
