/* Remove purple border and styling artifacts from transcluded content */
.markdown-embed {
  border: none;
  padding: 0;
  margin: 0;
}

.markdown-embed-content {
  max-height: none;
}

.markdown-embed .markdown-embed-title {
  display: none;
}

/* Remove the link icon on transcluded content */
.markdown-embed-link {
  display: none;
}

/* Tighten spacing between stacked transclusion blocks */
.markdown-embed + .markdown-embed {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.markdown-embed {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.markdown-embed .mod-footer {
  display: none;
}

.markdown-embed .extra-title {
  display: none;
}

.el-p:has(.internal-embed) {
  margin: 0 !important;
  padding: 0 !important;
}

.el-p:has(.internal-embed) p {
  margin: 0 !important;
  padding: 0 !important;
}

/* Remove the copy link icon on page headings (including on hover) */
.publish-article-heading .clickable-icon {
  display: none !important;
}

/* Hide the Backstage folder from left navigation */
.tree-item-self[data-path^='Resources/Backstage'] {
  display: none;
}
