/* ===== Base ===== */
:root {
  --accent: #8b2e2e;
  --accent-soft: #f8eeee;
  --text: #202124;
  --muted: #68707a;
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --border: #e5e7eb;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 22px;
}

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

a:hover {
  text-decoration: underline;
}

h2 {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 2.2rem 0 1rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

section {
  margin-bottom: 2.6rem;
}

/* ===== Navbar ===== */
.navbar {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 11px;
  padding-bottom: 11px;
}

.navbar .brand {
  color: var(--text);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  column-gap: 18px;
  align-items: start;
  margin-bottom: 14px;
}

.news-item .date {
  font-size: 0.88rem;
  font-weight: 500;
  color: #6b7280;
  line-height: 1.5;
  white-space: nowrap;
}

.news-content {
  min-width: 0;
}

.news-title {
  color: #1c1c1e;
  line-height: 1.5;
}

.news-desc {
  margin-top: 2px;
  color: #737982;
  font-size: 0.91rem;
  line-height: 1.45;
}

.nav-links a {
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--accent);
  background: var(--accent-soft);
  text-decoration: none;
}

/* ===== Hero ===== */
.hero {
  padding: 3rem 0 1.2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 2.8rem;
  align-items: start;
}

.profile-card {
  text-align: center;
}

.avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.profile-card h1 {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0.8rem 0 0.35rem;
}

.affiliation {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  margin-bottom: 0.9rem;
}

.profile-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
}

.profile-links a {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}

.profile-links a:hover {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  text-decoration: none;
}

.intro h2 {
  margin-top: 0;
}

.intro p {
  margin-bottom: 0.85rem;
  line-height: 1.7;
}

/* ===== News ===== */
.news-list {
  list-style: none;
}

.news-list li {
  padding: 5px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.95rem;
}

.news-list .date {
  display: inline-block;
  min-width: 76px;
  font-weight: 700;
  color: var(--accent);
}

/* ===== Research Interests ===== */
.interests {
  padding-left: 1.25rem;
}

.interests li {
  margin-bottom: 5px;
  line-height: 1.55;
}

/* ===== Selected Research ===== */
.featured-paper {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.1rem 0 1.35rem;
  border-bottom: 1px solid var(--border);
}

.featured-paper:last-child {
  border-bottom: none;
}

.featured-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-soft);
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #fff;
}

.featured-placeholder {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  color: var(--muted);
  font-size: 0.86rem;
  background: linear-gradient(135deg, #fafafa, #f4f4f4);
}

.featured-topline {
  margin-bottom: 0.28rem;
}

.featured-venue {
  display: inline-block;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 2px 9px;
  font-size: 0.76rem;
  font-weight: 700;
}

.featured-content h3 {
  font-size: 1.04rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 0.3rem;
}

.featured-authors {
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.45;
  margin-bottom: 0.48rem;
}

.featured-desc {
  color: #43484f;
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 0.48rem;
}

.featured-links {
  font-size: 0.84rem;
  font-weight: 600;
}

.featured-links a {
  margin-right: 12px;
}

/* ===== Publications ===== */
.pub-list {
  padding-left: 1.35rem;
  margin-top: 0.55rem;
}

.pub-list li {
  margin-bottom: 0.68rem;
  padding-left: 0.12rem;
  line-height: 1.42;
}

.pub-title {
  font-weight: 650;
  font-size: 0.96rem;
  line-height: 1.4;
}

.pub-meta {
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.4;
  margin-top: 1px;
}

.pub-meta em {
  color: var(--text);
  font-style: normal;
  font-weight: 600;
}

.pub-links {
  font-size: 0.82rem;
  line-height: 1.35;
  margin-top: 1px;
}

.pub-links a {
  margin-right: 5px;
}

/* ===== Contact ===== */
.contact-list {
  list-style: none;
}

.contact-list li {
  padding: 3px 0;
  font-size: 0.94rem;
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  margin-top: 3rem;
  padding: 1.2rem 0;
  color: var(--muted);
  font-size: 0.86rem;
  text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 760px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .profile-card {
    max-width: 330px;
    margin: 0 auto;
  }

  .featured-paper {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .featured-image {
    max-width: 520px;
  }
}

@media (max-width: 520px) {
  .navbar .container {
    align-items: flex-start;
  }

  .nav-links {
    margin-top: 4px;
  }

  .nav-links a {
    padding: 5px 7px;
    font-size: 0.82rem;
  }

  .container {
    padding: 0 16px;
  }
}
