/* 设计图信息与适配范围：
   - PC设计宽度：1920px；内容容器：1200px+
   - 移动设计宽度：375px；移动适配：767px-
*/

:root {
  --brand-600: #0b76d1;
  --brand-500: #2a9cf1;
  --brand-100: #e6f3fd;
  --text-900: #0a1a2a;
  --text-700: #2f3a45;
  --text-500: #5b6a79;
  --line-200: #e9eef3;
  --text-1000: rgba(0, 118, 188, 1);
  --bg-50: #f7fbff;
  --white: #fff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text-900);
  background: var(--bg-50);
  line-height: 1.6;
}
.pc-display {
  display: block;
}
.yd-display {
  display: none;
}
.container_header {
  width: 94%;
  margin-inline: auto;
}
.container_content {
  width: 1200px;
  margin-inline: auto;
}
.container_footer {
  width: 38%;
  margin-inline: auto;
}

/* 头部区域：Flex实现左右布局；移动端汉堡菜单覆盖导航 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  /* border-bottom: 1px solid var(--line-200); */
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding: 10px 0;
  position: relative;
  .right-header {
    position: absolute;
    right: 0;
    /*top: 0;*/
    top:5px;
    width: 220px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .right-header span a {
    color: rgba(51, 51, 51, 1);
    text-decoration: none;
  }
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}
.brand-text {
  display: grid;
  font-size: 14px;
  color: var(--text-1000);
}
.brand-text strong {
  font-size: 28px;
  color: var(--text-1000);
}
.nav-toggle {
  display: none;
}
.hamburger {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 8px;
}
.hamburger:hover {
  background: var(--brand-100);
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-900);
  margin: 3px 0;
  transition: transform 0.2s ease;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav li {
  position: relative;
}
.main-nav a {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text-700);
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  transition: color 0.2s ease, background 0.2s ease;
}
.main-nav a:hover,
.main-nav a:focus-visible {
  outline: none;
  background: var(--brand-100);
  color: var(--brand-600);
}
/* 一级与二级之间的“桥”，避免鼠标经过缝隙时二级消失 */
.main-nav li.has-submenu::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 10px;
}
.main-nav .submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  min-width: 180px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
  border: 1px solid var(--line-200);
  display: none;
  z-index: 100;
  transform: translate(-50%, 6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.main-nav .submenu li a {
  display: block;
  padding: 6px 14px;
  border-radius: 0;
  font-weight: normal;
  white-space: nowrap;
  text-align: center;
}
.main-nav .submenu li a:hover {
  background: var(--brand-100);
  color: var(--brand-600);
}
.main-nav li.has-submenu:hover > .submenu {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.header-search {
  position: relative;
}
.search-toggle {
  border: none;
  background: transparent;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}
.search-toggle:hover {
  background: var(--brand-100);
}
.header-search .search-form {
  position: absolute;
  right: 0;
  top: 120%;
  display: none;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  background: var(--white);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--line-200);
}
.header-search.is-open .search-form {
  display: flex;
}
.search-input {
  border: none;
  outline: none;
  min-width: 100px;
  width: 100px;
  font-size: 12px;
}
.search-input::-ms-clear,
.search-input::-ms-reveal {
  display: none;
  width: 0;
  height: 0;
}
.search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
.search-close {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  padding: 2px 4px;
  color: var(--text-500);
}
.search-close:hover {
  color: var(--brand-600);
}
.icon-search {
  width: 16px;
  height: 16px;
  display: inline-block;
  border: 2px solid var(--text-700);
  border-radius: 100%;
  position: relative;
}
.icon-search::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 2px;
  background: var(--text-700);
  right: -6px;
  bottom: -2px;
  transform: rotate(45deg);
}

