<!-- Card Group -->
<div class="card_group">
    <div class="card_group_header">
        <div class="fs-row">
            <div class="fs-cell fs-xl-8 fs-xl-push-2">
                <div class="card_group_header_inner">
                    <h2 class="card_group_title">Facts & Figures</h2>
                    <div class="card_group_description">
                        <p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Curabitur blandit tempus porttitor. Etiam porta sem malesuada magna mollis euismod. Donec ullamcorper nulla non metus auct.</p>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="card_group_body">
        <div class="fs-row">
            <div class="fs-cell fs-xl-10 fs-xl-push-2">
                <ul class="card_group_items card_count_4" aria-label="Facts & Figures">
                    <li class="card_group_item">
                        <figure class="card_group_item_figure">

                            <img class="card_group_item_image" srcset="https://images.fastspot.com/framework/740x555/1 740w, https://images.fastspot.com/framework/500x375/1 500w, https://images.fastspot.com/framework/300x225/1 300w" src="https://images.fastspot.com/framework/300x225/1" alt="" loading="lazy" width="300" height="225">
                        </figure>
                        <div class="card_group_item_body">
                            <div class="card_group_item_body_top">
                                <h3 class="card_group_item_title">Ornare Egestas</h3>

                                <div class="card_group_item_description">
                                    <p>Title</p>
                                </div>
                            </div>

                            <div class="card_group_item_action">

                                <a href="#" class="card_group_item_link">
                                    <span class="card_group_item_link_inner">
                                        <span class="card_group_item_link_label">Link Title</span>
                                        <span class="card_group_item_link_icon" aria-hidden="true">

                                            <svg class="icon icon_chevron_right">
                                                <use href="/images/icons.svg#chevron_right" />
                                            </svg>

                                        </span>
                                    </span>
                                </a>
                            </div>
                        </div>
                    </li>
                    <li class="card_group_item">
                        <figure class="card_group_item_figure">

                            <img class="card_group_item_image" srcset="https://images.fastspot.com/framework/740x555/2 740w, https://images.fastspot.com/framework/500x375/2 500w, https://images.fastspot.com/framework/300x225/2 300w" src="https://images.fastspot.com/framework/300x225/2" alt="" loading="lazy" width="300" height="225">
                        </figure>
                        <div class="card_group_item_body">
                            <div class="card_group_item_body_top">

                                <div class="card_group_item_description">
                                    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent eget est sed ex pretium fringilla. <a href="#">Vivamus ac turpis</a> quis eros consectetur ornare.</p>
                                </div>
                            </div>

                            <div class="card_group_item_action">

                                <a href="#" class="card_group_item_link">
                                    <span class="card_group_item_link_inner">
                                        <span class="card_group_item_link_label">Link Title</span>
                                        <span class="card_group_item_link_icon" aria-hidden="true">

                                            <svg class="icon icon_chevron_right">
                                                <use href="/images/icons.svg#chevron_right" />
                                            </svg>

                                        </span>
                                    </span>
                                </a>
                            </div>
                        </div>
                    </li>
                    <li class="card_group_item">
                        <figure class="card_group_item_figure">

                            <img class="card_group_item_image" srcset="https://images.fastspot.com/framework/740x555/3 740w, https://images.fastspot.com/framework/500x375/3 500w, https://images.fastspot.com/framework/300x225/3 300w" src="https://images.fastspot.com/framework/300x225/3" alt="" loading="lazy" width="300" height="225">
                        </figure>
                        <div class="card_group_item_body">
                            <div class="card_group_item_body_top">
                                <h3 class="card_group_item_title">Ornare Egestas</h3>

                                <div class="card_group_item_description">
                                    <p>Title</p>
                                </div>
                            </div>

                        </div>
                    </li>
                    <li class="card_group_item">
                        <figure class="card_group_item_figure">

                            <img class="card_group_item_image" srcset="https://images.fastspot.com/framework/740x555/4 740w, https://images.fastspot.com/framework/500x375/4 500w, https://images.fastspot.com/framework/300x225/4 300w" src="https://images.fastspot.com/framework/300x225/4" alt="" loading="lazy" width="300" height="225">
                        </figure>
                        <div class="card_group_item_body">
                            <div class="card_group_item_body_top">

                                <div class="card_group_item_description">
                                    <p>Title</p>
                                </div>
                            </div>

                        </div>
                    </li>
                </ul>
            </div>
        </div>
    </div>
</div>
<!-- END: Card Group -->
{#
	{% include '@component-card-group' with {
		title: 'Title',
		description: 'Description',
		items: [
			{
				image: '1',
				title: 'Item Title',
				description: 'Item Description'
			}
		]
	} %}
#}

{% if items|length % 3 == 0 %}
	{% set card_count = 3 %}
{% elseif items|length < 3 %}
	{% set card_count = 2 %}
{% else %}
	{% set card_count = 4 %}
{% endif %}

<!-- Card Group -->
<div class="card_group">
	{% if title or description %}
		<div class="card_group_header">
			<div class="fs-row">
				<div class="fs-cell fs-xl-8 fs-xl-push-2">
					<div class="card_group_header_inner">
						{% if title %}
							<h2 class="card_group_title">{{ title }}</h2>
						{% endif %}
						{% if description %}
							<div class="card_group_description">
								<p>{{ description }}</p>
							</div>
						{% endif %}
					</div>
				</div>
			</div>
		</div>
	{% endif %}
	<div class="card_group_body">
		<div class="fs-row">
			<div class="fs-cell fs-xl-10 fs-xl-push-2">
				<ul class="card_group_items card_count_{{ card_count }}" {% if title %} aria-label="{{ title }}" {% endif %}>
					{% for item in items %}
						<li class="card_group_item">
							<figure class="card_group_item_figure">
								{% include '@partial-image' with {
									class: 'card_group_item',
									alt: '',
									image: item.image,
									loading: 'lazy',
									sources: [
										img.full.sml,
										img.full.xsml,
										img.full.xxsml
									]
								} %}
							</figure>
							<div class="card_group_item_body">
								<div class="card_group_item_body_top">
									{% if item.title %}
										<h3 class="card_group_item_title">{{ item.title }}</h3>
									{% endif %}

									{% if description %}
										<div class="card_group_item_description">
											<p>{{ item.description }}</p>
										</div>
									{% endif %}
								</div>

								{% if item.link %}
									<div class="card_group_item_action">
										{% include '@partial-link' with {
											class: 'card_group_item',
											title: item.link.title,
											url: item.link.url,
											icon: item.link.icon
										} %}
									</div>
								{% endif %}
							</div>
						</li>
					{% endfor %}
				</ul>
			</div>
		</div>
	</div>
</div>
<!-- END: Card Group -->

No notes defined.