/* Modeled on the WordPress "Manifest" theme used by grandidier.org */

* { margin: 0; padding: 0; border: 0; box-sizing: content-box; }

body {
  background: #fff;
  color: #333;
  font: 10px/1 Palatino, "Palatino Linotype", "Times New Roman", serif;
}

a:link, a:visited { color: #9C8A6A; text-decoration: none; }
a:hover, a:active { color: #3E372B; text-decoration: underline; }

#site-wrapper {
  width: 500px;
  margin: 0 auto;
  padding-top: 15px;
  text-align: center;
}

h1 {
  margin: 10px 0 20px;
  font-size: 33px;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: .05em;
  word-spacing: .2em;
}

h1 a:link, h1 a:visited { color: #000; }
h1 a:hover, h1 a:active { color: #000; text-decoration: underline; }

#main-nav {
  display: block;
  min-height: 20px;
  margin-top: 10px;
  padding: 6px 0 0;
  background: #fbfbfb;
  border-top: 1px solid #eaeaea;
  border-bottom: 1px solid #eaeaea;
}

#main-nav ul { list-style: none; text-align: center; }

#main-nav li {
  display: inline-block;
  height: 20px;
  margin-right: 20px;
  font-size: 15px;
  text-transform: uppercase;
}

#main-nav li:last-child { margin-right: 0; }
#main-nav a { color: #999; white-space: nowrap; }
#main-nav a:hover { color: #2e301c; text-decoration: underline; }
#main-nav a[aria-current="page"] { color: #2a2d1a; font-weight: bold; }

#core-content {
  margin-top: 8px;
  padding-top: 100px;
  text-align: left;
}

h2 {
  margin: 30px 0 40px;
  font-size: 24px;
  font-weight: normal;
  color: #000;
  text-transform: uppercase;
  text-align: center;
}

.entry-content { margin-top: 24px; }

.entry-content p {
  margin-bottom: 1.7em;
  font-size: 14px;
  line-height: 1.5em;
  color: #333;
  text-align: justify;
}

.entry-content a:link, .entry-content a:visited { text-decoration: underline; }

.entry-content .section { text-decoration: underline; }

.alignright {
  float: right;
  width: 128px;
  margin: 4px 0 10px 15px;
  border: 1px solid #ccc;
}

.spacer { height: 80px; }

/* Text versions of the LinkedIn / Google Scholar badges */
.profile-link { display: flex; align-items: flex-end; gap: 14px; }

.profile-link .badge { text-decoration: none !important; line-height: 1; }

.badge-linkedin {
  padding: 1px 3px;
  border: 1px solid #ccc;
  font: bold 20px Arial, Helvetica, sans-serif;
  color: #000;
}

.badge-linkedin span {
  margin-left: 2px;
  padding: 0 3px;
  background: #0a66c2;
  border-radius: 3px;
  color: #fff;
}

.badge-scholar {
  padding: 1px 3px;
  border: 1px solid #ccc;
  font: 30px "Times New Roman", serif;
  color: #4285f4;
}

.badge-scholar small { font: 26px Arial, Helvetica, sans-serif; color: #4285f4; }
.g-blue { color: #4285f4; }
.g-red { color: #ea4335; }
.g-yellow { color: #fbbc05; }
.g-green { color: #34a853; }

#footer {
  clear: both;
  margin: 40px auto 0;
  padding: 20px 0 35px;
  border-top: 4px double #ccc;
  color: #666;
  font-size: 12px;
  text-align: center;
}

@media (max-width: 540px) {
  #site-wrapper { width: auto; padding: 15px 16px 0; }
  h1 { font-size: 26px; }
  #main-nav li { margin-right: 12px; font-size: 13px; }
  #core-content { padding-top: 30px; }
}
