:root {
    --font-family-main: "Inter", "Helvetica Neue", Arial, sans-serif;
    --font-size: 17px;
  }

  .md-typeset {
    font-family: var(--font-family-main);
    font-size: var(--font-size);
    line-height: 1.7;
  }

  /* --- HEADING STYLES LIKE QUARTO --- */
  .md-typeset h1 {
    font-size: 2.2em;
    margin-bottom: 0.5em;
  }
  .md-typeset h2 {
    font-size: 1.7em;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.2em;
    margin-top: 2em;
  }
  .md-typeset h3 {
    font-size: 1.3em;
    margin-top: 1.5em;
  }

  /* --- SIDEBAR / NAV TWEAKS --- */
  .md-sidebar {
    font-size: 0.95rem;
  }
  .md-nav__link--active {
    background: #f0f0f0;
    border-left: 3px solid #007acc;
    font-weight: bold;
  }

  /* --- CODE BLOCKS --- */
  .md-typeset pre code {
    background: #f7f7f7;
    border: 1px solid #ddd;
    padding: 1em;
    border-radius: 6px;
    font-size: 0.9em;
  }

  /* --- CUSTOM FOOTER CLEANUP --- */
  footer {
    background: #000 !important;
    color: #fff;
  }
  footer a {
    color: #bbb;
  }
  footer a:hover {
    color: #fff;
  }

/* Make sidebar footer always visible below the nav */
/* Sidebar GitHub footer */
.md-sidebar-footer--custom {
    margin-top: auto;          /* push content to bottom */
    padding: 1rem;
    text-align: center;
}

.sidebar-github img {
    display: inline-block;
    transition: transform 0.2s;
}

.sidebar-github img:hover {
    transform: scale(1.2);
}

.md-icon--github {
  font-size: 1.2em;
  margin-right: 0.3em;
}

.repo-icon {
  margin-left: 6px;
  display: inline-flex;
  align-items: center;
  color: var(--md-default-fg-color);
}
.repo-icon:hover {
  color: var(--md-accent-fg-color);
}

.md-content {
  margin-left: auto;
  margin-right: 0;
  max-width: 900px;   /* adjust width */
}
.md-typeset h1, .md-typeset h2 {
    font-weight: 600; /* make headings bold */
    color: cadetblue;
}

.md-typeset h3 {
    font-weight: 600; /* make headings bold */
    color: rgb(91, 2, 123);
}

.md-typeset h4 {
    font-weight: 500; /* make headings bold */
    color: rgb(19, 4, 148);
}

.md-typeset p {
    margin-bottom: 1.2em; /* increase spacing between paragraphs */
}
.md-typeset a {
    color: #007acc; /* link color */
    text-decoration: none;
}
.md-typeset a:hover {
    text-decoration: underline;
}