If you're looking for expert guidance on layout design, https://every-layout.dev is superb. It includes axioms (fundamental rules or precepts) and a coherent, standards-based system for implementation, based on first principles. Highest possible recommendation.