<?php
/**
 * Title: Event Section
 * Slug: festival-events/event-section
 * Categories: festival-events
 * Keywords: event-section
 * Block Types: core/post-content
 * Post Types: page, wp_template
 */

$festival_events_pluginsList = get_option( 'active_plugins' );
$festival_events_plugin = 'the-events-calendar/the-events-calendar.php';
$festival_events_results = in_array( $festival_events_plugin , $festival_events_pluginsList);
if ( $festival_events_results )  {
?>

<!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}},"layout":{"type":"default"}} -->
<main class="wp-block-group" style="margin-top:0px;margin-bottom:0px"><!-- wp:group {"metadata":{"name":"Events Section"},"className":"event-section","style":{"spacing":{"padding":{"right":"0px","left":"0px","bottom":"50px","top":"50px"},"margin":{"top":"0","bottom":"0"}},"border":{"radius":"15px"}},"gradient":"section-background","layout":{"type":"constrained","contentSize":"85%"}} -->
<div class="wp-block-group event-section has-section-background-gradient-background has-background" style="border-radius:15px;margin-top:0;margin-bottom:0;padding-top:50px;padding-right:0px;padding-bottom:50px;padding-left:0px"><!-- wp:group {"className":"head-box wow zoomIn","style":{"spacing":{"margin":{"bottom":"40px"}}},"layout":{"type":"constrained","contentSize":"30%"}} -->
<div class="wp-block-group head-box wow zoomIn" style="margin-bottom:40px"><!-- wp:heading {"textAlign":"center","className":"event-sec-title","style":{"typography":{"fontSize":"25px","textTransform":"capitalize","fontStyle":"normal","fontWeight":"600"},"elements":{"link":{"color":{"text":"var:preset|color|base"}}}},"textColor":"base"} -->
<h2 class="wp-block-heading has-text-align-center event-sec-title has-base-color has-text-color has-link-color" style="font-size:25px;font-style:normal;font-weight:600;text-transform:capitalize"><em><?php echo esc_html__( 'mark your dates', 'festival-events' ); ?></em></h2>
<!-- /wp:heading -->

<!-- wp:paragraph {"align":"center","className":"event-sec-desc","style":{"typography":{"fontSize":"14px","textTransform":"capitalize","fontStyle":"normal","fontWeight":"500"},"elements":{"link":{"color":{"text":"var:preset|color|base"}}},"spacing":{"margin":{"top":"12px"}}},"textColor":"base"} -->
<p class="has-text-align-center event-sec-desc has-base-color has-text-color has-link-color" style="margin-top:12px;font-size:14px;font-style:normal;font-weight:500;text-transform:capitalize"><em><?php echo esc_html__( 'Never miss a moment — discover what’s happening this month around the world.', 'festival-events' ); ?></em></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->

<!-- wp:group {"className":"event-content","layout":{"type":"constrained"}} -->
<div class="wp-block-group event-content"><!-- wp:tec/archive-events /--></div>
<!-- /wp:group --></div>
<!-- /wp:group -->

<!-- wp:spacer {"height":"50px"} -->
<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer --></main>
<!-- /wp:group -->

