<?php if ( have_rows( 'oferta_flexible_content' ) ) : ?>
<?php while ( have_rows('oferta_flexible_content' ) ) : the_row(); ?>
<?php if ( get_row_layout() == 'one_column' ) : ?>
<div class="desc-simple plastmb0 mb-8">
<?php the_sub_field( 'text' ); ?>
</div>
<?php elseif ( get_row_layout() == 'two_columns' ) : ?>
<div class="row mx-n8 mb-8">
<div class="col-md-6 mb-8 mb-md-0 desc-simple plastmb0 px-8">
<?php the_sub_field( 'text_col_1' ); ?>
</div>
<div class="col-md-6 desc-simple plastmb0 px-8">
<?php the_sub_field( 'text_col_2' ); ?>
</div>
</div>
<?php elseif ( get_row_layout() == 'heading' ) : ?>
<div class="mb-8">
<div class="flex-heading-im-wr text-center mb-8">
<img class="mylazy" data-src="<?php the_sub_field( 'image' ); ?>" alt="">
</div>
<div class="flex-heading-title text-center">
<?php the_sub_field( 'title' ); ?>
</div>
</div>
<?php endif; //flexible ?>
<?php endwhile; ?>
<?php endif; //flex ?>