I'm trying to top-align figure panels using minipage. It works fine if both minipages have the same width, but if they don't, it doesn't work: the figure panel in the smaller minipage appears below its desired position. I don't understand what is the problem, since minipage width should not matter. Here is my code:
\begin{figure}[h]
\begin{minipage}[t]{0.7\textwidth}
\centerline {
\includegraphics[width=\textwidth]{example-image-a.png}}\vfill
\centerline {
\includegraphics[width=\textwidth]{example-image-b.png}}
\end{minipage}\hfill
\begin{minipage}[t]{0.3\textwidth}
\centerline {
\includegraphics[width=\textwidth]{example-image-c.png}}
\end{minipage}
\end{figure}
Among other things, I tried
\begin{minipage}[t][][t]{0.3\textwidth}
as suggested here, as well as \strut and \raisebox as suggested here, with no luck so far.

\centerline { \includegraphics[width=\textwidth]{example-image-a.png}}will force the image off centre as it has a space to the left – David Carlisle Aug 26 '23 at 15:26\usepackage[export]{adjustbox}to add[valign=T]to\includegraphics. or jsut use\raisebox{-\height}{...}/ – John Kormylo Aug 27 '23 at 20:31\fbox{ a }is not the same as\fbox{a}– David Carlisle Aug 28 '23 at 15:27