<?php } else { ?>

<!-- wp:group {"metadata":{"name":"Events Section"},"className":"event-section","style":{"spacing":{"padding":{"right":"0px","left":"0px","bottom":"50px","top":"50px"},"margin":{"top":"0","bottom":"0"}},"border":{"radius":"15px"}},"gradient":"section-background","layout":{"type":"constrained","contentSize":"85%"}} -->
<div class="wp-block-group event-section has-section-background-gradient-background has-background" style="border-radius:15px;margin-top:0;margin-bottom:0;padding-top:50px;padding-right:0px;padding-bottom:50px;padding-left:0px"><!-- wp:group {"className":"head-box wow zoomIn","style":{"spacing":{"margin":{"bottom":"40px"}}},"layout":{"type":"constrained","contentSize":"30%"}} -->
<div class="wp-block-group head-box wow zoomIn" style="margin-bottom:40px"><!-- wp:heading {"textAlign":"center","className":"event-sec-title","style":{"typography":{"fontSize":"25px","textTransform":"capitalize","fontStyle":"normal","fontWeight":"600"},"elements":{"link":{"color":{"text":"var:preset|color|base"}}}},"textColor":"base"} -->
<h2 class="wp-block-heading has-text-align-center event-sec-title has-base-color has-text-color has-link-color" style="font-size:25px;font-style:normal;font-weight:600;text-transform:capitalize"><em><?php echo esc_html__( 'mark your dates', 'festival-events' ); ?></em></h2>
<!-- /wp:heading -->

<!-- wp:paragraph {"align":"center","className":"event-sec-desc","style":{"typography":{"fontSize":"14px","textTransform":"capitalize","fontStyle":"normal","fontWeight":"500"},"elements":{"link":{"color":{"text":"var:preset|color|base"}}},"spacing":{"margin":{"top":"12px"}}},"textColor":"base"} -->
<p class="has-text-align-center event-sec-desc has-base-color has-text-color has-link-color" style="margin-top:12px;font-size:14px;font-style:normal;font-weight:500;text-transform:capitalize"><em><?php echo esc_html__( 'Never miss a moment — discover what’s happening this month around the world.', 'festival-events' ); ?></em></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->

<!-- wp:group {"className":"event-content","layout":{"type":"default"}} -->
<div class="wp-block-group event-content"><!-- wp:columns {"verticalAlignment":null,"className":"event-outre-boxes","style":{"spacing":{"blockGap":{"top":"var:preset|spacing|30","left":"var:preset|spacing|30"}}}} -->
<div class="wp-block-columns event-outre-boxes"><!-- wp:column {"verticalAlignment":"center","className":"event-box"} -->
<div class="wp-block-column is-vertically-aligned-center event-box"><!-- wp:columns {"verticalAlignment":"center","className":"event-inner","style":{"border":{"width":"1px","color":"#ffffff","radius":{"topLeft":"0px","topRight":"50px","bottomRight":"50px","bottomLeft":"50px"}},"spacing":{"blockGap":{"top":"0px","left":"0px"},"padding":{"right":"0px","left":"0px","top":"0px","bottom":"0px"}}},"gradient":"slider-bg"} -->
<div class="wp-block-columns are-vertically-aligned-center event-inner has-border-color has-slider-bg-gradient-background has-background" style="border-color:#ffffff;border-width:1px;border-top-left-radius:0px;border-top-right-radius:50px;border-bottom-left-radius:50px;border-bottom-right-radius:50px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><!-- wp:column {"verticalAlignment":"center","width":"40%","className":"event-left","style":{"border":{"radius":{"topLeft":"0px","topRight":"0px","bottomRight":"0px","bottomLeft":"50px"}},"spacing":{"padding":{"top":"20px","bottom":"20px","left":"15px","right":"15px"}}}} -->
<div class="wp-block-column is-vertically-aligned-center event-left" style="border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-left-radius:50px;border-bottom-right-radius:0px;padding-top:20px;padding-right:15px;padding-bottom:20px;padding-left:15px;flex-basis:40%"><!-- wp:heading {"textAlign":"center","level":4,"className":"event-date","style":{"elements":{"link":{"color":{"text":"var:preset|color|base"}}},"typography":{"fontSize":"35px","fontStyle":"normal","fontWeight":"700"},"spacing":{"margin":{"top":"0px","bottom":"0px"}}},"textColor":"base"} -->
<h4 class="wp-block-heading has-text-align-center event-date has-base-color has-text-color has-link-color" style="margin-top:0px;margin-bottom:0px;font-size:35px;font-style:normal;font-weight:700"><em><?php echo esc_html__( '15', 'festival-events' ); ?></em></h4>
<!-- /wp:heading -->

<!-- wp:heading {"textAlign":"center","level":4,"className":"event-month","style":{"elements":{"link":{"color":{"text":"var:preset|color|base"}}},"typography":{"fontSize":"35px","fontStyle":"normal","fontWeight":"700","textTransform":"uppercase"},"spacing":{"margin":{"top":"0px","bottom":"0px"}}},"textColor":"base"} -->
<h4 class="wp-block-heading has-text-align-center event-month has-base-color has-text-color has-link-color" style="margin-top:0px;margin-bottom:0px;font-size:35px;font-style:normal;font-weight:700;text-transform:uppercase"><em><?php echo esc_html__( 'mar', 'festival-events' ); ?></em></h4>
<!-- /wp:heading -->

<!-- wp:heading {"textAlign":"center","level":5,"className":"event-title","style":{"elements":{"link":{"color":{"text":"var:preset|color|base"}}},"typography":{"fontSize":"16px","textTransform":"capitalize","fontStyle":"normal","fontWeight":"500"}},"textColor":"base"} -->
<h5 class="wp-block-heading has-text-align-center event-title has-base-color has-text-color has-link-color" style="font-size:16px;font-style:normal;font-weight:500;text-transform:capitalize"><em><?php echo esc_html__( 'colorful parades', 'festival-events' ); ?></em></h5>
<!-- /wp:heading -->

<!-- wp:paragraph {"align":"center","className":"event-add","style":{"elements":{"link":{"color":{"text":"var:preset|color|base"}}},"typography":{"fontSize":"16px","fontStyle":"normal","fontWeight":"500"},"spacing":{"margin":{"top":"10px","bottom":"10px"}}},"textColor":"base"} -->
<p class="has-text-align-center event-add has-base-color has-text-color has-link-color" style="margin-top:10px;margin-bottom:10px;font-size:16px;font-style:normal;font-weight:500"><img class="wp-image-48" style="width: 32px;" src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/location1.png" alt=""><img class="wp-image-49" style="width: 32px;" src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/location.png" alt=""><em><?php echo esc_html__( 'Location: Venice, Italy', 'festival-events' ); ?></em></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"align":"center","className":"event-desc","style":{"elements":{"link":{"color":{"text":"var:preset|color|base"}}},"typography":{"fontSize":"13px","fontStyle":"normal","fontWeight":"300"},"spacing":{"margin":{"top":"10px","bottom":"10px"}}},"textColor":"base"} -->
<p class="has-text-align-center event-desc has-base-color has-text-color has-link-color" style="margin-top:10px;margin-bottom:10px;font-size:13px;font-style:normal;font-weight:300"><em><?php echo esc_html__( 'Step into a world of mystery and elegance as Venice comes alive with ornate masks, dazzling costumes, and centuries-old traditions.', 'festival-events' ); ?></em></p>
<!-- /wp:paragraph -->

