<div class="col{% if layoutMode == 'horizontal' %} col-lg-4 col-md-4{% else %} col-lg-6 col-md-6{% endif %} col-sm-6 col-xs-12 case-studies">
{% set blogPostLink = app_blog_post_link(blogPost) %}
<a href="{{ blogPostLink }}" class="card-link">
<div class="card--inner card--blog-post">
<div class="row no-gutter">
{% set featureImagePosition = blogPost.getFeatureImagePosition() == 'left' ? 'object-position:left;' : blogPost.getFeatureImagePosition() == 'right' ? 'object-position:right;' : '' %}
{% if blogPost.getFeaturedImage() %}
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-4">
<div class="feat-img-container">
{{ blogPost.getFeaturedImage().getThumbnail('width_500').getHtml({
imgAttributes: {
class: "img--object-cover",
style: featureImagePosition,
}
})|raw }}
</div>
</div>
{% endif %}
<div class="{% if blogPost.getFeaturedImage() %}col-lg-8 col-md-8{% else %}col-lg-12 col-md-12{% endif %} col-sm-8 col-xs-8">
<div class="padding-2em">
<div class="position-relative card-content-container">
<div class="absolute-top-right">
{{ source("@torq_static/img/icons/arrow-right.svg") }}
</div>
{# <div class="tag">
<p>Blog Post</p>
</div> #}
{% if blogPost.getSolutions() %}
<div class="tags">
<i class="fa fa-tag"></i> {{ blogPost.getSolutions()|join(', ') }}
</div>
{% endif %}
<h3{% if not blogPost.getSolutions() %} style="max-width: calc(100% - 60px);"{% endif %}>{{ blogPost.getTitle() }}</h3>
{% set blogDate = blogPost.getDate().format('F j, Y') %}
<p class="meta--date">{{ blogDate }}</p>
</div>
</div>
</div>
</div>
</div>
</a>
</div>