/* 横幅：两列布局，左文案右天际线图 */
.hero {
  background: linear-gradient(180deg, #eef7ff 0%, #f8fbff 60%, #ffffff 100%);
  border-bottom: 1px solid var(--line-200);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 560px;
  align-items: center;
  gap: 24px;
  padding: 28px 0 36px;
}
.slogan h1 {
  font-size: clamp(28px, 3.4vw, 48px);
  margin: 0 0 8px;
  color: var(--brand-600);
  letter-spacing: 1px;
}
.slogan p {
  margin: 0;
  color: var(--text-700);
  font-size: clamp(14px, 1.4vw, 20px);
}
.skyline img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(11, 118, 209, 0.15);
}

/* 头部背景轮播：宽100%，高640px；淡入淡出 */
.header-slider {
  position: relative;
  width: 100%;
  height: 640px;
  overflow: hidden;
  background: linear-gradient(180deg, #eef7ff 0%, #f8fbff 60%, #ffffff 100%);
  border-bottom: 1px solid var(--line-200);
}
.header-slider .slides {
  position: relative;
  width: 100%;
  height: 100%;
}
.header-slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.header-slider .slide.is-active {
  opacity: 1;
}
.header-slider .slide img {
  width: 100%;
  height: 100%;
  object-position: center;
  display: block;
}
.header-slider .slogan {
  background: rgba(255, 255, 255, 0.66);
  backdrop-filter: saturate(150%) blur(4px);
  border: 1px solid var(--line-200);
  border-radius: 14px;
  padding: 16px 18px;
  max-width: 640px;
}
.header-slider .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-200);
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.header-slider .arrow:hover {
  border-color: var(--brand-500);
}
.header-slider .arrow.prev {
  left: 14px;
}
.header-slider .arrow.next {
  right: 14px;
}
.header-slider .arrow::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border: 2px solid var(--text-700);
  border-top: none;
  border-right: none;
  margin: 12px auto;
  transform: rotate(45deg);
}
.header-slider .arrow.next::before {
  transform: rotate(-135deg);
}
.header-slider:hover .arrow {
  opacity: 1;
  pointer-events: auto;
}
.header-slider .dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}
.header-slider .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  border: none;
  padding: 0;
  box-sizing: border-box;
  display: inline-block;
}
.header-slider .dot.is-active {
  background: var(--brand-500);
}

/* 信息区：PC为Grid两列；移动端堆叠 */
.news-block {
  padding: 24px 0 8px;
}
.news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}
.section-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
}
.section-title h2 {
  margin: 0;
  font-size: 20px;
  color: var(--text-1000);
  position: relative;
  transition: transform 0.2s ease;
}
.section-title h2:hover {
  transform: translateX(4px);
}
.section-title h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: -3px;
  width: 20px;
  height: 20px;
  background-image: url("../img/btn-bac.png"); /* 背景图片地址 */
  background-size: cover; /* 图片覆盖伪元素 */
  background-repeat: no-repeat; /* 禁止重复 */
  background-position: center; /* 图片居中 */
  position: absolute;
  transform: rotate(-5deg);
}
.section-title h2::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: calc(50% + 7px);
  transform: translateX(-50%);
  width: 20px;
  height: 4px;
  background-color: #f39c12;
  border-radius: 2px;
}
.section-title .sub {
  font-size: 12px;
  color: var(--text-500);
}

.platform-card .section-title h2 {
  transition: none;
}
.platform-card .section-title h2:hover {
  transform: none;
}

.updates .kydt-section-title h2 {
  padding-left: 14px;
  transition: none;
}
.updates .kydt-section-title h2:hover {
  transform: none;
}