<!-- wp:buttons {"className":"event-btn","layout":{"type":"flex","justifyContent":"center"}} -->
<div class="wp-block-buttons event-btn"><!-- wp:button {"gradient":"btn-bg","style":{"border":{"radius":{"topLeft":"25px","bottomRight":"0px","bottomLeft":"25px","topRight":"35px"},"width":"1px","color":"#ffffff"},"typography":{"fontStyle":"normal","fontWeight":"600","textTransform":"capitalize","fontSize":"15px"},"spacing":{"padding":{"left":"25px","right":"25px","top":"10px","bottom":"10px"}}}} -->
<div class="wp-block-button"><a class="wp-block-button__link has-btn-bg-gradient-background has-background has-border-color has-custom-font-size wp-element-button" href="#" style="border-color:#ffffff;border-width:1px;border-top-left-radius:25px;border-top-right-radius:35px;border-bottom-left-radius:25px;border-bottom-right-radius:0px;padding-top:10px;padding-right:25px;padding-bottom:10px;padding-left:25px;font-size:15px;font-style:normal;font-weight:600;text-transform:capitalize"><em><?php echo esc_html__( 'explore festivals', 'festival-events' ); ?></em></a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons --></div>
<!-- /wp:column -->

<!-- wp:column {"verticalAlignment":"center","width":"60%","className":"event-right","style":{"border":{"radius":{"topLeft":"0px","bottomLeft":"0px","bottomRight":"50px","topRight":"50px"}}}} -->
<div class="wp-block-column is-vertically-aligned-center event-right" style="border-top-left-radius:0px;border-top-right-radius:50px;border-bottom-left-radius:0px;border-bottom-right-radius:50px;flex-basis:60%"><!-- wp:image {"id":84,"sizeSlug":"full","linkDestination":"none","className":"event-img"} -->
<figure class="wp-block-image size-full event-img"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/event-1.png" alt="" class="wp-image-84"/></figure>
<!-- /wp:image --></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></div>
<!-- /wp:column -->

