/* 基础重置和通用样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: #005599;
  transition: color 0.3s;
}

a:hover {
  color: #003366;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* 顶部导航样式 */
.topbar {
  background: #103E8B;
}

.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 10px 10px;
}

.topbar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-area {
  display: flex;
  align-items: center;
  height: 48px;
  margin-right: 30px;
}

.head-logo-img {
  max-width: 280px;
  height: auto;
  display: block;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 0.98em;
}

.topbar-right span {
  cursor: pointer;
}

.search-box {
  display: flex;
  align-items: center;
}

.search {
  border-radius: 30px;
  border: none;
  padding: 4px 8px;
}

.search-btn {
  width: 24px;
  height: 24px;
  background: url('img/search.png') no-repeat center/contain;
  background-size: 50%;
  border: none;
  cursor: pointer;
  background-color: #5E6266;
  border-radius: 50%;
  margin-left: -16px;
}

.nav {
  display: flex;
  justify-content: space-around;
  list-style: none;
  margin-top: 18px;
  border-top: 1px solid #f0f0f0;
  padding: 0;
}

.nav li {
  margin: 0 18px;
}

.nav a {
  color: #fff;
  font-size: 1.08em;
  padding: 18px 0;
  display: block;
  text-decoration: none;
}

.nav a:hover {
  text-decoration: underline;
}

/* 移动端菜单按钮 - 默认隐藏 */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 101;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 5px 0;
  border-radius: 3px;
  transition: all 0.3s;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .topbar-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .topbar-right {
    width: 100%;
    justify-content: space-between;
  }
  
  .search {
    width: 150px;
  }
  
  .topbar-bottom {
    position: relative;
    padding: 0;
  }
  
  .nav {
    display: none;
    width: 100%;
    background-color: #004488;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    flex-direction: column;
  }
  
  .nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0;
  }
  
  .nav a {
    padding: 15px 20px;
  }
  
  /* 移动端菜单按钮 - 在移动端显示 */
  .mobile-menu-toggle {
    display: block;
  }
  
  .mobile-menu-open .nav {
    display: flex;
  }
  
  .mobile-menu-open .mobile-menu-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-menu-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-open .mobile-menu-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
}

/* 轮播图区域样式 */

.banner {
  position: relative;
  height: 320px; /* 调整高度以适应大图 */
  overflow: hidden;
}

.banner-slides {
  position: relative;
  height: 100%;
  width: 100%;
}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: none;
}

.banner-slide.active {
  opacity: 1;
  display: block;
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 保持图片比例并覆盖容器 */
}

/* 轮播指示点样式 */
.banner-indicators {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 10;
}

.banner-indicators .indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #4076B7;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.banner-indicators .indicator:hover {
  background: rgba(255, 255, 255, 0.8);
}

.banner-indicators .indicator.active {
  width: 30px;
  background: #4076B7;
  border-radius: 30px;
}

/* 新闻区域样式 */
/* .news-section {
  padding: 60px 0;
  background-color: white;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 28px;
  color: #005599;
  margin-bottom: 10px;
}

.section-title p {
  color: #666;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.news-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.news-item:hover {
  transform: translateY(-5px);
}

.news-image {
  height: 200px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.news-item:hover .news-image img {
  transform: scale(1.05);
}

.news-content {
  padding: 20px;
}

.news-date {
  color: #999;
  font-size: 14px;
  margin-bottom: 10px;
}

.news-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.news-summary {
  color: #666;
  margin-bottom: 15px;
}

.news-more {
  display: inline-block;
  color: #005599;
  font-weight: 500;
  transition: color 0.3s;
}

.news-more:hover {
  color: #003366;
} */

/* 内容区域布局 */
.content-wrapper {
  display: flex;
  gap: 30px;
  padding: 40px 0;
}

.left-section {
  flex: 2; /* 左侧占2/3宽度 */
}

.right-section {
  flex: 1; /* 右侧占1/3宽度 */
}

/* 新闻部分样式 */
.news-section {
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
  margin-bottom: 30px;
}

.section-title {
  color: #005599;
  font-size: 24px;
  margin-bottom: 20px;
  border-bottom: 2px solid #005599;
  padding-bottom: 10px;
}

