@charset "UTF-8";
/* ===== RESET & BASE ===== */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: 'Lato', 'PingFang SC', 'Microsoft YaHei', sans-serif;
      background: #f1f5f9;
      color: #0F172A;
      line-height: 1.6;
    }
    a { text-decoration: none !important; color: inherit !important; }
    ul, ol { list-style: none; }
    button { cursor: pointer; border: none; background: none; font: inherit; }

    /* ===== CSS VARIABLES ===== */
    :root {
      --navy: #7f1a1a;
      --blue: #dc2626;
      --blue-light: #ef4444;
      --slate: #334155;
      --slate-light: #94a3b8;
      --border: #e2e8f0;
      --bg-light: #f8fafc;
      --serif: 'EB Garamond', Georgia, serif;
    }

    /* ===== LAYOUT ===== */
    .container {
      /*max-width: 1280px;*/
      margin: 0 auto;
      padding: 0 1rem;
    }

    /* ===== HEADER / NAVBAR ===== */
    #site-header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: var(--navy);
      box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    }

    .header-top-bar {
      background: rgba(220,38,38,0.85);
      text-align: center;
      padding: 4px 0;
      font-size: 0.75rem;
      color: rgba(255,255,255,0.9);
      letter-spacing: 0.05em;
      display: none;
    }
    @media (min-width: 768px) {
      .header-top-bar { display: block; }
    }

    .nav-main {
     /* max-width: 1280px;*/
      margin: 0 auto;
      padding: 0 1rem;
    }

    .nav-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      row-gap: 2px;
      min-height: 56px;
      padding: 6px 0;
    }
    @media (min-width: 768px) {
      .nav-row { min-height: 64px; }
    }

    /* Logo */
    .nav-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-shrink: 0;
    }
    .nav-logo-icon {
      width: 36px;
      height: 36px;
      border-radius: 6px;
      background: var(--blue);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    .nav-logo-icon svg { width: 20px; height: 20px; color: #fff; }
    .nav-logo-title {
      font-family: var(--serif);
      font-weight: 700;
      font-size: 1.05rem;
      color: #fff;
      line-height: 1.2;
    }
    .nav-logo-sub {
      font-size: 0.7rem;
      color: rgba(255,255,255,0.55);
      display: none;
    }
    @media (min-width: 480px) { .nav-logo-sub { display: block; } }

    /* PC导航（十篇与最新动态/大事记同级平铺，放不下时自动折行） */
    .nav-desktop-links {
      display: none;
      align-items: center;
      flex-wrap: wrap;
      justify-content: flex-end;
      gap: 1px 2px;
    }
    @media (min-width: 1024px) { .nav-desktop-links { display: flex; } }

    .nav-link {
      padding: 5px 8px;
      border-radius: 6px;
      font-size: 0.8125rem;
      font-weight: 500;
      color: rgba(255,255,255,0.85) !important;
      white-space: nowrap;
      transition: background 0.2s, color 0.2s;
      display: block;
    }
    .nav-link:hover,
    .nav-link.active {
      background: var(--blue);
      color: #fff;
    }

    /* 汉堡按钮 */
    .nav-hamburger {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 8px;
      border-radius: 6px;
      color: rgba(255,255,255,0.85);
      transition: background 0.2s;
    }
    .nav-hamburger:hover { background: rgba(255,255,255,0.1); }
    .nav-hamburger svg { width: 24px; height: 24px; }
    @media (min-width: 1024px) { .nav-hamburger { display: none; } }

    /* 移动端横向滑动导航条 */
    .nav-scroll-bar {
      overflow-x: auto;
      overflow-y: hidden;
      scrollbar-width: none;
      -ms-overflow-style: none;
      padding: 6px 0 8px;
      border-top: 1px solid rgba(255,255,255,0.08);
    }
    .nav-scroll-bar::-webkit-scrollbar { display: none; }
    .nav-scroll-inner {
      display: flex;
      gap: 4px;
      min-width: max-content;
    }
    @media (min-width: 1024px) { .nav-scroll-bar { display: none; } }

    .nav-scroll-link {
      padding: 5px 12px;
      border-radius: 6px;
      font-size: 0.78rem;
      font-weight: 500;
      color: rgba(255,255,255,0.75)  !important;
      white-space: nowrap;
      transition: background 0.2s, color 0.2s;
      display: block;
    }
    .nav-scroll-link:hover,
    .nav-scroll-link.active {
      background: var(--blue);
      color: #fff;
    }

    /* 移动端下拉全屏菜单 */
    .nav-dropdown {
      display: none;
      position: absolute;
      left: 0;
      right: 0;
      background: var(--navy);
      border-top: 1px solid rgba(255,255,255,0.08);
      box-shadow: 0 8px 24px rgba(0,0,0,0.4);
      z-index: 40;
    }
    .nav-dropdown.open { display: block; }
    .nav-dropdown-inner {
      max-width: 1280px;
      margin: 0 auto;
      padding: 12px 16px;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
    }
    .nav-dropdown-link {
      display: block;
      padding: 10px 8px;
      border-radius: 6px;
      font-size: 0.875rem;
      font-weight: 500;
      text-align: center;
      color: rgba(255,255,255,0.8)  !important;
      border: 1px solid rgba(255,255,255,0.1);
      transition: background 0.2s, color 0.2s;
    }
    .nav-dropdown-link:hover,
    .nav-dropdown-link.active {
      background: var(--blue);
      color: #fff;
      border-color: var(--blue);
    }
    /* 暂未开放的篇：置灰、不可点击 */
    .nav-link.disabled,
    .nav-scroll-link.disabled,
    .nav-dropdown-link.disabled {
      color: rgba(255,255,255,0.32) !important;
      cursor: not-allowed;
      background: transparent !important;
      border-color: rgba(255,255,255,0.06);
    }
    .nav-link.disabled:hover,
    .nav-scroll-link.disabled:hover,
    .nav-dropdown-link.disabled:hover {
      background: transparent !important;
      color: rgba(255,255,255,0.32) !important;
      border-color: rgba(255,255,255,0.06);
    }
    @media (min-width: 1024px) { .nav-dropdown { display: none !important; } }
    
    /* ===== FOOTER ===== */
    #site-footer {
      background: var(--navy);
      color: #fff;
      margin-top: 2rem;
    }
    .footer-inner {
      padding: 40px 0 24px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 32px;
      margin-bottom: 28px;
    }
    @media (min-width: 768px) {
      .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; }
    }

    .footer-logo {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 12px;
    }
    .footer-logo-icon {
      width: 30px;
      height: 30px;
      border-radius: 6px;
      background: var(--blue);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .footer-logo-icon svg { width: 16px; height: 16px; color: #fff; }
    .footer-logo-title {
      font-family: var(--serif);
      font-weight: 700;
      font-size: 1rem;
    }
    .footer-about {
      font-size: 0.75rem;
      color: rgba(255,255,255,0.55);
      line-height: 1.8;
    }

    .footer-col h4 {
      font-size: 0.875rem;
      font-weight: 500;
      color: rgba(255,255,255,0.8);
      margin-bottom: 12px;
    }

    .footer-links { display: flex; flex-direction: column; gap: 8px; }
    .footer-link {
      font-size: 0.75rem;
      color: rgba(255,255,255,0.45);
      display: flex;
      align-items: center;
      gap: 4px;
      transition: color 0.2s;
    }
    .footer-link:hover { color: rgba(255,255,255,0.85); }
    .footer-link svg { width: 12px; height: 12px; flex-shrink: 0; }

    .footer-contacts { display: flex; flex-direction: column; gap: 10px; }
    .footer-contact-item {
      display: flex;
      align-items: flex-start;
      gap: 8px;
    }
    .footer-contact-item svg { width: 16px; height: 16px; color: var(--blue); flex-shrink: 0; margin-top: 1px; }
    .footer-contact-item span { font-size: 0.75rem; color: rgba(255,255,255,0.55); }

    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.08);
      padding-top: 20px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
    }
    @media (min-width: 768px) {
      .footer-bottom { flex-direction: row; justify-content: space-between; }
    }
    .footer-copyright { font-size: 0.72rem; color: rgba(255,255,255,0.35); text-align: center; }
    .footer-legal { display: flex; align-items: center; gap: 20px; }
    .footer-legal a {
      font-size: 0.72rem;
      color: rgba(255,255,255,0.35);
      transition: color 0.2s;
    }
    .footer-legal a:hover { color: rgba(255,255,255,0.7); }

    /* ===== BACK TO TOP ===== */
    #back-to-top {
      position: fixed;
      bottom: 20px;
      right: 20px;
      z-index: 99;
      width: 42px;
      height: 42px;
      border-radius: 50%;
      background: var(--blue);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 12px rgba(3,105,161,0.4);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s, transform 0.3s;
      transform: translateY(12px);
    }
    #back-to-top.visible {
      opacity: 1;
      pointer-events: auto;
      transform: translateY(0);
    }
    #back-to-top:hover { background: #0284C7; }
    #back-to-top svg { width: 20px; height: 20px; }


