<?php
/**
 * Title: Apartment Section
 * Slug: house-dealer/apartment-section
 * Categories: house-dealer
 * Keywords: apartment-section
 * Block Types: core/post-content
 * Post Types: page, wp_template
 */

$house_dealer_pluginsList = get_option( 'active_plugins' );
$house_dealer_plugin = 'estatik/estatik.php';
$house_dealer_results = in_array( $house_dealer_plugin , $house_dealer_pluginsList);
if ( $house_dealer_results )  {
?>

<!-- wp:group {"className":"apartment-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":"90%"}} -->
<div class="wp-block-group apartment-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":"apartment-head-box","layout":{"type":"constrained","contentSize":"32%"}} -->
<div class="wp-block-group apartment-head-box"><!-- wp:heading {"textAlign":"center","className":"apartment-heading","style":{"typography":{"fontSize":"30px"},"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}}},"textColor":"contrast"} -->
<h2 class="wp-block-heading has-text-align-center apartment-heading has-contrast-color has-text-color has-link-color" style="font-size:30px"><?php echo esc_html__( 'We love these apartments', 'house-dealer' ); ?></h2>
<!-- /wp:heading -->

<!-- wp:paragraph {"align":"center","className":"apartment-para","style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}},"spacing":{"margin":{"top":"5px"}}},"textColor":"contrast"} -->
<p class="has-text-align-center apartment-para has-contrast-color has-text-color has-link-color" style="margin-top:5px"><?php echo esc_html__( 'It is a long established fact that a reader will be distracted by the readable content', 'house-dealer' ); ?></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->

<!-- wp:group {"className":"apartment-property-box wow zoomIn","style":{"spacing":{"margin":{"top":"var:preset|spacing|30"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group apartment-property-box wow zoomIn" style="margin-top:var(--wp--preset--spacing--30)"><!-- wp:shortcode --><!-- /wp:shortcode --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->

<?php } else { ?>

<!-- wp:group {"className":"apartment-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":"90%"}} -->
<div class="wp-block-group apartment-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":"apartment-head-box","layout":{"type":"constrained","contentSize":"32%"}} -->
<div class="wp-block-group apartment-head-box"><!-- wp:heading {"textAlign":"center","className":"apartment-heading","style":{"typography":{"fontSize":"30px"},"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}}},"textColor":"contrast"} -->
<h2 class="wp-block-heading has-text-align-center apartment-heading has-contrast-color has-text-color has-link-color" style="font-size:30px"><?php echo esc_html__( 'We love these apartments', 'house-dealer' ); ?></h2>
<!-- /wp:heading -->

<!-- wp:paragraph {"align":"center","className":"apartment-para","style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}},"spacing":{"margin":{"top":"5px"}}},"textColor":"contrast"} -->
<p class="has-text-align-center apartment-para has-contrast-color has-text-color has-link-color" style="margin-top:5px"><?php echo esc_html__( 'It is a long established fact that a reader will be distracted by the readable content', 'house-dealer' ); ?></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->

<!-- wp:group {"className":"apartment-property-box","style":{"spacing":{"margin":{"top":"var:preset|spacing|30"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group apartment-property-box" style="margin-top:var(--wp--preset--spacing--30)"><!-- wp:columns {"className":"apartment-boxes","style":{"spacing":{"blockGap":{"top":"20px","left":"50px"}}}} -->
<div class="wp-block-columns apartment-boxes"><!-- wp:column {"className":"apartment-box wow zoomIn","style":{"border":{"radius":{"topLeft":"15px","topRight":"15px","bottomLeft":"15px","bottomRight":"15px"}}},"backgroundColor":"contrast-3"} -->
<div class="wp-block-column apartment-box wow zoomIn has-contrast-3-background-color has-background" style="border-top-left-radius:15px;border-top-right-radius:15px;border-bottom-left-radius:15px;border-bottom-right-radius:15px"><!-- wp:cover {"url":"<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/apartment1.png","id":75,"dimRatio":0,"isUserOverlayColor":true,"minHeight":320,"contentPosition":"bottom right","isDark":false,"sizeSlug":"full","className":"apartment-img","layout":{"type":"default"}} -->
<div class="wp-block-cover is-light has-custom-content-position is-position-bottom-right apartment-img" style="min-height:320px"><img class="wp-block-cover__image-background wp-image-75 size-full" alt="" src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/apartment1.png" data-object-fit="cover"/><span aria-hidden="true" class="wp-block-cover__background has-background-dim-0 has-background-dim"></span><div class="wp-block-cover__inner-container"></div></div>
<!-- /wp:cover -->

<!-- wp:group {"className":"apartment-info","style":{"spacing":{"margin":{"top":"0px"},"padding":{"top":"20px","bottom":"20px","left":"20px","right":"20px"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group apartment-info" style="margin-top:0px;padding-top:20px;padding-right:20px;padding-bottom:20px;padding-left:20px"><!-- wp:heading {"level":5,"className":"apartment-title","style":{"typography":{"fontSize":"25px","textTransform":"capitalize","fontStyle":"normal","fontWeight":"600"}}} -->
<h5 class="wp-block-heading apartment-title" style="font-size:25px;font-style:normal;font-weight:600;text-transform:capitalize"><?php echo esc_html__( 'agoura hills, los angeles', 'house-dealer' ); ?></h5>
<!-- /wp:heading -->

<!-- wp:group {"className":"apartment-metas","style":{"spacing":{"blockGap":"25px","margin":{"top":"10px"}}},"layout":{"type":"flex","flexWrap":"wrap"}} -->
<div class="wp-block-group apartment-metas" style="margin-top:10px"><!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}},"typography":{"fontSize":"15px"}},"textColor":"contrast"} -->
<p class="has-contrast-color has-text-color has-link-color" style="font-size:15px"><?php echo esc_html__( '4 beds', 'house-dealer' ); ?></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}},"typography":{"fontSize":"15px"}},"textColor":"contrast"} -->
<p class="has-contrast-color has-text-color has-link-color" style="font-size:15px"><?php echo esc_html__( '4 baths', 'house-dealer' ); ?></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}},"typography":{"fontSize":"15px"}},"textColor":"contrast"} -->
<p class="has-contrast-color has-text-color has-link-color" style="font-size:15px"><?php echo esc_html__( '2000 sq ft', 'house-dealer' ); ?></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->

<!-- wp:paragraph {"className":"apartment-price","style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}},"typography":{"fontSize":"17px","fontStyle":"normal","fontWeight":"600"},"spacing":{"margin":{"top":"10px"}}},"textColor":"contrast"} -->
<p class="apartment-price has-contrast-color has-text-color has-link-color" style="margin-top:10px;font-size:17px;font-style:normal;font-weight:600"><?php echo esc_html__( '$15,515', 'house-dealer' ); ?></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group --></div>
<!-- /wp:column -->

<!-- wp:column {"className":"apartment-box wow zoomIn","style":{"border":{"radius":{"topLeft":"15px","topRight":"15px","bottomLeft":"15px","bottomRight":"15px"}}},"backgroundColor":"contrast-3"} -->
<div class="wp-block-column apartment-box wow zoomIn has-contrast-3-background-color has-background" style="border-top-left-radius:15px;border-top-right-radius:15px;border-bottom-left-radius:15px;border-bottom-right-radius:15px"><!-- wp:cover {"url":"<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/apartment2.png","id":75,"dimRatio":0,"isUserOverlayColor":true,"minHeight":320,"contentPosition":"bottom right","isDark":false,"sizeSlug":"full","className":"apartment-img","layout":{"type":"default"}} -->
<div class="wp-block-cover is-light has-custom-content-position is-position-bottom-right apartment-img" style="min-height:320px"><img class="wp-block-cover__image-background wp-image-75 size-full" alt="" src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/apartment2.png" data-object-fit="cover"/><span aria-hidden="true" class="wp-block-cover__background has-background-dim-0 has-background-dim"></span><div class="wp-block-cover__inner-container"></div></div>
<!-- /wp:cover -->

<!-- wp:group {"className":"apartment-info","style":{"spacing":{"margin":{"top":"0px"},"padding":{"top":"20px","bottom":"20px","left":"20px","right":"20px"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group apartment-info" style="margin-top:0px;padding-top:20px;padding-right:20px;padding-bottom:20px;padding-left:20px"><!-- wp:heading {"level":5,"className":"apartment-title","style":{"typography":{"fontSize":"25px","textTransform":"capitalize","fontStyle":"normal","fontWeight":"600"}}} -->
<h5 class="wp-block-heading apartment-title" style="font-size:25px;font-style:normal;font-weight:600;text-transform:capitalize"><?php echo esc_html__( 'agoura hills, los angeles', 'house-dealer' ); ?></h5>
<!-- /wp:heading -->

<!-- wp:group {"className":"apartment-metas","style":{"spacing":{"blockGap":"25px","margin":{"top":"10px"}}},"layout":{"type":"flex","flexWrap":"wrap"}} -->
<div class="wp-block-group apartment-metas" style="margin-top:10px"><!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}},"typography":{"fontSize":"15px"}},"textColor":"contrast"} -->
<p class="has-contrast-color has-text-color has-link-color" style="font-size:15px"><?php echo esc_html__( '4 beds', 'house-dealer' ); ?></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}},"typography":{"fontSize":"15px"}},"textColor":"contrast"} -->
<p class="has-contrast-color has-text-color has-link-color" style="font-size:15px"><?php echo esc_html__( '4 baths', 'house-dealer' ); ?></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}},"typography":{"fontSize":"15px"}},"textColor":"contrast"} -->
<p class="has-contrast-color has-text-color has-link-color" style="font-size:15px"><?php echo esc_html__( '2000 sq ft', 'house-dealer' ); ?></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->