<!-- wp:column {"verticalAlignment":"center","className":"event-box"} -->
<div class="wp-block-column is-vertically-aligned-center event-box"><!-- wp:columns {"verticalAlignment":"center","className":"event-inner","style":{"border":{"width":"1px","color":"#ffffff","radius":{"topLeft":"0px","topRight":"50px","bottomRight":"50px","bottomLeft":"50px"}},"spacing":{"blockGap":{"top":"0px","left":"0px"},"padding":{"right":"0px","left":"0px","top":"0px","bottom":"0px"}}},"gradient":"slider-bg"} -->
<div class="wp-block-columns are-vertically-aligned-center event-inner has-border-color has-slider-bg-gradient-background has-background" style="border-color:#ffffff;border-width:1px;border-top-left-radius:0px;border-top-right-radius:50px;border-bottom-left-radius:50px;border-bottom-right-radius:50px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><!-- wp:column {"verticalAlignment":"center","width":"40%","className":"event-left","style":{"border":{"radius":{"topLeft":"0px","topRight":"0px","bottomRight":"0px","bottomLeft":"50px"}},"spacing":{"padding":{"top":"20px","bottom":"20px","left":"15px","right":"15px"}}}} -->
<div class="wp-block-column is-vertically-aligned-center event-left" style="border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-left-radius:50px;border-bottom-right-radius:0px;padding-top:20px;padding-right:15px;padding-bottom:20px;padding-left:15px;flex-basis:40%"><!-- wp:heading {"textAlign":"center","level":4,"className":"event-date","style":{"elements":{"link":{"color":{"text":"var:preset|color|base"}}},"typography":{"fontSize":"35px","fontStyle":"normal","fontWeight":"700"},"spacing":{"margin":{"top":"0px","bottom":"0px"}}},"textColor":"base"} -->
<h4 class="wp-block-heading has-text-align-center event-date has-base-color has-text-color has-link-color" style="margin-top:0px;margin-bottom:0px;font-size:35px;font-style:normal;font-weight:700"><em><?php echo esc_html__( '25', 'festival-events' ); ?></em></h4>
<!-- /wp:heading -->

<!-- wp:heading {"textAlign":"center","level":4,"className":"event-month","style":{"elements":{"link":{"color":{"text":"var:preset|color|base"}}},"typography":{"fontSize":"35px","fontStyle":"normal","fontWeight":"700","textTransform":"uppercase"},"spacing":{"margin":{"top":"0px","bottom":"0px"}}},"textColor":"base"} -->
<h4 class="wp-block-heading has-text-align-center event-month has-base-color has-text-color has-link-color" style="margin-top:0px;margin-bottom:0px;font-size:35px;font-style:normal;font-weight:700;text-transform:uppercase"><em><?php echo esc_html__( 'dec', 'festival-events' ); ?></em></h4>
<!-- /wp:heading -->

