How To Remove Grey Outline Border From Image Part for uploaded image on Pages

Good day! I hope you can help me. I tried to upload images on Pages and sadly the images don’t look well with Grey Outline Borders. I tried to search for a solution but nothing is working for me. Can someone help me please? These are the codes that I tried and didn’t work. Thank you!

CODE 1:

.global-media-settings {
border: 0 !important;
}

CODE 2:

.image-with-text__media.image-with-text__media–adapt.gradient.color-background-1.global-media-settings.media {
border: none;
}

HOW I UPLOADED THE IMAGES ON PAGES:

ACTUAL LOOK ON WEBSITE:

Already found the soilution. Thanks!

I pasted this code below base.css and it worked. :blush:

.rte img{
border:0 !important;
}