%%SELECTOR%% {
  width: {{ design.container.width.style }};
  height: {{ design.container.height.style }};
  {{ macros.spacing_padding_all(design.container.padding) }}
  {{ macros.borders(design.container.borders) }}
  {{ macros.spacing_margin_y(design.spacing) }}
  {{ macros.simpleLayout(design.layout, breakpoint) }}
}

{{ macros.layoutV2(design.layout_v2, breakpoint, isBaseBreakpoint, '%%SELECTOR%%') }}

{{ macros.fancyBackgroundCss('%%SELECTOR%%', design.background, breakpoint, false, true) }}

{# Text Colors #}
%%SELECTOR%% {
  {% if design.text_colors.text %}
    color: {{ design.text_colors.text }};
  {% endif %}
  {% if design.text_colors.brand %}
    --bde-brand-primary-color: {{ design.text_colors.brand }};
  {% endif %}
}

{% if design.text_colors.headings %}
  %%SELECTOR%% h1, %%SELECTOR%% h2, %%SELECTOR%% h3, %%SELECTOR%% h4, %%SELECTOR%% h5, %%SELECTOR%% h6 {
    color: {{ design.text_colors.headings }};
  }
{% endif %}

{% if design.text_colors.link %}
  %%SELECTOR%% a {
    color: {{ design.text_colors.link }};
  }
{% endif %}

{% if design.text_colors.link_hover %}
  %%SELECTOR%% a:hover {
    color: {{ design.text_colors.link_hover }};
  }
{% endif %}
