@if(isset($category) && !empty($category) && isset($category->top_article) && isset($category->articles))
    <div class="news small col-md-3 col-sm-3">
        <h4>
            <a href="{{ $category->link }}" target="_blank">
                {{ $category->title }}
                <span class="gray">NEWS</span>
            </a>
        </h4>
        <div class="clearfix"></div>
        <div class="big-post">
            <div class="image col-md-12 col-sm-12 no-padding">
                <img src="{{ ($category->top_article->article_image ? $category->top_article->article_image->source : '') }}" alt="{{ ($category->top_article->article_image ? $category->top_article->article_image->alternate_text : '') }}" class="img-full">
                <a href="{{ $category->top_article->link }}" target="_blank">{{ $category->top_article->title }}</a>
            </div>
        </div>
        <div class="clearfix"></div>
        <ul>
            @foreach($category->articles AS $article)
                <li>
                    <a href="{{ $article->link }}" target="_blank">{{ $article->title }}</a>
                </li>
            @endforeach
        </ul>
    </div>
@endif
