\NeedsTeXFormat{LaTeX2e}[1994/06/01]
\ProvidesPackage{kinote-cv}[2022/11/18 Kinote CV template]
\RequirePackage{kinote}

\pagestyle{empty}
\renewcommand{\maketitle}{}
\usepackage{Alegreya}
\usepackage[sfdefault]{AlegreyaSans}

\setlength{\parskip}{0.1em}

\geometry{
  top=1.5cm,
  bottom=2cm,
  left=2cm,
  right=2cm,
  headheight=0cm,
  %includehead,
  %includefoot,
  %heightrounded, % to avoid spurious underfull messages
}

\titleformat{\section}{\Large\color{kinoteBlue}}{}{1em}{{\color{kinoteBlue}\rule{1.5em}{0.65em}\hspace{0.5em}}}
%\titlespacing*{\section}{0pt}{0pt}{0pt}
\titlespacing*{\section}{0pt}{2ex plus 1ex minus .2ex}{1pt}
%\titlespacing*{\subsection}{0pt}{1.5ex plus 1ex minus .2ex}{0pt}
\titlespacing*{\subsection}{0pt}{2ex plus 1ex minus .2ex}{0pt}

\newenvironment{cvaddress}
{%
  \begin{minipage}[t]{0.68\linewidth}\vspace{0pt}%
    \begin{flushright}%
      \Huge\@title
    \end{flushright}%
  \end{minipage}%
  \begin{minipage}[t]{0.32\linewidth}\vspace{0pt}%
    \begin{flushright}\small%
    }{
    \end{flushright}
  \end{minipage}%
}

\newenvironment{cvline}{\vspace{-0.3em}\small> }{}