This is completely normal. Flexible layouts in any UI system are difficult. I was surprised that the authors of all the popular CSS books and courses usually skip or barely cover that part. Apparently they know it's a topic difficult to explain with short snippets of CSS and HTML. Too many moving parts, especially with dynamic content. In the end, you learn by doing it.