@charset "utf-8";

/**
 * cg5/sy.html 专用：头部参考烟大成果网双层蓝
 * https://web.ytu.edu.cn/tjb/jmrh/index.htm
 * 顶栏深蓝 + 导航亮蓝；仅改配色，不改布局结构
 */
.page-sy-blue {
  --lzit-header: #003e83;   /* 顶栏：烟大式深蓝 */
  --lzit-nav: #2b6eb7;      /* 导航：烟大式亮蓝 */
  --lzit-blue: #2b6eb7;
  --lzit-blue-deep: #003e83;
  --lzit-blue-mid: #1f5a9a;
  --lzit-accent: #4f97d1;
  --lzit-accent-hot: #7dcdf4;
}

/* 顶栏：深蓝 — 布局参考烟大成果网（logo + 副标题 | 成果标题） */
.page-sy-blue .header,
.page-sy-blue .header.pc {
  background: var(--lzit-header) !important;
  height: auto !important;
  min-height: 0;
}

.page-sy-blue .header > .w1300,
.page-sy-blue .header > .sy-head-inner,
.page-sy-blue .sy-head-inner {
  background: none !important;
  height: auto !important;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  padding: 22px 0;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

.page-sy-blue .header .logo {
  display: none; /* 旧结构隐藏，改用 sy-head-* */
}

.page-sy-blue .sy-head-brand {
  flex: 0 0 auto;
  max-width: 380px;
  padding-right: 8px;
  text-align: center;
}

.page-sy-blue .sy-head-logo {
  display: block;
  line-height: 0;
  text-align: center;
}

.page-sy-blue .sy-head-logo img {
  width: auto !important;
  max-width: 100%;
  max-height: 64px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.page-sy-blue .sy-head-sub {
  margin: 12px 0 0;
  padding: 0;
  color: #ffffff;
  font-family: "Source Han Serif SC", "Noto Serif CJK SC", "Songti SC", "SimSun", "STSong", serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-indent: 0.35em; /* 配合字距，视觉居中 */
  line-height: 1.4;
  white-space: nowrap;
  text-align: center;
  opacity: 0.95;
}

.page-sy-blue .sy-head-divider {
  flex: 0 0 auto;
  width: 1px;
  height: 72px;
  margin: 0 28px;
  background: rgba(255, 255, 255, 0.85);
}

.page-sy-blue .sy-head-title {
  flex: 1 1 auto;
  min-width: 0;
  padding-right: 10px;
}

.page-sy-blue .sy-head-title h1 {
  margin: 0;
  padding: 0;
  color: #ffffff;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.5px;
}

/* 导航：亮蓝 */
.page-sy-blue .inavbox,
.page-sy-blue .lminavbox {
  background: var(--lzit-nav) !important;
}

.page-sy-blue .c_copright {
  background: var(--lzit-header) !important;
}

.page-sy-blue .wap.m-head,
.page-sy-blue .top .wap-menu,
.page-sy-blue .m-nav {
  background: var(--lzit-header) !important;
}

/* 当前项 / 悬停：白底深蓝字（对齐烟大） */
.page-sy-blue .inav .on h3 a,
.page-sy-blue .inav h3 a:hover {
  background: #ffffff !important;
  color: var(--lzit-header) !important;
}

.page-sy-blue .inav .sub {
  background: var(--lzit-blue-mid) !important;
}

.page-sy-blue .inav .sub a:hover {
  background: #ffffff !important;
  color: var(--lzit-header) !important;
}

/* 搜索：白色胶囊（对齐烟大） */
.page-sy-blue .i-search {
  display: block !important;
  background: #ffffff !important;
  border: none !important;
  border-radius: 20px !important;
}

.page-sy-blue .i-search .search-txt {
  color: #333333 !important;
}

.page-sy-blue .i-search .search-txt::placeholder {
  color: #999999;
}

.page-sy-blue .i-search .search-btn {
  filter: invert(1) brightness(0.35);
}

/* 链接与悬停强调色 */
.page-sy-blue a:hover,
.page-sy-blue .aboutbox .a_info_more:hover {
  color: var(--lzit-blue) !important;
}

/* 「更多」默认黑色，移入变蓝 */
.page-sy-blue .title_more,
.page-sy-blue .aboutbox .a_info_more {
  color: #333333 !important;
  transition: color 0.25s ease, transform 0.25s ease;
}

.page-sy-blue .title_more:hover,
.page-sy-blue .aboutbox .a_info_more:hover {
  color: var(--lzit-blue) !important;
  transform: translateX(3px);
}

/* 成果简介区块：轻微移入动效 */
.page-sy-blue .cgjj_box {
  border-radius: 4px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.page-sy-blue .cgjj_box:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 62, 131, 0.12);
  background-color: #f7fbff !important; /* 覆盖原偏暖悬停底色 */
}

/* —— 申报书列表：两列等分，左右间距一致 —— */
.page-sy-blue .qtcgbgleft .i_box_bk_list ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 2%;
  width: 100%;
}

