﻿:root {
  --bg: #f7fcff;
  --surface: #ffffff;
  --line: #cfeeff;
  --ink: #103455;
  --muted: #172f42;
  --blue: #21a9ef;
  --blue-deep: #0b73c7;
  --blue-soft: #e8f8ff;
  --cyan: #8ae9ff;
  --shadow: 0 18px 42px rgba(48, 170, 231, 0.16);
  --radius: 10px;
  --max: 1160px;
  --header-max: 1600px;
  --font-main: "Bahnschrift", "Aptos", "Segoe UI Variable", "Inter", "DIN Alternate", "Helvetica Neue", Arial, "Microsoft YaHei UI", "PingFang SC", sans-serif;
  --font-heading: "Bahnschrift", "Segoe UI Variable Display", "Aptos Display", "Inter", "Helvetica Neue", Arial, "Microsoft YaHei UI", "PingFang SC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #dff5ff 0, #f5fbff 360px, #ffffff 100%);
  font-family: var(--font-main);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
button, input, select { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(215, 234, 253, 0.86);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}
.section,
.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}
.header-inner {
  width: min(var(--header-max), calc(100% - 40px));
  margin: 0 auto;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px, 1.8vw, 30px);
  min-height: 112px;
}
.brand {
  display: flex;
  align-items: center;
  flex: 0 0 clamp(310px, 25vw, 455px);
  min-width: 0;
}
.brand-mark {
  width: 100%;
  height: 110px;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex: 1 1 auto;
}
.site-nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: #244862;
  font-size: 18px;
  font-weight: 850;
  letter-spacing: 0;
}
.site-nav a.active,
.site-nav a:hover {
  color: var(--blue);
  background: #e7f5ff;
}
.language-switch {
  display: flex;
  flex: 0 0 auto;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}
.language-switch button {
  min-width: 46px;
  border: 0;
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
}
.language-switch button.active {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--blue-deep);
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  content: "";
  background: currentColor;
}

.hero {
  width: min(var(--max), calc(100% - 40px));
  height: min(520px, calc(100vh - 130px));
  min-height: 390px;
  margin: 28px auto 0;
  overflow: hidden;
  position: relative;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
  cursor: pointer;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-copy {
  position: absolute;
  z-index: 2;
  left: clamp(24px, 6vw, 70px);
  bottom: clamp(34px, 8vw, 78px);
  max-width: 760px;
  color: #fff;
  text-shadow: 0 4px 24px rgba(0, 31, 64, 0.42);
}
.hero-copy h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 60px);
  line-height: 1.04;
  font-weight: 900;
}
.hero-copy p {
  max-width: 650px;
  margin: 18px 0 0;
  color: rgba(255,255,255,0.9);
  font-size: 18px;
}
.eyebrow {
  margin: 0 0 13px;
  color: #4ed9ff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-dots {
  position: absolute;
  z-index: 4;
  right: clamp(14px, 2.4vw, 26px);
  bottom: clamp(12px, 2.2vw, 24px);
  display: flex;
  gap: 7px;
}
.hero-dots button {
  width: 11px;
  height: 11px;
  border: 1px solid rgba(16, 52, 85, 0.42);
  border-radius: 50%;
  padding: 0;
  background: rgba(255,255,255,0.7);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.72), 0 2px 8px rgba(16, 52, 85, 0.22);
  cursor: pointer;
}
.hero-dots button.active {
  border-color: rgba(16, 52, 85, 0.6);
  background: #fff;
}

