In my master thesis, I have several complicated titles that are longer than one line and that are not hyphenated but go further than the textwidth (see MWE below).

Additionally, while the hyphenation seems to work ok in most cases in the TOC, in some cases were the title is just a little bit too long, the page numbers are out of alignment (I was not able to reproduce this in a simple example, see picture). How can I fix this? For the compound numbers I use the bpchem package.

\documentclass[a4paper, 11pt, titlepage]{article}
\usepackage[T1]{fontenc}
\begin{document}
\section{Experimental}
\subsection{4,4''-bis[2-(4-methoxy-2,6-dimethylphenyl)ethynyl]-5,5''-bis(methoxymethoxy)-2,2':6',2''-terpyridine }
text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text
\end{document}
