<?php

/**
 * Title: CTA 1
 * Slug: cabin-travel-blog/cta-1
 * Categories: banner, call-to-action, cabin-travel-blog-patterns
 */
?>
<!-- wp:group {"tagName":"section","metadata":{"name":"CTA"},"align":"full","className":"is-style-default","style":{"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"},"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained"}} -->
<section class="wp-block-group alignfull is-style-default" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60)"><!-- wp:group {"align":"wide","backgroundColor":"c-50","layout":{"type":"default"}} -->
  <div class="wp-block-group alignwide has-c-50-background-color has-background"><!-- wp:cover {"url":"<?php echo esc_url(get_template_directory_uri()); ?>/assets/images/cta-1.webp","dimRatio":50,"customOverlayColor":"#706c77","isUserOverlayColor":true,"className":"aspect-xs-portrait","style":{"dimensions":{"aspectRatio":"16/9"},"spacing":{"blockGap":"var:preset|spacing|40"}},"layout":{"type":"constrained"}} -->
    <div class="wp-block-cover aspect-xs-portrait"><span aria-hidden="true" class="wp-block-cover__background has-background-dim" style="background-color:#706c77"></span><img class="wp-block-cover__image-background " alt="" src="<?php echo esc_url(get_template_directory_uri()); ?>/assets/images/cta-1.webp" data-object-fit="cover" />
      <div class="wp-block-cover__inner-container"><!-- wp:group {"layout":{"type":"constrained"}} -->
        <div class="wp-block-group"><!-- wp:heading {"textAlign":"center","className":"is-style-text-display"} -->
          <h2 class="wp-block-heading has-text-align-center is-style-text-display"><?php esc_html_e('Epic Adventures', 'cabin-travel-blog'); ?></h2>
          <!-- /wp:heading -->

          <!-- wp:paragraph {"align":"center","className":"is-style-text-subtitle"} -->
          <p class="has-text-align-center is-style-text-subtitle"><?php esc_html_e('Experience the thrill of diverse landscapes and exciting activities. Your next adventure is a click away!', 'cabin-travel-blog'); ?></p>
          <!-- /wp:paragraph -->
        </div>
        <!-- /wp:group -->

        <!-- wp:group {"layout":{"type":"constrained"}} -->
        <div class="wp-block-group"><!-- wp:buttons {"layout":{"type":"flex","justifyContent":"center"}} -->
          <div class="wp-block-buttons"><!-- wp:button -->
            <div class="wp-block-button"><a class="wp-block-button__link wp-element-button"><?php esc_html_e('Adventure Awaits', 'cabin-travel-blog'); ?></a></div>
            <!-- /wp:button -->
          </div>
          <!-- /wp:buttons -->
        </div>
        <!-- /wp:group -->
      </div>
    </div>
    <!-- /wp:cover -->
  </div>
  <!-- /wp:group -->
</section>
<!-- /wp:group -->
