% Small Council v1: include with Pandoc --include-in-header=sc-document.tex.
\usepackage{xcolor,titlesec,titling,fancyhdr}
\definecolor{SCCobalt}{HTML}{3155D9}
\definecolor{SCInk}{HTML}{172229}
\definecolor{SCMuted}{HTML}{52616B}
\color{SCInk}
\newfontfamily\SCDisplay{DejaVu Sans}
\titleformat{\section}{\fontsize{16}{20}\selectfont\bfseries\color{SCCobalt}}{\thesection}{.6em}{}
\titleformat{\subsection}{\fontsize{13}{17}\selectfont\bfseries\color{SCInk}}{\thesubsection}{.6em}{}
\titleformat{\subsubsection}{\fontsize{11}{15}\selectfont\bfseries\color{SCInk}}{\thesubsubsection}{.6em}{}
\titlespacing*{\section}{0pt}{12pt}{5pt}
\titlespacing*{\subsection}{0pt}{10pt}{4pt}
\titlespacing*{\subsubsection}{0pt}{8pt}{3pt}
\setlength{\parskip}{4pt plus 1pt}
\pretitle{\begin{flushleft}\SCDisplay\fontsize{28}{33}\selectfont\color{SCCobalt}}
\posttitle{\end{flushleft}\vskip .4em}
\preauthor{\begin{flushleft}\small\color{SCMuted}}
\postauthor{\end{flushleft}}
\predate{\begin{flushleft}\small\color{SCMuted}}
\postdate{\end{flushleft}\vskip 1em}
\setlength{\droptitle}{-2em}
\setlength{\headheight}{15pt}
\pagestyle{fancy}
\fancyhf{}
\fancyhead[L]{\small\color{SCMuted}Small Council / Many minds. Clearer thinking.}
\fancyfoot[R]{\small\color{SCMuted}\thepage}
\renewcommand{\headrulewidth}{0pt}
\fancypagestyle{plain}{\fancyhf{}\fancyfoot[R]{\small\color{SCMuted}\thepage}}
\AtBeginDocument{\raggedright\hypersetup{colorlinks=true,linkcolor=SCCobalt,urlcolor=SCCobalt}}
