<div class="section-with-features">
	{%- if title -%}
	<h2 class="section-title">{{ _(title) }}</h2>
	{%- endif -%}
	{%- if subtitle -%}
	<p class="section-description">{{ _(subtitle) }}</p>
	{%- endif -%}

	<div class="section-features" data-columns="{{ columns or 3 }}"
		{% if not subtitle %}style="margin-top: -1.5rem"{% endif %}>
		{%- for feature in features -%}
		<div class="section-feature">
			<div>
				{%- if feature.icon -%}
				<img class="feature-icon" src="{{ feature.icon }}" alt="Icon for {{ feature.title }}">
				{%- endif -%}
				{%- if feature.title -%}
				<h3 class="feature-title mt-0">{{ _(feature.title) }}</h3>
				{%- endif -%}
				{%- if feature.content -%}
				<p class="feature-content">{{ jingrow.utils.md_to_html(_(feature.content)) }}</p>
				{%- endif -%}
			</div>
			<div>
				{%- if feature.url -%}
				<a href="{{ feature.url }}" class="feature-url stretched-link"> {{ _("Learn more") }} →</a>
				{%- endif -%}
			</div>
		</div>
		{%- endfor -%}
	</div>
</div>
