> How to consider this bending and combine it with longitudinal bending stresses? <
Below I'm answering your question using only fundamental concepts and neglecting in-plane shear stress (if it's significant, though I would assume it's probably not). Of course it might be wiser to also check a detailed reference on plate girder analysis, such as Salmon, Charles G.,
Steel Structures Design and Behavior, if you have one.
Let x axis be beam longitudinal axis, y axis be horizontal transverse axis, and z axis be vertical axis. Let origin be at beam centroid. Let w = beam uniform distributed load applied to top flange. Let external moments Mx = Mz = 0. Let P = beam external axial load, if any, where positive value means tension, negative means compression. Let b = top flange width, t = top flange thickness, z1 = distance from centroid to upper extreme fiber. Let Iy = beam moment of inertia about y axis. Let s1x = top flange top surface x-direction normal stress, s1y = top flange top surface y-direction normal stress, s2x = top flange bottom surface x-direction normal stress, s2y = top flange bottom surface y-direction normal stress. Notice, with above coordinate system, positive My value places top flange in x-direction tension (beam curvature concave downward). Input negative value for My in regions where beam curvature is concave upward. Let's assume your units are N and mm, though any will do.
All along top flange top surface, s1x = (My)(z1)/(Iy) + P/A. All along top flange bottom surface, s2x = (My)(z1-t)/(Iy) + P/A. Also, treating each side of top flange as cantilever, per your suggestion, Mx'

= 0.5[(w/b)(1 mm)](0.5*b-y)^2. Maximum y-direction stress occurs at or near y=0 (the web). Hence, s1y = [Mx'(0)](0.5t)/[(1 mm)(t^3)/12]. s2y = -s1y.
Then, von Mises combined equivalent stress (for biaxial stress state) on top flange top surface is s1vm = (s1x^2 - s1x*s1y + s1y^2)^0.5. And von Mises stress on top flange
bottom surface is s2vm = (s2x^2 - s2x*s2y + s2y^2)^0.5.
Then, if using ASD (allowable stress design), compute MS = yield margin of safety = {(Fy)/[FS*max(s1vm,s2vm)]} - 1, where Fy = beam material yield strength = 250 MPa for A36 steel, and FS = 1.67, a fundamental factor of safety against yield used in AISC. If MS is zero or positive, above analysis indicates flange under combined bending stress is not yielding. Good luck.