<%
  featured_item = section[:promoted_content].first
  featured_item_layout_class = "taxon-page__featured-item--single" if section[:documents].empty?
%>

  <div class="taxon-page__featured-item <%= featured_item_layout_class %>">
    <%= render "govuk_publishing_components/components/image_card", {
        large: true,
        href: featured_item[:link].fetch(:path),
        image_src: featured_item[:image][:url],
        heading_text: featured_item[:link].fetch(:text),
        metadata: featured_item[:metadata][:organisations],
        context: {
          date: featured_item[:metadata][:public_updated_at],
          text: featured_item[:metadata][:document_type]
        },
        href_data_attributes: {
          track_category: featured_item[:link][:data_attributes][:track_category],
          track_action: featured_item[:link][:data_attributes][:track_action],
          track_label: featured_item[:link][:data_attributes][:track_label],
          track_options: featured_item[:link][:data_attributes][:track_options]
        }
    } %>
  </div>
  <% if section[:documents].any? %>
    <div>
      <%= render 'govuk_publishing_components/components/document_list',
        items: section[:documents],
        margin_top: true,
        margin_bottom: true
      %>
  <% else %>
    <div class="taxon-page__featured-see-more">
  <% end %>
    <%= render partial: "taxons/sections/see_more_link", locals: { section: section } %>

  </div>

<%
  featured_item = section[:promoted_content].first
  featured_item_layout_class = "taxon-page__featured-item--single" if section[:documents].empty?
%>

  <div class="taxon-page__featured-item <%= featured_item_layout_class %>">
    <%= render "govuk_publishing_components/components/image_card", {
        large: true,
        href: featured_item[:link].fetch(:path),
        image_src: featured_item[:image][:url],
        heading_text: featured_item[:link].fetch(:text),
        heading_level: 3,
        metadata: featured_item[:metadata][:organisations],
        context: {
          date: featured_item[:metadata][:public_updated_at],
          text: featured_item[:metadata][:document_type]
        },
        href_data_attributes: {
          track_category: featured_item[:link][:data_attributes][:track_category],
          track_action: featured_item[:link][:data_attributes][:track_action],
          track_label: featured_item[:link][:data_attributes][:track_label],
          track_options: featured_item[:link][:data_attributes][:track_options]
        }
    } %>
  </div>
  <% if section[:documents].any? %>
    <div>
      <%= render 'govuk_publishing_components/components/document_list',
        items: section[:documents],
        margin_top: true,
        margin_bottom: true
      %>
  <% else %>
    <div class="taxon-page__featured-see-more">
  <% end %>
    <%= render partial: "taxons/sections/see_more_link", locals: { section: section } %>

  </div>

Fix heading level on image card
Fix heading level on image card
