{% if fairs %}
	<section>
		<div class="container">
			{% if existH1 %}
				<h2>{{ settings.headerFair }}</h2>
			{% else %}
				<h1>{{ record.title }}</h1>
			{% endif %}
			<div class="row justify-content-center justify-content-xl-between news-item">
				{% for item in fairs %}
					<div class="col-12 col-md-7 col-xl-6 mb-3">
						<a href="{{ item.url }}" target="_blank" rel="nofollow" aria-label="Wejdź na targi">
							<div class="d-flex h-100 justify-content-between flex-column">
								<div>
									<div class="news-img {% if loop.index%2==1 %} left-bg {% endif %}">
										{% if item.image is not empty %}
											{{ sonata_thumbnail(item.image, 'news') }}
										{% else %}
											<div class="placeholder ph-news"><img alt="{{ item.title }}" src="{{ asset('dist/img/logo.png') }}" /></div>
										{% endif %}
									</div>
									<h4>{{ item.title }}</h4>
									{{ item.teaser|raw }}
								
								</div>
								<div>
									<span class="btn mt-3" aria-label="Wejdź na targi">Więcej</span>
								</div>
							</div>
						</a>
					</div>
				{% endfor %}
			</div>
		</div>
	</section>
{% endif %}