CPU: for audio, the most important is single-core frequency, the number of cores is secondary in importance … for video, it actually really depends on the editing software. There’s a wide scale of different CPU/ram/VRAM/CUDA usage permutations across a lot of different editing software.
RAM: for audio, you start on 8 GB as a bearable minimum, 16 GB as ideal optimum, and 32 GB if you plan to use sample libraries ala Spitfire, etc. frequently … for the video you just bump the starting point to 16 GB and end at 64 as “RAM is not a factor in my workflow”
Graphics card: As I mentioned it depends on the software you will use. Davinci Resolve is fully dependent on a graphic card. Adobe After Effects or Vegas Studio not so much. (They are CPU dependent)
And, I would really try to get something with a solid-state drive at least as a system/application drive. It makes a lot and you can make everything absolutely smooth when you place your proxy files (substitute files for big format video files with the huge size used while working on the editing) on a solid-state disk.
Maybe I didn’t help you that much, but I personally think that the best way how to resolve this dilemma is to set an exact budget and then pick a machine that somewhat meets you there. All new PCs nowadays are absolutely capable of video editing and audio processing, what you pay your pennies while upgrading to a better setup is for “smoothness of operation”.