Subject-Verb Agreement
A verb must match its subject in number: singular subjects take singular verbs, plural subjects take plural verbs — regardless of words that come between them.
Compound subjects joined by ‘and’ are usually plural, but with ‘or’ or ‘nor’ the verb agrees with the nearer subject. Collective nouns like team and committee take singular verbs when acting as one unit.