<style>

</style>



<div class="container-fluid lanu_mtn_img_background" style="">


  <div class="container">

    <div class="row">
      <?php foreach ($viewContents as $key => $content) { ?>
        <div class="col-xs-12 col-sm-12 col-md-6 col-xl-6 col-xxl-6">
          <div class="mtn_img_aspect">
            <img
              src="<?= $this->Url->image(sizeof($content->content_images) > 0 ? $content->content_images[0]->image_path : 'noimage.png') ?>"
              class="img-responsive img-fluid" alt="" loading="lazy">
          </div>
        </div>

        <div class="col-xs-12 col-sm-12 col-md-6 col-xl-6 col-xxl-6">
          <!-- the cols in this div change the number of cards per row depending on screen size and the mb-4 adds space below cards if they spill over into the next row-->
          <div class="col-xs-12 col-sm-12 col-md-12 col-xl-12 col-xxl-12 ps-5">
            <!-- Content Title -->
            <div class="mt-5">
              <h1 class="title-container fw-bold lh-sm text-white">
                <?= $content->name ?>
                <!-- Smart Banking -->
              </h1>
            </div>
            <!-- Content Title Ends Here -->

            <!-- Contents -->
            <div class="mt-4 content-container">
              <p class="">
                <?= $content->content ?>
              </p>
            </div>
            <!-- Contents Ends Here -->

            <!-- Contents Button -->
            <div class="text-left mt-5">
              <a href="<?= $this->Url->build(['controller' => $menuDetails->slug, 'action' => 'details', $content->id]) ?>">
                <button type="button" class="button button-la">Learn More</button>
              </a>
            </div>

          </div>

        </div>

      <?php } ?>
    </div>
  </div>

</div>