On the solstices, the Sun is furthest from the ecliptic---23.5° above or below celestial equator. Here's summer:

Side view

Daylight greater than 12 hours---Sun north of celestial equator

Sunrise: northeast; sunset: northwest