I am making a theme and I want the most recent post to be laid out differently than the other posts. Also, I want recent posts 2 through 4 to have a different layout from the first and older posts.
Basically, I want the first post to have a featured image, full-width, and have larger font. Then posts 2 through 4 will have a smaller featured image, 50% width (2x2), and smaller font. All other posts (5+) will have no featured image, 100% width, and small font (like posts 2-4).
How can I achieve this through WordPress tags / PHP? I know how to style it in CSS. Thank you very much!