I am trying to find a solution to use lower font size for subsections than sections.
In fact, my latex code is no more. I have things as follows:
\documentclass[fleqn,10pt]{SelfArx}
\begin{document}
\maketitle % Output the title and abstract box
\tableofcontents % Output the contents section
\thispagestyle{empty} % Removes page numbering from the first page
There are not any extra codes while writing sections and subsections.
An example is as follows:
\section{The Existing Methods of Fuzzy Cluster Analysis for Categorical Data}
and
\subsection{Fuzzy k-means algorithm}
I could not find a solution to customize the font size of subsections in table of contents. I think that the problem may be related to the document class \documentclass[fleqn,10pt]{SelfArx}. I cannot use any other packages instead of SelfArx because I use it as my article template. My current output for table of contents is as the following image. I do not know how I can touch the font size of subsections.

\l@section(didn't check). The overlap of section number and text is dealt with in this earlier question: Roman numerals become “too wide” in table of contents – barbara beeton Mar 31 '24 at 00:57