this is an opinionated request. There is a sizable chunk of people who want the exact opposite. That is, for embeds to bledin with the text as much as possible.
Indeed - I hacked some CSS workarounds to make embedded pages simply appear inline, dropping the page title if a full file include is used instead of a heading level include.
That way the workaround described above looks clean.
It does mean I can’t have a heading title in the included page unless I work some more CSS magic though.
Cleans up some indentation for embedded content, strips the header so it looks more at home inline embedded.
Noticed some rendering bugs in some versions of obsidian that required it to be closed and reopened when editing, but not touched it for a long time now, so all stable from my perspective.
ps - this is my old school obsidian.css file - I had to use that to see edits as I was making changes due to a bug in the version at the time - I don’t think thats an issue any more and can be moved to css snippets.