Section ID changing on home page

Hi everyone, maybe there’s someone experiencing a similar issue:

We did some custom css to alter certain sections on the home page. To target those (CSS Selectors) via their respective ID (e.g. #shopify-section-template–NUMBERS–Numbers )

Now, when duplicating the theme, those IDs change, which did not happen before. Somehow, only some of the sections are affected.
To be precise: The Number-block in CAPS changes

Is there any solution to that?

I’m having the same issue unfortunately. It’s super annoying I cant use anchor tags on the native shopify IDs.