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

                
                <div class="block-content">
                    <div class="title-section">
                        <h1><span>{{$data->name}}</span></h1>
                    </div>
        
                    <div class="row" style="margin-top: 2em;">
                        @if(is_object($data->big))
                            <div class="col-sm-12">
                                <div class="news-post image-post">
                                    <a href="{{$data->big->slug}}"><img src="/files/news/{{$data->big->image}}" alt=""></a>
                                    <div>
                                        <div class="inner-hover">
                                            
                                            <h2><a href="{{$data->big->slug}}">{{$data->big->getCurrentTitle($data->id)}}</a></h2>
                                            <ul class="post-tags">
                                                <li><i class="fa fa-clock-o"></i><span>{{date("d/m/Y", strtotime($data->big->date))}}</span></li>
                                            </ul>
                                        </div>
                                    </div>
                                </div>	
                            </div>
                        @endif

                        <div class="col-sm-12" style="margin-top: 2em;">
                            <div class="row">

                                @if(is_object($data->medium1))
                                    <div class="col-sm-4 sidebar">
                                        <div class="col-sm-8">
                                            <div class="news-post image-post2">
                                                <a href="{{$data->medium1->slug}}"><img src="/files/news/V_{{$data->medium1->image}}" alt="" class="img-responsive"></a>
                                            </div>
                                        </div>
                                        <div class="col-sm-4 sidebar">
                                            <div class="post-content">
                                                <h2><a href="/{{$data->medium1->slug}}">{{$data->medium1->getCurrentTitle($data->id)}}</a></h2>
                                                    <ul class="post-tags">
                                                        <li><i class="fa fa-clock-o"></i>{{date("d/m/Y", strtotime($data->medium1->date))}}</li>
                                                    </ul>
                                            </div>		
                                        </div>
                                    </div>
                                @endif

                                @if(is_object($data->medium2))
                                    <div class="col-sm-4 sidebar">
                                        <div class="col-sm-8">
                                            <div class="news-post image-post2">
                                                <a href="{{$data->medium2->slug}}"><img src="/files/news/V_{{$data->medium2->image}}" alt="" class="img-responsive"></a>
                                            </div>
                                        </div>
                                        <div class="col-sm-4 sidebar">
                                            <div class="post-content">
                                                <h2><a href="{{$data->medium2->slug}}">{{$data->medium2->getCurrentTitle($data->id)}}</a></h2>
                                                    <ul class="post-tags">
                                                        <li><i class="fa fa-clock-o"></i>{{date("d/m/Y", strtotime($data->medium2->date))}}</li>
                                                    </ul>
                                            </div>		
                                        </div>
                                    </div>
                                @endif
                                @if(is_object($data->medium3))
                                    <div class="col-sm-4 sidebar">
                                        <div class="col-sm-8">
                                            <div class="news-post  image-post2">
                                                <a href="{{$data->medium3->slug}}"><img src="/files/news/V_{{$data->medium3->image}}" alt="" class="img-responsive"></a>
                                            </div>
                                        </div>
                                        <div class="col-sm-4 sidebar">
                                            <div class="post-content">
                                                <h2><a href="{{$data->medium3->slug}}">{{$data->medium3->getCurrentTitle($data->id)}}</a></h2>
                                                    <ul class="post-tags">
                                                        <li><i class="fa fa-clock-o"></i>{{date("d/m/Y", strtotime($data->medium3->date))}}</li>
                                                    </ul>
                                            </div>		
                                        </div>
                                    </div>
                                @endif
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="col-sm-4 sidebar">
                
                @if($data->show_social)
                    
                    <div class="widget social-widget">
                        <div class="title-section">
                            <h1><span>Social</span></h1>
                        </div>
                        <div id="fb-root"></div>
                        <script async defer crossorigin="anonymous" src="https://connect.facebook.net/it_IT/sdk.js#xfbml=1&version=v6.0"></script>
                        <div class="fb-page" data-href="https://it-it.facebook.com/calcioa5anteprima" data-tabs="timeline" data-width="330" data-height="100%" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://it-it.facebook.com/calcioa5anteprima" class="fb-xfbml-parse-ignore"><a href="https://it-it.facebook.com/calcioa5anteprima">Calcio a 5 Anteprima</a></blockquote></div>    
                    </div>
    
                @else
                    
                    @include('partials.section_adv', ['keys' => array('300x75', '300x250 Sopra', '300x250 Centro', '300x250 Sotto'), 'advs' => $advs])

                @endif
                
            </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 NOTIZIE</a>
            </div>
        </div>
    </div>
</div>