Crossword Genius

Black sheep runs into railway factory for drink (7)

Ross

I believe the answer is:

brewery

I'm a little stuck... Click here to teach me more about this clue!

'factory for drink' is the definition.
I can't judge whether this defines the answer.

'black sheep runs into railway' is the wordplay.
'black' becomes 'b' (as in pencil classifications).
'sheep' becomes 'ewe' (a ewe is a female sheep).
'runs' becomes 'r' (cricket abbreviation).
'into' means one lot of letters goes inside another.
'railway' becomes 'ry' (abbreviation for railway).
'ewe'+'r'='ewer'
'ewer' inserted into 'ry' is 'rewery'.
'b'+'rewery'='BREWERY'

Can you help me to learn more?

(Other definitions for brewery that I've seen before include "beer maker" , "Place making beer" , "Beer producer" , "Where beer is made" , "Source of beer" .)

I've seen this clue in The Times.
Want a hint initially instead of a full solution? Install my app