I'm facing an issue with a hover effect on my "menu" tab that is also applying to the sub tabs within it. How can I prevent this from happening? Below is the code snippet causing the effect:
`nav ul li:hover > a
{
color:#f9b97a;
border-bottom:2px solid #f9b97a;
transition:all 0.3s ease-in;
padding:14px;
}`