<section class="nini_headr_box" style="margin-top:1rem;padding-top:1rem;background:<?php echo $settings['background_Color_vid']; ?>">
    <div class="container">
        <div class="row">
            <div class="col-12 col-lg-9">
                <div class="row">
                    <div class="col-12 col-sm-4 pal_0">
                        <?php
                        $all_posts->the_post();
                        $thumb = wp_get_attachment_image_src(get_post_thumbnail_id(), 'medium_large');
                        ?>
                        <div class="small-box-featured" style="background-image: url('<?php echo $thumb['0']; ?>')">
                            <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>" class="cover-trigger">
                                <div class="cover-article-title">
                                    <h2 class="cover-title"><?php the_title(); ?></h2>
                                </div>
                            </a>
                            <div class="dark-gradient"></div>
                        </div>
                        <?php
                        $all_posts->the_post();
                        $thumb = wp_get_attachment_image_src(get_post_thumbnail_id(), 'medium_large');
                        ?>
                        <div class="small-box-featured" style="background-image: url('<?php echo $thumb['0']; ?>')">
                            <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>" class="cover-trigger">
                                <div class="cover-article-title">
                                    <h2 class="cover-title"><?php the_title(); ?></h2>
                                </div>
                            </a>
                            <div class="dark-gradient"></div>
                        </div>
                    </div>
                    <?php
                    $all_posts->the_post();
                    $thumb = wp_get_attachment_image_src(get_post_thumbnail_id(), 'medium_large');
                    ?>
                    <div class="col-12 col-sm-8 pal_0">
                        <div class="big-box-featured" style="background-image: url('<?php echo $thumb['0']; ?>')">
                            <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>" class="cover-trigger">
                                <div class="cover-article-title">
                                    <h2 class="cover-title"><?php the_title(); ?></h2>
                                </div>
                            </a>
                            <div class="dark-gradient"></div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-12 col-lg-3">
                <div class="row">
                    <div class="col-12 col-sm-6 col-lg-12 ad-wrapper">
                        <a href="<?php echo $settings['link_image_sid']['url']; ?>">
                            <?php echo wp_get_attachment_image($settings['image_sid']['id'], array(200, 100)); ?>
                        </a>
                    </div>
                    <div class="col-12 col-sm-6 col-lg-12 ad-wrapper">
                        <a href="<?php echo $settings['link_image_sid_2']['url']; ?>">
                            <?php echo wp_get_attachment_image($settings['image_sid_2']['id'], array(200, 100)); ?>
                        </a>
                    </div>
                    <div class="col-12 col-sm-6 col-lg-12 ad-wrapper">
                        <a href="<?php echo $settings['link_image_sid_3']['url']; ?>">
                            <?php echo wp_get_attachment_image($settings['image_sid_3']['id'], array(200, 100)); ?>
                        </a>
                    </div>
                    <div class="col-12 col-sm-6 col-lg-12 ad-wrapper">
                        <a href="<?php echo $settings['link_image_sid_4']['url']; ?>">
                            <?php echo wp_get_attachment_image($settings['image_sid_4']['id'], array(200, 100)); ?>
                        </a>
                    </div>
                </div>
            </div>
        </div>
</section>
</div>