.page-sy-blue .qtcgbgleft .i_box_bk_list li {
  float: none !important;
  width: calc((100% - 2%) / 2) !important;
  margin-right: 0 !important;
  margin-bottom: 0;
  box-sizing: border-box;
}

/* —— 申报书列表：红箭头 → 蓝箭头 + 明显悬停动效（参考官网） —— */
.page-sy-blue .i_box_bk_list li {
  border: 1px solid #e8eef5;
  border-bottom: 2px solid transparent;
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.page-sy-blue .i_box_bk_list li a {
  background-image: none !important;
  padding-left: 18px !important;
  position: relative;
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.page-sy-blue .i_box_bk_list li a::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 50%;
  margin-top: -5px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent var(--lzit-blue);
  transition: border-color 0.25s ease, left 0.25s ease;
}

.page-sy-blue .i_box_bk_list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(0, 62, 131, 0.16) !important;
  border-color: #c5daf0;
  border-bottom-color: var(--lzit-blue);
  background-color: #f7fbff;
}

.page-sy-blue .i_box_bk_list li:hover a {
  color: var(--lzit-blue) !important;
  padding-left: 22px !important;
}

.page-sy-blue .i_box_bk_list li:hover a::before {
  left: 4px;
  border-left-color: var(--lzit-header);
}

.page-sy-blue .i_box_bk_list li:hover span {
  color: var(--lzit-blue) !important;
}

/* —— 支撑材料卡片悬停 —— */
.page-sy-blue .i_box_bk_list2 li {
  border: 1px solid #e8eef5;
  border-bottom: 2px solid transparent;
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.page-sy-blue .i_box_bk_list2 li a {
  transition: color 0.25s ease;
}

.page-sy-blue .i_box_bk_list2 li:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(0, 62, 131, 0.16) !important;
  border-color: #c5daf0;
  border-bottom-color: var(--lzit-blue);
  background-color: #f7fbff;
}

.page-sy-blue .i_box_bk_list2 li:hover a,
.page-sy-blue .i_box_bk_list2 li:hover span {
  color: var(--lzit-blue) !important;
}

/* —— 成果报告等列表悬停 —— */
.page-sy-blue .gdxwbox_list li {
  transition: transform 0.25s ease, padding-left 0.25s ease;
}

.page-sy-blue .gdxwbox_list li a {
  transition: color 0.25s ease;
}

.page-sy-blue .gdxwbox_list li:hover {
  transform: translateX(6px);
}

.page-sy-blue .gdxwbox_list li:hover a {
  color: var(--lzit-blue) !important;
}

.page-sy-blue .gdxwbox_list li:hover span,
.page-sy-blue .gdxwbox_list li:hover .date {
  background: var(--lzit-blue) !important;
  color: #fff !important;
}

/* —— 成果简介 / 视频区悬停 —— */
.page-sy-blue .aboutbox .ab_sp {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.page-sy-blue .aboutbox .ab_sp:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 62, 131, 0.18);
}

.page-sy-blue .cgjj_mtvpic {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.page-sy-blue .cgjj_mtvpic:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 62, 131, 0.18);
}

.page-sy-blue .c_copright a:hover {
  color: var(--lzit-accent-hot) !important;
}

/* 支撑材料细分列表：右栏单列，对齐烟大总览密度 */
.page-sy-blue .i_box_bk_list--zccl {
  margin-top: 18px;
}

.page-sy-blue .i_box_bk_list--zccl ul {
  overflow: hidden;
}

.page-sy-blue .i_box_bk_list--zccl li {
  float: none !important;
  width: auto !important;
  max-width: none;
  margin-right: 0 !important;
  margin-bottom: 8px;
  padding: 0 4% !important;
  height: 48px;
  line-height: 48px;
}

/* 案例图鉴：左右布局 */
/* 案例图鉴：避免 overflow 裁切；页脚始终可见 */
.page-sy-blue #caseGallery.gdxwbox {
  overflow: visible;
}