.news-item {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.news-date {
  color: #999;
  font-size: 14px;
  margin-bottom: 5px;
}

.news-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.news-summary {
  color: #666;
}

/* .more-link {
  display: inline-block;
  color: #005599;
  font-weight: 500;
  margin-top: 10px;
} */

/* 项目主题样式 */
.project-section {
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
}

.project-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.project-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.project-description {
  color: #666;
}

/* 期刊部分样式 */
.journal-section {
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
}

.journal-item {
  margin-bottom: 20px;
  display: flex;
  gap: 15px;
}

.journal-item img {
  width: 100px;
  height: 140px;
  object-fit: cover;
  border-radius: 4px;
}

.journal-info {
  flex: 1;
}

.journal-date {
  color: #999;
  font-size: 14px;
  margin-bottom: 5px;
}

.journal-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.read-more {
  color: #005599;
  font-weight: 500;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .content-wrapper {
    flex-direction: column;
  }
  
  .left-section, .right-section {
    flex: 1;
  }
}

/* 响应式调整 */
@media (max-width: 992px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* 期刊模块样式 */
.journal-section {
  padding: 60px 0;
  background-color: #f5f8fa;
}

.journal-slider {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding-bottom: 20px;
  scrollbar-width: thin;
  scrollbar-color: #005599 #f1f1f1;
}

.journal-slider::-webkit-scrollbar {
  height: 8px;
}

.journal-slider::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.journal-slider::-webkit-scrollbar-thumb {
  background: #005599;
  border-radius: 10px;
}

.journal-item {
  flex: 0 0 auto;
  width: 280px;
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
  transition: transform 0.3s;
}

.journal-item:hover {
  transform: translateY(-5px);
}

.journal-image {
  height: 350px;
  overflow: hidden;
}

.journal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.journal-info {
  padding: 15px;
}

.journal-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.journal-date {
  color: #999;
  font-size: 14px;
}

/* 项目主题模块 */
.project-section {
  padding: 60px 0;
  background-color: white;
}

.project-item {
  position: relative;
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
}

.project-image {
  height: 100%;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.project-item:hover .project-image img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
  color: white;
  padding: 20px;
}

.project-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

/* 实验室模块 */
.lab-section {
  padding: 60px 0;
  background-color: #f5f8fa;
}

.lab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.lab-item {
  background-color: white;
  /* border-radius: 8px; */
  overflow: hidden;
  transition: transform 0.3s;
}

.lab-item:hover {
  transform: translateY(-5px);
}

.lab-image {
  height: 200px;
  overflow: hidden;
}

.lab-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.lab-item:hover .lab-image img {
  transform: scale(1.05);
}

.lab-info {
  padding: 20px;
}

.lab-title {
  margin: 0 0 10px 0;
  font-size: 1.1em;
  /* font-weight: bold; */
  color: #1a5bb8;
  /* border-left: 3px solid #1a5bb8; */
  padding-left: 8px;
  letter-spacing: 1px;
  margin-left: 0;
  width: 100%; /* 确保标题宽度与轮播图一致 */
}

.lab-description {
  color: #666;
  font-size: 14px;
}

/* 底部样式 */
.footer {
  background-color: #103E8B;
  color: white;
  padding: 20px 0;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
}

.footer-title {
  font-size: .9em;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: white;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #ffcc00;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
  }
}

/* 主体内容样式 */
.main-content {
  max-width: 1400px;
  /* margin: 30px auto 0; */
  margin: 0 auto;
  padding: 30px 0 0 0;
  box-sizing: border-box;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
}

.main-row {
  display: flex;
  gap: 30px;
  align-items: stretch;
  margin-bottom: 10px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  /* justify-content: space-between; */
}

.main-col {
  flex: 2 1 0;
  display: flex;
  flex-direction: column;
  height: auto;
}
.news-carousel{
  margin-top: 10px;
}

.news-carousel-col {
  background: #fff;
  position: relative;
  flex: 1.8 1 0; /* 恢复原始 flex 比例 */
  display: flex;
  flex-direction: column;
  height: auto;
  padding-left: 0;
  max-width: calc(1.8 / (1.8 + 1) * 100% - 15px); /* 恢复原始最大宽度 */
}

.news-carousel {
  margin-top: 10px;
}

.news-carousel .carousel-inner {
  position: relative;
  height: 440px;
  overflow: hidden;
  background: #f5f5f5;
}

.news-carousel .carousel-item {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
}

.news-carousel .carousel-item.active {
  display: block;
  position: relative;
}

.news-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-height: none;
}

.news-carousel .carousel-caption-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 1em;
  padding: 10px 16px 8px 16px;
  height: 60px;
  box-sizing: border-box;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
}

.news-carousel .carousel-caption {
  flex: 1 1 auto;
  margin-right: 80px;
  color: #fff;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-carousel .carousel-dots {
  position: absolute;
  bottom: 12px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 3px;
  z-index: 3;
  padding: 10px 0;
}

.news-carousel .carousel-dots .dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #0A3B83;
  border: 1px solid #fff;
  opacity: 1;
  cursor: pointer;
  transition: all 0.2s;
  margin-right: 4px;
}

