.md-typeset h1,
.md-typeset h2,
.md-typeset h3,
.md-typeset h4,
.md-typeset h5,
.md-typeset h6 {
  font-weight: 500;           /* Uniform light weight like h1/h2 default */
  /*letter-spacing: -0.01em;*/    /* Consistent spacing */
  text-transform: none;       /* Remove h5 uppercase */
  /*margin-top: 1.6em;*/          /* Standard top margin */
  /*margin-bottom: 0.8em;*/       /* Standard bottom */
  /*line-height: 1.3;*/           /* Tight like h1 */
  /*color: var(--md-default-fg-color--light); */ /* Default shared color */
  color: #0E4A85;
}

.md-typeset h1 { font-size: 2.5rem; }  /* Largest */
.md-typeset h2 { font-size: 2.2rem; }
.md-typeset h3 { font-size: 1.9rem; }
.md-typeset h4 { font-size: 1.6rem; }
.md-typeset h5 { font-size: 1.4rem; }
.md-typeset h6 { font-size: 1.2rem; }  /* Smallest, still > body ~1rem */

/* Ensure first headings don't double-margin */
.md-typeset h2:first-child,
.md-typeset h3:first-child { margin-top: 0; }
