<?php
/**
 * Title: Newsletter
 * Slug: blokio/newsletter
 * Categories: blokio-cta
 * Description: Centered newsletter signup band with a gradient background and a "Join the newsletter" call-to-action button. Point the button's link at your email provider's hosted signup page (Mailchimp, ConvertKit, Buttondown, etc. all offer one), or swap in a newsletter plugin's own block.
 * Keywords: newsletter, email, signup, subscribe
 * Block Types: core/buttons
 */
?>
<!-- wp:group {"align":"full","gradient":"primary-accent","style":{"spacing":{"padding":{"top":"var:preset|spacing|xl","bottom":"var:preset|spacing|xl"}}},"layout":{"type":"constrained","contentSize":"640px"}} -->
<div class="wp-block-group alignfull has-background has-primary-accent-gradient-background" style="padding-top:var(--wp--preset--spacing--xl);padding-bottom:var(--wp--preset--spacing--xl)">

    <!-- wp:paragraph {"align":"center","textColor":"paper","style":{"typography":{"fontWeight":"600","fontSize":"0.85rem","textTransform":"uppercase","letterSpacing":"0.08em"}}} -->
    <p class="has-text-align-center has-paper-color has-text-color" style="font-weight:600;text-transform:uppercase;letter-spacing:0.08em"><?php echo esc_html__( 'Newsletter', 'blokio' ); ?></p>
    <!-- /wp:paragraph -->

    <!-- wp:heading {"textAlign":"center","level":2,"textColor":"paper"} -->
    <h2 class="wp-block-heading has-text-align-center has-paper-color has-text-color"><?php echo esc_html__( 'Get One Great Trip Idea a Week', 'blokio' ); ?></h2>
    <!-- /wp:heading -->

    <!-- wp:paragraph {"align":"center","textColor":"paper","style":{"color":{"text":"#E2E8F0"}}} -->
    <p class="has-text-align-center has-paper-color has-text-color" style="color:#E2E8F0"><?php echo esc_html__( 'No spam, no daily noise — just one well-researched destination or guide, every Thursday.', 'blokio' ); ?></p>
    <!-- /wp:paragraph -->

    <!-- wp:buttons {"layout":{"type":"flex","justifyContent":"center"}} -->
    <div class="wp-block-buttons">
        <!-- wp:button {"backgroundColor":"ink","textColor":"paper","style":{"border":{"radius":"999px"},"spacing":{"padding":{"top":"0.85em","bottom":"0.85em","left":"1.75em","right":"1.75em"}}}} -->
        <div class="wp-block-button"><a class="wp-block-button__link has-paper-color has-ink-background-color has-text-color has-background wp-element-button" href="#" style="border-radius:999px;padding-top:0.85em;padding-right:1.75em;padding-bottom:0.85em;padding-left:1.75em"><?php echo esc_html__( 'Join the newsletter', 'blokio' ); ?></a></div>
        <!-- /wp:button -->
    </div>
    <!-- /wp:buttons -->

</div>
<!-- /wp:group -->
