Apply card content dimensions to variables