/* Typography */
body {
  font-size: 1rem;
  line-height: 1.8;
  color: #2c2c2c;
}

h1 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

h2 {
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #444;
  margin-top: 2.5rem;
  margin-bottom: 0.8rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid #e0e0e0;
}

h3 {
  font-size: 1rem;
  font-weight: 600;
}

/* Navbar */
.navbar {
  border-bottom: 1px solid #e0e0e0;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.navbar-brand {
  font-weight: 600;
  font-size: 1.05rem;
}

/* Main content max width */
.page-columns main {
  max-width: 820px;
}

/* Home page */
.rounded {
  border-radius: 6px;
}

/* Home page action buttons */
.home-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.6rem;
}

.home-btns .btn {
  border: 1px solid #2c7bb6;
  color: #2c7bb6;
  background: transparent;
  border-radius: 6px;
  padding: 0.45rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.home-btns .btn:hover {
  background: #2c7bb6;
  color: #fff;
  text-decoration: none;
}

/* Tighten column gap on home page */
.columns {
  gap: 2.5rem;
  align-items: flex-start;
}

/* Contact list */
ul {
  padding-left: 0;
  list-style: none;
}

ul li {
  margin-bottom: 0.3rem;
}

/* Section dividers */
hr {
  margin: 2rem 0;
  border-color: #e0e0e0;
}

/* Publications */
#refs div {
  margin-bottom: 1.4rem;
  line-height: 1.6;
}

/* Research: status badges */
.status {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #2c7bb6;
  background: #f2f8fc;
  border: 1px solid #cfe0ee;
  border-radius: 999px;
  padding: 0.05rem 0.6rem;
  vertical-align: middle;
  white-space: nowrap;
}

/* Research: collapsible abstracts */
details {
  margin: 0.6rem 0 1.8rem;
}

details > summary {
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: #2c7bb6;
  letter-spacing: 0.02em;
  list-style: none;
  width: fit-content;
}

details > summary::-webkit-details-marker {
  display: none;
}

details > summary::before {
  content: "▸ ";
  font-size: 0.75rem;
}

details[open] > summary::before {
  content: "▾ ";
}

details > p {
  margin-top: 0.7rem;
  color: #444;
  font-size: 0.95rem;
}

.research-heading + p {
  color: #555;
}

/* Footer */
.nav-footer {
  border-top: 1px solid #e0e0e0;
  font-size: 0.82rem;
  color: #888;
  margin-top: 3rem;
}

/* Links */
a {
  color: #2c7bb6;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}
