<section class="block-wrapper" id="{{$data->slug}}">
    <div class="container">
        <div class="row">
            <div class="col-sm-8">

                <!-- block content -->
                <div class="block-content">
                    <!-- carousel box -->
                    <div class="carousel-box owl-wrapper">
                        @if($data->big != '')
                        <div class="image-slider snd-size">
                            <span class="top-stories">{{$data->name}}</span>
            
                            <div class="news-post image-post">
                                <a href="{{$data->big->slug}}"><img src="/files/news/{{$data->big->image}}" alt=""></a>
                                <div class="hover-box">
                                    <div class="inner-hover">
                                        <a class="category-post world" href="{{$data->big->slug}}">{{$data->big->title}}</a>
                                        <h2><a href="{{$data->big->slug}}">{{$data->big->small_text}}</a></h2>
                                    </div>
                                </div>
                            </div>
                
                        </div>
                        @endif
                        <div class="row">
                            @if($data->medium1 != '')
                                <div class="col-md-6">

                                    <div class="item news-post standard-post">
                                        <div class="post-gallery">
                                            <a href="/{{$data->medium1->slug}}"><img src="/files/news/{{$data->medium1->image}}" alt=""></a>
                                        </div>
                                        <div class="post-content">
                                            <h2><a href="/{{$data->medium1->slug}}">{{$data->medium1->title}}</a></h2>
                                            <ul class="post-tags">
                                                <li><i class="fa fa-clock-o"></i>{{$data->medium1->date}}</li>
                                            </ul>
                                        </div>
                                    </div>
                                </div>
                            @endif
                            @if($data->medium2 != '')
                                <div class="col-md-6">

                                    <div class="item news-post standard-post">
                                        <div class="post-gallery">
                                            <a href="/{{$data->medium2->slug}}"><img src="/files/{{$data->medium2->image}}" alt=""></a>
                                        </div>
                                        <div class="post-content">
                                            <h2><a href="{{$data->medium2->slug}}">{{$data->medium2->title}}</a></h2>
                                            <ul class="post-tags">
                                                <li><i class="fa fa-clock-o"></i>{{$data->medium2->date}}</li>
                                            </ul>
                                        </div>
                                    </div>
                                </div>
                            @endif

                        </div>
                    </div>
                </div>
            </div>
            
            <div class="col-sm-4 sidebar">

                @include('partials.section_adv', ['advs' => $advs])
                
            </div>
        </div>
    </div>
</section>
                    
<div class="container">
    <div class="row">
        <div class="col-md-8">
            <div class="center-button" style="margin-top: 2em;">
                <a href="{{$data->slug}}">ARCHIVIO</a>
            </div>
            <!--<div class="text-center" style="margin-top: 2em;">
                <a class="btn btn-danger btn-lg" style="margin: 2em;"  href="#">EVENTI</a>
            </div>
            <div class="text-center" style="margin-top: 2em;">
                <a class="btn btn-danger btn-lg" href="#">LINK UTILI</a>
            </div>-->
        </div>
    </div>
</div>
            
<!--
<div class="container">
        <div class="row">
            <div class="col-md-12 text-center">
                <a class="btn btn-danger btn-lg" style="margin: 2em;"  href="#">EVENTI</a>
            <div class="col-md-12 text-center">
                <a class="btn btn-danger btn-lg" href="#">LINK UTILI</a>
            </div>
        </div>
</div>
-->