Border around image on image with text block

I added a bit of code so that my image fits width-wise next to a long chunk of text, but it now has a border I can’t seem to remove.

This is the custom code I added to the block:

.media > img {
left: 50% !important;
object-fit: contain !important;
transform: translate(-50%, -50%) !important;
top: 50% !important;
object-position: top !important;
}

I tried adding border: none !important;
and a few variations of this but nothing worked.

Screenshot below, the faint line around the image that goes all the way down to the bottom of the text

Anyone have any ideas? Thanks!