.section { padding: 44px 0; }
.section.narrow { max-width: var(--max); }
.section h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  font-weight: 900;
  font-family: var(--font-heading);
}
.section .lead {
  max-width: 820px;
  color: var(--muted);
  font-size: 18px;
}
.topic-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}
.topic-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 72px;
  padding: 11px 10px;
  border-radius: 12px;
  color: var(--blue-deep);
  background: linear-gradient(135deg, #e6f6ff, #f7fcff);
  border: 1px solid var(--line);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.2;
}
.topic-link:hover {
  color: #064f7d;
  border-color: #73d6ff;
  background: linear-gradient(135deg, #d8f4ff, #ffffff);
  box-shadow: 0 12px 28px rgba(42, 154, 226, 0.14);
  transform: translateY(-1px);
}
.topic-chip-icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
}
.topic-chip-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-content {
  display: grid;
  gap: 20px;
  margin-top: 30px;
  background: transparent;
}
.home-content.section {
  padding: 0;
}
.home-panel {
  padding: 0;
}
.home-panel h2 {
  color: #0b4772;
  font-size: clamp(28px, 3.6vw, 42px);
}
.home-panel p {
  color: #172f42;
}
.home-panel .lead {
  max-width: none;
  font-size: clamp(20px, 1.55vw, 24px);
  line-height: 1.72;
  font-weight: 460;
}
.research-glance {
  display: block;
}
.research-glance-image {
  width: 100%;
  max-height: 520px;
  margin: 22px 0 18px;
  border-radius: 12px;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
}
.research-actions {
  margin: 8px 0 20px;
}
.research-actions .text-link {
  align-items: center;
  justify-content: center;
  min-width: min(100%, 260px);
  border: 1px solid rgba(92, 199, 249, 0.9);
  border-radius: 999px;
  padding: 13px 22px;
  color: #075b8f;
  background: linear-gradient(135deg, #dff7ff, #ffffff);
  box-shadow: 0 12px 28px rgba(42, 154, 226, 0.14);
  font-size: 20px;
}
.hire-panel {
  display: block;
  padding: 0 0 8px;
  border: 0;
  border-radius: 0;
  color: #16486f;
  background: transparent;
  box-shadow: none;
}
.hire-panel h2 { color: #06375f; }
.hire-panel p {
  max-width: none;
  color: #172f42;
  font-size: clamp(20px, 1.55vw, 24px);
  line-height: 1.72;
}

.research-panel {
  min-height: 520px;
}
.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(16,119,214,0.08);
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.gallery-item figcaption {
  padding: 13px 16px;
  color: var(--muted);
  font-size: 14px;
}

.member-group { padding: 30px 0 42px; border-top: 1px solid var(--line); }
.member-group:first-child { border-top: 0; }
.member-group-leader .member-list { grid-template-columns: minmax(0, 1fr); }
.member-group-leader .member-card {
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
}
.member-group-leader .member-card h3 {
  font-size: 27px;
}
.member-group-leader .member-card p {
  font-size: 18px;
  line-height: 1.62;
}
.member-group h2 { margin-bottom: 22px; font-size: 36px; letter-spacing: 0; }
.member-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.member-card {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,0.85);
}
.member-photo {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #25b5f4, #9cebff);
  font-weight: 900;
  overflow: hidden;
}
.member-group-leader .member-photo {
  width: 150px;
  height: 150px;
  border-radius: 18px;
}
.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.member-card h3 { margin: 0; font-family: var(--font-heading); font-size: 21px; line-height: 1.18; letter-spacing: 0; }
.member-card h3 a {
  color: inherit;
  text-decoration: none;
}
.member-card h3 a:hover {
  color: var(--blue);
}
.member-card p { margin: 7px 0 0; color: #172f42; font-size: 15px; line-height: 1.5; }
.member-role { color: var(--blue-deep) !important; font-weight: 800; }
.mail {
  display: inline-block;
  margin-top: 10px;
  color: var(--blue);
  font-size: 17px;
  font-weight: 850;
  line-height: 1.35;
  word-break: break-word;
}
.member-more {
  margin-left: 14px;
  font-size: 17px;
  line-height: 1.35;
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 150px 150px auto;
  gap: 12px;
  margin-bottom: 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,0.86);
}
.toolbar input,
.toolbar select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 13px;
  color: var(--ink);
  background: #fff;
}
.toolbar button {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  color: #06375f;
  background: linear-gradient(135deg, #8de7ff, #e9faff);
  cursor: pointer;
  font-weight: 900;
}
.result-count { color: var(--muted); }
.publication-list { display: grid; gap: 12px; }
.publication-item {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.publication-item h3 {
  margin: 8px 0;
  font-size: 20px;
  line-height: 1.35;
}
.publication-item p { margin: 5px 0; color: var(--muted); }
.pub-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pub-meta span {
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--blue-deep);
  background: #e7f5ff;
  font-size: 12px;
  font-weight: 900;
}
.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--blue);
  font-weight: 900;
}
.empty-state {
  padding: 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.gallery-album-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 280px);
  gap: 14px;
  overflow-x: auto;
  padding: 2px 0 18px;
  margin-bottom: 24px;
}
.gallery-album-tab {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(174, 224, 255, 0.95);
  border-radius: 12px;
  padding: 10px;
  color: #174a6d;
  background: rgba(255,255,255,0.84);
  cursor: pointer;
  text-align: left;
}
.gallery-album-tab.active,
.gallery-album-tab:hover {
  border-color: #64d1ff;
  background: #eaf9ff;
}
.gallery-album-tab img {
  width: 78px;
  height: 58px;
  border-radius: 8px;
  object-fit: cover;
}
.gallery-album-tab strong,
.gallery-album-tab small {
  display: block;
}
.gallery-album-tab small {
  color: var(--muted);
}
.album-grid {
  display: grid;
}
.gallery-thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(179, 224, 252, 0.94);
  cursor: zoom-in;
  text-align: left;
}
.gallery-thumb:hover {
  border-color: #6bd5ff;
  box-shadow: 0 16px 32px rgba(42, 154, 226, 0.15);
}
.gallery-caption {
  display: block;
  padding: 13px 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}
