:root {
  --text: #182235;
  --muted: #5a667a;
  --line: #e2e8f0;
  --link: #1d4ed8;
  --link-hover: #1e3a8a;
  --bg: #f7f9fc;
  --card: #ffffff;
  --accent: #edf4ff;
  --container: 1160px;
  --shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Garamond, "Times New Roman", Times, serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

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

a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(247, 249, 252, 0.88);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.site-title {
  font-size: 1.12rem;
  font-weight: 800;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.96rem;
}

.page-content {
  padding: 34px 0 64px;
}

.hero-panel,
.research-figure {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 18px 18px 22px;
}

.intro h1 {
  margin: 0;
  font-size: clamp(2.1rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.subtitle {
  margin: 8px 0 14px;
  color: var(--muted);
  font-size: 1rem;
}

.hero-top {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 8px 8px 16px;
}

.hero-main {
  display: grid;
  gap: 10px;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.info-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fbfcfe;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.info-link:hover {
  text-decoration: none;
  background: #f4f8ff;
}

.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: #4b5563;
  flex: 0 0 18px;
}

.info-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.hero-body {
  padding: 6px 8px 0;
}

.hero-body p {
  margin: 0 0 12px;
}

.intro p {
  margin: 0 0 14px;
  font-size: 1rem;
}

.note {
  color: #c0392b;
  font-style: italic;
  font-weight: 700;
}

.profile-photo-wrap {
  overflow: hidden;
  border-radius: 12px;
  background: #edf2fa;
  width: 120px;
  height: 160px;
  border: 1px solid var(--line);
}

.profile-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.section-block {
  margin-top: 38px;
}

.section-block h2 {
  margin: 0 0 12px;
  font-size: 1.45rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.section-title-row h2 {
  margin: 0;
}

.section-title-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.96rem;
  font-style: italic;
  white-space: nowrap;
}

.section-title-link:hover {
  color: var(--link);
  text-decoration: none;
}

.section-block h3 {
  margin: 24px 0 10px;
  font-size: 1.08rem;
}

.plain-list {
  margin: 0;
  padding-left: 20px;
}

.research-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.research-figure {
  margin: 0;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.research-figure-media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: #f8fbff;
  border-bottom: 1px solid var(--line);
  transition: background 0.22s ease;
}

.research-figure-media img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: contain;
  transition: transform 0.28s ease;
}

.research-figure figcaption {
  padding: 12px 14px 14px;
  text-align: center;
  display: grid;
  gap: 6px;
}

.research-figure:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 42px rgba(29, 78, 216, 0.14);
  border-color: #cfe0ff;
}

.research-figure:hover .research-figure-media {
  background: #f2f7ff;
}

.research-figure:hover .research-figure-media img {
  transform: translateY(-4px) scale(1.025);
}

.research-figure figcaption strong {
  font-size: 1rem;
  font-weight: 700;
}

.research-figure figcaption span {
  font-size: 0.93rem;
  line-height: 1.5;
  color: var(--muted);
}

.experience-grid,
.paper-list {
  display: grid;
  gap: 14px;
}

.experience-grid {
  gap: 18px;
}

.experience-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.experience-card:hover {
  transform: translateY(-4px);
  border-color: #d6e3ff;
  box-shadow: 0 20px 38px rgba(29, 78, 216, 0.1);
}

.experience-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  padding: 8px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
}

.experience-logo img {
  display: block;
  max-width: 100%;
  max-height: 54px;
  object-fit: contain;
}

.experience-content {
  display: grid;
  gap: 8px;
}

.experience-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: baseline;
}

.experience-header h3 {
  margin: 0;
  font-size: 1.08rem;
}

.experience-time,
.news-date,
.paper-meta {
  color: var(--muted);
  font-size: 0.94rem;
}

.experience-meta,
.experience-desc {
  margin: 0;
}

.experience-meta {
  color: #334155;
  font-weight: 600;
}

.experience-desc {
  color: var(--muted);
  line-height: 1.6;
}

.news-panel {
  padding: 20px 22px 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.06);
}

.news-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.news-heading h2 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 1.9rem;
}

.news-heading-accent {
  width: 72px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #5b8dff 0%, rgba(91, 141, 255, 0.08) 100%);
  display: inline-block;
}

.news-window {
  max-height: 430px;
  overflow-y: auto;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.news-window::-webkit-scrollbar {
  width: 8px;
}

.news-window::-webkit-scrollbar-track {
  background: transparent;
}

.news-window::-webkit-scrollbar-thumb {
  background: #d4dce8;
  border-radius: 999px;
}

.news-list {
  display: grid;
  gap: 10px;
}

.news-item {
  display: grid;
  grid-template-columns: 12px 92px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid #e4e9f2;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.news-item:hover {
  transform: translateY(-2px);
  border-color: #d7e3ff;
  box-shadow: 0 12px 24px rgba(29, 78, 216, 0.08);
}

.news-item-featured {
  background:
    linear-gradient(90deg, rgba(255, 244, 247, 0.95) 0%, rgba(255, 236, 241, 0.75) 100%);
  border-color: #d9c6ec;
}

.news-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.news-item-featured .news-dot {
  background: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}

.news-date {
  color: #1d4ed8;
  font-size: 1rem;
  font-weight: 700;
  font-style: italic;
}

.news-text {
  color: #334155;
  font-size: 0.98rem;
  line-height: 1.55;
  font-style: italic;
}

.news-text strong {
  color: #0f6fbe;
}


.paper-list {
  gap: 18px;
}

.paper-card {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.paper-card:hover {
  transform: translateY(-4px);
  border-color: #d6e3ff;
  box-shadow: 0 18px 34px rgba(29, 78, 216, 0.08);
}

.paper-thumb {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #e5eaf3;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.paper-thumb img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.paper-content {
  display: grid;
  gap: 10px;
}

.paper-title {
  margin: 0;
  font-weight: 700;
  font-size: 1.48rem;
  line-height: 1.28;
}

.paper-authors {
  margin: 0;
  color: #374151;
  line-height: 1.6;
}

.paper-role {
  display: inline-block;
  margin-left: 10px;
  color: #64748b;
  font-size: 0.9rem;
  font-style: italic;
}

.paper-role-corresponding {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.paper-role-icon {
  color: #2563eb;
  font-size: 0.95rem;
  line-height: 1;
}

.paper-meta {
  margin: 0;
  color: #b42318;
  font-size: 1rem;
  font-style: italic;
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 18px 0 30px;
  color: var(--muted);
  font-size: 0.94rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

@media (max-width: 720px) {
  .header-inner,
  .footer-inner,
  .experience-card,
  .experience-header,
  .news-item,
  .paper-card {
    grid-template-columns: 1fr;
    display: grid;
  }

  .header-inner {
    padding: 10px 0;
  }

  .site-nav {
    gap: 10px 14px;
  }

  .intro h1 {
    font-size: 1.95rem;
  }

  .hero-top,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .research-gallery {
    grid-template-columns: 1fr;
  }

  .news-panel {
    padding: 16px;
  }

  .news-heading h2 {
    font-size: 1.6rem;
  }

  .news-item {
    gap: 8px;
  }

  .section-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .research-figure-media img {
    height: 220px;
  }

  .paper-thumb img {
    height: 200px;
  }
}
