/* ==========================================================================
   哈尔滨工业大学建筑与设计学院 - 首页主样式
   rem 基准：设计稿 1920px -> html font-size 100px（见 js/main.js fontSize()）
   所有尺寸 = 设计稿 px / 100 rem
   ========================================================================== */

/* ------------------------------ 基础重置 ------------------------------ */
html, body, h1, h2, h3, p, ul, li, dl, dt, dd, form, input {
  margin: 0;
  padding: 0;
}
body {
  font-family: "Source Han Sans CN", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 0.16rem;
  color: #333;
  background: #fff;
  -webkit-font-size-adjust: 100%;
}
ul, li { list-style: none; }
a { text-decoration: none; color: #333; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
a:hover { text-decoration: none; }
img { border: 0; vertical-align: middle; }
button, input { font-family: inherit; outline: none; }
em, i { font-style: normal; }

/* 衬线字体（标题/新闻标题：思源宋体近似栈） */
.f-serif,
.sec-title, .fea-title, .news-big-title, .news-sm-title,
.n-title, .r-title, .r-list a {
  /*font-family: "Source Han Serif CN", "Noto Serif SC", "STZhongsong", "SimSun", serif;*/      font-family: "微软雅黑" ;
}

/* 通用限宽容器（设计稿内容区 1550px） */
.wrapper { width: 100%; }
.inner { width: 15.5rem; margin: 0 auto; }

/* 清除浮动 */
.clearfix { zoom: 1; } /* IE11 触发 hasLayout */
.clearfix::after {
  content: "";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

/* IE11 不支持 :focus-within 的键盘可达兜底由 JS 加 .focus 类实现 */
.menu-item.focus > .sub-menu { display: block; }

/* 减少动效偏好 */
@media screen and (-ms-high-contrast: none) { /* IE11 忽略，见下方标准写法 */ }

/* ------------------------------ 头部 header ------------------------------ */
.header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
}
.header .inner { position: relative; }

/* 下滚吸顶（参考 _s339：滚动后主题色实底 + 下滑入场动画 + 头部收缩过渡） */
.header.fixed {
  position: fixed;
  background: #961d13;
  box-shadow: 0 0.06rem 0.14rem rgba(0, 0, 0, 0.2);
  -webkit-animation: headerSlideDown 0.3s ease;
  animation: headerSlideDown 0.3s ease;
}
.header.fixed .inner{padding-bottom: 0.3rem;}
@keyframes headerSlideDown {
  from { -webkit-transform: translateY(-100%); transform: translateY(-100%); }
  to { -webkit-transform: translateY(0); transform: translateY(0); }
}

/* logo（设计稿：x186-488 y36-120，高 85px；吸顶时收缩，高度过渡） */
.head-logo {
  float: left;
  margin-top: 0.36rem;
  -webkit-transition: margin-top 0.3s;
  transition: margin-top 0.3s;
}
.head-logo img {
  height: 0.85rem;
  -webkit-transition: height 0.3s;
  transition: height 0.3s;
}

/* 右上功能链接（搜索行距 logo 顶部对齐，y=33） */
.head-links{display: flex;align-items: center;}
.site-lang{display: flex;align-items: center;}
.head-right {
  float: right;
  margin-top: 0.33rem;
  -webkit-transition: margin-top 0.3s;
  transition: margin-top 0.3s;
}
.head-links {
  height: 0.24rem;
  line-height: 0.24rem;
  font-size: 0.16rem;
  color: #fff;
}
.head-link { color: #fff; }
.head-link:hover { opacity: 0.8; }
.head-links .sep {
  display: inline-block;
  width: 1px;
  height: 0.16rem;
  margin: 0 0.18rem;
  background: rgba(255, 255, 255, 0.5);
  vertical-align: middle;
}
.lang-btn {
  display: inline-block;
  margin-left: 0.18rem;
  padding: 0 0.04rem;
  border: 1px solid #fff;
  border-radius: 0.04rem;
  color: #fff;
  font-size: 0.14rem;
  line-height: 0.22rem;
}
.lang-btn:hover { background: rgba(255, 255, 255, 0.15); }
.search-toggle {
  width: 0.18rem;
  height: 0.18rem;
  border: 0;
  background: none;
  cursor: pointer;
  vertical-align: middle;
  line-height: 0.24rem;
  background: url(../images/sous.svg) no-repeat center / contain;
}
.search-toggle svg { vertical-align: middle; }
.search-toggle:hover { opacity: 0.8; }

/* 汉堡按钮（桌面隐藏，≤999 由 media.css 控制） */
.menu-btn { display: none; }

/* 主导航（设计稿：导航行 y=79-119，右缘对齐内容区右缘 x=1735，总宽约 835px）
   位于头部 .inner 内，绝对定位于内容区宽度上（.header .inner 为定位基准） */
.nav {
  position: absolute;
  top: 0.79rem;
  left: 0;
  right: 0;
  z-index: 90;
  -webkit-transition: top 0.3s;
  transition: top 0.3s;
}
/* 吸顶后的桌面端收缩布局（仅 ≥1000px；移动端保持原布局，见 media.css 同步处理） */
@media screen and (min-width: 1000px) {
  .header.fixed .head-logo { margin-top: 0.3rem; }
  .header.fixed .head-logo img { height: 0.6rem; }
  .header.fixed .head-right { margin-top: 0.2rem; }
  .header.fixed .nav { top: 0.6rem; }
}
.wp-menu { float: right; }
.wp-menu > .menu-item { float: left; position: relative; }
.menu-link {
  display: block;
  position: relative;
  padding: 0 0.36rem;
  line-height: 0.4rem;
  color: #fff;
  font-size: 0.2rem;
  font-weight: 500;
  padding-bottom: 0.1rem;
}
.menu-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom:0;
  width: 0;
  height: 0.04rem;
  margin-left: -0.425rem;
  border-radius: 0.3rem;
  background: #fff;
  transition: all 0.4s ease;
}
.menu-item:hover > .menu-link::after,
.menu-item.active > .menu-link::after,
.menu-item.focus > .menu-link::after { width: 0.85rem; }

/* 下拉子菜单（触摸/悬停展开二级栏目） */
.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  width: 1.72rem;
  margin-left: -0.86rem;
  padding: 0.06rem 0;
  background: #fff;
  box-shadow: 0 0.06rem 0.12rem rgba(0, 0, 0, 0.18);
  border-top: 0.03rem solid #961d13;
  z-index: 99;
}
.menu-item:hover > .sub-menu,
.menu-item.focus > .sub-menu { display: block; }
.sub-item .sub-link {
  display: block;
  padding: 0.1rem 0.1rem;
  text-align: center;
  font-size: 0.16rem;
  color: #333;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}
.sub-item .sub-link:hover { background: #961d13; color: #fff; }

/* 移动端面板附加区（快捷链接 + 搜索，仅 ≤999px 显示，样式见 media.css） */
.nav-extra { display: none; }

/* 搜索下拉面板 */
.wp-search {
  display: none;
  position: absolute;
  top: 0.6rem;
  right: 0;
  margin-top: 0;
  width: 3.8rem;
  padding: 0.24rem;
  background: #fff;
  box-shadow: 0 0.06rem 0.16rem rgba(0, 0, 0, 0.2);
  z-index: 101;
}
.header.fixed .wp-search{top: 0.5rem;}
.wp-search.open { display: block; }
.search-form { display: box; display: -webkit-box; display: -ms-flexbox; display: flex; }
.search-input { -ms-flex: 1; flex: 1; }
.search-title {
  width: 100%;
  height: 0.4rem;
  padding: 0 0.12rem;
  border: 1px solid #ddd;
  box-sizing: border-box;
  font-size: 0.14rem;
  color: #333;
}
.search-title:focus { border-color: #961d13; }
.search-btn { margin-left: 0.1rem; }
.search-submit {
  width: 0.6rem;
  height: 0.4rem;
  border: 0;
  background: #961d13;
  color: #fff;
  font-size: 0.14rem;
  cursor: pointer;
}
.search-submit:hover { background: #7a150f; }
.search-close {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 0.24rem;
  color: #999;
  line-height: 0.3rem;
}
.search-close:hover { color: #961d13; }
.search-tip {
  display: none;
  margin-top: 0.12rem;
  font-size: 0.13rem;
  color: #961d13;
  text-align: center;
}
.search-tip.show { display: block; }

/* ------------------------------ 首屏轮播 banner ------------------------------ */
.banner {
  position: relative;
  height: 9.52rem;
  overflow: hidden;
}
.banner::after{content: '';width: 11.1rem;height: 0.7rem;background: url(../images/ban_bott.png) no-repeat center / contain;position: absolute;right: -0.1rem;bottom: -0.22rem;}
/* 顶部红色渐变叠加，保证头部文字可读 */
.banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2.67rem;
  background: -webkit-linear-gradient(top, #961d13, rgba(150, 29, 19, 0));
  background: linear-gradient(to bottom, #961d13, rgba(150, 29, 19, 0));
  z-index: 5;
  pointer-events: none;
}
.banner-slider { height: 100%; }
.banner-slider .banner-item {
  height: 9.52rem;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}
/* 轮播切换后图片缓慢放大（Ken Burns 效果），时长与自动轮播周期(4.5s+0.7s)同步 */
.banner-slider .banner-item.slick-current {
  -webkit-animation: bannerZoom 5.2s ease-out forwards;
  animation: bannerZoom 5.2s ease-out forwards;
}
@-webkit-keyframes bannerZoom {
  from { -webkit-transform: scale(1); transform: scale(1); }
  to { -webkit-transform: scale(1.08); transform: scale(1.08); }
}
@keyframes bannerZoom {
  from { -webkit-transform: scale(1); transform: scale(1); }
  to { -webkit-transform: scale(1.08); transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .banner-slider .banner-item.slick-current {
    -webkit-animation: none;
    animation: none;
  }
}
/* slick 分页点：大图下方白色区域，右对齐内容区，砖红点/浅粉点 */
.banner .slick-dots {
  bottom: 0.18rem;
  right: 50%;
  margin-right: -7.75rem;
  text-align: right;
  z-index: 5;
}
.banner .slick-dots li {
  width: auto;
  height: auto;
  margin: 0 0 0 0.18rem;
  width: 0.1rem;
  height: 0.1rem;
  padding: 0;
  border-radius: 50%;
  background: #ddb7b4;
}
.banner .slick-dots li button {
  width: 0;
  height: 0;
  padding: 0;
  border-radius: 50%;
  font-size: 0;
}
.banner .slick-dots li button::before { display: none; }
.banner .slick-dots li.slick-active{ background: #b0524a; }

/* ------------------------------ 栏目标题组件 sec-head ------------------------------ */
.sec-head { position: relative; height: 0.88rem; }
.sec-icon {
  position: absolute;
  left: 0.44rem;
  top: -0.22rem;
  width: 0.8rem;
}
.sec-title {
  font-size: 0.42rem;
  font-weight: 900;
  line-height: 0.61rem;
  color: #000;
}
.sec-title span{font-size: 0.28rem;line-height: 1;}
.sec-sub {
  color: #961d13;
  font-size: 0.21rem;
  font-weight: 900;
  line-height: 0.3rem;
}
.sec-sub::after {
  content: "";
  display: inline-block;
  width: 1.68rem;
  border-top: 0.02rem dashed #961d13;
  margin-left: 0.16rem;
  vertical-align: middle;
}
.more {
  position: absolute;
  top: 0.5rem;
  font-size: 0.16rem;
  color: #961d13;
  line-height: 0.24rem;
  z-index:10;
}
.more::before {
  content: "";
  display: inline-block;
  width: 0.1rem;
  border-top: 1px solid #961d13;
  margin-right: 0.08rem;
  vertical-align: middle;
}
.more:hover { opacity: 0.8; }

/* ------------------------------ main1 综合新闻 ------------------------------ */
.main1 { padding: 0.86rem 0 0.28rem; }

.news-left { float: left; width: 7.75rem; }
.news-right { float: right; width: 7.14rem; margin-top: 0; }

/* 栏目头内更多链接位置：对齐左列右缘 */
.main1 .more { left: 6.9rem; }

/* 特色新闻轮播（slick）：图 448 + 红条 250 */
.news-fea { position: relative; margin-top: 0.56rem; }
.fea-img {
  display: block;
  height: 4.48rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.fea-bar {
  position: relative;
  height: 2.5rem;
  padding: 0.38rem 0.3rem 0.38rem 0.3rem;
  background: #961d13;
  box-sizing: border-box;
}
.fea-date { float: left; width: 1.29rem; padding-top: 0.02rem; }
.fea-week {
  display: block;
  color: #fff;
  font-size: 0.14rem;
  line-height: 0.2rem;
}
.fea-day {
  display: block;
  color: #fff;
  font-family: "Source Han Serif CN", "Noto Serif SC", "STZhongsong", "SimSun", serif;
  font-size: 0.34rem;
  font-weight: 900;
  line-height: 0.48rem;
}
.fea-year {
  display: inline-block;
  margin-top: 0.06rem;
  padding: 0 0.16rem;
  border-radius: 0.27rem;
  background: #fff;
  color: #961d13;
  font-size: 0.14rem;
  line-height: 0.2rem;
  text-align: center;
}
.fea-info { margin-left: 1.29rem; }
.fea-title {
  display: block;
  color: #fff;
  font-size: 0.18rem;
  font-weight: 700;
  line-height: 0.26rem;
  text-decoration: none;
}
.fea-title:hover { text-decoration: underline; }
.fea-desc {
  margin-top: 0.22rem;
  color: #fff;
  opacity: 0.74;
  filter: alpha(opacity=74);
  font-size: 0.16rem;
  line-height: 0.28rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
/* 下一页箭头：金色圆形，悬浮于红条右下 */
.fea-arrow {
  display: none;
  position: absolute;
  right: 0.33rem;
  bottom: 0.38rem;
  width: 0.44rem;
  height: 0.44rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #e8bd98;
  text-align: center;
  line-height: 0.46rem;
  cursor: pointer;
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
}
.fea-arrow:hover { background: #dcab84; }
.fea-arrow svg { vertical-align: middle; }

/* 右列大图新闻 */
.news-big-img {
  display: block;
  height: 4.4rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% auto;
  background-color: #000;
}
.news-date {
  margin-top: 0.16rem;
  color: #961d13;
  font-size: 0.14rem;
  font-weight: 600;
}
.news-big-title {
  display: block;
  margin-top: 0.05rem;
  font-size: 0.18rem;
  font-weight: 700;
  line-height: 0.26rem;
  color: #000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-big-title:hover,
.news-sm-title:hover { color: #961d13; }

/* 两张小图新闻 */
.news-sm-row { margin-top: 0.36rem; }
.news-sm { float: left; width: 3.34rem; }
.news-sm + .news-sm { float: right; }
.news-sm-img {
  display: block;
  height: 2.1rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% auto;
  background-color: #000;
}
.news-sm .news-date { margin-top: 0.1rem; }
.news-sm-title {
  display: block;
  margin-top: 0.05rem;
  font-size: 0.18rem;
  font-weight: 700;
  line-height: 0.26rem;
  color: #000;
  height: 0.52rem;
  overflow: hidden;
}

/* ------------------------------ 米色底纹理包裹区 ------------------------------ */
/* 米色止于研究区照片下方（设计稿 y=3146），红卡悬出米色区之外 */
.main-bg {
  position: relative;
  background: url(../images/main_bg.png) no-repeat center bottom / contain;
}
.main2, .main3 { position: relative; z-index: 1; }

/* ------------------------------ main2 通知公告 ------------------------------ */
.main2 { padding-top: 1.73rem; }
.main2 .more { right: 0; top: 0.29rem; }
.notice-list { margin-top: 0.45rem; }
.notice-item {
  float: left;
  width: 4.71rem;
  margin-right: 0.68rem;
  margin-bottom: 0.58rem;
  padding-bottom: 0.48rem;
  border-bottom: 1px dashed rgba(131, 36, 18, 0.3);
}
.notice-item:hover{border-bottom: 1px dashed #961d13;}
.notice-item:nth-child(3n) { margin-right: 0; }
.notice-item .n-date {
  float: left;
  width: 0.44rem;
  text-align: left;
  color: #e8bd98;
  font-family: Poppins, "Segoe UI", Arial, sans-serif;
}
.n-m { display: block; font-size: 0.18rem; font-weight: 600; line-height: 0.26rem; }
.n-m::after { content: " /"; }
.n-d { display: block;font-size: 0.32rem; font-weight: 600; line-height: 0.46rem; }
/* hover 效果：日期变主色（对应设计稿第三个条目的高亮态） */
.notice-item:hover .n-date { color: #961d13; }
.n-title {
  display: block;
  margin-left: 0.72rem;
  font-size: 0.18rem;
  font-weight: 700;
  line-height: 0.32rem;
  color: #000;
  height: 0.64rem;
  overflow: hidden;
}
.n-title:hover { color: #961d13; }

/* ------------------------------ main3 科学研究 ------------------------------ */
.main3 { padding: 0.27rem 0 0; }
.main3 .more { left: 5.09rem; top: 0.6rem; }
.research-wrap {
  position: relative;
  height: 7.17rem;
  margin-top: -0.81rem;
}
/* 照片层：多张照片堆叠，随选中的文章淡入切换 */
.research-photos {
  position: absolute;
  top: 0;
  right: 0;
  width: 9.28rem;
  height: 6.19rem;
  z-index: 2; /* 照片压在红卡上方（层级同设计稿） */
}
.research-photo {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.6s ease, visibility 0.6s ease;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.research-photo.active {
  opacity: 1;
  visibility: visible;
}
.research-card {
  position: absolute;
  top: 1.15rem;
  left: 0;
  width: 8.77rem;
  height: 6.02rem;
  padding: 0.4rem 3rem 0 0.63rem; /* 右侧留出照片重叠区，文字不被遮挡 */
  background: #961d13;
  box-sizing: border-box;
  overflow: hidden;
  z-index: 1;
}
.research-deco {
  position: absolute;
  left: 0.88rem;
  top: 2.55rem;
  width: 7.08rem;
  opacity: 1;
  pointer-events: none;
}
/* 科学研究：四篇文章同级 tab；选中（hover/点击）项展开为第一篇文章样式（时间+标题+简介） */
.r-date {
  float: left;
  width: 1.14rem;
  max-width: 0;
  padding-top: 0.06rem;
  opacity: 0;
  overflow: hidden;
  box-sizing: border-box;
  color: #fff;
  font-family: Poppins, "Segoe UI", Arial, sans-serif;
  -webkit-transition: max-width 0.35s ease, opacity 0.35s ease;
  transition: max-width 0.35s ease, opacity 0.35s ease;
  height: 0;
}
.r-date-top,
.r-date-day { width: 1.14rem; }
.r-year { font-size: 0.14rem; font-weight: 600; }
.r-week { margin-left: 0.26rem; font-size: 0.12rem; letter-spacing: 0.01rem; }
.r-date-day { margin-top: 0.02rem; line-height: 0.44rem; }
.r-m { font-size: 0.3rem; font-weight: 700; }
.r-line {
  display: inline-block;
  width: 1px;
  height: 0.24rem;
  margin: 0 0.08rem;
  background: #fff;
  vertical-align: -0.03rem;
}
.r-d { font-size: 0.29rem; font-weight: 700; }
.r-info {
  margin-left: 0;
  -webkit-transition: margin-left 0.35s ease;
  transition: margin-left 0.35s ease;
}
.r-title {
  display: block;
  color: #fff;
  font-size: 0.18rem;
  font-weight: 700;
  line-height: 0.32rem;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.r-title:hover { text-decoration: underline; }
.r-desc {
  max-height: 0;
  margin-top: 0;
  color: #fff;
  opacity: 0;
  filter: alpha(opacity=0);
  font-size: 0.16rem;
  line-height: 0.3rem;
  overflow: hidden;
  -webkit-transition: max-height 0.35s ease, opacity 0.35s ease, margin-top 0.35s ease;
  transition: max-height 0.35s ease, opacity 0.35s ease, margin-top 0.35s ease;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.r-list { position: relative;}
.r-list li {
  padding: 0.28rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.25);
  color: #fff;
  cursor: pointer;
}
.r-list li:first-child {}
.r-list a {
  color: #fff;
  font-size: 0.18rem;
  font-weight: 700;
  line-height: 0.32rem;
  text-decoration: none;
}
.r-title{white-space: nowrap;text-overflow: ellipsis;overflow: hidden;}
.r-list a:hover { opacity: 0.8;text-decoration: none; }
/* 选中态：展开日期与简介，呈现第一篇文章样式 */
.r-list li.active .r-date { max-width: 1.14rem; opacity: 1; height: auto;}
.r-list li.active .r-info { margin-left: 1.14rem; }
.r-list li.active .r-desc { max-height: 0.6rem; margin-top: 0.15rem; opacity: 0.7; filter: alpha(opacity=70); display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 2;overflow: hidden;}
.r-list li.active .r-title{display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 2;overflow: hidden;white-space: wrap;}

/* ------------------------------ 栏目滚动出场动画 ------------------------------ */
/* 仅当 JS（main.js）给 body 加上 reveal-on 后才启用隐藏态，保证无 JS 时内容可见 */
.reveal-on [data-reveal] {
  opacity: 0;
  -webkit-transition: opacity 0.9s ease, -webkit-transform 0.9s ease;
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal-on [data-reveal="up"] { -webkit-transform: translateY(0.7rem); transform: translateY(0.7rem); }
.reveal-on [data-reveal="down"] { -webkit-transform: translateY(-0.7rem); transform: translateY(-0.7rem); }
.reveal-on [data-reveal="left"] { -webkit-transform: translateX(-0.7rem); transform: translateX(-0.7rem); }
.reveal-on [data-reveal="right"] { -webkit-transform: translateX(0.7rem); transform: translateX(0.7rem); }
.reveal-on [data-reveal].revealed {
  opacity: 1;
  -webkit-transform: none;
  transform: none;
}

/* ------------------------------ footer 页脚 ------------------------------ */
.footer { background: #fff; padding-top: 0.78rem; }
.f-top { min-height: 0.9rem; }
.f-social { float: left; padding-top: 0.05rem; }
.f-social li { float: left; margin-right: 0.6rem; position: relative; }
.f-social li:last-child{margin: 0;}
/* 悬停时抬升层级：a 的 opacity 会创建层叠上下文，需保证二维码卡高于上方 main3(z-index:1) */
.f-social li:hover { z-index: 30; }
.f-social li a { display: block; position: relative; }
/* 社交图标：背景图实现（原图为 2x 素材，按设计稿一半尺寸显示） */
.f-social .s-ico {
  background-repeat: no-repeat;
  background-position: left center;
  background-size: auto 100%;
}
.f-social .s1 { width: 0.325rem; height: 0.3rem; background-image: url(../images/social-wechat.png); }
.f-social .s2 { width: 0.335rem; height: 0.3rem; background-image: url(../images/social-weibo.png); }
.f-social .s3 { width: 0.26rem; height: 0.3rem; background-image: url(../images/social-tiktok.png); }
.f-social .s4 { width: 0.64rem; height: 0.21rem; background-image: url(../images/social-xhs.png); }
.f-social a:hover { }

/* 触摸图标时上方弹出的二维码卡片 */
.f-social .s-qr {
  display: block;
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 0.78rem;
  height: 0.78rem;
  margin: 0 0 0.12rem -0.39rem;
  padding: 0.04rem;
  box-sizing: border-box;
  background: #fff;
  box-shadow: 0 0.03rem 0.06rem rgba(0, 0, 0, 0.16);
  border-top: 0.03rem solid #961d13;
  opacity: 0;
  visibility: hidden;
  -webkit-transform: translateY(0.08rem);
  transform: translateY(0.08rem);
  -webkit-transition: all 0.25s ease;
  transition: all 0.25s ease;
  pointer-events: none;
  z-index: 10;
}
.f-social .s-qr img {
  display: block;
  width: 100%;
  height: 100%;
}
/* 二维码卡片底部小箭头 */
.f-social .s-qr::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 0;
  height: 0;
  margin-left: -0.06rem;
  border-left: 0.06rem solid transparent;
  border-right: 0.06rem solid transparent;
  border-top: 0.06rem solid #fff;
}
.f-social li a:hover .s-qr,
.f-social li a:focus .s-qr {
  opacity: 1;
  visibility: visible;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
.f-logo { float: right; }
.f-logo img { height: 0.89rem; } /* 红色版 logo（303x132） */
.f-line {
  width: 9.9rem;
  margin-top: 0.17rem;
  border-top: 1px solid rgba(232, 189, 152, 0.63);
  transform: translateY(-0.4rem);
}
.f-contact { position: relative; padding: 0 0 1.2rem; }
.f-contact-title {
  float: left;
  width: 1.27rem;
  font-size: 0.2rem;
  font-weight: 700;
  line-height: 0.35rem;
  color: #111;
}
.f-item { float: left; font-size: 0.16rem; line-height: 0.35rem; }
.f-item dt { color: #961d13; }
.f-item dd { color: #961d13; }
.f-addr { width: 3.38rem; }
.f-tel { width: 2.33rem; }
.f-zip { width: 1.2rem; }
.f-qr { position: absolute; right: 0; top: 0.19rem; }
.qr-card {
  display: inline-block;
  width: 0.78rem;
  height: 0.78rem;
  padding: 0.04rem;
  background: #fff;
  box-shadow: 0 0.03rem 0.06rem rgba(0, 0, 0, 0.16);
  box-sizing: border-box;
}
.qr-card + .qr-card { margin-left: 0.1rem; }
.qr-card img { width: 0.7rem; height: 0.7rem; }
.f-bot {
  background: #961d13;
  text-align: center;
  position: relative;
}
.f-bot::before{content: '';width: 6.89rem;height: 0.36rem;background: url(../images/foot_bg.png) no-repeat center / contain;position: absolute;right: 0;bottom: 100%;}
.f-bot p {
  color: #fff;
  font-size: 0.17rem;
  line-height: 0.75rem;
}

/* ============================== 内页通用模块（列表页/文章页） ============================== */
/* 内页 banner：主楼照片 + 上下红色渐变 + 标语图（设计稿 1920x531，顶部渐变高 267，下部渐变 y335-531） */
.banner-sub {
  position: relative;
  height: 5.31rem;
  background: url(../images/banner-sub.jpg) no-repeat center / cover;
}
.banner-sub::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2.67rem;
  background: linear-gradient(180deg, rgba(150, 29, 19, 0.95) 0%, rgba(150, 29, 19, 0.72) 40%, rgba(150, 29, 19, 0) 100%);
}
/* .banner-sub::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.96rem;
  background: linear-gradient(180deg, rgba(150, 29, 19, 0.4) 0%, rgba(150, 29, 19, 0) 100%);
} */
.banner-sub .bs-slogan {
  position: absolute;
  left: 2.08rem;
  top: 2.57rem;
  width: 5.01rem;
  height: auto;
}

/* 栏目头：左侧栏目标题（红色短下划线）+ 右侧面包屑（设计稿：标题 26px，分割线距 banner 102px） */
.col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.52rem 0 0.13rem;
  border-bottom: 1px solid #e3e3e3;
}
.col-title {
  position: relative;
  font-size: 0.26rem;
  line-height: 0.4rem;
  font-weight: 700;
  color: #131313;
}
.col-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.14rem;
  width: 100%;
  height: 0.04rem;
  background: #961d13;
}
.col-crumb {
  font-size: 0.17rem;
  line-height: 0.3rem;
  color: #404040;
}
.col-crumb a { color: #404040; }
.col-crumb a:hover { color: #961d13; }

/* ------------------------------ 列表页：左侧栏目导航 + 右侧内容区 ------------------------------ */
/* 内容区限宽 1394：左导航 314 + 右内容 1060（参考 myweb.hit.edu.cn 列表布局） */
.col-wrap { width: 13.94rem; margin: 0 auto; }
.main-list { padding-bottom: 2.25rem; }
/* 左侧：一级栏目名（红底）+ 二级栏目列表（白底卡片，当前栏目高亮） */
.col-side { float: left; width: 3.14rem;margin-top: 0.4rem; }
.side-name {
  position: relative;
  padding: 0.26rem 0.3rem;
  background: #961d13;
  color: #fff;
  font-size: 0.24rem;
  line-height: 0.36rem;
  font-weight: 700;
}
/* 移动端展开按钮：桌面隐藏（样式见 media.css） */
.side-switch { display: none; }
.side-name a,
.side-name span { color: #fff; }
.side-nav {
  background: #fff;
  border: 1px solid #dbdbdb;
  border-top: none;
}
.side-nav ul { margin: 0; padding: 0.12rem 0; list-style: none; }
.side-nav li { position: relative; }
.side-nav a {
  display: block;
  padding: 0.18rem 0.3rem;
  font-size: 0.18rem;
  line-height: 0.3rem;
  color: #333;
  -webkit-transition: color 0.2s, background 0.2s;
  transition: color 0.2s, background 0.2s;
}
.side-nav a:hover { color: #961d13; }
/* 当前栏目选中态：左侧红条 + 红字 + 浅红底 */
.side-nav li.selected > a,
.side-nav a.selected {
  color: #961d13;
  font-weight: 700;
  background: rgba(154, 0, 3, 0.06);
}
.side-nav li.selected::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0.04rem;
  background: #961d13;
}


/* ---- 覆盖后台插件皮肤（simplenews.css 的 wp_listcolumn 默认样式） ---- */
/* CMS 渲染侧导航时实际生成 wp_listcolumn / wp_column / column-name 结构，
   插件样式按此结构编写且特异度更高；此处按同等结构提升选择器，
   本文件在插件 css 之后加载，特异度相同或更高即胜出 */
.side-nav .wp_listcolumn { border-top: none; border-bottom: none; }
.side-nav .wp_listcolumn .wp_column a,
.side-nav .wp_listcolumn .wp_subcolumn .wp_column a,
.side-nav .wp_listcolumn .wp_subcolumn .wp_subcolumn .wp_column a {
  padding: 0.18rem 0.3rem;
  font-size: 0.18rem;
  line-height: 0.3rem;
  color: #333;
  font-weight: normal;
  background: none;
  border-top: none;
  border-bottom: none;
  box-sizing: border-box;
}
.side-nav .wp_listcolumn .wp_column a:hover,
.side-nav .wp_listcolumn .wp_subcolumn .wp_column a:hover,
.side-nav .wp_listcolumn .wp_subcolumn .wp_subcolumn .wp_column a:hover {
  color: #961d13;
  background: none;
}
.side-nav .wp_listcolumn .wp_column a.selected,
.side-nav .wp_listcolumn .wp_subcolumn .wp_column a.selected,
.side-nav .wp_listcolumn .wp_subcolumn .wp_subcolumn .wp_column a.selected {
  color: #961d13;
  font-weight: 700;
  background: rgba(154, 0, 3, 0.06);
}
.side-nav .wp_listcolumn .wp_column a .column-name,
.side-nav .wp_listcolumn .wp_subcolumn .wp_column a .column-name,
.side-nav .wp_listcolumn .wp_subcolumn .wp_subcolumn .wp_column a .column-name {
  display: inline;
  padding: 0;
  line-height: inherit;
}
/* 右侧内容区：栏目头 + 列表 */
.col-main { float: right; width: 10.6rem; }

/* 列表页正文：标题 + 时间行 */
.news-rows { margin-top: 0.27rem; }
.news-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.26rem 0.06rem;
  border-bottom: 1px dashed rgba(131, 36, 18, 0.3);
}
.nr-title {
  -webkit-box-flex: 1;
  flex: 1;
  min-width: 0;
  font-size: 0.18rem;
  line-height: 0.32rem;
  color: #333;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
}
.nr-title::before {
  content: "";
  display: inline-block;
  width: 0.07rem;
  height: 0.07rem;
  margin-right: 0.16rem;
  border-radius: 50%;
  background: #961d13;
  vertical-align: middle;
}
.news-row:hover .nr-title { color: #961d13; }
.nr-date {
  -webkit-box-flex: 0;
  flex: none;
  margin-left: 0.3rem;
  font-size: 0.16rem;
  line-height: 0.3rem;
  color: #999;
  font-family: Poppins, "Segoe UI", Arial, sans-serif;
}

.col-list { margin-top: 0.57rem; }
.col-item {
  position: relative;
  height: 2.6rem;
  margin-bottom: 0.2rem;
  background: #fff;
  border: 1px solid #dbdbdb;
  -webkit-transition: background 0.3s;
  transition: background 0.3s;
}
/* 悬停态（设计稿高亮卡：#9A0003 @6% 底色 + 摘要变红） */
.col-item:hover { background: rgba(154, 0, 3, 0.06); }
/* 日期块（70x70 红底，日 25px / 年月 9px，白字） */
.ci-date {
  position: absolute;
  left: -0.12rem;
  top: 0.32rem;
  width: 0.7rem;
  height: 0.7rem;
  background: #961d13;
  color: #fff;
  text-align: center;
}
.ci-date .ci-d {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.25rem;
  line-height: 0.3rem;
  font-weight: 700;
}
.ci-date .ci-m {
  display: block;
  margin-top: 0.05rem;
  font-size: 0.09rem;
  line-height: 0.12rem;
  font-weight: 700;
}
.ci-body { height: 100%; padding: 0.32rem 0.2rem 0 1.03rem; }
.ci-tit {
  max-width: 8.5rem;
  height: 0.7rem;
  overflow: hidden;
  font-size: 0.22rem;
  line-height: 0.35rem;
  font-weight: 700;
  color: #333;
  display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 2;overflow: hidden;
}
.ci-tit a { color: #333; -webkit-transition: color 0.2s; transition: color 0.2s; }
.ci-tit a:hover { color: #961d13; }
.ci-desc {
  max-width: 10.88rem;
  font-size: 0.16rem;padding-top:10px;
  line-height: 0.32rem;
  color: #73817f;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  -webkit-transition: color 0.3s;
  transition: color 0.3s;
}
.col-item:hover .ci-desc { color: #961d13; }
.ci-more {
  position: absolute;
  left: 1.03rem;
  bottom: 0.31rem;
  font-size: 0.14rem;
  line-height: 0.2rem;
  font-weight: 700;
  color: #961d13;
}
.ci-more img {
  height: 0.11rem;
  margin-left: 0.08rem;
  vertical-align: middle;
}

/* 分页（盒子 48x48，上/下页与跳转按钮 80 宽，当前页红底白字） */
.page-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.86rem;
  font-size: 0.16rem;
  color: #666;
}
.page-nav .pn-label { margin-left: 0.08rem; }
.page-nav .pn-label:first-child { margin-left: 0; }
.pn-box {
  display: inline-block;
  min-width: 0.48rem;
  height: 0.48rem;
  padding: 0 0.06rem;
  margin-left: 0.08rem;
  box-sizing: border-box;
  border: 1px solid #dbdbdb;
  background: #fff;
  text-align: center;
  font-size: 0.16rem;
  line-height: 0.46rem;
  color: #666;
}
a.pn-box:hover { color: #961d13; border-color: #961d13; }
.pn-box.pn-prev, .pn-box.pn-next { width: 0.8rem; }
.pn-box.active {
  background: #961d13;
  border-color: #961d13;
  color: #fff;
}
.pn-ellipsis { margin: 0 0.2rem; }
.pn-input {
  width: 0.48rem;
  padding: 0;
  text-align: center;
  outline: none;
  font-size: 0.16rem;
  color: #666;
}
.pn-input:focus { border-color: #961d13; }
.pn-btn {
  width: 0.8rem;
  height: 0.48rem;
  margin-left: 0.16rem;
  background: #961d13;
  text-align: center;
  font-size: 0.16rem;
  line-height: 0.48rem;
  color: #fff;
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
}
.pn-btn:hover { background: #7d150d; }

/* ------------------------------ 文章页（displayinfo） ------------------------------ */
/* 左主栏 1132（内衬 66，正文宽 1000）+ 分隔线 + 右侧最新新闻栏 */
.main-info { padding: 0.46rem 0 2.35rem; }
.info-inner {
  display: flex;
  align-items: flex-start;
  width: 15.2rem;
  margin: 0 auto;
}
.info-main {
  width: 11.32rem;
  box-sizing: border-box;
  padding: 0 0.66rem;
}
.info-back {
  display: inline-block;
  margin-top: 0.31rem;
  font-size: 0.14rem;
  line-height: 0.2rem;
  font-weight: 700;
  color: #961d13;
}
.info-back img {
  height: 0.11rem;
  margin-right: 0.08rem;
  vertical-align: middle;
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}
.info-back:hover { color: #7d150d; }
.info-title {
  margin-top: 0.33rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid #961D13;
  font-size: 0.34rem;
  line-height: 0.48rem;
  font-weight: 700;
  color: #232323;
  text-align: center;
}
.info-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.22rem;
}
.info-meta { font-size: 0.16rem; line-height: 0.34rem; color: #848484; }
.info-share { font-size: 0.16rem; line-height: 0.34rem; color: #848484; }
.info-share .sh {
  display: inline-block;
  width: 0.34rem;
  height: 0.34rem;
  margin-left: 0.12rem;
  border-radius: 50%;
  background: #f5f5f5;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: rgba(0,0,0,0.16) 0 0.03rem 0.06rem;
}
.info-share .sh img {
  width: 0.2rem;
  height: 0.2rem;
  margin-top: 0.07rem;
  vertical-align: top;
}
.info-share .sh:hover { box-shadow: rgba(0, 0, 0, 0.534) 0 0.03rem 0.06rem; }

/* 分享按钮接 socialShare 插件（js/social-share.min.js，data-initialized 模式保留自定义图标）
   插件会向微信图标内注入 .wechat-qrcode 二维码卡片，此处按项目 rem 体系重写其弹层样式 */
.info-share .icon-wechat { position: relative; }
.info-share .wechat-qrcode {
  display: none;
  position: absolute;
  z-index: 9;
  top: 0.46rem;
  left: 50%;
  width: 2.1rem;
  margin-left: -1.05rem;
  padding-bottom: 0.12rem;
  border: 1px solid #eee;
  background: #fff;
  box-shadow: 0 0.02rem 0.1rem rgba(0, 0, 0, 0.25);
  text-align: center;
  color: #666;
}
.info-share .icon-wechat:hover .wechat-qrcode { display: block; }
.info-share .wechat-qrcode::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -0.06rem;
  width: 0.12rem;
  height: 0.12rem;
  margin-left: -0.06rem;
  background: #fff;
  border-left: 1px solid #eee;
  border-top: 1px solid #eee;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.info-share .wechat-qrcode h4 {
  height: 0.32rem;
  line-height: 0.32rem;
  margin: 0;
  font-size: 0.13rem;
  font-weight: normal;
  color: #777;
  background: #f5f5f5;
}
.info-share .wechat-qrcode .qrcode { width: 1.1rem; margin: 0.1rem auto; }
.info-share .wechat-qrcode .qrcode table { margin: 0 !important; }
.info-share .wechat-qrcode .qrcode img { display: block; width: 100%; height: auto; }
.info-share .wechat-qrcode .help p { margin: 0; line-height: 0.2rem; font-size: 0.12rem; }
.info-body { margin-top: 0.53rem; }
.info-body p {
  font-size: 0.18rem;
  line-height: 0.36rem;
  color: #232323;
}
.info-body .info-img {
  text-indent: 0;
  text-align: center;
  font-size: 0;
  margin: 0.25rem 0;
}
.info-img img { display: inline-block; }
.info-note {
  margin-top: 0.2rem;
  text-indent: 0;
  text-align: right;
  font-size: 0.16rem;
  line-height: 0.24rem;
  color: #2c2c2c;
}
.info-main .info-body img {margin:0 auto; max-width:940px; _width:expression(this.width > 940 ? "940px" : this.width); }   /**文章阅读部分图片大小限制**/
/* 上一篇/下一篇：红色栏目标签 + 灰色分割线 */
.info-turn{margin-top: 0.5rem;}
.wp_artfuns .wp_art_adjoin{display: flex;flex-wrap: wrap;position: relative;}
.wp_artfuns .wp_art_adjoin::after{content: '';width: 100%;height: 1px;background: #961D13;position: absolute;top: 50%;left: 0;right: 0;transform: translateY(-50%);}
.wp_artfuns .wp_art_adjoin .prev,
.wp_artfuns .wp_art_adjoin .next{width: 0.8rem;padding: 0;font-size: 0.18rem;color: #961D13;font-family: 'Poppins';line-height: 0.32rem;padding: 0.1rem 0;}
.wp_artfuns .wp_art_adjoin .prev-title,
.wp_artfuns .wp_art_adjoin .next-title{width: calc(100% - 0.8rem);white-space: nowrap;text-overflow: ellipsis;overflow: hidden;padding: 0.1rem 0;font-size: 0.18rem;line-height: 0.32rem;}
.wp_artfuns .wp_art_adjoin a{white-space: nowrap;text-overflow: ellipsis;overflow: hidden;}
.wp_artfuns .wp_art_adjoin a:hover{color: #961D13;}
/* 右侧栏：标题 + 时间线（竖线 + 菱形节点）+ 最新新闻列表（条目节距 99px） */
.info-side {
  flex: 1;
  box-sizing: border-box;
  margin-left: 0.06rem;
  border-left: 1px solid #961d13;
  padding: 0.33rem 0 0 0.88rem;
}
.is-title {
  font-size: 0.22rem;
  line-height: 0.32rem;
  font-weight: 700;
  color: #961d13;
}
.is-line { margin-top: 0.3rem; border-bottom: 1px solid #980337; }
.is-list { position: relative; margin-top: 0.26rem; }
.is-list::before {
  content: "";
  position: absolute;
  left: -0.245rem;
  top: 0.06rem;
  height: 4.08rem;
  width: 0.12rem;
  background: url(../images/info_xw.png) no-repeat center / contain;
}
.is-item { position: relative; height: 0.99rem; overflow: hidden; }
.is-item::before {
  content: "";
  position: absolute;
  left: -0.28rem;
  top: 0.08rem;
  width: 0.09rem;
  height: 0.09rem;
  background: #d69554;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.is-date {
  display: block;
  font-size: 0.16rem;
  line-height: 0.24rem;
  font-weight: 600;
  color: #961d13;
}
.is-link {
  display: block;
  margin-top: 0.09rem;
  font-size: 0.16rem;
  line-height: 0.26rem;
  color: #2b2b2b;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
}
.is-link:hover { color: #961d13; }

/* 减少动效偏好：关闭过渡 */
@media (prefers-reduced-motion: reduce) {
  * {
    -webkit-transition-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

.wp_listcolumn .wp_subcolumn{
  box-sizing: border-box;
  padding-left: 0.4rem;
}
.side-nav .wp_listcolumn .wp_subcolumn .wp_column a{
  font-size: 0.16rem;
  line-height: 0.25rem;
  padding: 0.1rem 0.3rem;
}
#wp_column_article .wp_entry div,
#wp_column_article .wp_entry p,
#wp_column_article .wp_entry span,
.info-body .wp_articlecontent div,
.info-body .wp_articlecontent p,
.info-body .wp_articlecontent span{font-size: 0.16rem!important;line-height: 2!important;font-family: 'Microsoft YaHei'!important;}

