/* Yannek Käber — personal academic site
   Minimal typographic layout: one centered column, thin rules, no color
   beyond near-black text and the dark navy site title. */

* { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 0 20px 60px;
  background: #fff;
  color: #333;
  font-family: Helvetica, Arial, "Helvetica Neue", sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

a { color: #2b3856; }
a:hover { text-decoration: none; }

/* --- Header --- */

.site-header {
  max-width: 760px;
  margin: 0 auto;
  padding-top: 46px;
  text-align: center;
}

.site-title {
  margin: 0;
  font-family: "PT Serif", Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.2;
  color: #2b3856;
}

.site-title a {
  color: inherit;
  text-decoration: none;
}

.site-subtitle {
  margin: 12px 0 26px;
  font-size: 13px;
  color: #333;
}

/* --- Navigation --- */

.site-nav {
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  padding: 11px 0;
  text-align: center;
}

.site-nav a {
  display: inline-block;
  margin: 0 18px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #555;
  text-decoration: none;
}

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

.site-nav a.current { color: #2b3856; }

/* --- Content card --- */

.card {
  max-width: 760px;
  margin: 40px auto 0;
  background: #fff;
  border: 1px solid #ddd;
  padding: 40px;
}

.page-title {
  margin: 0 0 30px;
  font-family: "PT Serif", Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 400;
  text-align: center;
  color: #2b3856;
}

.card h3 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: bold;
  color: #222;
}

.card p { margin: 0 0 14px; }

.card ul {
  margin: 0 0 14px;
  padding-left: 22px;
}

.card li { margin-bottom: 10px; }

hr {
  border: 0;
  border-top: 1px solid #ddd;
  margin: 26px 0;
}

/* --- Home intro --- */

.intro {
  display: flex;
  align-items: flex-start;
  gap: 34px;
}

.intro-photo {
  flex: 0 0 150px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
}

.intro-text { flex: 1 1 auto; }

.intro-name {
  margin: 0;
  font-family: "PT Serif", Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 400;
  color: #2b3856;
}

.intro-affiliation {
  margin: 2px 0 16px;
  font-size: 14px;
  color: #555;
}

.links p { margin: 0 0 6px; }

.links .label {
  display: inline-block;
  min-width: 120px;
  color: #555;
}

/* --- Publications --- */

.card ul.pub-list {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.pub-list li { margin-bottom: 18px; }

.pub-list cite { font-style: italic; }

.doi {
  display: block;
  word-break: break-word;
}

.imprint {
  font-size: 13px;
  color: #555;
}

/* --- Footer --- */

.site-footer {
  max-width: 760px;
  margin: 40px auto 0;
  text-align: center;
  font-size: 12px;
  color: #888;
}

/* --- Small screens --- */

@media (max-width: 600px) {
  body { padding: 0 14px 40px; }

  .site-header { padding-top: 32px; }
  .site-title { font-size: 28px; }
  .site-subtitle { font-size: 12px; }

  .site-nav a { margin: 0 9px; }

  .card {
    margin-top: 26px;
    padding: 24px 20px;
  }

  .intro {
    flex-direction: column;
    align-items: center;
    gap: 22px;
  }

  .intro-text { width: 100%; }

  .links .label { min-width: 0; }
}