<!-- wp:heading {"textAlign":"center","level":5,"className":"event-title","style":{"elements":{"link":{"color":{"text":"var:preset|color|base"}}},"typography":{"fontSize":"16px","textTransform":"capitalize","fontStyle":"normal","fontWeight":"500"}},"textColor":"base"} -->
<h5 class="wp-block-heading has-text-align-center event-title has-base-color has-text-color has-link-color" style="font-size:16px;font-style:normal;font-weight:500;text-transform:capitalize"><em><?php echo esc_html__( 'merry christmas', 'festival-events' ); ?></em></h5>
<!-- /wp:heading -->

<!-- wp:paragraph {"align":"center","className":"event-add","style":{"elements":{"link":{"color":{"text":"var:preset|color|base"}}},"typography":{"fontSize":"16px","fontStyle":"normal","fontWeight":"500"},"spacing":{"margin":{"top":"10px","bottom":"10px"}}},"textColor":"base"} -->
<p class="has-text-align-center event-add has-base-color has-text-color has-link-color" style="margin-top:10px;margin-bottom:10px;font-size:16px;font-style:normal;font-weight:500"><img class="wp-image-48" style="width: 32px;" src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/location1.png" alt=""><img class="wp-image-49" style="width: 32px;" src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/location.png" alt=""><em><?php echo esc_html__( 'Location: Venice, Italy', 'festival-events' ); ?></em></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"align":"center","className":"event-desc","style":{"elements":{"link":{"color":{"text":"var:preset|color|base"}}},"typography":{"fontSize":"13px","fontStyle":"normal","fontWeight":"300"},"spacing":{"margin":{"top":"10px","bottom":"10px"}}},"textColor":"base"} -->
<p class="has-text-align-center event-desc has-base-color has-text-color has-link-color" style="margin-top:10px;margin-bottom:10px;font-size:13px;font-style:normal;font-weight:300"><em><?php echo esc_html__( 'Step into a world of mystery and elegance as Venice comes alive with ornate masks, dazzling costumes, and centuries-old traditions.', 'festival-events' ); ?></em></p>
<!-- /wp:paragraph -->

<!-- wp:buttons {"className":"event-btn","layout":{"type":"flex","justifyContent":"center"}} -->
<div class="wp-block-buttons event-btn"><!-- wp:button {"gradient":"btn-bg","style":{"border":{"radius":{"topLeft":"25px","bottomRight":"0px","bottomLeft":"25px","topRight":"35px"},"width":"1px","color":"#ffffff"},"typography":{"fontStyle":"normal","fontWeight":"600","textTransform":"capitalize","fontSize":"15px"},"spacing":{"padding":{"left":"25px","right":"25px","top":"10px","bottom":"10px"}}}} -->
<div class="wp-block-button"><a class="wp-block-button__link has-btn-bg-gradient-background has-background has-border-color has-custom-font-size wp-element-button" href="#" style="border-color:#ffffff;border-width:1px;border-top-left-radius:25px;border-top-right-radius:35px;border-bottom-left-radius:25px;border-bottom-right-radius:0px;padding-top:10px;padding-right:25px;padding-bottom:10px;padding-left:25px;font-size:15px;font-style:normal;font-weight:600;text-transform:capitalize"><em><?php echo esc_html__( 'explore festivals', 'festival-events' ); ?></em></a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons --></div>
<!-- /wp:column -->

<!-- wp:column {"verticalAlignment":"center","width":"60%","className":"event-right","style":{"border":{"radius":{"topLeft":"0px","bottomLeft":"0px","bottomRight":"50px","topRight":"50px"}}}} -->
<div class="wp-block-column is-vertically-aligned-center event-right" style="border-top-left-radius:0px;border-top-right-radius:50px;border-bottom-left-radius:0px;border-bottom-right-radius:50px;flex-basis:60%"><!-- wp:image {"id":97,"sizeSlug":"full","linkDestination":"none","className":"event-img"} -->
<figure class="wp-block-image size-full event-img"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/event-2.png" alt="" class="wp-image-97"/></figure>
<!-- /wp:image --></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->

<!-- wp:spacer {"height":"50px"} -->
<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

<?php } ?>