The CSS in your child theme is read after the parent theme, so your child theme CSS will be the one that actually takes effect.
That’s correct, that code in your child theme would overwrite the code in the parent theme, and would change the
<hr> element site-wide.
Let me know if that makes sense or not (it’s late here!) 🙂