%%SELECTOR%% .bde-tabs__panel-content {
  {{ macros.simpleLayout(design.layout, breakpoint) }}
  {{ macros.backgroundColor(design.container.background) }}
  {{ macros.spacing_padding_all(design.container.padding) }}
  {{ macros.borders(design.container.borders) }}

  {% 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 %}
}

{{ macros.layoutV2(design.layout_v2, breakpoint, isBaseBreakpoint, '%%SELECTOR%% .bde-tabs__panel-content') }}

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

{% if design.text_colors.link %}
  %%SELECTOR%% .bde-tabs__panel-content a {
    color: {{ design.text_colors.link }};
  }
{% endif %}

{% if design.text_colors.link_hover %}
  %%SELECTOR%% .bde-tabs__panel-content a:hover {
    color: {{ design.text_colors.link_hover }};
  }
{% endif %}
