/* Plain academic style — no framework, no JS */

:root {
  --text: #1a1a1a;
  --muted: #555555;
  --link: #1a5276;
  --rule: #dddddd;
}

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

body {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: #ffffff;
  max-width: 1020px;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}

/* two panes: fixed-width sticky sidebar, scrolling content */
.layout {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
}

.sidebar {
  width: 235px;
  flex-shrink: 0;
}

.sidebar img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 3px;
}

.sidebar .contact {
  margin-top: 0.9rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted);
}

main {
  flex: 1;
  min-width: 0;
  max-width: 760px;
}

/* single-column subpages (no sidebar) */
main.page {
  max-width: 760px;
}

h1 {
  font-size: 1.9rem;
  font-weight: normal;
  margin-bottom: 0.2rem;
}

h1 a {
  color: var(--text);
  text-decoration: none;
}

.subtitle {
  color: var(--muted);
  margin-bottom: 2rem;
}

h2 {
  font-size: 1.15rem;
  font-weight: bold;
  margin: 2.2rem 0 0.8rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--rule);
}

a {
  color: var(--link);
}

a:hover {
  color: #000000;
}

p {
  margin-bottom: 0.9rem;
}

/* dash lists, one item per paper */
ul.dash {
  list-style: none;
}

ul.dash li {
  padding-left: 1.1rem;
  position: relative;
  margin-bottom: 0.85rem;
}

ul.dash li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--muted);
}

/* paper titles carry the weight; coauthors and details stay light */
.title {
  font-weight: bold;
  text-decoration: none;
}

.title:hover {
  text-decoration: underline;
}

.links {
  color: var(--muted);
}

.note {
  color: var(--muted);
  font-style: italic;
}

footer {
  margin-top: 3.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 640px) {
  .layout {
    flex-direction: column;
  }
  .sidebar {
    position: static;
    width: 100%;
  }
  .sidebar img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 50% 22%;
  }
  /* contact block reads better centred under a full-width photo */
  .sidebar .contact {
    text-align: center;
  }
}
