<div id="<%= dom_id graphic %>">
  <!-- Content Preview -->
  <div class="card mb-6">
    <div class="card-body">
      <div class="flex justify-center">
        <%= link_to graphic.image, class: "block" do %>
          <%= image_tag graphic.image.variant(:grid),
              class: "max-w-full h-auto rounded-lg shadow-sm border border-neutral-200" %>
        <% end %>
      </div>
    </div>
  </div>

  <%= render "contents/show_details", content: graphic %>
</div>
