<?php
/**
 * Title: Banner Block
 * Slug: titan-elearning/banner-block
 * Categories: banner
 * Block Types: core/template-part/banner-block
 */
?>

<!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"0","bottom":"0"},"padding":{"right":"0","left":"0","top":"0px","bottom":"0"}}}} -->
<main class="wp-block-group" style="margin-top:0;margin-bottom:0;padding-top:0px;padding-right:0;padding-bottom:0;padding-left:0"><!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"0","bottom":"0"},"padding":{"right":"0","left":"0","top":"0px","bottom":"0"}}},"backgroundColor":"base"} -->
<main class="wp-block-group has-base-background-color has-background" style="margin-top:0;margin-bottom:0;padding-top:0px;padding-right:0;padding-bottom:0;padding-left:0"><!-- wp:cover {"url":"<?php echo esc_url(get_template_directory_uri()) ?>/assets/images/banner-main-image.png","id":47,"dimRatio":0,"overlayColor":"base","isUserOverlayColor":true,"minHeight":650,"minHeightUnit":"px","isDark":false,"tagName":"main","className":"wp-block-group alignfull","style":{"spacing":{"margin":{"top":"0","bottom":"0"},"padding":{"right":"0","left":"0","top":"0","bottom":"0"}}}} -->
<main class="wp-block-cover is-light wp-block-group alignfull" style="margin-top:0;margin-bottom:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0;min-height:650px"><span aria-hidden="true" class="wp-block-cover__background has-base-background-color has-background-dim-0 has-background-dim"></span><img class="wp-block-cover__image-background wp-image-47" alt="" src="<?php echo esc_url(get_template_directory_uri()) ?>/assets/images/banner-main-image.png" data-object-fit="cover"/><div class="wp-block-cover__inner-container"><!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"0","right":"0"},"margin":{"top":"0","bottom":"0"},"blockGap":"0"}},"layout":{"type":"constrained","contentSize":"90%"}} -->
<div class="wp-block-group" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--50);padding-right:0;padding-bottom:var(--wp--preset--spacing--50);padding-left:0"><!-- wp:columns {"verticalAlignment":"center","align":"wide","className":"slider-banner animations-hidden-item","textColor":"base"} -->
<div class="wp-block-columns alignwide are-vertically-aligned-center slider-banner animations-hidden-item has-base-color has-text-color"><!-- wp:column {"verticalAlignment":"center","width":"50%","className":"slider-content"} -->
<div class="wp-block-column is-vertically-aligned-center slider-content" style="flex-basis:50%"><!-- wp:heading {"className":"heading-banner","style":{"typography":{"fontStyle":"normal","fontWeight":"700","fontSize":"40px","textTransform":"capitalize"}},"textColor":"contrast","fontFamily":"be-vietnam-pro"} -->
<h2 class="wp-block-heading heading-banner has-contrast-color has-text-color has-be-vietnam-pro-font-family" style="font-size:40px;font-style:normal;font-weight:700;text-transform:capitalize"><?php esc_html_e('Inspiring the Next','titan-elearning'); ?><br><?php esc_html_e('Generation of','titan-elearning'); ?><span><?php esc_html_e(' Leaders','titan-elearning'); ?></span></h2>
<!-- /wp:heading -->

<!-- wp:paragraph {"align":"left","style":{"typography":{"fontSize":"16px","fontStyle":"normal","fontWeight":"400"},"color":{"text":"#1d1d1d"}},"fontFamily":"poppins"} -->
<p class="has-text-align-left has-text-color has-poppins-font-family" style="color:#1d1d1d;font-size:16px;font-style:normal;font-weight:400"><?php esc_html_e('It is a long established fact that a reader will be distracted by ','titan-elearning'); ?><br><?php esc_html_e('the readable content of a page when looking at its layout','titan-elearning'); ?></p>
<!-- /wp:paragraph -->

<!-- wp:buttons -->
<div class="wp-block-buttons"><!-- wp:button {"textColor":"base","style":{"spacing":{"padding":{"left":"var:preset|spacing|30","right":"var:preset|spacing|30","top":"8px","bottom":"8px"}},"typography":{"fontSize":"14px","fontStyle":"normal","fontWeight":"500","textTransform":"uppercase"},"color":{"background":"var(--wp--preset--color--primary)"},"border":{"radius":"6px"}},"fontFamily":"poppins"} -->
<div class="wp-block-button has-custom-font-size has-poppins-font-family" style="font-size:14px;font-style:normal;font-weight:500;text-transform:uppercase"><a class="wp-block-button__link has-base-color has-text-color has-background wp-element-button" href="#" style="border-radius:6px;background-color:var(--wp--preset--color--primary);padding-top:8px;padding-right:var(--wp--preset--spacing--30);padding-bottom:8px;padding-left:var(--wp--preset--spacing--30)"><?php esc_html_e('Know More','titan-elearning'); ?></a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons --></div>
<!-- /wp:column -->

<!-- wp:column {"verticalAlignment":"center","width":"50%","className":"banner-img"} -->
<div class="wp-block-column is-vertically-aligned-center banner-img" style="flex-basis:50%"><!-- wp:image {"id":68,"width":"600px","aspectRatio":"1.5555555555555556","scale":"cover","sizeSlug":"full","linkDestination":"none","align":"right"} -->
<figure class="wp-block-image alignright size-full is-resized"><img src="<?php echo esc_url(get_template_directory_uri()) ?>/assets/images/banner-right-image.png" alt="" class="wp-image-68" style="aspect-ratio:1.5555555555555556;object-fit:cover;width:600px"/></figure>
<!-- /wp:image --></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></div>
<!-- /wp:group --></div></main>
<!-- /wp:cover --></main>
<!-- /wp:group --></main>
<!-- /wp:group -->