/* Hide repository/social icons in header */
header a[href*="gitlab"],
header a[href*="github"],
header a[href="None"],
header a[target="_blank"][rel="noreferrer"]:has(svg),
.md-header__source {
  display: none !important;
}

/* Remove all constraints on code blocks */
article pre {
  max-height: none !important;
  max-width: none !important;
  overflow: visible !important;
  white-space: pre;
  word-wrap: normal;
}

pre,
code {
  white-space: pre;
  word-wrap: normal;
  max-width: none !important;
  overflow: visible !important;
}

/* Make the content area wider and scrollable */
[data-slot="docs"] .flex.min-w-0.flex-1.flex-col {
  min-width: max-content;
  max-width: none;
}

/* Enable horizontal scroll on the main docs container */
[data-slot="docs"] {
  overflow-x: auto;
  overflow-y: visible;
}

/* Ensure code blocks don't have their own scrollbars */
.highlight,
pre code {
  overflow: visible !important;
}
