<div class="col col-lg-6 col-md-6 col-sm-6 col-xs-12 case-studies">
{% set caseStudyLink = app_case_study_link(caseStudy) %}
<a href="{{ caseStudyLink }}" class="card-link">
<div class="card--inner">
<div class="row no-gutter">
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-4">
<div class="feat-img-container">
{% set featureImagePosition = caseStudy.getFeatureImagePosition() == 'left' ? 'object-position:left;' : caseStudy.getFeatureImagePosition() == 'right' ? 'object-position:right;' : '' %}
{% if caseStudy.getFeaturedImage() is empty %}
{{ source("@torq_static/img/backgrounds/placeholder-image.svg") }}
{% else %}
{{ caseStudy.getFeaturedImage().getThumbnail('width_500').getHtml({
imgAttributes: {
class: "img--object-cover",
style: featureImagePosition,
alt: ''
}
})|raw }}
{% endif %}
</div>
</div>
<div class="col-lg-8 col-md-8 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>Case study</p>
</div> #}
{% if caseStudy.getSolutions() %}
<div class="tags">
<i class="fa fa-tag"></i> {{ caseStudy.getSolutions()|join(', ') }}
</div>
{% endif %}
<h3{% if not caseStudy.getSolutions() %} style="max-width: calc(100% - 60px);"{% endif %}>{{ caseStudy.getTitle() }}</h3>
{% if caseStudy.getShortDescription() %}
<p>{{ caseStudy.getShortDescription()|raw }}</p>
{% endif %}
</div>
</div>
</div>
</div>
</div>
</a>
</div>