<?php
$datas = $args['data'];

$texte = isset($datas['texte']) ? $datas['texte'] : '';
$image_gauche = isset($datas['image_gauche']) ? $datas['image_gauche'] : '';
$image_droite = isset($datas['image_droite']) ? $datas['image_droite'] : '';

?>

<div class="container flex flex-col md:flex-row gap-10 md:gap-10 lg:gap-20 !px-0 md:!px-5">
  <div class="left md:basis-3/12  md:self-end">
    <img <?php echo acf_responsive_image($image_gauche['id'], 'medium', '100%') ?> alt="" class="w-full scroll-appear scroll-appear-image h-auto">
  </div>
  <div class="center md:basis-6/12 md:text-center lg:py-40 scroll-appear px-5 md:px-0">
    <?php echo $texte ?>
  </div>
  <div class="right md:basis-3/12 md:self-start">
    <img <?php echo acf_responsive_image($image_droite['id'], 'medium', '100%') ?> alt="" class="w-full scroll-appear scroll-appear-image h-auto">
  </div>
</div>