/* Minimal academic style shared across the site */

:root {
  --text: #1a1a1a;
  --muted: #5c5c5c;
  --link: #1a5fb4;
  --link-visited: #6b3fa0;
  --border: #e2e2e2;
  --bg: #ffffff;
  --max-width: 820px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  width: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
}

.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

/* Top nav */
header nav {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

header nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
}

header nav a:hover {
  color: var(--link);
}

/* Name / title header */
header h1 {
  font-size: 1.9rem;
  margin: 0 0 0.15rem;
  letter-spacing: -0.01em;
}

header p {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

h1, h2, h3 {
  line-height: 1.3;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 1.25rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}

p {
  margin: 0 0 1rem;
}

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

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

a:hover {
  text-decoration: none;
}

/* News table */
table {
  width: 100%;
  border-collapse: collapse;
}

table tr {
  border-bottom: 1px solid var(--border);
}

table tr:last-child {
  border-bottom: none;
}

table td {
  padding: 0.9rem 0;
  vertical-align: top;
}

table td:first-child {
  width: 7.5rem;
  padding-right: 1rem;
  color: var(--muted);
  font-size: 0.85rem;
  white-space: nowrap;
}

/* Blog post list */
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

ul li p {
  margin: 0 0 0.2rem;
  color: var(--muted);
  font-size: 0.85rem;
}

ul li h1 {
  margin: 0;
  font-size: 1.1rem;
}

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

ul li h1 a:hover {
  color: var(--link);
}

/* Blog post body */
article p {
  margin-bottom: 1.1rem;
}

strong {
  font-weight: 600;
}
