/* ========== Global ========== */
body {
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: #222;
  background-color: #ffffff;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  padding-left: 1.2rem;
}

p {
  margin-bottom: 1rem;
}

<style>
  .beian-footer {
    text-align: center;
    padding: 16px 0 24px;
    font-size: 14px;
    color: #666;
  }

  .beian-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #666;
    text-decoration: none;
  }

  .beian-link:hover {
    color: #1a73e8;
  }

  .beian-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
  }
</style>


/* ========== Navbar ========== */
.navbar {
  border-bottom: 1px solid #e9ecef;
  background-color: #ffffff !important;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

.navbar-nav .nav-link {
  font-size: 1.05rem;
  font-weight: 500;
  color: #1f2d3d !important;
  padding: 0.9rem 1rem;
  white-space: nowrap;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #0d6efd !important;
}

/* ========== Hero Section ========== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #eef6ff 0%, #dcecff 45%, #f7fbff 100%);
  color: #1b3a57;
  padding: 5rem 0;
  overflow: hidden;
}


.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.35);
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
  color: #16324f;
}

.hero-section .lead {
  margin-top: 0.75rem;
  margin-bottom: 0;
  font-size: 1.2rem;
  color: #3f5f7d;
}

.home-return {
  position: absolute;
  top: 20px;
  left: 30px;
  z-index: 10;
}

.home-return a {
  display: inline-block;
  color: #1b3a57;
  padding: 4px 12px;
  border: 1px solid rgba(27, 58, 87, 0.28);
  border-radius: 20px;
  font-size: 0.95rem;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.home-return a:hover {
  background-color: #1b3a57;
  color: #fff;
}

/* ========== Language Switch ========== */
.lang-switch {
  position: absolute;
  top: 20px;
  right: 30px;
  z-index: 10;
  font-size: 0.95rem;
}

.lang-switch a {
  display: inline-block;
  color: #1b3a57;
  margin-left: 12px;
  padding: 4px 12px;
  border: 1px solid rgba(27, 58, 87, 0.28);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(4px);
}

.lang-switch a:hover,
.lang-switch a.active {
  background-color: #1b3a57;
  color: #fff;
}

/* ========== Section Layout ========== */
.section-wrap {
  padding: 60px 0 70px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1b3a57;
  margin-bottom: 28px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  background: #0d6efd;
  margin-top: 12px;
  border-radius: 2px;
}

.page-subtitle {
  font-size: 1.05rem;
  color: #6c757d;
  margin-bottom: 2rem;
}

.content-box {
  max-width: 1000px;
  margin: 0 auto;
}

.content-box p {
  font-size: 1.05rem;
  line-height: 1.95;
  color: #333;
  text-align: justify;
  margin-bottom: 1.2rem;
}

.content-box ul li,
.content-box ol li {
  font-size: 1.02rem;
  line-height: 1.85;
  color: #333;
  margin-bottom: 0.5rem;
}
.collapsible-content {
  max-height: 260px;
  overflow: hidden;
  position: relative;
  transition: max-height 0.45s ease;
}

.collapsible-content::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
  pointer-events: none;
}

.collapsible-content.expanded {
  max-height: 5000px;
}

.collapsible-content.expanded::after {
  display: none;
}

.collapse-toggle-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1.2rem;
  border: 1px solid #0d6efd;
  border-radius: 24px;
  background: #fff;
  color: #0d6efd;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.collapse-toggle-btn:hover {
  background: #0d6efd;
  color: #fff;
}

/* ========== Card Styles ========== */
.custom-card {
  border: 1px solid #eaeaea;
  border-radius: 12px;
  padding: 24px;
  background-color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.custom-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
}

.custom-card h3,
.custom-card h4,
.custom-card h5 {
  color: #1b3a57;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.custom-card p {
  color: #444;
  line-height: 1.8;
}

.custom-card.text-center p {
  text-align: center;
}

.home-intro-card {
  padding: 28px 30px;
}

.home-intro-card p:last-child {
  margin-bottom: 0;
}

/* ========== Buttons ========== */
.btn-outline-primary {
  border-radius: 24px;
  padding: 0.45rem 1.2rem;
  font-weight: 500;
}

.btn-primary {
  border-radius: 24px;
  padding: 0.5rem 1.25rem;
  font-weight: 500;
}

/* ========== Simple Footer ========== */
.footer-simple {
  padding: 24px 0;
  text-align: center;
  color: #666;
  font-size: 0.95rem;
  border-top: 1px solid #eee;
  margin-top: 40px;
}

/* ========== Generic Page Blocks ========== */


.info-block {
  margin-bottom: 2rem;
}

.info-block h3 {
  font-size: 1.35rem;
  color: #1b3a57;
  font-weight: 700;
  margin-bottom: 1rem;
}

.info-block h4 {
  font-size: 1.1rem;
  color: #1b3a57;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.info-block h5 {
  font-size: 1.02rem;
  color: #1b3a57;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.info-block p {
  margin-bottom: 0.9rem;
  line-height: 1.95;
  text-align: justify;
}