/* 标签切换：radio + label实现选中态，无JS */
.tabs {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tabs input[type="radio"] {
  display: none;
}
.tabs label {
  padding: 6px 10px;
  border: 1px solid var(--line-200);
  border-radius: 999px;
  color: var(--text-700);
  cursor: pointer;
}
.tabs input:checked + label {
  border-color: var(--brand-500);
  color: var(--brand-600);
  background: var(--brand-100);
}

.news-left .section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.news-content {
  display: flex;
  gap: 24px;
  margin-top: 20px;
  min-height: 320px;
}

.news-carousel-container {
  position: relative;
  width: 292px; /* 根据设计图调整 */
  flex-shrink: 0;
  /* 手机版里用媒体查询加高度，这里只负责 PC */
}

.news-carousel {
  position: relative;
  width: 100%;
  height: 243px; /* 根据图片比例调整 */
  overflow: hidden;
  border-radius: 8px;
  margin: 0 auto;
}

.news-slide {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.news-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.news-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.news-slide:hover img {
  transform: scale(1.05);
}

/* 确保综合新闻 / 媒体关注区所有轮播图片都有放大效果 */
.news-carousel img {
  transition: transform 0.3s ease;
}
.news-carousel:hover img {
  transform: scale(1.05);
}

.news-captions {
  margin-top: 12px;
}

.news-caption {
  display: none;
  text-align: center;
}

.news-caption.is-active {
  display: block;
}

.news-caption h3 {
  font-size: 16px;
  margin: 0 0 4px 0;
  color: var(--text-700);
}
.news-caption h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.news-caption h3 a:hover {
  color: var(--brand-600);
}

.news-caption time {
  font-size: 12px;
  color: var(--text-1000);
}

/* PC 小轮播：箭头在图片内，鼠标经过时显示 */
.news-carousel-container .arrow {
  position: absolute;
  top: 36%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-carousel-container:hover .arrow {
  opacity: 1;
  pointer-events: auto;
}
.news-carousel-container .arrow::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
}
.news-carousel-container .arrow.prev {
  left: 8px;
}
.news-carousel-container .arrow.next {
  right: 8px;
}
.news-carousel-container .arrow.prev::before {
  border-width: 6px 8px 6px 0;
  border-color: transparent rgba(0, 0, 0, 0.4) transparent transparent;
}
.news-carousel-container .arrow.next::before {
  border-width: 6px 0 6px 8px;
  border-color: transparent transparent transparent rgba(0, 0, 0, 0.4);
}

.news-list-container {
  flex-grow: 1;
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news-list li a {
  position: relative;
  display: flex;
  flex-direction: column;
  font-size: 14px;
  gap: 4px;
  padding: 6px 0;
  text-decoration: none;
  color: var(--text-700);
  padding-left: 12px;
  border-bottom: 1px solid var(--line-200);
  transition: color 0.2s ease, transform 0.2s ease;
}

.news-list li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background-color: var(--brand-600);
  border-radius: 1.5px;
}

.news-list li a:hover {
  color: var(--brand-600);
  transform: translateX(4px);
}

.news-list li a time {
  font-size: 12px;
  color: var(--text-1000);
}

/* 右侧卡片：时间轴与平台网格 */
.notice-card,
.platform-card {
  border: 1px solid var(--line-200);
  border-radius: 12px;
}
.notice-card {
  padding: 18px 16px;
}
.platform-card {
  margin-top: 20px;
}
.platform-card .section-title {
  background: url("../img/jsyf-bac.png") no-repeat center center;
  background-size: cover;
  padding: 24px 0;
  padding-left: 80px;
}
.platform-card .section-title h2::before,
.platform-card .section-title h2::after {
  display: none;
}
.notice-card .section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tab-buttons {
  display: flex;
  gap: 12px;
  position: relative;
}

.tab-button {
  background: none;
  border: none;
  font-size: 18px;
  color: var(--text-500);
  cursor: pointer;
  padding: 0 0 8px 15px;
  position: relative;
  border-bottom: 4px solid transparent;
}

.tab-button.active {
  font-size: 20px;
  font-weight: bold;
  color: var(--brand-600);
  border-bottom-color: transparent;
}

.tab-button.active::before {
  content: "";
  position: absolute;
  left: -2px;
  top: -3px;
  width: 20px;
  height: 20px;
  background-image: url("../img/btn-bac.png"); /* 背景图片地址 */
  background-size: cover; /* 图片覆盖伪元素 */
  background-repeat: no-repeat; /* 禁止重复 */
  background-position: center; /* 图片居中 */
  position: absolute;
  transform: rotate(-5deg);
}

.tab-button.active::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: calc(50% + 7px);
  transform: translateX(-50%);
  width: 20px;
  height: 4px;
  background-color: #f39c12;
  border-radius: 2px;
}

.more-link {
  font-size: 14px;
  color: #666;
  text-decoration: none;
}

.timeline {
  margin-top: 20px;
  position: relative;
  padding-left: 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background-color: rgba(204, 204, 204, 1);
}

.timeline li {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  position: relative;
}

.timeline .date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  color: var(--white);
  flex-shrink: 0;
  font-weight: bold;
  background-color: var(--bg-50);
}