.news-carousel .carousel-dots .dot:last-child {
  margin-right: 0;
}

.news-carousel .carousel-dots .dot.active {
  background: #fff;
  border-color: #fff;
}

.news-list-col {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  height: auto;
  /* max-width: 320px; */
  min-height: auto; /* 移除最小高度限制 */
}

.samr-news-box {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  height: auto;
  background: #fff;
  width: 100%;
  box-sizing: border-box;
  min-height: auto; /* 移除最小高度限制，让内容自然展开 */
  padding-left: 0;
}

.news-list {
  font-size: 0.98em;
  flex: 1 1 0;
  list-style-type: none;
  padding: 12px 0 0 14px;
  margin: 0;
  height: auto; /* 让列表高度自适应内容 */
  overflow: visible; /* 确保内容不被隐藏 */
}

.news-list li {
  margin-bottom: 10px;
  color: #666;
  word-break: break-all;
  line-height: 1.4; /* 增加行高，让文字更易读 */
}

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



.more-img {
  width: 14px;
  height: 14px;
}

.sub-row {
  display: flex;
  gap: 30px;
  align-items: stretch;
  /* margin-top: 30px; */
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  /* padding-top: 30px; */
  /* justify-content: space-between; */
}

.sub-col {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 18px;
  box-sizing: border-box;
  padding-left: 18px;
}

.index-section-title {
  margin: 0;
  font-size: 1em;
  color: #1a5bb8;
  /* border-left: 3px solid #1a5bb8; */
  padding-left: 14px;
  letter-spacing: 1px;
  margin-left: 0;
  position: relative; /* 添加相对定位 */
}

.index-news-title {
  border-left: none; /* 移除原来的边框 */
  padding-left: 8px;
  position: relative; /* 确保有相对定位 */
}

.cnis-news-col {
  display: flex;
  flex: 2 1 0;
  flex-direction: column;
  gap: 14px;
  padding: 10px 0 10px;
  padding-left: 0;
}

.cnis-news-col .sub-news {
  color: #666;
  font-size: 0.9em;
  padding-left: 10px;
}

.cnis-news-col .sub-news p {
  margin: 0 0 12px 0;
}

.cnis-news-col .sub-news p:last-child {
  margin-bottom: 0;
}

.project-banner {
  position: relative;
  width: 100%;
  height: 150px;
  margin-bottom: 0;
  background: #eee;
  overflow: hidden;
}

.project-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.std-carousel-col {
  position: relative;
  display: flex;
  margin-left: -12px;
  flex-direction: column;
  justify-content: flex-start;
  padding: 6px 0 0 0;
  flex: 1 1 0;
}
.inner-title{
  padding: 0 14px 16px
}

.image-stack {
  position: relative;
  width: 90%;
  margin-top: 64px;
  margin-left: 0;
}

.image-item {
  position: absolute;
  width: 330px;
  height: 470px;
  overflow: hidden;
  transition: all 0.5s ease;
}

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

.image-item.active {
  z-index: 3;
  left: 52%;
  bottom: 20px;
  transform: translateX(-50%) scale(1);
  opacity: 1;
  filter: brightness(1);
}

.image-item.next {
  z-index: 1;
  left: 74%;
  bottom: 16px;
  transform: translateX(-50%) scale(0.9);
  opacity: 0.8;
  filter: brightness(0.9);
  clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 20% 100%);
}

.image-item.hidden {
  display: none;
}

.std-arrow {
  position: absolute;
  top: 54%;
  transform: translateY(-50%);
  background: none;
  border: none;
  width: 20px;
  height: 20px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #223a7a;
}
.std-arrow img{
  width: 34px;
  height: 34px;
}

.std-arrow.next {
  right: -18%;
}

.lab-carousel {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 10px auto;
  overflow: visible; /* 改为 visible 以显示左右箭头 */
  padding-left: 0;
}

.lab-carousel-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: calc(33.333% * 3 + 20px); /* 只显示3个项目加上间距 */
  margin: 0 auto 60px;
}

.lab-carousel-track {
  display: flex;
  transition: transform 0.3s ease-in-out;
  padding-left: 8px;
}

.lab-item {
  flex: 0 0 calc(33.333% - 10px); /* 每个项目占1/3宽度减去间距 */
  position: relative;
  margin-right: 12px;
  overflow: hidden;
  transition: transform 0.3s;
}

.lab-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  pointer-events: none;
  display: block;
}

.lab-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 10px;
  text-align: left;
  font-size: 14px;
  /* font-weight: 500; */
  height: 44px; /* 固定高度 */
  display: flex;
  align-items: center; /* 垂直居中 */
  line-height: 1.2; /* 控制行高 */
  overflow: hidden; /* 防止文字溢出 */
  word-wrap: break-word; /* 长单词换行 */
}

