/* ============================================================
   PKU Alignment Group — Minimal Academic Style
   ============================================================ */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: #1a1a1a;
  line-height: 1.7;
  background: #fff;
}

a { color: #8c1515; text-decoration: none; }
a:hover { text-decoration: underline; }

/* Layout */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header / Nav */
header {
  border-bottom: 1px solid #e5e5e5;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 10;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-title {
  font-weight: 600;
  font-size: 1rem;
  color: #1a1a1a;
  white-space: nowrap;
}

nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
nav a { font-size: 0.9rem; color: #444; }
nav a:hover { color: #8c1515; text-decoration: none; }
nav a.active { color: #8c1515; font-weight: 600; }

/* Sections */
section {
  padding: 3rem 0;
  border-bottom: 1px solid #e5e5e5;
}

section:last-child { border-bottom: none; }

h1 { font-size: 1.8rem; font-weight: 700; margin-bottom: 1rem; }
h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: 1.5rem; color: #8c1515; }
h3 { font-size: 1rem; font-weight: 600; margin: 1.5rem 0 0.75rem; color: #333; }

p { margin-bottom: 0.75rem; }

.lead {
  font-size: 1.05rem;
  color: #333;
  margin-bottom: 1rem;
}

/* News */
.news-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.news-list li {
  display: flex;
  gap: 1rem;
  align-items: baseline;
}

.news-date {
  font-size: 0.8rem;
  color: #999;
  white-space: nowrap;
  flex-shrink: 0;
  width: 4.5rem;
  font-variant-numeric: tabular-nums;
}

.news-text {
  font-size: 0.95rem;
  text-align: left;
}

.news-text a {
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 1px solid #ccc;
}

.news-text a:hover {
  color: #8c1515;
  border-bottom-color: #8c1515;
}

/* Member List */
.member-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.member-list li {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.member-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #eee;
}

.member-list .name { font-weight: 600; margin-bottom: 0.15rem; }

.organizer-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 500;
  background: #fef2f2;
  color: #8c1515;
  border: 1px solid #fca5a5;
  padding: 0 0.35rem;
  border-radius: 3px;
  vertical-align: middle;
  margin-left: 0.4rem;
  letter-spacing: 0.02em;
}
.member-list .role { font-size: 0.875rem; color: #555; margin-bottom: 0.2rem; }
.member-list .bio { font-size: 0.875rem; color: #666; margin-bottom: 0; }

@media (max-width: 480px) {
  .member-list li { flex-direction: column; }
}


/* Publications */
.pub-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pub-title { font-weight: 600; margin-bottom: 0.2rem; }
.pub-title a { color: #1a1a1a; }
.pub-title a:hover { color: #8c1515; }

.pub-authors { font-size: 0.875rem; color: #444; margin-bottom: 0.15rem; }
.pub-venue { font-size: 0.875rem; font-style: italic; color: #555; margin-bottom: 0.3rem; }

.pub-links { font-size: 0.8rem; display: flex; gap: 0.75rem; }
.pub-links a { color: #8c1515; }

.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-style: normal;
  background: #fef2f2;
  color: #8c1515;
  border: 1px solid #fca5a5;
  padding: 0 0.4rem;
  border-radius: 3px;
  vertical-align: middle;
  margin-left: 0.3rem;
}

/* Footer */
footer {
  padding: 1.5rem 0;
  font-size: 0.8rem;
  color: #999;
  border-top: 1px solid #e5e5e5;
  margin-top: 1rem;
}

/* Responsive */
@media (max-width: 600px) {
  nav { gap: 1rem; }
}
