[Tex/LaTex] Enumeration in margins and hang indentation

#enumeratehorizontal alignmentindentationlistsmargins

A solution was given to Enumeration across many sections. However, (A) it seems enumeration prevents hang indent from activating. (B) Can I get the numbers to go into the left margin and leave hang indented references flush with the left margin? (C) How can I shift the numbers themselves a bit more to the left while leaving text flush to margin?

NOTE: IF we use the enumeration environment from an answer below (B) is solved, but (A) is still not working:

\documentclass[12pt]{article}
\usepackage[top = 1in, bottom = 1in, left = 1in, right = 1in]{geometry}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage{enumitem}
\setlist[enumerate]{leftmargin=-\itemindent}       %% here we change

\begin{document}
\begin{center}
\textbf{class X}
\end{center}

\begin{enumerate}
\item \hangindent=7mm \noindent \textcolor{blue}{
\textbf{sadsdasd sdsdadsd}. \textbf{1902}. sasds sasdasd adsdsasds sadsdsadsa asdasd. \textit{adsdsdadsd asda sdsadsadsda sdasdsdadsds asdasddsdasdsa}. asdasd: asdsads sasdas.}
\item  BBBBB
\end{enumerate}

\begin{center}
\textbf{class Y}
\end{center}

\begin{enumerate}[resume]
\item \footnotesize \textcolor{blue}{CCCCC} \normalsize
\end{enumerate}

\end{document}

EDIT: I found a solution that avoid the enumeration environment altogether and is totally customizable.

Best Answer

Is it like this?

\documentclass[12pt]{article}
\usepackage[top = 1in, bottom = 1in, left = 1in, right = 1in]{geometry}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage{showframe}
\usepackage{enumitem}
\setlist[enumerate]{leftmargin=\itemindent}    %% leftmargin=-\itemindent

\begin{document}
\noindent X\dotfill X
\begin{center}
\textbf{class X}
\end{center}

\begin{enumerate}
\item \footnotesize \textcolor{blue}{AAAAA} \normalsize
\item  BBBBB
\item \parbox[t]{\linewidth}{\hangindent=7mm \noindent \textcolor{blue}{
\textbf{sadsdasd sdsdadsd}. \textbf{1902}. sasds sasdasd adsdsasds sadsdsadsa asdasd. \textit{adsdsdadsd asda sdsadsadsda sdasdsdadsds asdasddsdasdsa}. asdasd: asdsads sasdas.}}

\end{enumerate}

\begin{center}
\textbf{class Y}
\end{center}

\begin{enumerate}[resume]
\item \footnotesize \textcolor{blue}{CCCCC} \normalsize
\end{enumerate}

\end{document}

enter image description here

Or this:

Changing \setlist[enumerate]{leftmargin=-\itemindent} to

\setlist[enumerate]{leftmargin=*}

gives

enter image description here

Related Question