/* ---------- Base ---------- */

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: #222;
  background-color: #f7f7f7;
  line-height: 1.6;
}

.container {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.site-title {
  font-size: 42px;
  margin: 0 0 12px 0;
  font-weight: 700;
  color: #a00000;  /* subtle academic red */
  /*color: "black";*/
  /*color: #042883;*/
}

.nav {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  padding: 12px 0;
  margin-bottom: 32px;
}

.nav a {
  text-decoration: none;
  color: #333;
  margin-right: 24px;
  font-weight: 600;
}

.nav a.active {
  color: #a00000;
}

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

/* ---------- Layout ---------- */

.layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

/* Remove default top margin on first heading */
.content > :first-child {
  margin-top: 0;
}

h2 {
  font-size: 28px;
  margin-top: 24px;
  margin-bottom: 12px;
}

p {
  margin-bottom: 16px;
}

ul {
  padding-left: 20px;
}

li {
  margin-bottom: 12px;
}

/* ---------- Sidebar ---------- */

.sidebar {
  align-self: start;
}

.profile {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 14px;
}

.contact {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid #ddd;
  font-size: 16px;
  color: #333;
  line-height: 1.7;
}

/* ---------- Footer ---------- */

.footer {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
  font-size: 14px;
  color: #666;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .profile {
    max-width: 260px;
  }
}

.research-list {
  list-style: none;
  padding-left: 0;
  margin-top: 12px;
}

.research-list li {
  margin-bottom: 22px;
  line-height: 1.6;
}

.research-list strong {
  display: block;
  font-size: 18px;
  margin-bottom: 6px;
}