If name text is too long, it takes whole space and wraps to next line. Problem: its block keeps whole width, which makes hr disappear. Alternatively I tried
.option hr { flex: 1 1 100%;}
.option hr { flex: 1 1 100%;}
which makes hr take all available space, but forcefully wraps name to longest word. And making
.option .name { flex: 1 0 auto;}
.option .name { flex: 1 0 auto;}
prevents name from ever wrapping when needed.
How can I solve it? Flexbox is not required if there are other ways to do it. Main condition is to take full width, stretch hr, keep small space between text and hr, align all items at bottom when wrapping