.lightbox-open {
  overflow: hidden;
}
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 28px;
  background: rgba(5, 28, 48, 0.78);
}
.gallery-lightbox.show {
  display: grid;
}
.lightbox-figure {
  width: min(1100px, 100%);
  max-height: calc(100vh - 70px);
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
}
.lightbox-figure img {
  width: 100%;
  max-height: calc(100vh - 210px);
  object-fit: contain;
  background: #f2fbff;
}
.lightbox-figure figcaption {
  padding: 16px 20px 18px;
  color: var(--muted);
}
.lightbox-close,
.lightbox-nav {
  position: fixed;
  z-index: 102;
  border: 0;
  border-radius: 999px;
  color: #073b63;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 28px rgba(0,0,0,0.18);
  cursor: pointer;
  font-weight: 900;
}
.lightbox-close {
  top: 22px;
  right: 24px;
  padding: 9px 15px;
}
.lightbox-nav {
  top: 50%;
  width: 46px;
  height: 46px;
  transform: translateY(-50%);
  font-size: 26px;
}
.lightbox-nav.prev { left: 24px; }
.lightbox-nav.next { right: 24px; }

.news-list { display: grid; gap: 0; }
.news-card {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  padding: 17px 0;
  border-top: 1px solid var(--line);
}
.news-date {
  display: block;
  margin: 0;
  color: #0b73ad;
  background: transparent;
  text-align: left;
  font-size: 15px;
  font-weight: 850;
}
.news-line {
  min-width: 0;
  color: #172f42;
  font-size: 18px;
}
.news-line .text-link {
  display: inline;
  margin: 0 0 0 10px;
  white-space: nowrap;
}

