Basically まで means "till/until" in English.
までの works to make a word ahead of it an adjective for the noun. (each of 24時間,理由や状態,通り in the sentences)
「次の日の零時までの24時間」 24 hours up to (until) midnight of the next day.
「〇〇状態になるまでの理由や状態」Reason and state until it becomes a ___ state.
今までの通りに行う do things/the thing as you've done so far.
まで means a certain point of time or area, length, a degree from a start point.
「ここからここまでが私の家の敷地です。」
「(at a beauty salon, you order them how long you want them to cut your hair)ここくらいまで切ってください Please cut my hair at this length.」
「そのお店は夜の10時まで営業しています。」
「(a drama intro)これまでのお話は‥ previous story」