/* Shared reading typography and tables for guides and public articles. */
.md-typeset {
  color: var(--site-muted);
  font-size: 14px;
  line-height: 1.85;
}

.md-typeset h1,
.md-typeset h2,
.md-typeset h3,
.md-typeset h4,
.md-typeset strong {
  color: var(--site-ink);
  font-weight: 500;
}

.md-typeset h1 {
  font-size: 36px;
  letter-spacing: -1.2px;
  line-height: 1.25;
  margin: 0 0 24px;
}

.md-typeset h2 {
  font-size: 23px;
  letter-spacing: -0.6px;
  line-height: 1.4;
  margin: 40px 0 16px;
}

.md-typeset h3 {
  font-size: 18px;
  letter-spacing: -0.3px;
  line-height: 1.5;
  margin: 28px 0 12px;
}

.md-typeset h4 {
  font-size: 15px;
}

.md-typeset a {
  color: var(--site-green);
}

.md-typeset a:hover {
  text-decoration: underline;
}

.md-typeset a:focus-visible {
  outline: 2px solid var(--site-green);
  outline-offset: 4px;
}

.md-typeset :is(h1, h2, h3, h4) {
  scroll-margin-top: calc(var(--app-bar-height) + 24px);
}

.md-typeset li {
  margin-bottom: 8px;
}

.md-typeset table:not([class]) {
  border: 1px solid var(--app-divider);
  border-radius: 8px;
  box-shadow: none;
  font-size: 13px;
}

.md-typeset table:not([class]) th {
  background: var(--site-soft);
  color: var(--site-ink);
  font-weight: 500;
  min-width: 0;
}

.md-typeset table:not([class]) :is(th, td) {
  border-color: var(--app-divider);
  padding: 12px 16px;
}

.md-typeset table:not([class]) tbody tr:hover {
  background: var(--site-soft);
  box-shadow: none;
}

@media (max-width: 700px) {
  .md-typeset h1 {
    font-size: 30px;
    letter-spacing: -0.8px;
  }

  .md-typeset h2 {
    font-size: 21px;
    margin-top: 32px;
  }
}
