<div class="weather-item weather-item--md text-center mx-auto">
<div class="weather-item__title font-decorative text-uppercase mb-0">{{ title }}</div>
<div class="row row-gutter--3 justify-content-center align-items-center mt-2 mt-md-3">
<div class="col-auto">
<img alt="{{ ('weather.icon.' ~ icon)|trans }}" class="img-fluid weather-item__img js-lazy-img" data-src="/static/debug/img/weather/{{ getWeatherIcon(icon) }}.svg">
</div>
<div class="col-auto">
<div class="font-default-bold {{ tempMax is defined ? 'mt-2 mt-md-4' : '' }}">
<span class="weather-item__val">{{ temp }}°C</span>
{% if tempMax is defined %}
<span class="weather-item__val">{{ tempMax }}°C</span>
{% endif %}
</div>
</div>
</div>
{% if wind is defined or rain is defined %}
<div class="row row-gutter--2 mt-2 mt-md-4 text-left text-nowrap">
{% if rain is defined %}
<div class="col">
<span class="icon icon-umbrella weather-item__detail-icon" aria-label="regen lorem ipsum" title="regen lorem ipsum"></span>
{{ rain }}%
</div>
{% endif %}
{% if wind is defined %}
<div class="col text-right text-nowrap">
<span class="icon icon-weather weather-item__detail-icon" aria-label="regen lorem ipsum" title="regen lorem ipsum"></span>
{{ wind }} km/h
</div>
{% endif %}
</div>
{% endif %}
</div>