/* Cleaner heading separators */
h2 {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 32px;
}

[data-md-color-scheme="slate"] h2 {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Code in headings: lighter weight */
.md-typeset h2 code,
.md-typeset h3 code {
  font-weight: normal;
}

/* Table cells: don't break code */
td code {
  word-break: normal !important;
}

/* Variable reference tables */
.md-typeset table:not([class]) th {
  white-space: nowrap;
}

/* Admonition for Elastic-specific notes */
:root {
  --md-admonition-icon--elastic: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"/></svg>');
}

.md-typeset .admonition.elastic,
.md-typeset details.elastic {
  border-color: rgb(0, 169, 206);
}

.md-typeset .elastic > .admonition-title,
.md-typeset .elastic > summary {
  background-color: rgba(0, 169, 206, 0.1);
}

.md-typeset .elastic > .admonition-title::before,
.md-typeset .elastic > summary::before {
  background-color: rgb(0, 169, 206);
  -webkit-mask-image: var(--md-admonition-icon--elastic);
          mask-image: var(--md-admonition-icon--elastic);
}
