html {
  /*****************************************************************************
  * Overall Layout Variables
  */

  --pst-color-link: green;
  --pst-color-inline-code: green!important;
}

html[data-theme="light"] {
  --pst-color-link: black;
  // Announcement
  --sbt-color-announcement: rgb(97, 97, 97);
  // Default primary color (need to adjust on dark theme due to bad contrast)
  --pst-color-primary: #176de8;
}
html[data-theme="dark"] {
  --pst-color-link: lightgreen;
  // Announcement
  --sbt-color-announcement: rgb(97, 97, 97);
  // Default primary color (need to adjust on dark theme due to bad contrast)
  --pst-color-primary: #176de8;
}

/* External link indicator
   Appends a small ↗ arrow after external references to third-party packages
   (numpy, rasterio, scipy, etc.) but NOT to the Python standard library. */

a.reference.external:not([href*="docs.python.org"])::after {
    content: "\00A0⎋";
    font-size: 0.75em;
    opacity: 0.6;
}
/* Suppress the external-link ⎋ marker when the link wraps a partner logo */
a.reference.external:not([href*="docs.python.org"]):has(> img)::after {
    content: none;
}
 

/* Hide sphinx-gallery execution time note at the bottom of example pages */
.sphx-glr-timing {
    display: none;
}
