Hello
To amend try adding the following to the Custom CSS field of your templates parameters (Extensions -> Templates -> [YourTemplateStyle] -> Custom CSS)....
.pagination .page-link {
background-color: transparent;
border: 0;
}
.pagination .page-item {
padding: 0;
margin-inline: 2px;
}
Ciaran