.timeline .date .day {
  width: 44px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  border-radius: 8px;
  background-color: var(--text-1000);
  color: #fff;
  font-size: 12px;
}

.timeline .date .month {
  font-size: 12px;
  opacity: 0.8;
  color: var(--text-1000);
}

.timeline a {
  margin-left: 24px;
  color: var(--text-700);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.6;
  transition: color 0.2s ease, transform 0.2s ease;
}

.timeline a:hover {
  color: var(--brand-600);
  transform: translateX(4px);
}

.platform-grid {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.platform-grid a {
  display: grid;
  justify-items: center;
  gap: 2px;
  text-decoration: none;
  color: var(--text-700);
  padding: 6px 0;
  border-radius: 12px;
  font-size: 14px;
  text-align: center;
  transition: color 0.2s ease;
}
.platform-grid a:hover {
  color: var(--brand-600);
}
.platform-grid img {
  width: 74px;
  height: 74px;
  border-radius: 12px;
  transition: transform 0.3s ease;
}
.platform-grid a:hover img {
  transform: scale(1.08);
}

/* 科研动态 */
.updates {
  padding: 10px 0 36px;
}
.updates-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.updates-list li {
  border-bottom: 1px solid var(--line-200);
}
.updates-list a {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  color: var(--text-700);
  padding: 6px 0px;
  font-size: 14px;
  padding-left: 12px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.updates-list a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background-color: var(--brand-600);
  border-radius: 1.5px;
}

.updates-list a:hover {
  color: var(--brand-600);
  transform: translateX(4px);
}

.updates-list time {
  font-variant-numeric: tabular-nums;
  color: var(--text-500);
  font-size: 12px;
  color: var(--text-1000);
}
.updates .kydt-section-title h2 {
  padding-left: 14px;
}
/* 页脚 */
.site-footer {
  border-top: 1px solid var(--line-200);
  background: var(--white);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 16px 0;
}
.footer-brand p {
  margin: 4px auto;
  color: var(--text-500);
  font-size: 14px;
  text-align: center;
}
.footer-brand a {
  color: var(--text-500);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer-brand a:hover {
  color: var(--brand-600);
  transform: translateX(2px);
}
.footer-qr {
  text-align: center;
  color: var(--text-500);
  font-size: 12px;
}
.footer-qr img {
  border-radius: 10px;
  border: 1px dashed var(--line-200);
  background: #f8fafc;
}
.yd-header-box {
  display: none;
}

/* 分页 */
.pagination {
  margin: 30px;
  text-align: center;
}

.pagination a {
  display: inline-block;
  width: 40px;
  height: 24px;
  margin: 0 5px;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
  color: #0b76d1;
  text-align: center;
}
.pagination a:first-child,
.pagination a:last-child { 
  width: 40px;
}
.pagination a:first-child {
/*  background-color: #f5f5f5;
  color: #666;*/
}

.pagination a:hover,
.pagination a.active {
  background-color: #0b76d1;
  color: #fff;
  border-color: #0b76d1;
}
.pagination a:hover:not(.active) {
  border-color: #0b76d1;
}

/* 响应式：767px以下切换为移动端布局 */
@media (max-width: 767px) {
  .container_header,
  .container_content,
  .container_footer {
    width: 92vw;
  }

  .header-inner {
    align-items: center;
  }

  .brand-text {
    display: none;
  }

  /* 移动端：显示汉堡，隐藏PC导航 */
  .hamburger {
    display: inline-flex;
  }
  .main-nav {
    position: fixed;
    inset: 60px 0 auto 30%;
    background: var(--white);
    border-bottom: 1px solid var(--line-200);
    transform: translateX(100%);
    transition: transform 0.2s ease;
  }
  .main-nav ul {
    display: grid;
    padding: 10px;
    gap: 0;
  }
  .main-nav a {
    padding: 12px 10px;
    border-radius: 6px;
  }
  /* 复选框控制菜单展开 */
  .nav-toggle:checked ~ .main-nav {
    transform: translateX(0);
  }
  .nav-toggle:checked + .hamburger span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }
  .nav-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle:checked + .hamburger span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px 0 20px;
  }
  .skyline img {
    border-radius: 8px;
  }
  .header-slider {
    width: 94%;
    /*height: 120px;*/
    height: 20%;
    margin: 10px auto;
    border-radius: 6px;
  }
  .pc-header {
    display: none !important;
  }
  .site-header .yd-header-box {
    width: 100%;
    height: 56px;
    background: var(--text-1000);
    display: flex !important;
    justify-content: center;
  }
  .yd-header-box .yd-header {
    width: calc(100% - 20px);
    height: 100%;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .yd-header .yd-title-box {
    width: 234px;
    height: 34px;
    background: url(../img/yd-header.png) center center no-repeat;
    background-size: 100% 100%;
  }
  .yd-header .yd-header-more {
    width: 28px;
    height: 23px;
    background: url(../img/yd-more.png) center center no-repeat;
    background-size: 100% 100%;
    position: relative;
    cursor: pointer;
  }
  .yd-menu-mask {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 90;
  }
  .yd-menu-mask.show {
    display: block;
  }

  /* 手机版菜单：右侧滑出抽屉 + 左侧遮罩 */
  .yd-header-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 60vw;
    max-width: 60vw;
    height: 100%;
    background: var(--white);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
    z-index: 95;
    transform: translateX(100%);
    transition: transform 0.25s ease-out;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
  }

  .yd-header-more.active .yd-header-menu {
    transform: translateX(0);
  }

  .yd-menu-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: var(--text-1000); /* 深蓝背景 */
    flex-shrink: 0;
  }
  .yd-menu-drawer-title {
    font-size: 17px;
    font-weight: bold;
    color: #fff; /* 白色标题 */
  }
  .yd-menu-drawer-close {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    font-size: 24px;
    line-height: 1;
    color: #fff; /* 白色图标 */
    cursor: pointer;
    border-radius: 8px;
  }
  .yd-menu-drawer-close:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
  }
  .yd-menu-drawer-body {
    padding: 12px 0;
    flex: 1;
    overflow-y: auto;
  }

  .yd-menu-item {
    border-bottom: none;
  }
  .yd-menu-item .yd-menu-title {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-900);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s ease, color 0.2s ease;
  }
  .yd-menu-item .yd-menu-title::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--text-500);
    transition: transform 0.2s ease;
  }
  .yd-menu-item.open .yd-menu-title::after {
    transform: rotate(180deg);
  }
  .yd-menu-item.open .yd-menu-title {
    color: var(--brand-600);
    background: var(--brand-100);
  }
  .yd-submenu {
    display: none;
    padding: 4px 0 8px 0;
    background: var(--bg-50);
  }
  .yd-menu-item.open .yd-submenu {
    display: block;
  }
  .yd-submenu a {
    display: block;
    padding: 10px 20px 10px 32px;
    font-size: 14px;
    color: var(--text-700);
    text-decoration: none;
    white-space: normal;
    transition: background 0.2s ease, color 0.2s ease;
  }
  .yd-submenu a:hover {
    background: var(--brand-100);
    color: var(--brand-600);
  }
  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-content {
    flex-direction: column;
  }
  .news-carousel {
    width: 100%;
    height: 180px;
  }
  /* 手机版小轮播：锁定整体高度 + 标题高度，避免跳动 */
  .news-carousel-container {
    width: 100%;
    min-height: 275px;
  }
  .news-carousel-container .news-captions {
    min-height: 72px;
  }
  /* 手机版隐藏 PC 的“更多” */
  .more-link.pc-display {
    display: none !important;
  }

  /* 手机版列表不做左移动画 */
  .news-list li a:hover,
  .updates-list a:hover,
  .timeline a:hover {
    transform: none;
  }
  .news-carousel-container {
    width: 100%;
  }

  /* 手机版小轮播：只支持滑动，不显示箭头 */
  .news-carousel-container .arrow {
    display: none;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline a {
    margin-left: 16px;
  }

  .featured {
    grid-template-columns: 1fr;
  }
  .platform-grid img {
    width: 64px;
    height: 64px;
  }
  .platform-grid span {
    white-space: nowrap;
  }
  .platform-grid span.allow-wrap {
    white-space: normal;
  }

  .tab-button {
    font-size: 16px;
  }

  .tab-button.active {
    font-size: 18px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    padding: 24px 0;
  }

  .footer-brand p {
    font-size: 12px;
  }

  .footer-pc {
    display: none !important;
  }
  .updates {
    padding: 10px 0;
  }

  .updates .section-title {
    justify-content: center;
  }

  .platform-card {
    border: none;
    margin: 20px 0;
  }

  .platform-card .section-title {
    display: block;
  }

  /* 手机版：技术研发平台采用圆形环绕排布 */
  .platform-grid {
    position: relative;
    height: 350px;
    list-style: none;
    padding: 0;
    margin: 0;
    display: block;
  }

  .platform-grid::before {
    content: "";
    position: absolute;
    top: 53%;
    left: 52%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-image: url(../img/logo1.png);
    background-size: contain;
    background-repeat: no-repeat;
  }

  .platform-grid li {
    position: absolute;
    width: 90px;
  }

  .platform-grid img {
    width: 71px;
    height: 72px;
  }

  .platform-grid li:nth-child(1) {
    /* 精密仪器中试平台 */
    top: 66px;
    left: 15px;
  }
  .platform-grid li:nth-child(2) {
    /* 自主无人概念验证中心 */
    top: 10px;
    left: 52%;
    transform: translateX(-50%);
  }
  .platform-grid li:nth-child(3) {
    /* 半导体检测平台 */
    top: 66px;
    right: 15px;
  }
  .platform-grid li:nth-child(4) {
    /* 纺织品检测平台 */
    bottom: 70px;
    left: 15px;
  }
  .platform-grid li:nth-child(5) {
    /* 质谱光谱检测平台 */
    bottom: 26px;
    left: 48%;
    transform: translateX(-50%);
  }
  .platform-grid li:nth-child(6) {
    /* 省科学院认证平台 */
    bottom: 70px;
    right: 15px;
  }
  .yd-more-box {
    width: 100%;
    padding: 10px 0;
    margin: 10px 0;
    display: flex !important;
    justify-content: center;
    align-items: center;
  }
  .yd-more {
    width: 160px;
    height: 100%;
    line-height: 39px;
    background: rgba(245, 245, 245, 1);
    color: var(--text-1000);
    text-align: center;
    border-radius: 2px;
    font-size: 12px;
    cursor: pointer;
  }
  .pc-display {
    display: none;
  }
  .yd-display {
    display: block;
  }
  .notice-card .section-title,
  .news-left .section-title {
    justify-content: center;
  }
  /* 分页 */
  .pagination {
    flex-wrap: wrap;
    justify-content: center;
  }

  .pagination a {
    margin: 5px;
  }
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 80px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background-color: #0b76d1;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  display: none;              /* 默认隐藏 */
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.back-to-top:hover {
  background-color: #095fa6;
}