Sorry, I just realized one last thing. My text hover color is normally black, but on dark mode that renders it invisible, so I had added this code to make the hover color on dark mode white instead:
body.category-photography a:hover,
a:active {
color: #fff;
}
It worked, however now when I hover on the title in the blog or category archives, the title turns white on a white background. I just realized this. Is there a way I can make the above code only take effect within the body of my photography category?