<!-- wp:paragraph {"className":"apartment-price","style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}},"typography":{"fontSize":"17px","fontStyle":"normal","fontWeight":"600"},"spacing":{"margin":{"top":"10px"}}},"textColor":"contrast"} -->
<p class="apartment-price has-contrast-color has-text-color has-link-color" style="margin-top:10px;font-size:17px;font-style:normal;font-weight:600"><?php echo esc_html__( '$15,515', 'house-dealer' ); ?></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group --></div>
<!-- /wp:column -->

<!-- wp:column {"className":"apartment-box wow zoomIn","style":{"border":{"radius":{"topLeft":"15px","topRight":"15px","bottomLeft":"15px","bottomRight":"15px"}}},"backgroundColor":"contrast-3"} -->
<div class="wp-block-column apartment-box wow zoomIn has-contrast-3-background-color has-background" style="border-top-left-radius:15px;border-top-right-radius:15px;border-bottom-left-radius:15px;border-bottom-right-radius:15px"><!-- wp:cover {"url":"<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/apartment3.png","id":75,"dimRatio":0,"isUserOverlayColor":true,"minHeight":320,"contentPosition":"bottom right","isDark":false,"sizeSlug":"full","className":"apartment-img","layout":{"type":"default"}} -->
<div class="wp-block-cover is-light has-custom-content-position is-position-bottom-right apartment-img" style="min-height:320px"><img class="wp-block-cover__image-background wp-image-75 size-full" alt="" src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/apartment3.png" data-object-fit="cover"/><span aria-hidden="true" class="wp-block-cover__background has-background-dim-0 has-background-dim"></span><div class="wp-block-cover__inner-container"></div></div>
<!-- /wp:cover -->

<!-- wp:group {"className":"apartment-info","style":{"spacing":{"margin":{"top":"0px"},"padding":{"top":"20px","bottom":"20px","left":"20px","right":"20px"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group apartment-info" style="margin-top:0px;padding-top:20px;padding-right:20px;padding-bottom:20px;padding-left:20px"><!-- wp:heading {"level":5,"className":"apartment-title","style":{"typography":{"fontSize":"25px","textTransform":"capitalize","fontStyle":"normal","fontWeight":"600"}}} -->
<h5 class="wp-block-heading apartment-title" style="font-size:25px;font-style:normal;font-weight:600;text-transform:capitalize"><?php echo esc_html__( 'agoura hills, los angeles', 'house-dealer' ); ?></h5>
<!-- /wp:heading -->

<!-- wp:group {"className":"apartment-metas","style":{"spacing":{"blockGap":"25px","margin":{"top":"10px"}}},"layout":{"type":"flex","flexWrap":"wrap"}} -->
<div class="wp-block-group apartment-metas" style="margin-top:10px"><!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}},"typography":{"fontSize":"15px"}},"textColor":"contrast"} -->
<p class="has-contrast-color has-text-color has-link-color" style="font-size:15px"><?php echo esc_html__( '4 beds', 'house-dealer' ); ?></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}},"typography":{"fontSize":"15px"}},"textColor":"contrast"} -->
<p class="has-contrast-color has-text-color has-link-color" style="font-size:15px"><?php echo esc_html__( '4 baths', 'house-dealer' ); ?></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}},"typography":{"fontSize":"15px"}},"textColor":"contrast"} -->
<p class="has-contrast-color has-text-color has-link-color" style="font-size:15px"><?php echo esc_html__( '2000 sq ft', 'house-dealer' ); ?></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->

<!-- wp:paragraph {"className":"apartment-price","style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}},"typography":{"fontSize":"17px","fontStyle":"normal","fontWeight":"600"},"spacing":{"margin":{"top":"10px"}}},"textColor":"contrast"} -->
<p class="apartment-price has-contrast-color has-text-color has-link-color" style="margin-top:10px;font-size:17px;font-style:normal;font-weight:600"><?php echo esc_html__( '$15,515', 'house-dealer' ); ?></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group --></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->

<?php } ?>