<section class="bg-pale-sky-blue">
<div class='row px-5 py-5'>
    <?php foreach ($viewContents as $content): ?>
        <div class="col-xs-12 col-sm-12 col-md-6 col-xl-6 col-xxl-6 now text_gaps text-dark ">
            <div>
                <h4><?= $content->name ?></h4>
            </div>

            <p><?= $content->content ?></p>
        </div>

        <div class="col-xs-12 col-sm-12 col-md-6 col-xl-6 col-xxl-6 now text_gaps ">
        <img src="<?= $this->Url->image(!empty($content->content_images) > 0 ? $content->content_images[0]->image_path : 'noimage.png') ?>"
        class="img-fluid" alt="">
        </div>

    <?php endforeach ?>
</div>
</section>