Grid alignment inconsistency

Hello. I have 4 cards in a grid. As you can see in the image, the 2nd one got a little bigger due to the extra line. To remove the consistency, I am hoping to make other cards extend as well but I am unable to. Please guide me.

Code:
function PeoplesGrid() {
    const peoplesData: PeopleData[] = [ ... ];

    return (
        <div className="grid grid-cols-4 gap-3 mt-18">
            {peoplesData.map((person) => (
                <div key={person.title} className="flex flex-col">
                    <img src={person.image} alt="" />

                    <div className="bg-neutral-950 flex gap-x-4 p-5">
                        <img src={person.icon} alt="" className="size-7" />
                        <div>
                            <p className="text-lg font-medium text-white">{person.title}</p>
                            <p className="text-neutral-400 mt-1">{person.description}</p>
                        </div>
                    </div>
                </div>
            ))}
        </div>
    );
}
image.png
Was this page helpful?