CSS only version.
All three tasks are from the same DOM, just resize window. 1st < 768px, 768px < 2nd < 1200px, 3rd > 1200px;
Seting active tab was very ambitious.
Vertical accordion equal height is just a hack, but it's pure css, and without changing DOM.