I don't think this line does what you think it does. It is adding a collection of css that looks like:

    .block-10 h1 .department-name h1 {
      border-color: #department-color;
    }

The h1 already gets its color from line 745 so trying to add it here is also unnecessary.