/* Shared by the published page (_layouts/resume.html) and the pandoc-generated
   resume.html (see build.sh). Mirrors the typography of resume.pdf. */

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1a1a1a;
  line-height: 1.55;
  max-width: 46rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

h1 {
  font-weight: 300;
  font-size: 2rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 0.35rem;
}

h1 + p {
  text-align: center;
  color: #5b6570;
  font-size: 0.9375rem;
  margin: 0;
}

/* The "·" separators on the contact line, emphasized in the markdown purely so
   they can be given room here. */
h1 + p em {
  font-style: normal;
  color: #a3adb8;
  padding: 0 0.45em;
}

h2 {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1a5f7a;
  border-bottom: 1px solid #b9d2dc;
  padding-bottom: 0.3rem;
  margin: 2rem 0 0.9rem;
}

h3 {
  font-size: 1.0625rem;
  margin: 1.4rem 0 0.1rem;
}

h3 + p {
  color: #5b6570;
  font-style: italic;
  margin: 0 0 0.5rem;
}

hr {
  border: 0;
  margin: 1.75rem 0;
}

ul { padding-left: 1.15rem; }
li { margin-bottom: 0.25rem; }

a { color: #1a5f7a; }

/* Nav bar above the resume itself (published page only) */
.page-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.25rem;
  font-size: 0.875rem;
}

.page-actions a {
  color: #5b6570;
  text-decoration: none;
}

.page-actions a:hover { color: #1a5f7a; }

.page-actions .pdf {
  color: #1a5f7a;
  border: 1px solid #b9d2dc;
  border-radius: 6px;
  padding: 0.3rem 0.75rem;
}

.page-actions .pdf:hover { background: #f2f7f9; }

a:focus { outline: 2px solid #1a5f7a; outline-offset: 2px; }

@media print {
  body { max-width: none; padding: 0; }
  .page-actions { display: none; }
  h2 { margin-top: 1.25rem; }
}