.site-footer {
  margin-top: 60px;
  color: #16486f;
  border-top: 1px solid var(--line);
  background: linear-gradient(135deg, #dff6ff, #f8fdff);
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  padding: 34px 0;
}
.footer-inner p { margin: 4px 0; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-content: start;
  justify-content: end;
}

@media (max-width: 980px) {
  .brand { min-width: 0; flex: 1; }
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    top: 76px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow);
  }
  body.nav-open .site-nav { display: flex; }
  .site-nav a { padding: 12px 14px; }
  .research-glance {
    grid-template-columns: 1fr;
  }
  .member-list,
  .gallery-grid,
  .research-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .research-switch {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .topic-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .toolbar { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .header-inner,
  .section,
  .footer-inner,
  .hero {
    width: min(100% - 28px, var(--max));
  }
  .header-inner { min-height: 70px; gap: 10px; }
  .brand { flex-basis: 190px; min-width: 150px; }
  .brand-mark { width: 190px; height: 56px; }
  .language-switch button { min-width: 34px; padding: 6px 7px; }
  .site-nav a { font-size: 17px; }
  .site-nav { top: 70px; left: 14px; right: 14px; }
  .hero { height: 430px; min-height: 430px; margin-top: 18px; border-radius: 14px; }
  .hero-copy { left: 22px; right: 22px; bottom: 52px; }
  .hero-copy p { font-size: 15px; }
  .section { padding: 46px 0; }
  .member-list,
  .gallery-grid,
  .toolbar,
  .news-card,
  .hire-panel,
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .member-group-leader .member-card {
    grid-template-columns: 112px minmax(0, 1fr);
  }
  .member-group-leader .member-photo {
    width: 112px;
    height: 112px;
  }
  .home-content {
    border-radius: 14px;
  }
  .home-panel {
    padding: 24px 18px;
  }
  .research-glance-image {
    max-height: 320px;
  }
  .gallery-lightbox {
    padding: 14px;
  }
  .lightbox-close {
    top: 12px;
    right: 12px;
  }
  .lightbox-nav {
    top: auto;
    bottom: 18px;
    width: 42px;
    height: 42px;
    transform: none;
  }
  .lightbox-nav.prev { left: 16px; }
  .lightbox-nav.next { right: 16px; }
  .lightbox-figure {
    max-height: calc(100vh - 94px);
  }
  .lightbox-figure img {
    max-height: calc(100vh - 250px);
  }
  .member-card { grid-template-columns: 82px minmax(0, 1fr); padding: 18px; }
  .member-photo { width: 82px; height: 82px; }
  .member-card h3 { font-size: 21px; }
  .member-card p { font-size: 16px; }
  .footer-links { justify-content: start; }
}

/* Refined static-site layout overrides */
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-item > a {
  display: inline-flex;
  align-items: center;
}
.has-dropdown > a::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 190px;
  padding: 8px;
  border: 1px solid rgba(176, 224, 255, 0.9);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(42, 154, 226, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.site-nav .dropdown a {
  display: block;
  width: 100%;
  border-radius: 8px;
  padding: 10px 13px;
  color: #1f5f8b;
  font-size: 18px;
  font-weight: 850;
  white-space: nowrap;
}

.subpage-main {
  min-height: calc(100vh - 76px);
  background:
    radial-gradient(circle at 88% 80px, rgba(109, 212, 255, 0.24), transparent 280px),
    linear-gradient(180deg, #dff6ff 0, #f3fbff 270px, #ffffff 100%);
}
.subpage-main > .section {
  padding-top: 44px;
}
.content-head {
  max-width: 920px;
  margin-bottom: 28px;
}
.content-head h1 {
  margin: 0;
  color: #073b63;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 900;
}
.content-head p:last-child {
  max-width: 780px;
  margin: 12px 0 0;
  color: #4f7796;
  font-size: 18px;
}

.research-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.research-overview-card {
  display: grid;
  gap: 14px;
  min-height: 240px;
  border: 1px solid rgba(177, 224, 255, 0.95);
  border-radius: 14px;
  padding: 22px;
  color: #174a6d;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 28px rgba(42, 154, 226, 0.09);
}
.research-overview-card:hover {
  color: #063e68;
  border-color: #68d2ff;
  transform: translateY(-2px);
}
.research-overview-card .topic-icon {
  width: 82px;
  height: 82px;
}
.research-overview-card strong {
  color: #0b4772;
  font-size: 23px;
}
.research-overview-card span:last-child {
  color: #55758d;
}
.research-switch {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  margin: 0 0 34px;
}
.research-switch-card {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 12px;
  min-height: 148px;
  border: 1px solid rgba(177, 224, 255, 0.95);
  border-radius: 14px;
  padding: 18px 12px;
  color: #1f658f;
  background: rgba(255,255,255,0.72);
  box-shadow: 0 8px 22px rgba(42, 154, 226, 0.08);
  text-align: center;
  font-size: 18px;
  font-weight: 900;
}
.research-switch-card.active,
.research-switch-card:hover {
  color: #06466f;
  border-color: #63cdf7;
  background: linear-gradient(180deg, #e6f8ff, #ffffff);
}
.research-switch-card .topic-icon {
  width: 82px;
  height: 82px;
}
.research-page-head {
  max-width: var(--max);
  margin-bottom: 28px;
}
.research-page-head h1 {
  margin: 12px 0 12px;
  color: #073b63;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
}
.research-page-head p {
  max-width: 1040px;
  color: #172f42;
  font-size: 20px;
  line-height: 1.68;
}
.topic-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  overflow: hidden;
  border-radius: 16px;
  color: #0b75b7;
  background: linear-gradient(135deg, #bdeeff, #f8fdff);
}
.topic-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.research-content {
  color: #172f42;
  font-size: 19px;
  line-height: 1.78;
}
.research-static-content[hidden] {
  display: none;
}
html[lang="en"] [data-lang-panel="zh"],
html[lang="zh-CN"] [data-lang-panel="en"] {
  display: none;
}
html[lang="en"] [data-lang-panel="en"],
html[lang="zh-CN"] [data-lang-panel="zh"] {
  display: block;
}
.research-html-section h2 {
  margin: 0 0 18px;
  color: #073b63;
  font-family: var(--font-heading);
  font-size: clamp(30px, 3.6vw, 44px);
}
.research-figure-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}
.research-figure-grid figure {
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(190, 228, 252, 0.9);
  border-radius: 14px;
  background: rgba(255,255,255,0.72);
}
.research-figure-grid figcaption {
  margin-top: 10px;
  color: #172f42;
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
}
.research-static-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(28px, 3vw, 42px);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}
.research-content p {
  margin: 0 0 15px;
  text-indent: 2em;
}
.research-content p:has(img) {
  text-align: center;
  text-indent: 0;
}
.research-content strong {
  color: #073b63;
}
.research-content img {
  display: block;
  max-width: min(100%, 960px);
  margin: 18px auto;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(42, 154, 226, 0.1);
}
.research-back {
  margin-top: 38px;
  text-align: center;
}
.research-back .text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  margin-top: 0;
  border: 1px solid rgba(92, 199, 249, 0.9);
  border-radius: 999px;
  padding: 13px 22px;
  color: #075b8f;
  background: linear-gradient(135deg, #dff7ff, #ffffff);
  box-shadow: 0 12px 28px rgba(42, 154, 226, 0.14);
  font-size: 20px;
  font-weight: 900;
}
.profile-page,
.alumni-section {
  max-width: var(--max);
  margin: 0 auto;
  font-size: 19px;
  line-height: 1.74;
}
.profile-head {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
  margin-bottom: 30px;
}
.profile-photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(183, 225, 252, 0.9);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(42, 154, 226, 0.13);
}
.profile-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.profile-kicker {
  margin: 0 0 6px;
  color: #0b73ad;
  font-size: 18px;
  font-weight: 900;
}
.profile-head h1,
.alumni-section h2 {
  margin: 0 0 12px;
  color: #073b63;
  font-size: clamp(38px, 5vw, 60px);
  letter-spacing: 0;
}
.profile-section {
  padding: 30px 0;
  border-top: 1px solid rgba(190, 228, 252, 0.9);
}
.profile-section h2 {
  margin: 0 0 16px;
  color: #0b73ad;
  font-size: 30px;
  letter-spacing: 0;
}
.timeline-list,
.compact-list {
  margin: 0;
  padding-left: 24px;
  color: #172f42;
}
.timeline-list li,
.compact-list li {
  margin: 10px 0;
}
.alumni-section {
  margin-top: 28px;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(183, 225, 252, 0.9);
  border-radius: 12px;
  background: rgba(255,255,255,0.82);
}
.alumni-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}
.alumni-table th,
.alumni-table td {
  border-bottom: 1px solid rgba(217, 237, 250, 0.9);
  padding: 10px 12px;
  text-align: center;
  vertical-align: middle;
}
.alumni-table th {
  color: #0b5f93;
  background: #eaf8ff;
}
.alumni-th-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}
.alumni-sort {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  margin-left: 0;
  border: 1px solid rgba(112, 201, 245, 0.75);
  border-radius: 999px;
  padding: 2px 8px;
  color: #0875b5;
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}
.alumni-sort.active {
  color: #fff;
  background: linear-gradient(135deg, #2db6f4, #8ce9ff);
}
.alumni-table a {
  color: #0877b7;
  font-weight: 850;
}

.pub-mode-tabs {
  display: inline-flex;
  gap: 6px;
  margin: 4px 0 18px;
  padding: 5px;
  border: 1px solid rgba(176, 224, 255, 0.95);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
}
.pub-mode-tabs button {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  color: #1e668f;
  background: transparent;
  cursor: pointer;
  font-weight: 900;
}
.pub-mode-tabs button.active {
  color: #fff;
  background: linear-gradient(135deg, #2db6f4, #8ce9ff);
}
.publication-toolbar {
  grid-template-columns: minmax(260px, 1fr) 160px auto;
  margin-bottom: 14px;
}
.publication-year {
  padding: 26px 0 10px;
  border-top: 1px solid rgba(183, 225, 252, 0.9);
}
.publication-year:first-child {
  border-top: 0;
}
.publication-year h2 {
  margin: 0 0 10px;
  color: #0875b5;
  font-size: 30px;
}
.publication-year-list {
  display: grid;
  gap: 10px;
  min-width: 0;
}
.publication-entry {
  max-width: 100%;
  min-width: 0;
  padding: 18px 20px 20px;
  border: 1px solid rgba(180, 223, 250, 0.9);
  border-left: 4px solid #7bd7ff;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 22px rgba(42, 154, 226, 0.07);
}
.publication-entry:first-child {
  border-top: 1px solid rgba(180, 223, 250, 0.9);
}
.publication-entry h3 {
  margin: 0 0 7px;
  color: #103455;
  font-size: 19px;
  line-height: 1.42;
}
.pub-number {
  color: #048ed0;
  font-weight: 900;
}
.publication-entry .authors {
  margin: 0 0 5px;
  color: #506f87;
}
.journal-line {
  margin: 0;
  color: #3a789d;
}
.journal-name {
  color: #0877b7;
  font-size: 19px;
}
.publication-link {
  display: inline-flex;
  align-items: center;
  margin-left: 7px;
  padding: 4px 11px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #19a7e6, #76dfff);
  font-size: 13px;
  font-weight: 900;
  vertical-align: 1px;
}
.publication-link::before {
  content: ">";
  margin-right: 4px;
  font-size: 13px;
}

@media (max-width: 980px) {
  .nav-item {
    display: block;
  }
  .dropdown {
    position: static;
    display: grid;
    gap: 2px;
    min-width: 0;
    margin: -4px 0 4px 18px;
    padding: 0 0 0 10px;
    border: 0;
    border-left: 2px solid #bdeeff;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
}

@media (max-width: 640px) {
  .subpage-main > .section {
    padding-top: 32px;
  }
  .content-head p:last-child {
    font-size: 16px;
  }
  .publication-toolbar {
    grid-template-columns: 1fr;
  }
  .research-overview-grid {
    grid-template-columns: 1fr;
  }
  .research-switch {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .research-switch-card {
    min-height: 132px;
    font-size: 16px;
  }
  .research-switch-card .topic-icon {
    width: 70px;
    height: 70px;
  }
  .topic-row {
    grid-template-columns: 1fr;
  }
  .research-static-content {
    padding: 22px 18px;
  }
  .research-figure-grid {
    grid-template-columns: 1fr;
  }
  .pub-mode-tabs {
    display: grid;
    grid-template-columns: 1fr;
    border-radius: 14px;
  }
  .publication-year h2 {
    font-size: 26px;
  }
  .profile-head {
    grid-template-columns: 1fr;
  }
  .profile-photo {
    max-width: 280px;
  }
}