.lab-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  /* width: 20px;
  height: 20px; */
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #223a7a;
  opacity: 1; /* 确保箭头可见 */
}
.lab-arrow img{
  width: 34px;
  height: 34px;
}

.lab-arrow:hover {
  color: #1a5bb8;
}

.lab-arrow.prev {
  left: -50px;
}

.lab-arrow.next {
  right: -50px;
}

.footer-main {
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
    padding-left: 32px;
    padding-right: 32px;
    box-sizing: border-box;
}

.index-section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px; /* 从顶部开始，留出一些间距 */
  bottom: 0; /* 从底部结束，留出一些间距 */
  width: 4px;
  height: 16px;
  background-color: #1a5bb8;
  display: block; /* 确保显示 */
  
}

/* 响应式布局 */
@media (max-width: 1400px) {
  .main-content,
  .footer-main {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .main-row,
  .sub-row {
    max-width: 100%;
  }

  .lab-carousel {
    width: 100%;
    max-width: 100%;
  }

  .lab-title {
    max-width: 100%;
    padding-left: 8px;
  }
}

@media (max-width: 1200px) {
  .main-content {
    padding: 20px;
  }

  .main-row,
  .sub-row {
    gap: 20px;
    max-width: 100%;
  }

  .lab-item {
    flex: 0 0 calc(33.333% - 12px);
    margin-right: 12px;
  }

  .lab-arrow.prev {
    left: 0;
  }

  .lab-arrow.next {
    right: 0;
  }
}

@media (max-width: 900px) {
  .main-row,
  .sub-row {
    flex-direction: column;
    gap: 20px;
    max-width: 100%;
    justify-content: flex-start;
  }

  .main-col {
    width: 100%;
    height: auto;
  }

  .news-carousel-col {
    height: 320px;
    flex: 1 1 0;
  }

  .news-list-col {
    width: 100%;
    max-width: 100%;
    margin-top: 150px;
  }

  .samr-news-box {
    width: 100%;
    min-height: 320px;
  }

  .cnis-news-col {
    width: 100%;
    flex: 1 1 0;
  }

  .std-carousel-col {
    width: 100%;
    flex: 1 1 0;
    margin-top: 20px;
  }

  .lab-item {
    flex: 0 0 calc(50% - 10px);
    margin-right: 10px;
  }

  /* .lab-img {
    height: 180px;
  } */

  .image-stack {
    width: 100%;
    height: 350px !important;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 14px;
  }

  .main-content {
    padding: 15px;
  }

  .index-section-title,
  .lab-title {
    font-size: 1em;
    padding-left: 4px;
  }

  .lab-carousel {
    padding: 0 10px;
  }

  .lab-item {
    flex: 0 0 calc(100% - 10px);
    margin-right: 10px;
  }

  .lab-img {
    height: 160px;
  }

  .lab-caption {
    font-size: 14px;
    padding: 8px 12px;
  }

  .news-carousel .carousel-caption-row {
    height: auto;
    min-height: 60px;
  }

  .news-carousel .carousel-caption {
    font-size: 0.9em;
  }

  .news-list li {
    font-size: 0.9em;
    /* margin-bottom: 12px; */
  }

  .cnis-news-col .sub-news p {
    font-size: 0.9em;
    margin-bottom: 12px;
  }

  .project-banner {
    height: 120px;
  }

  .footer-main {
    font-size: 12px;
    padding: 0 10px;
  }
}

/* 调整 LABORATORIES 标题宽度与轮播图一致 */
.lab-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.lab-title {
  /* margin: 0 0 10px 0; */
  font-size: 1.1em;
  /* font-weight: bold; */
  color: #1a5bb8;
  /* border-left: 3px solid #1a5bb8; */
  padding-left: 14px;
  letter-spacing: 1px;
  /* margin-left: 0; */
  width: 80%;
  margin: 0 auto;
}

.lab-carousel {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 10px auto;
  overflow: visible; /* 改为 visible 以显示左右箭头 */
  padding-left: 0;
}

/* .lab-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #223a7a;
  opacity: 1;
} */

.lab-arrow:hover {
  color: #1a5bb8;
}

.lab-arrow.prev {
  left: -50px;
}

.lab-arrow.next {
  right: -50px;
}

/* 确保 SAMR NEWS 的 more 链接显示 */
.more-link {
  color: #1a5bb8;
  font-size: 0.98em;
  display: flex;
  align-items: center;
  margin: 0 0 0 8px;
  opacity: 1; /* 确保可见 */
  visibility: visible; /* 确保可见 */
}