Let the preposition choose the case.
In formal written German, wegen, trotz and während normally introduce a genitive noun phrase. Keep their meanings distinct: reason, concession and time.
Hinglish hintFormal writing mein wegen/trotz/während ke saath Genitiv dekho; reason aur contrast ko mat milao.
Give a reason
Wegen answers why. Masculine genitive changes der Streik to des Streiks.
Wegen des Streiks fährt kein Zug.
Aha! See the common trap
Not thisWegen den Streik fährt kein Zug.
Try thisWegen des Streiks fährt kein Zug.
For the formal written pattern practised here, use genitive des Streiks. Dative usage exists in other registers, but accusative den Streik is not this construction.
More examples, less guessing
Trotz des Regens gingen wir hinaus.Despite the rain, we went outside.
Wegen des Wetters bleiben wir hier.We stay here because of the weather.
Während der Sitzung bleibt das Telefon aus.The phone stays off during the meeting.