Hard line has 2 different meanings across 1 category:
Noun
a firm and uncompromising stance or position
"the governor took a hard line on drugs"
A firm stance or policy on which one will not compromise