html[data-theme="dark"] img {
    filter: none;
}

html[data-theme="dark"] .bd-content img:not(.only-dark) {
    background: unset;
}

.img-sponsor {
    height: 50px;
    padding-top: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
    padding-left: 5px;
}

.things-in-a-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/*
 * The rename note in index.md is included verbatim from the README, where it
 * is a GitHub-style blockquote alert (`> [!NOTE]`). Inside a Sphinx admonition
 * that blockquote adds a redundant quote bar/indent, so flatten it to read as
 * normal admonition body text.
 */
.admonition > blockquote,
.admonition > blockquote > div {
    margin: 0;
    padding: 0;
    border-left: none;
    background: unset;
    font-style: inherit;
    color: inherit;
}
