{{ attach_library('ui_patterns/line_info_base.line_info_base_lib') }}

{% set wrapper_attributes = wrapper_attributes|default(create_attribute()) %}
{% set wrapper_classes = [
  wrapper_classes,
  'line-info-section',
  background_coloured ? 'coloured' : 'white',
] %}
{% set background = background_coloured ? 'coloured' : 'white' %}

{% if theme %}
<div class="{{ theme }}-theme">
{% endif %}
<div {{ wrapper_attributes.addClass(wrapper_classes) }}>
  {% block header_outside_block %}

  {% endblock %}
  <div class="container">
    {% block header_block %}
      <div class="li-header text-center">
        <h2><span id="{{ header_id }}" class="jump-link-target"></span>{{ header }}</h2>
      </div>
    {% endblock %}
    {% block content_block %}
      {{ content }}
    {% endblock %}
  </div>
  {% block content_outside_block %}

  {% endblock %}
</div>
{% if theme %}
</div>
{% endif %}