/* ===== 轮播 ===== */
   /* 基础轮播图样式 */
.swiper-slide {
  background-position: center;
  background-size: cover;
  min-height: 400px; /* 桌面端最小高度，移动端会被覆盖 */
}

/* 轮播图容器 - 移除固定高度限制，实现自适应 */
#carousel-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: auto; /* 原固定高度220px改为auto，由内部内容撑开 */
}

/* 导航按钮初始透明及过渡效果 */
.swiper-button-next,
.swiper-button-prev {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

/* 鼠标悬停时显示导航按钮（桌面端） */
.banner:hover .swiper-button-next,
.banner:hover .swiper-button-prev {
  opacity: 1;
}

/* 轮播图图片通用样式 - 保证图片不变形且完整覆盖 */
.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover; /* 确保图片比例正常，不拉伸 */
}

/* 图片底部文字标签通用样式 */
.swiper-slide div {
  position: absolute;
  bottom: 10px;
  background: rgba(0, 0, 0, 0.3);
  text-align: center;
  padding: 7px 10px 10px;
  border-radius: 5px;
  right: 20px;
}

.swiper-slide div p {
  color: #ffffff;
  margin: 0;
}

/* ========== 桌面端（≥1024px） ========== */
@media (min-width: 1024px) {
  .swiper {
    height: 400px; /* 全屏高度 */
  }
  
  .swiper-slide img {
    height: 400px;
  }
  
  .swiper-slide div p {
    font-size: 20px;
  }
}

