How to center text on topic preview?

What about simply:

.main-link {
    display: flex;
    align-items: center;
}

It should be okay in your case.