{# VARIABLES #}
{% set nearest_station_text = false %}

{% if nearest_station %}
  {% set nearest_station_text %}
    {% include "@atoms/tm-links/standard/standard.twig" with {
      "text": nearest_station['title'],
      "url": nearest_station['link'],
      "class": 'stn-link',
    } only %}
  {% endset %}
{% endif %}

{# TEMPLATE #}
{% include "@organisms/tm-off/offer-content/partials/offer-blk.twig" with {
  'header': 'Closest station',
  'text': nearest_station_text,
  'block_style': block_style,
} only%}
