Modern web development feels like cheating sometimes. Just last week I was told about gap
css property and today when I wanted to keep the aspect ratio for the block I've stumbled upon aspect-ratio
property that does that trick without any hacks that were needed before