.page-sy-blue .c_copright {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

.page-sy-blue .case-gallery__body {
  display: flex;
  align-items: stretch;
  gap: 20px;
  margin-top: 12px;
  padding: 18px;
  background: linear-gradient(135deg, #f4f8fc 0%, #eaf2fa 55%, #f7fbff 100%);
  border: 1px solid #d7e6f4;
  border-radius: 12px;
  box-sizing: border-box;
}

.page-sy-blue .case-tabs {
  flex: 0 0 168px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 4px 0;
}

.page-sy-blue .case-tabs__btn {
  appearance: none;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.78);
  color: #3a4a5c;
  font-size: 16px;
  line-height: 1.2;
  padding: 16px 14px;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 1px 2px rgba(0, 62, 131, 0.04);
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.page-sy-blue .case-tabs__num {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--lzit-blue);
  opacity: 0.75;
}

.page-sy-blue .case-tabs__txt {
  flex: 1 1 auto;
  font-weight: 600;
}

.page-sy-blue .case-tabs__btn:hover {
  color: var(--lzit-header);
  border-color: #b7d2ea;
  background: #fff;
  transform: translateX(4px);
  box-shadow: 0 6px 16px rgba(0, 62, 131, 0.1);
}

.page-sy-blue .case-tabs__btn.is-on {
  background: linear-gradient(90deg, var(--lzit-blue) 0%, #3f86c8 100%);
  border-color: var(--lzit-blue);
  color: #fff;
  box-shadow: 0 8px 18px rgba(43, 110, 183, 0.28);
  transform: none;
}

.page-sy-blue .case-tabs__btn.is-on .case-tabs__num {
  color: rgba(255, 255, 255, 0.9);
  opacity: 1;
}

.page-sy-blue .case-gallery__main {
  flex: 1 1 auto;
  min-width: 0;
}

.page-sy-blue #caseGallery .carousel {
  width: 100%;
  max-width: none;
  height: 420px;
  margin: 0;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 62, 131, 0.12);
  background: #dbe7f3;
}

.page-sy-blue #caseGallery .carousel-btn {
  width: 42px;
  height: 42px;
  background: rgba(0, 62, 131, 0.72);
  color: #fff;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(0, 62, 131, 0.2);
}

.page-sy-blue #caseGallery .carousel-btn:hover {
  background: var(--lzit-header);
  color: #fff;
}

.page-sy-blue #caseGallery .carousel-btn.prev-btn {
  left: 14px;
  right: auto;
}

.page-sy-blue #caseGallery .carousel-btn.next-btn {
  right: 14px;
  left: auto;
}

@media screen and (max-width: 900px) {
  .page-sy-blue .case-gallery__body {
    flex-direction: column;
    padding: 12px;
  }

  .page-sy-blue .case-tabs {
    flex: none;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
  }

  .page-sy-blue .case-tabs__btn {
    flex: 1 1 calc(50% - 10px);
    min-width: 140px;
    padding: 12px 10px;
  }

  .page-sy-blue .case-tabs__btn:hover {
    transform: translateY(-2px);
  }

  .page-sy-blue #caseGallery .carousel {
    height: 280px;
  }
}

/* 红色装饰图（标题条等）色相偏移到蓝色系 */
.page-sy-blue .title_03 h1 img {
  filter: hue-rotate(195deg) saturate(1.05);
}

/* .cgjj_mtv 的背景图需要滤镜，但视频不需要。
   因此移除父容器的 filter，通过 ::before 伪元素单独对背景应用滤镜 */
.page-sy-blue .cgjj_mtv {
  background: none !important;
  filter: none !important;
}

.page-sy-blue .cgjj_mtv::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("../images/cgsp_bg.png") left top no-repeat;
  filter: hue-rotate(195deg) saturate(1.05);
  pointer-events: none;
}

/* 左侧栏标题背景：红 → 蓝 */
.page-sy-blue .lm-left .left-lmname {
  background: var(--lzit-blue) !important;
}

/* 左侧栏列表左边框：红 → 蓝 */
.page-sy-blue .list_subs {
  border-left-color: var(--lzit-blue) !important;
}

.page-sy-blue .list_subs ul li a:hover {
  color: var(--lzit-blue) !important;
}

.page-sy-blue .list_subs .thisnav {
  color: var(--lzit-blue) !important;
  font-weight: bold;
}

.page-sy-blue .list_subs ul li .inactives {
  color: var(--lzit-blue) !important;
}

/* 案例轮播按钮偏蓝 */
.page-sy-blue .prev-btn,
.page-sy-blue .next-btn {
  background: rgba(43, 110, 183, 0.85) !important;
  color: #fff !important;
}

.page-sy-blue .prev-btn:hover,
.page-sy-blue .next-btn:hover {
  background: var(--lzit-header) !important;
}

/* 移动端侧栏链接悬停 */
.page-sy-blue .m-nav a:hover,
.page-sy-blue .m-nav > ul > li > ul > li > a:hover {
  color: var(--lzit-accent-hot) !important;
}

.page-sy-blue .m-logo img {
  max-height: 42px;
  width: auto;
}

