/* === Reset & Base === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background: #fff;
  padding: 50px;
  -webkit-font-smoothing: antialiased;
}

/* === Layout === */
.wrapper {
  max-width: 1060px;
  margin: 0 auto;
  position: relative;
}

header {
  width: 270px;
  float: left;
  position: fixed;
  -webkit-font-smoothing: subpixel-antialiased;
}

section {
  width: 700px;
  float: right;
  padding-bottom: 50px;
}

/* === Header / Sidebar === */
header h1 {
  font-size: 28px;
  font-weight: 700;
  color: #222;
  margin-bottom: 4px;
}

header h1 a {
  color: #222;
  text-decoration: none;
}

header h1 a:hover {
  color: #267CB9;
}

.subtitle {
  color: #555;
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 0;
}

header hr {
  border: none;
  border-top: 1px solid #e5e5e5;
  margin: 16px 0;
}

/* Navigation links */
p.contactinfo {
  margin: 0 0 8px;
}

p.lastcontactinfo {
  margin: 0 0 20px;
}

p.contactinfo a {
  color: #267CB9;
  text-decoration: none;
  font-size: 15px;
}

p.contactinfo a:hover {
  color: #046;
}

/* Photo */
.photo {
  max-width: 240px;
  width: 100%;
  border-radius: 4px;
  margin-top: 8px;
}

/* === Main Content === */
section h2 {
  font-size: 22px;
  font-weight: 700;
  color: #393939;
  margin-top: 30px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e5e5;
}

section h2:first-child {
  margin-top: 0;
}

section p {
  margin-bottom: 12px;
  color: #333;
}

section ul {
  list-style: none;
  padding: 0;
}

section ul li {
  margin-bottom: 16px;
  line-height: 1.6;
}

/* === Links === */
a {
  color: #267CB9;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #046;
}

/* === Abstract Toggle === */
.abstract-link {
  cursor: pointer;
  color: #267CB9;
  font-size: 14px;
}

.abstract-link:hover {
  color: #046;
}

.abstract {
  display: none;
  margin: 8px 0 4px 0;
  font-size: 14px;
  color: #555;
  border-left: 3px solid #ddd;
  padding: 8px 0 8px 14px;
  line-height: 1.6;
}

/* === Responsive === */
@media screen and (max-width: 960px) {
  body {
    padding: 20px;
  }

  .wrapper {
    width: auto;
    margin: 0;
  }

  header,
  section {
    float: none;
    position: static;
    width: auto;
  }

  header {
    margin-bottom: 30px;
    text-align: center;
  }

  .photo {
    max-width: 180px;
    margin: 16px auto 0;
    display: block;
  }

  section {
    padding-bottom: 30px;
  }
}

@media screen and (max-width: 480px) {
  body {
    padding: 15px;
  }

  header h1 {
    font-size: 24px;
  }

  section h2 {
    font-size: 18px;
  }
}