.info-block .list-card {
  margin-bottom: 1rem;
}

.info-block .list-card:last-child {
  margin-bottom: 0;
}.info-block h4 {
  font-size: 1.15rem;
  color: #1b3a57;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.highlight-text {
  color: #0d6efd;
  font-weight: 600;
}

.muted-text {
  color: #6c757d;
}

/* ========== Member Page ========== */
.sub-nav {
  margin-bottom: 2rem;
  gap: 0.5rem;
}

.sub-nav .nav-link {
  color: #1b3a57;
  font-weight: 600;
  border-radius: 24px;
  padding: 0.5rem 1.1rem;
}

.sub-nav .nav-link.active,
.sub-nav .nav-link:hover {
  background-color: #0d6efd;
  color: #fff !important;
}

/* 主成员与普通成员统一卡片基础样式 */
.main-member-card,
.member-card {
  border: 1px solid #eaeaea;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

/* 主成员 */
.main-member-card {
  padding: 24px;
  margin-bottom: 2rem;
}

.main-member-card .row {
  align-items: flex-start;
}

.main-member-photo,
.main-member-card img {
  width: 100%;
  max-width: 240px;
  margin: 0 auto;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

.main-member-card h3,
.main-member-card h4,
.main-member-card h5,
.member-card h3,
.member-card h4,
.member-card h5 {
  color: #1b3a57;
  font-weight: 700;
}

.main-member-card h4,
.member-card h4 {
  margin-bottom: 0.75rem;
}

.main-member-card p,
.main-member-card li {
  font-size: 1rem;
  line-height: 1.85;
  color: #444;
}

.main-member-card ul {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.main-member-card a,
.member-card a {
  color: #0d6efd;
  font-weight: 500;
}

.main-member-card .member-section-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: #1b3a57;
  margin-top: 1.2rem;
  margin-bottom: 0.6rem;
  padding-left: 0.75rem;
  border-left: 3px solid #0d6efd;
}

.main-member-card p {
  margin-bottom: 0.55rem;
}

.main-member-card ul {
  margin-bottom: 0.8rem;
}

.main-member-card ul li {
  margin-bottom: 0.4rem;
}

/* 普通成员 */
.member-card {
  padding: 24px;
  height: 100%;
}

.member-photo-wrap {
  height: 340px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 1rem;
}

.member-card img {
  width: 100%;
  max-width: 220px;
  border-radius: 10px;
  display: block;
  margin: 0;
}

.member-card .member-name {
  text-align: center;
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
  color: #1b3a57;
  font-weight: 700;
}

.member-card p {
  font-size: 0.98rem;
  line-height: 1.8;
  color: #444;
  text-align: justify;
}

.member-card .member-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1b3a57;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.member-card .member-link {
  display: inline-block;
  margin-top: 0.8rem;
}


/* 占位卡片与纯居中成员卡片 */
.member-card.text-center p,
.member-card.d-flex p {
  text-align: center;
}

/* ========== News Page ========== */
.news-item {
  padding: 28px;
  margin-bottom: 1.8rem;
  border: 1px solid #eaeaea;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
}

.news-item:last-child {
  margin-bottom: 0;
}

.news-item img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.news-item h4 {
  font-size: 1.28rem;
  margin-bottom: 0.65rem;
  color: #1b3a57;
  font-weight: 700;
  line-height: 1.5;
}

.news-item .news-date {
  display: inline-block;
  font-size: 0.92rem;
  color: #0d6efd;
  background: #eef5ff;
  padding: 0.28rem 0.8rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.news-item p {
  font-size: 1rem;
  line-height: 1.9;
  color: #444;
  margin-bottom: 0.9rem;
  text-align: justify;
}

.news-item a {
  display: inline-block;
  margin-top: 0.5rem;
  color: #0d6efd;
  font-weight: 600;
}

.news-item a:hover {
  text-decoration: underline;
}

.news-list-wrap {
  background: #f8fbff;
  border-radius: 16px;
  padding: 20px;
}

/* ========== Research / Publications / Opportunities ========== */
.list-card {
  border: 1px solid #eaeaea;
  border-radius: 12px;
  padding: 22px 24px;
  background: #fff;
  margin-bottom: 1.25rem;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.035);
}

.list-card h4 {
  color: #1b3a57;
  font-weight: 700;
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.list-card p {
  margin-bottom: 0;
  line-height: 1.85;
  color: #444;
}

.project-gallery-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.project-header-center {
  text-align: center;
}

.project-header-center .project-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.project-block-center-title h5 {
  text-align: center;
  padding-left: 0;
  border-left: none;
}

.project-block-center-title .project-highlight-item {
  text-align: center;
}

.research-detail-card h4 {
  margin-bottom: 1rem;
}

.research-detail-card p {
  text-align: justify;
  line-height: 1.95;
}

.research-feature-image-wrap {
  text-align: center;
  margin-top: 1.5rem;
}

.research-feature-image-wrap img {
  width: 100%;
  max-width: 1100px;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  display: inline-block;
}

.paper-list {
  margin-top: 0.8rem;
  padding-left: 1.2rem;
}

.paper-list li {
  margin-bottom: 0.7rem;
  line-height: 1.85;
  color: #444;
}

/* ===== Platform & Equipment ===== */
.equipment-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.2rem 0 1.6rem;
}

.equipment-tags span {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  background: #eef5ff;
  color: #0d6efd;
  font-size: 0.94rem;
  font-weight: 600;
}

.equipment-slider {
  position: relative;
  margin-top: 1.5rem;
  padding: 0 48px;
}

.equipment-viewport {
  overflow: hidden;
  border-radius: 14px;
}

.equipment-track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s ease;
  will-change: transform;
}

.equipment-item {
  flex: 0 0 calc((100% - 40px) / 3);
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.equipment-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.equipment-item p {
  margin: 0;
  padding: 0.9rem 1rem 1rem;
  text-align: center;
  font-size: 0.98rem;
  font-weight: 600;
  color: #1b3a57;
}

.equipment-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(13, 110, 253, 0.92);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.equipment-btn.prev {
  left: 6px;
}

.equipment-btn.next {
  right: 6px;
}

.equipment-btn:hover {
  background: #0b5ed7;
}

@media (max-width: 991px) {
  .equipment-slider {
    padding: 0 42px;
  }

  .equipment-item {
    flex: 0 0 calc((100% - 20px) / 2);
  }

  .equipment-item img {
    height: 200px;
  }

  .equipment-btn.prev {
    left: 4px;
  }

  .equipment-btn.next {
    right: 4px;
  }
}

@media (max-width: 767px) {
  .equipment-slider {
    padding: 0 40px;
  }

  .equipment-item {
    flex: 0 0 100%;
  }

  .equipment-item img {
    height: 220px;
  }

  .equipment-btn {
    width: 38px;
    height: 38px;
    font-size: 1.4rem;
  }

  .equipment-btn.prev {
    left: 4px;
  }

  .equipment-btn.next {
    right: 4px;
  }
}

@media (max-width: 991px) {
  .equipment-item {
    flex: 0 0 calc((100% - 20px) / 2);
  }

  .equipment-item img {
    height: 200px;
  }
}

@media (max-width: 767px) {
  .equipment-item {
    flex: 0 0 100%;
  }

  .equipment-item img {
    height: 220px;
  }

  .equipment-btn {
    width: 38px;
    height: 38px;
    font-size: 1.4rem;
  }

  .equipment-btn.prev {
    left: -8px;
  }

  .equipment-btn.next {
    right: -8px;
  }
}

/* ========== Table Style (Optional) ========== */
.table-custom {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.table-custom th,
.table-custom td {
  border: 1px solid #e9ecef;
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.table-custom th {
  background-color: #f8f9fa;
  color: #1b3a57;
  font-weight: 700;
}

/* ========== Responsive ========== */
@media (max-width: 991px) {
  .navbar-nav {
    gap: 0.2rem;
  }

  .home-return {
    position: static;
    text-align: center;
    margin-bottom: 12px;
  }

  .navbar-nav .nav-link {
    padding: 0.7rem 0.5rem;
    font-size: 1rem;
  }

  .hero-section {
    padding: 4rem 0;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section .lead {
    font-size: 1rem;
  }

  .lang-switch {
    position: static;
    text-align: center;
    margin-bottom: 20px;
  }

  .lang-switch a {
    margin: 0 6px;
  }

  .section-wrap {
    padding: 40px 0 50px;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .content-box p,
  .content-box ul li,
  .content-box ol li {
    font-size: 1rem;
    line-height: 1.85;
  }

  .custom-card,
  .main-member-card,
  .member-card,
  .list-card {
    padding: 20px;
  }

  .main-member-photo,
  .main-member-card img {
    max-width: 220px;
  }

  .member-photo-wrap {
  height: 280px;
  }

  .member-card img {
    max-width: 180px;
  }
}

@media (max-width: 767px) {
  .navbar-nav .nav-link {
    font-size: 0.96rem;
    padding: 0.55rem 0.35rem;
  }

  .hero-section {
    padding: 3.2rem 0;
  }

  .hero-section h1 {
    font-size: 1.75rem;
  }

  .hero-section .lead {
    font-size: 0.96rem;
  }

  .home-return {
    margin-bottom: 10px;
  }

  .section-title {
    font-size: 1.45rem;
  }

  .page-subtitle {
    font-size: 0.98rem;
  }

  .content-box p {
    text-align: left;
  }

  .sub-nav {
    justify-content: center;
  }

  .main-member-card,
  .member-card {
    padding: 18px;
  }

  .main-member-photo,
  .main-member-card img,
  .member-card img {
    max-width: 180px;
  }

  .member-card p,
  .main-member-card p,
  .main-member-card li {
    text-align: left;
  }

  .member-card .member-name {
    font-size: 1.1rem;
  }
}