The code below is a simplified version of my website. On my site, the image width varies from page to page and the text is around 100 words. That means the paragraph stretch
div { width: fit-content; border: 1px solid red; }
Lorem ipsum dolor sit amet.