/* ========== 平板端（768px - 1023px） ========== */
@media (min-width: 768px) and (max-width: 1023px) {
  .swiper {
    height: 400px;
  }
  
  .swiper-slide img {
    height: 400px;
  }
  
  .swiper-slide div p {
    font-size: 14px;
  }
}

/* ========== 移动端（≤767px）新增自适应样式 ========== */
@media (max-width: 767px) {
  .swiper {
    height: 250px; /* 移动端合适高度，可根据需要调整为30vw等 */
  }
  
  /* 重置移动端slide最小高度，避免冲突 */
  .swiper-slide {
    min-height: auto;
  }
  
  .swiper-slide img {
    height: 250px;
  }
  
  /* 移动端文字标签位置和大小优化 */
  .swiper-slide div {
    bottom: 8px;
    right: 10px;
    padding: 4px 8px 6px;
  }
  
  .swiper-slide div p {
    font-size: 12px;
    margin: 0;
  }
  
  /* 移动端导航按钮常驻显示（因为无法悬停），提高可用性 */
  .swiper-button-next,
  .swiper-button-prev {
    opacity: 0.6; /* 半透明可见 */
  }
  
  /* 保持悬停效果（部分触摸屏支持） */
  .banner:hover .swiper-button-next,
  .banner:hover .swiper-button-prev {
    opacity: 0.6;
  }
}

/* ===== SEARCH BAR ===== */
.search-bar-section {
	background: #fff;
	border-bottom: 1px solid var(--border);
	padding: 18px 0;
}

.search-bar-inner {
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: 680px;
	margin: 0 auto;
}

.search-input {
	flex: 1;
	padding: 10px 16px;
	border: 1.5px solid var(--border);
	border-radius: 8px;
	font-size: 0.9rem;
	color: var(--navy);
	outline: none;
	transition: border-color 0.2s;
	font-family: inherit;
}

.search-input:focus {
	border-color: var(--blue);
}

