<div class="design-pst">
    <div class="pst-block">
        <div class="pst-block-head" style="background: #395a93;">
            <h2 class="title-4" style="color: #fff;"><strong><?php echo e($model[0]->ca_title); ?></strong></h2>
            <div class="filters">
              <ul class="filters-list-1 xs-hide">
                  <a class="active" style="color:#fff;" href="/listcategory/<?php echo e($model[0]->cat_id); ?>"><?php echo e(trans('resource.more')); ?></a>
              </ul>
            </div>
            
        </div>
        <div class="pst-block-main">
            <div class="col-row">

              <?php 
                  $counter = 0;
               ?>

              <?php $__currentLoopData = $model; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getFirstLoop(); ?>
                <?php if($counter < 2): ?>
                  <div class="col-half xs-half mb-ls-full">
                      <article class="post post-tp-5">
                          <figure>
                              <a href="/post/<?php echo e($item->id); ?>">
                                  <img src="<?php echo e($item->thumbnail); ?>" height="242" width="345" alt="<?php echo e($item->title); ?>" class="adaptive" />
                              </a>
                              <div class="ptp-5-overlay">
                                  <div class="ptp-5-data">
                                      <a href="">
                                          <i class="li_eye"></i><?php echo e($item->views); ?>

                                      </a>
                                      <a href="">
                                          <i class="li_bubble"></i><?php echo e($item->comment_count); ?>

                                      </a>
                                  </div>
                              </div>
                          </figure>
                          <h3 class="title-5"><a href="/post/<?php echo e($item->id); ?>"><?php echo e($item->title); ?></a></h3>
                          <div class="meta-tp-2">
                              <div class="date"><span><?php echo e($item->insert_date); ?></span></div>
                              <div class="category">
                                  
                              </div>
                          </div>
                          
                      </article>
                  </div>

                  <?php  $counter++;   ?>
                <?php endif; ?>
              <?php endforeach; $__env->popLoop(); $loop = $__env->getFirstLoop(); ?>
            </div>
            <hr class="pst-block-hr">
            <div class="col-row">
              <?php for($i=2; $i < count($model); $i++): ?>
                  <?php if($counter > 1): ?>
                    <div class="col-half">
                      <article class="post post-tp-6">
                          <figure>
                              <a href="/post/<?php echo e($model[$i]->id); ?>">
                                  <img style="height: 85px" src="<?php echo e($model[$i]->thumbnail); ?>" height="85" width="115" alt="<?php echo e($model[$i]->title); ?>" class="adaptive" />
                              </a>
                          </figure>
                          <h3 class="title-6"><a href=""><?php echo e($model[$i]->title); ?></a></h3>
                          <div class="date-tp-2"><?php echo e($model[$i]->insert_date); ?></div>
                      </article>
                    </div>
                  <?php endif; ?>
              <?php endfor; ?>
            </div>
        </div>
    </div>
</div>
