/* Visual spacing */
.md-typeset h3 { margin-top: 1.6rem; }

.term-card {
  padding: 1rem 1.25rem;
  margin: 1rem 0;
  border: 1px solid color-mix(in srgb, var(--md-default-fg-color) 30%, transparent);
  border-radius: .55rem;
  background: color-mix(in srgb, var(--md-primary-fg-color) 3%, var(--md-default-bg-color));
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}

.term-card + .term-card {
  margin-top: 1.75rem;
}

.term-card > h3 {
  margin: 0 0 .6rem;
  font-size: 1.35rem;
}

.term-anchor {
  color: inherit;
  text-decoration: none;
  display: inline-block;
}

.term-anchor:hover,
.term-anchor:focus {
  text-decoration: underline;
}

.term-meta {
  margin: .2rem 0 .4rem;
  color: var(--md-default-fg-color--light);
}

.term-sources {
  margin: .35rem 0 .4rem 1.1rem;
  padding-left: .9rem;
}

.term-sources li {
  margin: .1rem 0;
}

/* Fallback spacing for existing Markdown output (without .term-card wrapper). */
.md-content__inner.md-typeset > h3:not(:first-of-type) {
  border-top: 1px solid var(--md-default-fg-color--light, #ddd);
  padding-top: 1.25rem;
  margin-top: 1.25rem;
}

[dir="ltr"] .md-typeset blockquote {
  border-left: none !important;
}

[dir="ltr"] .md-typeset blockquote {
  padding-left: 0px !important;
}
