[data-md-color-scheme="default"] {
  /* Primary color: #005e3f */
  --md-primary-fg-color: #005e3f;
  --md-primary-fg-color--light: #337e65;
  /* Adjusted for visibility */
  --md-primary-fg-color--dark: #00422c;
  /* Adjusted for contrast */
  --color--neutral-12: #1e1e1e;

  /* Explicitly set link color to your accent shade */
  --md-typeset-a-color: #009966;

  /* Optional: Set the color for links that have been clicked */
  --md-typeset-a-color--visited: #337e65;
  --md-typeset-a-color--hover: #00422c;

  /* Accent color: #096 */
  --md-accent-fg-color: #009966;
  --md-accent-fg-color--transparent: rgba(0, 153, 102, 0.1);
}

/* Target the default scheme specifically to ensure it overrides defaults */
[data-md-color-scheme="default"] .md-typeset a {
  color: #009966;
  /* Your standard link color */
  text-decoration: none;
  /* Optional: hides underline until hover */
  transition: color 125ms;
  /* Smooth transition like the theme default */
}

/* Force the hover color and add the underline */
.md-typeset a:hover,
.md-nav__link:hover {
  text-decoration: underline;
}

/* make current nav item bolder */
.md-nav__link--active {
  font-weight: 600;
  color: var(--md-primary-fg-color--dark);
}

/* header background - gradient */
.md-header {
  background: -webkit-gradient(linear, left top, right top, from(#1e1e1e), color-stop(50%, #1e1e1e), color-stop(50%, #0f875f), to(#0f875f));
  background: -webkit-linear-gradient(left, #1e1e1e 0, #1e1e1e 50%, #0f875f 50%, #0f875f 100%);
  background: -moz-linear-gradient(left, #1e1e1e 0, #1e1e1e 50%, #0f875f 50%, #0f875f 100%);
  background: linear-gradient(90deg, #1e1e1e 0, #1e1e1e 50%, #0f875f 50%, #0f875f 100%);
}

.md-header__inner {
  background: -webkit-gradient(linear, left top, right top, color-stop(20.67%, #1e1e1e), to(#0f875f));
  background: -webkit-linear-gradient(left, #1e1e1e 20.67%, #0f875f 100%);
  background: -moz-linear-gradient(left, #1e1e1e 20.67%, #0f875f 100%);
  background: linear-gradient(90deg, #1e1e1e 20.67%, #0f875f 100%);
  gap: .75rem;
  padding-inline: .75rem;
}

/* logo sizing */
.md-header__button.md-logo img,
.md-header__button.md-logo svg {
  height: 2rem;
}

/* light outline on images */
.md-typeset img, .md-typeset svg, .md-typeset video {
    border: 1px solid #ddd;
}

.md-main a[target="_blank"]::after, .document a[target="_blank"]::after {
    content: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20640%20640%22%3E%3Cpath%20d%3D%22M352%2088C352%20101.3%20362.7%20112%20376%20112L494.1%20112L263.1%20343C253.7%20352.4%20253.7%20367.6%20263.1%20376.9C272.5%20386.2%20287.7%20386.3%20297%20376.9L528%20145.9L528%20264C528%20277.3%20538.7%20288%20552%20288C565.3%20288%20576%20277.3%20576%20264L576%2088C576%2074.7%20565.3%2064%20552%2064L376%2064C362.7%2064%20352%2074.7%20352%2088zM144%20160C99.8%20160%2064%20195.8%2064%20240L64%20496C64%20540.2%2099.8%20576%20144%20576L400%20576C444.2%20576%20480%20540.2%20480%20496L480%20408C480%20394.7%20469.3%20384%20456%20384C442.7%20384%20432%20394.7%20432%20408L432%20496C432%20513.7%20417.7%20528%20400%20528L144%20528C126.3%20528%20112%20513.7%20112%20496L112%20240C112%20222.3%20126.3%20208%20144%20208L232%20208C245.3%20208%20256%20197.3%20256%20184C256%20170.7%20245.3%20160%20232%20160L144%20160z%22%20fill%3D%22%23009966%22%2F%3E%3C%2Fsvg%3E');
    width: 1em;
    height: 1em;
    display: inline-block;
    margin-inline: 0.25em;
}

