<?php
$realisations = $args['realisations'] ?? array();
?>
<?php if (is_array($realisations) && sizeof($realisations) > 0) : ?>
  <section class="section-posts py-20 lg:py-[170px] px-4 xl:px-0">

    <div class="posts-list reverse">
      <div class="container flex flex-col  gap-20  lg:gap-[170px] ">
        <?php foreach ($realisations as $realisation) : ?>
          <?php get_template_part('template-parts/components/cards/card', 'realisation', array('data' => $realisation)); ?>
        <?php endforeach; ?>
      </div>
    </div>
  </section>
<?php endif; ?>
