{if $article_category->subcategories}
    <div class="articles row">
        {foreach from=$article_category->subcategories item=c}
			{if $c->visible}        
        		<div class="article col-sm-4 col-xs-6">
        			<div class="article-image">{if $c->image}<a class="w" href="/nashi-raboty/{$c->url}/" data-articlecategory="{$c->id}"><img class="img-thumbnail" src="{$c->image|resizepost:252:252}" alt="{$c->name}"></a>{/if}</div>                                               
                    <div class="article-name" style="{$name_style}"><a class="w" href="/nashi-raboty/{$c->url}/" data-articlecategory="{$c->id}">{$c->name}</a></div>
                    <div class="article-description">{$c->description}</div>
        		</div>
 			{/if}
        {/foreach}
    </div>
{/if}
