/* ------------------------------------------------------------------
   Fix transparent PNGs in dark mode (pydata-sphinx-theme).
   Uses a muted grey that blends with the dark theme while still
   giving enough contrast for the image content.
   ------------------------------------------------------------------ */

html[data-theme="dark"] .navbar-brand img,
html[data-theme="dark"] img.logo {
    background-color: rgba(180, 180, 180, 0.00);
    border-radius: 6px;
    padding: 4px;
}

html[data-theme="dark"] .bd-article-container img[src$=".png"] {
    background-color: rgba(180, 180, 180, 0.00);
    border-radius: 6px;
    padding: 6px;
}