.search-btn {
	padding: 10px 22px;
	background: var(--blue);
	color: #fff;
	border-radius: 8px;
	font-size: 0.875rem;
	font-weight: 600;
	transition: background 0.2s;
	white-space: nowrap;
}

.search-btn:hover {
	background: #0284C7;
}

/* ===== FEATURES ===== */
#overview {
	background: #fff;
	border-bottom: 1px solid var(--border);
}

.section-inner {
	padding: 40px 0;
}

@media ( min-width : 768px) {
	.section-inner {
		padding: 56px 0;
	}
}

.section-heading {
	text-align: center;
	margin-bottom: 2rem;
}

.section-heading h2 {
	font-family: var(--serif);
	font-weight: 700;
	font-size: clamp(1.4rem, 3vw, 1.9rem);
	color: var(--navy);
	margin-bottom: 6px;
}

.section-heading p {
	font-size: 0.9rem;
	color: var(--slate);
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}

@media ( min-width : 768px) {
	.features-grid {
		/*grid-template-columns: repeat(4, 1fr);*/
		grid-template-columns: repeat(2, 1fr);
		gap: 24px;
	}
}

.feature-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 20px 14px;
	border-radius: 12px;
	border: 1.5px solid var(--border);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
	border-color: var(--blue);
	box-shadow: 0 4px 16px rgba(3, 105, 161, 0.15);
}

.feature-icon {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: rgba(3, 105, 161, 0.1);
	color: var(--blue);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 12px;
	flex-shrink: 0;
}

.feature-icon svg {
	width: 24px;
	height: 24px;
}

.feature-card h3 {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--navy);
	margin-bottom: 6px;
}

.feature-card p {
	font-size: 0.8rem;
	color: var(--slate);
	line-height: 1.6;
}

@media ( min-width : 768px) {
	.feature-icon {
		width: 60px;
		height: 60px;
	}
	.feature-card h3 {
		font-size: 1rem;
	}
	.feature-card p {
		font-size: 0.875rem;
	}
}

/* ===== YEAR TABLE ===== */
#annual {
	padding: 40px 0;
}

.section-title-bar {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 1.5rem;
}

.section-title-bar .accent-line {
	width: 4px;
	height: 32px;
	border-radius: 2px;
	background: var(--blue);
	flex-shrink: 0;
}

.section-title-bar h2 {
	font-family: var(--serif);
	font-weight: 700;
	font-size: clamp(1.35rem, 3vw, 1.85rem);
	color: var(--navy);
	line-height: 1.2;
}

.section-title-bar p {
	font-size: 0.8rem;
	color: var(--slate);
	margin-top: 2px;
}

.year-card {
	background: #fff;
	border-radius: 12px;
	border: 1px solid var(--border);
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.year-card-header {
	background: var(--navy);
	padding: 10px 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.year-card-header span:first-child {
	font-size: 0.875rem;
	font-weight: 500;
	color: #fff;
}

.year-card-header span:last-child {
	font-size: 0.72rem;
	color: rgba(255, 255, 255, 0.55);
}

.year-grid-wrap {
	padding: 16px;
}

.year-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
	max-height: 400px;
	overflow-y: auto;
}

@media ( min-width : 480px) {
	.year-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media ( min-width : 600px) {
	.year-grid {
		grid-template-columns: repeat(5, 1fr);
	}
}

@media ( min-width : 768px) {
	.year-grid {
		grid-template-columns: repeat(6, 1fr);
	}
}

@media ( min-width : 1024px) {
	.year-grid {
		grid-template-columns: repeat(7, 1fr);
	}
}

.year-cell a {
	display: block;
	padding: 10px 6px;
	border-radius: 8px;
	text-align: center;
	border: 1.5px solid var(--border);
	transition: border-color 0.2s, background 0.2s, color 0.2s;
	color: var(--navy);
}

.year-cell a:hover {
	border-color: var(--blue);
	background: rgba(3, 105, 161, 0.06);
	color: var(--blue);
}

.year-cell .year-num {
	display: block;
	font-weight: 700;
	font-size: 0.95rem;
	line-height: 1.2;
}

.year-cell .year-count {
	display: block;
	font-size: 0.68rem;
	color: var(--slate-light);
	margin-top: 2px;
}

.year-card-footer {
	background: var(--bg-light);
	border-top: 1px solid var(--border);
	padding: 10px 16px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.year-card-footer svg {
	width: 16px;
	height: 16px;
	color: var(--blue);
	flex-shrink: 0;
}

.year-card-footer span {
	font-size: 0.72rem;
	color: var(--slate);
}

/* ===== NEWS ===== */
#achievements {
	padding: 40px 0;
}

.news-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1.5rem;
}

.news-more {
	font-size: 0.875rem;
	color: var(--blue);
	display: flex;
	align-items: center;
	gap: 4px;
	transition: opacity 0.2s;
}

.news-more:hover {
	opacity: 0.7;
}

.news-more svg {
	width: 16px;
	height: 16px;
}

.news-grid {
	display: grid;
	gap: 14px;
}

@media ( min-width : 768px) {
	.news-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.news-card {
	background: #fff;
	border-radius: 12px;
	padding: 18px 20px;
	border: 1.5px solid var(--border);
	transition: border-color 0.2s, box-shadow 0.2s;
	cursor: pointer;
}

.news-card:hover {
	border-color: var(--blue);
	box-shadow: 0 4px 12px rgba(3, 105, 161, 0.12);
}

.news-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
}

.news-tag {
	font-size: 0.72rem;
	padding: 2px 8px;
	border-radius: 999px;
	font-weight: 500;
}

.news-date {
	font-size: 0.72rem;
	color: var(--slate-light);
}

.news-card h3 {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--navy);
	line-height: 1.45;
	margin-bottom: 6px;
}

