Problem with the width of a slide

I’m having trouble applying a custom width to a slider in Bricks Builder. My goal is to have the slider take up 75% of the width of its container, but with a maximum limit of 350px to prevent it from stretching too much on large screens.

Current configuration:

  1. I have applied a class to the slider (.testimonials-homepage_card) and added the following CSS code to it:
.testimonials-homepage_card {
    width: 75%;
    max-width: 350px;
    margin: 0 auto;
}

Despite this, the slider still exhibits strange behavior:

  1. The width: 75% seems to have no effect, and the slider does not resize relative to the container.

Question:

Has anyone experienced a similar problem or have any idea why Bricks might not be applying this CSS as expected? I would appreciate any advice on how to fix this or any alternative settings in Bricks that would allow the width of a slider to be controlled in this way.

Thanks in advance!