{% if page.testimonials.count %}
	{% for group in page.testimonials %}

		<article class="testimonials">
			<div class="testimonials__container container">

				<header class="testimonials__header">
					{% if group.title.value %}
						<h1 class="testimonials__title">{{ group.title | raw }}</h1>
					{% endif %}
					{% if group.text.value %}
						<p class="testimonials__text">{{ group.text }}</p>
					{% endif %}
				</header>

				{% if group.testimonials_items.count %}
					<ul class="testimonials__list">
						{% for testimonial in group.testimonials_items %}
							<li class="testimonials__list__item">
								{{testimonial.wysiwyg | raw}}
							</li>
						{% endfor %}
					</ul>
				{% endif %}

				<div class="testimonials__image__wrapper">
					<div class="testimonials__image__container">
						{% if group.image.id %}
							<img src="{{ group.image.make.path }}" alt="{{ group.group.title }}" class="testimonials__image">
						{% endif %}
					</div>
				</div>

			</div>
		</article>

	{% endfor %}
{% endif %}
