Change parent element property on focus of child in CSS

I want to highlight parent element when someone hovers on child element. How to achieve this. For ex, when inner box is focused, then outer box color should change to green.

Example