.page-sy-blue .m-head-sub {
  margin: 10px 12px 0;
  padding: 0;
  color: #fff;
  font-family: "Source Han Serif SC", "Noto Serif CJK SC", "Songti SC", "SimSun", "STSong", serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  text-align: center;
  line-height: 1.4;
}

.page-sy-blue .m-head-title {
  margin: 6px 12px 12px;
  padding: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

/* 移动端：紧凑顶栏，避免长标题撑高挡轮播 */
@media screen and (max-width: 1024px) {
  body.page-sy-blue {
    padding-top: 56px !important;
  }

  .page-sy-blue .header.pc,
  .page-sy-blue .inavbox.pc {
    display: none !important;
  }

  .page-sy-blue .wap.m-head {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 10px;
    min-height: 56px;
    height: auto;
    padding: 8px 48px 8px 12px;
    box-sizing: border-box;
    overflow: hidden;
  }

  .page-sy-blue .m-logo {
    float: none;
    flex: 0 0 auto;
    line-height: 0;
  }

  .page-sy-blue .m-logo img {
    max-height: 36px;
    width: auto;
    max-width: 160px;
  }

  .page-sy-blue .m-head-sub {
    flex: 1 1 auto;
    margin: 0;
    padding: 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-indent: 0;
    text-align: left;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .page-sy-blue .m-head-title {
    display: none !important;
  }

  .page-sy-blue .top {
    top: 16px;
    right: 12px;
  }

  .page-sy-blue .sy-banner-band {
    margin-top: 0;
    padding-top: 0;
  }

  .page-sy-blue .sy-banner-wrap.i_banner {
    width: 100%;
  }

  .page-sy-blue #sySlider .sy-slider__slide img {
    width: 100% !important;
    height: auto !important;
  }
}

/* ========== 首页横幅：横向平缓滑动（无箭头/圆点） ========== */
/* 通栏灰色底，与原 .i_banner 的 #f3f3f3 一致 */
.page-sy-blue .sy-banner-band {
  width: 100%;
  background-color: #f3f3f3;
  background-image: url(../images/banner_bg.png);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% auto;
  padding: 0 0 24px;
  box-sizing: border-box;
}

.page-sy-blue .sy-banner-wrap.i_banner {
  width: 86%;
  max-width: 1480px;
  margin: 0 auto;
  background: transparent;
  overflow: hidden;
}

.page-sy-blue .sy-slider {
  position: relative;
  width: 100%;
}

.page-sy-blue .sy-slider__viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.page-sy-blue .sy-slider__track {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.page-sy-blue .sy-slider__slide {
  flex: 0 0 auto;
  box-sizing: border-box;
  overflow: hidden;
  line-height: 0;
}

.page-sy-blue .sy-slider__slide img {
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  display: block;
  margin: 0 !important;
  border: 0;
  vertical-align: top;
}

@media screen and (max-width: 1200px) {
  .page-sy-blue .sy-head-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .page-sy-blue .sy-head-title h1 {
    font-size: 20px;
  }

  .page-sy-blue .sy-head-divider {
    margin: 0 18px;
    height: 60px;
  }

  .page-sy-blue .sy-head-logo img {
    max-height: 52px;
  }
}

@media screen and (max-width: 1024px) {
  .page-sy-blue .header.pc {
    background: var(--lzit-header) !important;
  }

  .page-sy-blue .sy-banner-wrap.i_banner {
    width: 100%;
  }

  .page-sy-blue .sy-banner-band {
    padding-bottom: 12px;
  }

  /* 成果视频与成果简介之间留白 */
  .page-sy-blue .cgjj_mtv {
    margin-bottom: 24px;
  }

  /* 申报书与支撑材料之间留白 */
  .page-sy-blue .qtcgbg .qtcgbgright {
    margin-top: 28px;
  }
}

/* ========== 元素渐入（参考 lzit.edu.cn） ========== */
.page-sy-blue .sy-reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

.page-sy-blue .sy-reveal.is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.page-sy-blue .sy-reveal--left {
  transform: translate3d(-28px, 0, 0);
}

.page-sy-blue .sy-reveal--right {
  transform: translate3d(28px, 0, 0);
}

.page-sy-blue .sy-reveal--left.is-in,
.page-sy-blue .sy-reveal--right.is-in {
  transform: translate3d(0, 0, 0);
}

.page-sy-blue .sy-reveal-d1 { transition-delay: 0.08s; }
.page-sy-blue .sy-reveal-d2 { transition-delay: 0.16s; }
.page-sy-blue .sy-reveal-d3 { transition-delay: 0.24s; }
.page-sy-blue .sy-reveal-d4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .page-sy-blue .sy-reveal,
  .page-sy-blue .sy-reveal.is-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
