/* -----------------------------------------------
   LaTeX / IEEEtran-style stylesheet for Zola
   Uses Times New Roman (the font used by IEEEtran)
----------------------------------------------- */

:root {
  --font-serif:   'Times New Roman', Times, serif;
  --font-mono:    'Courier New', Courier, monospace;
  --text-color:   #1a1a1a;
  --bg-color:     #ffffff;
  --link-color:   #00008b;
  --max-width:    50rem;
}


/* --- Reset & base ----------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 18px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-color);
  background: var(--bg-color);
  padding: 4rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}


/* --- Headings --------------------------------------------- */
h1 {
  font-size: 1.6rem;
  font-weight: normal;
  font-variant: small-caps;
  letter-spacing: 0.02em;
  text-align: center;
  margin-top: 2.5rem;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

h2 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 2.2rem;
  margin-bottom: 0.25rem;
}

h3 {
  font-size: 1rem;
  font-weight: bold;
  font-style: italic;
  margin-top: 1.8rem;
  margin-bottom: 0.25rem;
}

h4, h5, h6 {
  font-size: 1rem;
  font-weight: bold;
  margin-top: 1.5rem;
  margin-bottom: 0.25rem;
}


/* --- Author / date block ---------------------------------- */
.author,
.date {
  text-align: center;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}


/* --- Abstract --------------------------------------------- */
.abstract {
  margin: 1.5rem auto;
  max-width: 90%;
  font-size: 1rem;
  font-weight: bold;
}

.abstract p {
  text-indent: 0;
  text-align: justify;
  line-height: 1.3;
}

.abstract > p:first-child::before {
  /* content: "Abstract\2014"; */
  content: "Bio\2014";
  font-weight: bold;
  font-style: italic;
}


/* --- Body text -------------------------------------------- */
p {
  margin-top: 0;
  margin-bottom: 0;
  text-indent: 1.5em;
}

h1 + p, h2 + p, h3 + p, h4 + p,
.abstract + p,
p:first-of-type {
  text-indent: 0;
}


/* --- Links ------------------------------------------------- */
a {
  color: var(--link-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}


/* --- Emphasis --------------------------------------------- */
em     { font-style: italic; }
strong { font-weight: bold; }

.sc { font-variant: small-caps; }


/* --- Lists ------------------------------------------------- */
ul, ol {
  padding-left: 2em;
  margin: 0.8rem 0;
}

li {
  margin-bottom: 0.2rem;
  text-indent: 0;
}


/* --- Block quotation -------------------------------------- */
blockquote {
  margin: 1.5rem 2rem;
  font-size: 0.95rem;
  font-style: italic;
}


/* --- Code / verbatim -------------------------------------- */
code {
  font-family: var(--font-mono);
  font-size: 0.88rem;
}

pre {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.45;
  overflow-x: auto;
  margin: 1.2rem 0;
  padding: 0.75rem 1rem;
  border-left: 2px solid #bbb;
  background: #f5f4ee;
}


/* --- Figures & captions ----------------------------------- */
figure {
  margin: 1.5rem auto;
  text-align: center;
}

figcaption {
  font-size: 0.88rem;
  margin-top: 0.4rem;
}

figcaption::before {
  font-weight: bold;
}

img {
  max-width: 100%;
  height: auto;
}


/* --- Tables ----------------------------------------------- */
table {
  border-collapse: collapse;
  margin: 1.5rem auto;
  font-size: 0.94rem;
}

th, td {
  padding: 0.3rem 1rem;
  text-align: left;
}

thead tr {
  border-top:    1.5px solid var(--text-color);
  border-bottom: 0.8px solid var(--text-color);
}

tbody tr:last-child {
  border-bottom: 1.5px solid var(--text-color);
}


/* --- Horizontal rule -------------------------------------- */
hr {
  border: none;
  border-top: 0.5px solid #999;
  margin: 2rem auto;
  width: 50%;
}


/* --- Footnotes -------------------------------------------- */
.footnote-definition {
  font-size: 0.82rem;
  margin-top: 0.3rem;
  padding-left: 1.2em;
  text-indent: -1.2em;
  text-align: left;
}

sup, sub {
  font-size: 0.72rem;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup { top: -0.5em; }
sub { bottom: -0.25em; }


/* --- Site header ------------------------------------------ */
.site-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.site-name {
  font-family: 'Times New Roman', Times, serif;
  font-size: 2.6rem;
  font-weight: normal;
  font-variant: normal;
  line-height: 1.25;
  margin: 0 0 0.9rem;
  text-align: center;
}

.site-nav {
  font-size: 1.2rem;
  margin: 0 0 0rem;
  text-indent: 0;
}

.site-nav a {
  color: var(--link-color);
  text-decoration: none;
}

.site-nav a:hover {
  text-decoration: underline;
}

.site-nav a[aria-current="page"] {
  text-decoration: underline;
}

.site-affiliation {
  font-size: 1rem;
  font-style: italic;
  margin: 0;
  text-indent: 0;
}

.site-email {
  font-size: 1rem;
  margin: 0;
  text-indent: 0;
}

div.email {
  display: inline;
}

div.email > span:nth-child(2) {
	display: none;
}

div.phone {
  display: inline;
}

div.phone > span:nth-child(2) {
	display: none;
}

.header-rule {
  border: none;
  border-top: 0.8px solid #999;
  margin: 1.4rem 0 0;
  width: 100%;
}

/* --- Site footer ------------------------------------------ */
.site-footer {
  text-align: center;
  font-size: 0.85rem;
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 0.8px solid #999;
  text-indent: 0;
}