.md-header__source {
  display: none;
}

.md-source-file {
  align-items: flex-start;
  flex-direction: column;
  gap: 0.25rem;
}

.md-source-file__fact {
  gap: 0.25rem;
}

.md-typeset img[src*="_media/azure/"] {
  background: #fff;
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 0.35rem;
  box-sizing: border-box;
  padding: 0.5rem;
}

.vega-architecture-diagram {
  background: #fff;
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 0.35rem;
  box-sizing: border-box;
  margin: 1.5rem 0 0.75rem;
  overflow-x: auto;
  padding: 0.5rem;
}

.vega-architecture-diagram__view {
  margin: 0 auto;
  min-width: 48rem;
  width: 100%;
}

.vega-architecture-diagram__view svg {
  display: block;
  height: auto;
  max-width: 100%;
  width: 100%;
}

.vega-architecture-diagram__error {
  border-left: 0.2rem solid var(--md-code-hl-special-color);
  padding-left: 0.8rem;
}

@media screen and (max-width: 76.25em) {
  .vega-architecture-diagram__view {
    min-width: 64rem;
  }
}

.vega-source--rendered {
  display: none !important;
}

/* Give procedural content and architecture diagrams more room on desktop. */
@media screen and (min-width: 76.25em) {
  .md-grid {
    max-width: 100rem;
  }
}

/* Align desktop header controls and primary tabs with the article column. */
@media screen and (min-width: 90rem) {
  .md-header__inner,
  .md-tabs > .md-grid {
    box-sizing: border-box;
    padding-inline: 13.3rem;
  }
}