@media ( min-width : 768px) {
	.news-card h3 {
		font-size: 1rem;
	}
}

.news-card p {
	font-size: 0.8rem;
	color: var(--slate);
	line-height: 1.65;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

@media ( min-width : 768px) {
	.news-card p {
		font-size: 0.875rem;
	}
}
/* ===== MODAL ===== */
.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(15, 23, 42, 0.75);
	backdrop-filter: blur(4px);
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s;
}

.modal-overlay.active {
	opacity: 1;
	pointer-events: auto;
}

.modal-container {
	background: #fff;
	width: 90%;
	max-width: 800px;
	max-height: 85vh;
	border-radius: 16px;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
	display: flex;
	flex-direction: column;
	transform: scale(0.95) translateY(20px);
	transition: transform 0.3s;
}

.modal-overlay.active .modal-container {
	transform: scale(1) translateY(0);
}

.modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.25rem 1.5rem;
	border-bottom: 1px solid var(--border);
	flex-shrink: 0;
}

.modal-header h3 {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--navy);
}

.modal-close {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--slate-light);
	transition: background 0.2s, color 0.2s;
}

.modal-close:hover {
	background: #f1f5f9;
	color: var(--navy);
}

.modal-close svg {
	width: 20px;
	height: 20px;
}

.modal-body {
	padding: 1.5rem;
	overflow-y: auto;
	flex: 1;
}
/* 科技要闻卡片 */
.news-item {
	display: flex;
	gap: 1rem;
	padding: 1rem;
	border-radius: 12px;
	margin-bottom: 0.75rem;
	background: #f8fafc;
	border: 1px solid var(--border);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.news-item:hover {
	border-color: var(--blue-light);
	box-shadow: 0 4px 12px rgba(3, 105, 161, 0.1);
}

.news-item:last-child {
	margin-bottom: 0;
}

.year-grid-date {
	flex-shrink: 0;
	width: 60px;
	height: 60px;
	background: var(--navy);
	color: #fff;
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
}

.year-grid-date .month {
	font-size: 0.7rem;
	opacity: 0.85;
}

.year-grid-date .day {
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1;
}

.news-date {
	font-size: 0.72rem;
	color: var(--slate-light);
}

.news-content h4 {
	font-size: 1rem;
	font-weight: 600;
	color: var(--navy);
	margin-bottom: 0.35rem;
}

.news-content p {
	font-size: 0.875rem;
	color: var(--slate);
	line-height: 1.5;
}

.news-tag {
	display: inline-block;
	font-size: 0.7rem;
	padding: 0.2rem 0.5rem;
	border-radius: 4px;
	margin-right: 0.5rem;
	margin-top: 0.5rem;
	background: rgba(3, 105, 161, 0.1);
	color: var(--blue);
}