/* ======================================================================
   home.css — T5 设计稿在 9.0 程序上的适配层
   基础视觉 100% 来自 tpl-b12.css（设计稿原样自带）。
   本文件负责：
   ① 系统拼页头尾适配：引擎始终拼接"系统级"common_header / site_footer
     （并非 tpl/Z09/common/ 下的文件），固定 DOM 为：
      .header > .header-top#navbar(#header_banner + .app-navbar)
             > .header-menu(#nav 数据驱动菜单)
             > .app-header(移动端品牌条) + #app-header(移动端抽屉)
      .footer > .container > .top(.logo + #footer_menu + .b) + .bottom
      本节把这套固定 DOM 重塑为 T5 设计稿：深色顶栏 + 白色菜单条 + 深色页脚。
   ② 页面外壳：.container.clearfix 全宽衔接、demo-bar 隐藏。
   ③ 程序 AJAX 生成内容（排行/公告/当期目录/视频/友链等）的样式映射。
   ====================================================================== */

/* ---------- ①a 页面外壳 ---------- */
.container.clearfix { max-width: none; width: 100%; padding: 0; margin: 0; }
.demo-bar { display: none !important; }

/* ---------- ①b 深色顶栏（banner 由后台"首页banner"铺底，深色渐变兜底） ---------- */
.header { position: relative; z-index: 100; }
.header-top { background: #181c32; color: #fff; }
.header-top .header-container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.25rem; min-height: 74px; padding-top: .5rem; padding-bottom: .5rem;
}
#header_banner { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; }
#header_banner img { display: block !important; max-height: 55px; width: auto; }
#header_banner h2 { display: block !important; color: #fff !important; margin: 0; }
#navbar[style*="background"] { min-height: 110px; display: flex; align-items: center; }
.header-top .app-navbar .d-flex { gap: .9rem; }

/* 关闭 Chrome 的滚动锚定（scroll anchoring）：header 是 sticky 占位的，
   banner 收起/展开会改变文档高度，浏览器为"保持视觉位置"自动补偿 scrollTop，
   与我们的收起判定形成正反馈 —— 展开→被补偿回退→又判成下滚收起→来回横跳。
   关掉后滚动位置完全由用户手势决定（2026-10-20 抖动修复）。 */
html { overflow-anchor: none; }

/* ---------- ①c 头部吸顶策略（对齐 SciEngine）：头部保持吸顶，滚动后仅期刊
   banner 平滑收起（品牌顶栏保留，JX 2026-10-16 指定）。
   注意不能用 .header-bottom{position:sticky} —— sticky 只在父容器内粘，
   .header 滚走时它会被一起带出视口（2026-10-16 实测）。
   收起用 max-height→0（overflow 裁切），margin/transform 方案会跳动或留空洞。 ---------- */
/* 用精确的 height 过渡（展开高度由 common_header.tpl 的 JS 量出并写死到 style）：
   max-height 方案在 banner 实际高度远小于上限时，动画前半段高度不变、后半段突然收起，
   观感就是"顿一下再跳"（2026-10-16 抖动复核）。 */
.header-fixed .header-banner {
  overflow: hidden;
  transition: height .26s ease;
}
.header-fixed .header.head-min .header-banner { height: 0 !important; }
/* 收起后导航条加投影，与页面内容分层 */
.header-fixed .header.head-min .header-bottom {
  box-shadow: 0 6px 18px rgba(24, 28, 50, .08);
}

/* 期刊 banner 条（后台"网站Banner"上传；JS 有图才显示，无图 display:none） */
.header-banner { width: 100%; aspect-ratio: 1920 / 235; }

/* 站内检索（顶栏右侧） */
.header-search { position: relative; width: 260px; }
.header-search form { position: relative; margin: 0; }
.header-search .fa-search {
  position: absolute; left: 11px; top: 12px; width: 15px; height: 15px;
  font-style: normal; pointer-events: none;
}
.header-search .fa-search::before {
  content: ""; position: absolute; left: 0; top: 0; width: 9px; height: 9px;
  border: 1.6px solid rgba(255, 255, 255, .65); border-radius: 50%;
}
.header-search .fa-search::after {
  content: ""; position: absolute; left: 8px; top: 9px; width: 6px; height: 1.6px;
  background: rgba(255, 255, 255, .65); border-radius: 1px; transform: rotate(45deg);
  transform-origin: 0 50%;
}
.header-search .search-input {
  width: 100%; height: 38px; padding: 0 12px 0 34px;
  border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .1);
  border-radius: .42rem; color: #fff; font-size: 13px; outline: none;
  box-shadow: none; transition: border .15s, background .15s;
}
.header-search .search-input::placeholder { color: rgba(255, 255, 255, .5); }
.header-search .search-input:focus { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .16); }

/* --- 醒目登录入口（四身份下拉） --- */
.header-login { flex: 0 0 auto; }
.login-wrap { position: relative; display: inline-block; }
.btn-login {
  display: inline-flex; align-items: center; gap: .4rem;
  border: 0; cursor: pointer; color: #fff; font-size: 14px; font-weight: 700;
  letter-spacing: .02em; padding: .58rem 1.15rem; border-radius: .42rem;
  background: linear-gradient(135deg, #3445e5 0%, #1b2ccf 100%);
  box-shadow: 0 8px 22px rgba(52, 69, 229, .42);
  transition: transform .15s, box-shadow .15s;
}
.btn-login:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(52, 69, 229, .5); }
.btn-login .fa-lock { position: relative; width: 13px; height: 10px; display: inline-block; font-style: normal; margin-top: 4px; }
.btn-login .fa-lock::before {
  content: ""; position: absolute; left: 2.5px; top: -5px; width: 8px; height: 6px;
  border: 1.6px solid currentColor; border-bottom: 0; border-radius: 4px 4px 0 0;
}
.btn-login .fa-lock::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 13px; height: 9px;
  border-radius: 2px; background: currentColor;
}
.login-menu {
  position: absolute; top: calc(100% + 10px); right: 0; width: 288px;
  background: #fff; border-radius: .42rem; box-shadow: 0 12px 40px rgba(24, 28, 50, .18);
  padding: .5rem; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s, transform .18s, visibility .18s; z-index: 300;
}
.login-wrap:hover .login-menu,
.login-wrap:focus-within .login-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.login-menu a {
  display: flex; align-items: center; gap: .65rem; padding: .55rem .6rem;
  border-radius: .32rem; transition: background .15s;
}
.login-menu a:hover { background: #f1f3ff; }
.login-menu a b { display: block; font-size: 13.5px; color: #181c32; }
.login-menu a span span { font-size: 11.5px; color: #7e8299; }
.login-menu .lm-ic {
  width: 32px; height: 32px; flex: 0 0 32px; border-radius: .32rem;
  display: inline-flex; align-items: center; justify-content: center;
}
.login-menu .lm-ic .iconfont { font-size: 15px; }

/* ---------- ①c 白色菜单条（#nav 数据驱动菜单） ---------- */
.header-menu {
  /*background: #fff; box-shadow: 0 2px 12px rgba(24, 28, 50, .06);*/
  position: relative; z-index: 90;
}
.header-menu .header-container { display: flex; align-items: stretch; }
.header-menu .menu { display: flex; flex-wrap: wrap; width: 100%; }
.header-menu .menu-item { position: relative; }
.header-menu .menu-item > .menu-link {
  display: flex; align-items: center; gap: .25rem;
  padding: 1rem 1.15rem; font-size: 15px; font-weight: 600;
  color: #3f4254 !important; cursor: pointer; position: relative; white-space: nowrap;
}
.header-menu .menu-item > .menu-link .menu-title { color: inherit; }
.header-menu .menu-item > .menu-link:hover,
.header-menu .menu-item > .menu-link:hover .menu-title { color: #3445e5 !important; }
.header-menu .menu-item.here > .menu-link,
.header-menu .menu-item.here > .menu-link .menu-title { color: #3445e5 !important; }
.header-menu .menu-item.here > .menu-link::after {
  content: ""; position: absolute; left: 1rem; right: 1rem; bottom: 0; height: 3px;
  border-radius: 2px 2px 0 0; background: #3445e5;
}
.header-menu .menu-arrow { font-style: normal; font-size: 11px; color: #7e8299; }
.header-menu .menu-arrow::before { content: "\25BE"; }

/* 下拉二级菜单（纯 CSS hover，程序菜单无悬停脚本） */
.header-menu .sub_menu {
  position: absolute; left: 0; top: 100%; min-width: 200px; margin: 0; padding: .45rem;
  list-style: none; background: #fff; border-radius: 0 0 .42rem .42rem;
  box-shadow: 0 14px 40px rgba(24, 28, 50, .18);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s, transform .18s, visibility .18s; z-index: 250;
}
.header-menu .menu-item:hover .sub_menu { opacity: 1; visibility: visible; transform: translateY(0); }
.header-menu .sub_menu li a {
  display: block; padding: .55rem .7rem; border-radius: .3rem;
  font-size: 13.5px; color: #3f4254;
}
.header-menu .sub_menu li a h3 { font-size: 13.5px; font-weight: 500; margin: 0; }
.header-menu .sub_menu li a:hover { background: #f1f3ff; color: #3445e5; }

/* ---------- ①d 移动端品牌条 + 抽屉菜单（桌面隐藏） ---------- */
.app-header { display: none; }
/* 深色底与 T5 移动版品牌条（#kt_header_mobile）保持一致 */
.app-header-primary { background: #181c32; padding: .65rem 0; }
.app-header-primary .app-container { display: flex; align-items: center; justify-content: space-between; }
.app-header-primary img { height: 30px; color: #fff; font-weight: 700; font-size: .95rem; letter-spacing: .5px; }
.app-header-primary .btn-icon { display: flex; align-items: center; justify-content: center; color: #fff; cursor: pointer; }
/* 三明治：系统用 ki-duotone 字体图标（字体不加载则不可见），隐藏图标改用 CSS 画三条杠 */
#app_header_menu_toggle { position: relative; color: #fff; }
#app_header_menu_toggle .ki-duotone,
#app_header_menu_toggle .fa-bars { display: none !important; }
#app_header_menu_toggle::before {
  content: ""; display: block; width: 18px; height: 2px; border-radius: 1px;
  background: currentColor; box-shadow: 0 5px 0 currentColor, 0 10px 0 currentColor;
}
#app-header-menu { display: none; background: #fff; }
#app-header-menu .ki-duotone { display: none; }
#app-header-menu .menu-item { border-bottom: 1px solid #ebedf3; }
#app-header-menu .menu-link {
  display: flex; align-items: center; gap: .6rem; padding: .85rem 1rem;
  font-weight: 600; color: #3f4254;
}
#app-header-menu .here .menu-title { color: #3445e5; }
#app-header-menu .menu-icon .fa { font-style: normal; }
#app-header-menu .menu-icon .fa::before { content: "\203A"; }
#app-header-menu .sub_menu { margin: 0 0 .4rem 1.2rem; padding: 0; list-style: none; }
#app-header-menu .sub_menu li a { display: block; padding: .4rem 0; font-size: .85rem; color: #7e8299; }
/* 系统手机菜单的二级菜单是 .menu-sub div（非 ul.sub_menu），同样收进层级样式；
   默认收起，点父级展开（.ap-open 由 js/mobile-shell.js 维护），避免抽屉一打开二级全铺开 */
#app-header-menu .menu-title { font-weight: 600; }
#app-header-menu .menu-sub { display: none; padding: 0 0 .45rem 1.3rem; }
#app-header-menu .menu-item.ap-open > .menu-sub { display: block; }
#app-header-menu .menu-sub .menu-link { padding: .4rem 0; font-weight: 400; color: #7e8299; }
/* 含二级的父项显示展开箭头（.ap-has-sub 由 js/mobile-shell.js 标记），展开时翻转 */
#app-header-menu .ap-has-sub > .menu-link .menu-arrow {
  display: inline-block; flex: 0 0 auto; width: 7px; height: 7px; margin-left: auto; margin-right: .35rem;
  border-right: 2px solid #7e8299; border-bottom: 2px solid #7e8299;
  transform: rotate(45deg) translateY(-2px); transition: transform .18s ease;
}
#app-header-menu .ap-open > .menu-link .menu-arrow { transform: rotate(225deg) translateY(-2px); }

/* ---------- ①g T5 站头/抽屉 → 已移入 home_m.css ----------
   移动端页由引擎拼：common_header.tpl(kt_header_mobile + kt_header) + *_m.tpl + site_footer.tpl，
   该 DOM 仅存在于移动端拼页，其样式由 *_m.tpl 加载的 home_m.css 提供。 */

/* ---------- ①g T5 站头/抽屉 ----------
   实测（2026-09-23）：引擎桌面版拼页现在也使用模板包 common_header.tpl
   （kt_header_mobile + kt_header + kt_wrapper），不再拼系统头部。
   本段与 home_m.css ① 等价、两处并存：桌面页只加载 home.css，
   移动页两个都加载。ID 选择器无冲突，不依赖加载顺序。 */
#kt_header_mobile { display: none; }
@media (max-width: 991.98px) {
  #kt_header_mobile { display: flex; align-items: center; justify-content: space-between; }
  #kt_header { display: none !important; }
  /* 移动端抽屉菜单（kt_mobile_toggle 开关 + 点击父子菜单展开） */
  #kt_mobile_menu { padding: .5rem 1rem 1rem; background: #fff; border-bottom: 1px solid #ebedf3; }
  #kt_mobile_menu ul, #kt_mobile_menu li { list-style: none; margin: 0; padding: 0; }
  #kt_mobile_menu a.menu-link {
    display: flex; align-items: center; gap: .35rem;
    padding: .7rem .25rem; font-size: 1rem; font-weight: 600; color: #181c32;
  }
  #kt_mobile_menu a.menu-link:hover { color: #3445e5; }
  #kt_mobile_menu .menu-item.here > .menu-link { color: #3445e5; }
  #kt_mobile_menu .sub_menu { display: none; margin: 0; padding: 0 0 .25rem 1rem; }
  #kt_mobile_menu .sub_menu li a {
    display: block; padding: .5rem .25rem; font-size: .9rem; font-weight: 400; color: #7e8299;
  }
  #kt_mobile_menu .sub_menu li a:hover { color: #3445e5; }
}
@media (min-width: 992px) {
  /* 桌面宽度下（手机横屏/窄窗口）T5 头部正常显示，移动条隐藏 */
  #kt_header_mobile { display: none !important; }
}

/* ---------- ①h 深色页脚（.top/.b/.bottom 为程序固定 DOM） ---------- */
.footer { margin-top: 2rem; padding: 2.2rem 0 1.6rem; font-size: 13px; }
.footer .top { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer .top .logo {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: .42rem;
  background: linear-gradient(135deg, #3445e5, #1b2ccf);
  display: inline-block;
}
.footer .top-right { flex: 1 1 480px; min-width: 0; }
/* 快捷导航（#footer_menu）链接改为 display:block 后走 .footer a 通用样式，
   与「作者服务」「联系我们」两列完全一致（2026-10-19：删除旧的行内 chip 覆盖样式） */
.footer .b {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .4rem 1.5rem;
  margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 12.5px;
}
.footer .bottom { margin-top: 1.1rem; }
.footer .bottom p { margin: .25rem 0; font-size: 12.5px; }

/* ---------- ①f 拼页头尾响应式 ---------- */
@media (max-width: 991.98px) {
  /* 小屏只保留系统移动品牌条（.app-header），隐藏桌面深色头，避免双头部 */
  .header-top { display: none !important; }
  .header-menu { display: none; }
  .app-header { display: block; margin-bottom: 0 !important; }
  /* 单行排布：logo 左 → 登录中 → 三明治右（系统 DOM 顺序为 ☰ 在前，用 order 重排） */
  .app-header .app-container { flex-wrap: nowrap; }
  .app-header .app-container > div:nth-child(1) { order: 3; }  /* ☰ 开关 → 最右 */
  .app-header .app-container > div:nth-child(2) { order: 1; }  /* logo → 最左 */
  .app-header .app-navbar { order: 2; margin-left: auto; }      /* 登录入口靠右 */
  .app-header .app-navbar .header-search { display: none; }     /* 检索表单小屏隐藏（≤991 本就 d-none） */
  .header-top .header-search { display: none !important; }
  .header-top .header-container { min-height: 60px; }
  #navbar[style*="background"] { min-height: 84px; }
}
@media (max-width: 760px) {
  .footer .top { flex-direction: column; }
  .footer .b { flex-direction: column; }
}

/* ---------- ② 轮播（图片新闻） ---------- */
#div_images_news { margin-bottom: 1.25rem; }
/* 程序数据层给 slide 的内联 background-size 是 100% 100%（强行拉伸、会变形），
   这里用 !important 覆盖为 cover：任何比例的图都等比缩放、居中裁切，不拉申 */
#images_news .swiper-slide { background-size: cover !important; }
#images_news { position: relative; overflow: hidden; border-radius: .42rem; background: #f3f6f9; height: 267px; }
#images_news .swiper-slide { border-radius: .42rem; }
#images_news .swiper-pagination-bullet { background: #fff; opacity: .5; }
#images_news .swiper-pagination-bullet-active { opacity: 1; background: #3445e5; }
#images_news .swiper-button-next,
#images_news .swiper-button-prev {
  width: 34px; height: 34px; border-radius: 50%; margin-top: -17px;
  background: rgba(24,28,50,.35); color: #fff;
}
#images_news .swiper-button-next::after,
#images_news .swiper-button-prev::after { font-size: 14px; }
/* 轮播标题：底部半透明深色条（标题由数据层拼入 .slide-title） */
#images_news .slide-title {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5;
  padding: .6rem 5.6rem .6rem 1rem;
  color: #fff; font-size: .92rem; font-weight: 600; line-height: 1.4;
  background: rgba(24, 28, 50, .45);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
#images_news .slide-title:hover { color: #fff; background: rgba(24, 28, 50, .58); }
/* 分页圆点右置（与标题条同排，靠右） */
#images_news .swiper-pagination { left: auto; right: .95rem; width: auto; text-align: right; bottom: .82rem; }

/* ---------- ③ 公告卡（左右两侧，AJAX 生成 .bulletin.hot） ---------- */
.bulletin.hot,
.bulletin {
  background: #fff; border: 1px solid #ebedf3; border-radius: .42rem;
  box-shadow: 0 0 20px rgba(24,28,50,.04); padding: 0 0 .8rem; margin-bottom: 1.25rem;
}
.bulletin > h4 {
  font-size: .95rem; font-weight: 600; color: #181c32;
  padding: .9rem 1rem .6rem; margin: 0;
}
.bulletin > h4::before {
  content: ""; display: inline-block; width: 3px; height: .95em; border-radius: 2px;
  background: #3445e5; margin-right: .5rem; vertical-align: -2px;
}
.bulletin ul { list-style: none; margin: 0; padding: 0 .75rem; }
.bulletin ul li { padding: .45rem 0; border-bottom: 1px dashed #ebedf3; }
.bulletin ul li:last-child { border-bottom: 0; }
.bulletin ul li a {
  display: block; font-size: .85rem; color: #3f4254;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.bulletin ul li a:hover { color: #3445e5; }
.bulletin ul li p { margin: .15rem 0 0; font-size: .72rem; color: #b5b5c3; }

/* 更多链接 */
.btn-more {
  display: inline-flex; align-items: center; gap: .2rem;
  margin: .4rem 1rem 0; font-size: .78rem; color: #7e8299;
}
.btn-more:hover { color: #3445e5; }
.btn-more i { font-style: normal; font-weight: 700; }

/* ---------- ④ 排行卡（switchHd / switchBd + m-row） ---------- */
.ranking .switchHd ul {
  display: inline-flex; background: #f3f6f9; border-radius: .3rem;
  padding: 2px; list-style: none; margin: 0; gap: 2px;
}
.ranking .switchHd ul li {
  font-size: .68rem; color: #7e8299; padding: .18rem .4rem;
  border-radius: .2rem; cursor: pointer; white-space: nowrap;
}
/* 排行卡头：标题与选项同排不换行 */
.ranking > .card-header .side-title { white-space: nowrap; }
.ranking > .card-header { flex-wrap: nowrap; }
.ranking .switchHd-wrap { margin-left: auto; }
.ranking .switchHd ul li.on { background: #fff; color: #3445e5; font-weight: 600; box-shadow: 0 1px 3px rgba(24,28,50,.12); }
.ranking .switchBd ul { display: none; list-style: none; margin: 0; padding: 0 1rem 0; }
.ranking .switchBd ul.on { display: block; }
.ranking .switchBd ul li {
  display: flex; align-items: flex-start; gap: .55rem;
  padding: .42rem 0; border-bottom: 1px dashed #ebedf3;
}
.ranking .switchBd ul li:last-child { border-bottom: 0; }
.ranking .switchBd ul li .views {
  flex: 0 0 20px; height: 20px; border-radius: .2rem; background: #f3f6f9;
  color: #7e8299; font-size: .72rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; padding: 0px 3px;
}
.ranking .switchBd ul li:nth-child(1) .views { background: #3445e5; color: #fff; padding: 0px 3px;}
.ranking .switchBd ul li:nth-child(2) .views { background: #8950fc; color: #fff; padding: 0px 3px; }
.ranking .switchBd ul li:nth-child(3) .views { background: #0bb783; color: #fff; padding: 0px 3px; }
.ranking .switchBd ul li a.tips {
  font-size: .84rem; color: #3f4254; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ranking .switchBd ul li a.tips:hover { color: #3445e5; }

/* ---------- ⑤ 精选视频（video_list） ---------- */
.videos .bd { padding: .75rem 1rem 1rem; }
#video_list { list-style: none; margin: 0; padding: 0; }
#video_list li { margin-bottom: .6rem; }
#video_list li a { display: flex; gap: .6rem; align-items: center; }
#video_list li .pic {
  flex: 0 0 96px; height: 60px; border-radius: .3rem; overflow: hidden; background: #f3f6f9;
}
#video_list li .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
#video_list li .txt h4 {
  margin: 0; font-size: .82rem; font-weight: 600; color: #3f4254; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
#video_list li a:hover .txt h4 { color: #3445e5; }

/* ---------- ⑥ 当期目录（article-box：AJAX 生成 art 行） ---------- */
.article-box .hd { border-bottom: 1px solid #ebedf3; padding: 0 1.15rem; }
.article-box .hd ul { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.article-box .hd ul li,
.article-box .hd ul a {
  font-size: .95rem; color: #7e8299; padding: .95rem .1rem; cursor: pointer;
  text-decoration: none; display: inline-block; border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.article-box .hd ul li.on,
.article-box .hd ul li:hover { color: #3445e5; border-bottom-color: #3445e5; font-weight: 600; }
.article-box .bd { padding: .25rem 1.25rem 1rem; }
.article-box .bd .list { display: none; }
.article-box .bd .list.on { display: block; }
.article-box .bd .list h3 {
  font-size: .85rem; color: #3445e5; background: #f3f6f9;
  display: inline-block; padding: .18rem .6rem; border-radius: .2rem; margin: .8rem 0 .2rem;
}

/* 当期/优先出版列表行（AJAX 生成的 li > des 结构 → 设计稿 art-row 视觉）
   布局对齐设计稿 .art-row：复选框独占左列，标题/作者/摘要/操作整体在右列 */
.article-box .bd .list ul { list-style: none; margin: 0; padding: 0; }
.article-box .bd .list ul > li {
  display: grid; grid-template-columns: auto 1fr; column-gap: .8rem;
  align-items: start; padding: 1rem 0; border-bottom: 1px solid #ebedf3;
}
.article-box .bd .list ul > li:last-child { border-bottom: 0; }
/* 复选框：左列，纵向跨「标题块 + 内容块」两行，与标题首行居中对齐 */
.article-box .bd .list ul > li > .checkbox {
  grid-column: 1; grid-row: 1 / span 2;
  width: 15px; height: 15px; margin: .32rem 0 0; padding: 0;
  accent-color: #3445e5; cursor: pointer; flex: none;
}
/* 右列第 1 行：标题 + 作者（text-mode 块） */
.article-box .bd .list ul > li > .des-top.text-mode { grid-column: 2; grid-row: 1; }
/* 右列第 2 行：摘要/关键词/操作（.des 内部仍走 flex：缩略图 + 正文） */
.article-box .bd .list ul > li > .des {
  grid-column: 2; grid-row: 2; min-width: 0; display: flex; gap: 1rem;
}
.article-box .bd .list .keyword dd { display: inline; margin: 0 .45rem 0 0; }
.article-box .bd .list .keyword dl { margin: 0; }
.article-box .bd .list .keyword dt { display: inline; }
.article-box .bd .list .des-left { flex: 0 0 180px; }
.article-box .bd .list .des-left img {
  width: 180px; height: 110px; object-fit: cover; border-radius: .3rem;
  border: 1px solid #ebedf3; box-shadow: 0 2px 8px rgba(24,28,50,.08);
}
.article-box .bd .list .des-right { flex: 1 1 auto; min-width: 0; }
.article-box .bd .list .des-top { margin-bottom: .2rem; }
.article-box .bd .list .des-top .title {
  font-size: 1rem; font-weight: 600; color: #181c32; line-height: 1.5;
}
.article-box .bd .list .des-top .title:hover { color: #3445e5; }
.article-box .bd .list .des-top .zz { margin: .1rem 0 0; font-size: .84rem; color: #7e8299; }
.article-box .bd .list .des-top .zz a { color: #7e8299; }
.article-box .bd .list .des-top .zz a:hover { color: #3445e5; }
/* 显示方式切换（bindModeToggle 在 list 上加 mode-img / mode-text）
   默认=摘要列表（与 T5 设计稿一致：无缩略图、显示摘要）；图文模式=显示封面缩略图 */
.article-box .bd .list .des-top.img-mode { display: none; }
.article-box .bd .list .des-left { display: none; }
.article-box .bd .list.mode-img .des-top.img-mode { display: block; }
.article-box .bd .list.mode-img .des-left { display: block; }
.article-box .bd .list.mode-img .des-top.text-mode,
.article-box .bd .list.mode-img .abstract { display: none; }

.article-box .bd .list .identification { margin: .2rem 0; font-size: .76rem; color: #7e8299; }
.article-box .bd .list .identification a { color: #7e8299; }
.article-box .bd .list .identification a:hover { color: #3445e5; }
.article-box .bd .list .abstract {
  font-size: .84rem; color: #7e8299; line-height: 1.7; margin: .25rem 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.article-box .bd .list .abstract a { color: #7e8299; }
.article-box .bd .list .abstract .icon-zhankai { cursor: pointer; color: #3445e5; font-style: normal; }
/* 摘要展开态（openText：图标 icon-zhankai ↔ icon-zhedie） */
.article-box .bd .list .abstract.open { display: block; -webkit-line-clamp: unset; overflow: visible; }
.article-box .bd .list .abstract .icon-zhedie { cursor: pointer; color: #3445e5; font-style: normal; }
.article-box .bd .list .keyword { font-size: .8rem; color: #7e8299; margin: .2rem 0; }
.article-box .bd .list .keyword a { color: #7e8299; }
.article-box .bd .list .keyword a:hover { color: #3445e5; }
/* 操作行 → 设计稿 btn-sm 视觉 */
.article-box .bd .list .xz { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .45rem; }
.article-box .bd .list .xz a {
  display: inline-flex; align-items: center; gap: .25rem;
  font-size: .76rem; padding: .28rem .7rem; border-radius: .2rem;
  border: 1px solid #ebedf3; color: #7e8299; background: #fff;
}
/* 方案 A：语义三色 chip（2026-10-19 定稿）——
   摘要=品牌蓝 / PDF=红 / HTML=青，淡底不抢论文标题重心，hover 反白实心 */
.article-box .bd .list .xz a.pt1 { border-color: transparent; background: #f1f3ff; color: #3445e5; }
.article-box .bd .list .xz a.pt2 { border-color: transparent; background: #fff1f2; color: #f64e60; }
.article-box .bd .list .xz a.pt3 { border-color: transparent; background: #e9fbf7; color: #1bc5bd; }
.article-box .bd .list .xz a:hover { border-color: #3445e5; color: #3445e5; }
.article-box .bd .list .xz a.pt1:hover { border-color: #3445e5; background: #3445e5; color: #fff; }
.article-box .bd .list .xz a.pt2:hover { border-color: #f64e60; background: #f64e60; color: #fff; }
.article-box .bd .list .xz a.pt3:hover { border-color: #1bc5bd; background: #1bc5bd; color: #fff; }
/* 引用已复制反馈（textToCopy → 按钮临时加 .copied，文案由 data-copied 注入）。
   必须排在 pt1/pt2/pt3 与 hover 之后，否则同特异性下会被三色规则覆盖 */
.article-box .bd .list .xz a.copied,
.article-box .bd .list .xz a.copied:hover {
  border-color: #0bb783; color: #0bb783; background: #f0fdf8;
}
/* 操作按钮图标（对齐主站 aipub.cn 详情页工具栏：摘要=文档 / PDF=下载 / HTML=地球） */
.article-box .bd .list .xz a.pt1::before,
.article-box .bd .list .xz a.pt2::before,
.article-box .bd .list .xz a.pt3::before {
  font-family: "iconfont" !important; font-style: normal; font-weight: 400;
  font-size: 1.18em; line-height: 1; speak: never;
}
.article-box .bd .list .xz a.pt1::before { content: "\e911"; }  /* icon-zhaiyao 文档 */
.article-box .bd .list .xz a.pt2::before { content: "\e64a"; }  /* icon-xiazai 下载 */
/* HTML 地球：IE/360 兼容模式不支持 mask（会渲染成实心方块），用 data-URI 背景（IE9+ 支持）。
   方案 A：常态青色 #1bc5bd；hover 时按钮反白实心，图标必须换成白色版
   —— data-URI 是固定色、不跟随 currentColor，白色版只能单独再给一张 */
.article-box .bd .list .xz a.pt3::before {
  content: ""; width: 1.18em; height: 1.18em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231bc5bd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18'/%3E%3Cpath d='M12 3a13.5 13.5 0 0 1 3.5 9 13.5 13.5 0 0 1-3.5 9 13.5 13.5 0 0 1-3.5-9A13.5 13.5 0 0 1 12 3z'/%3E%3C/svg%3E");
  background-position: center; background-repeat: no-repeat; background-size: contain;
}
.article-box .bd .list .xz a.pt3:hover::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18'/%3E%3Cpath d='M12 3a13.5 13.5 0 0 1 3.5 9 13.5 13.5 0 0 1-3.5 9 13.5 13.5 0 0 1-3.5-9A13.5 13.5 0 0 1 12 3z'/%3E%3C/svg%3E");
}

/* 当期顶部条（current-top → 设计稿 issue-bar 视觉） */
.article-box .current-top {
  display: flex; flex-wrap: wrap; align-items: center; gap: .8rem;
  background: #fff; border: 1px solid #ebedf3; border-radius: .42rem;
  box-shadow: 0 0 20px rgba(24,28,50,.04); padding: .9rem 1.15rem; margin-bottom: 1.25rem;
}
.article-box .current-top h4 { margin: 0; font-size: 1rem; color: #181c32; font-weight: 700; }
.article-box .current-top .journal-download_wrapper { display: flex; gap: .4rem; }
.article-box .current-top .journal-download_wrapper a {
  display: inline-flex; align-items: center; gap: .25rem; font-size: .78rem;
  padding: .3rem .7rem; border-radius: .2rem; border: 1px solid #ebedf3; color: #7e8299;
}
.article-box .current-top .journal-download_wrapper a:hover { border-color: #3445e5; color: #3445e5; }
.article-box .current-top .display-mode {
  margin-left: auto; display: inline-flex; align-items: center; gap: .45rem;
  font-size: .78rem; color: #7e8299;
}
.article-box .current-top .display-mode .iconfont { cursor: pointer; font-size: 1rem; color: #b5b5c3; }
.article-box .current-top .display-mode .iconfont.on { color: #3445e5; }
.article-box .current-top .display-mode .split { width: 1px; height: 14px; background: #ebedf3; }
.article-box .current-top .select-all { font-size: .78rem; color: #7e8299; }
.article-box .current-top .select-all .iconfont { cursor: pointer; color: #3445e5; }
.article-box .current-top .select-all .iconfont.selAll.on { background: #3445e5; color: #fff; border-radius: .14rem; }

/* ---------- ⑦ 右栏：期刊检索 / 期刊信息 / 友链 ---------- */
#home_issue_list { list-style: none; margin: .6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
#home_issue_list li a {
  display: inline-block; font-size: .76rem; color: #7e8299;
  background: #f3f6f9; border-radius: .2rem; padding: .2rem .55rem;
}
#home_issue_list li a:hover { background: #f1f3ff; color: #3445e5; }

/* 期刊信息卡内封面与字段（保留程序 _Xxx 空值隐藏类） */
.journal-info-cover { text-align: center; margin-bottom: .7rem; }
.journal-info-cover img { width: 198px; border-radius: .3rem; border: 1px solid #ebedf3; box-shadow: 0 2px 10px rgba(24,28,50,.1); }
.journal-info .info { display: flex; flex-wrap: wrap; }
.journal-info .info li { list-style: none; font-size: .95rem;}
.journal-info .info li span	{font-size: .84rem;}

/* 友情链接：轨道必须写 minmax(0,1fr) —— 1fr 等价于 minmax(auto,1fr)，
   auto 下限是 min-content，而链接有 white-space:nowrap，长刊名会把轨道顶到 332px，
   两列就把页面撑宽 300px+（英文站移动端实测溢出 302px）。改成 0 下限后省略号才能生效。 */
#FriendLinkList { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; }
#FriendLinkList li a {
  display: block; font-size: .78rem; color: #7e8299;
  background: #f3f6f9; border-radius: .2rem; padding: .38rem .5rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center;
}
#FriendLinkList li a:hover { background: #f1f3ff; color: #3445e5; }
/* 窄屏（≤991）：改单列并允许换行，长英文刊名完整显示而不是被截成一截 */
@media (max-width: 991px) {
  #FriendLinkList { grid-template-columns: minmax(0, 1fr); }
  #FriendLinkList li a { white-space: normal; overflow-wrap: break-word; word-wrap: break-word; text-overflow: clip; }
}

/* ---------- ⑧ 面包屑 ---------- */
.crumb a { color: #7e8299; font-size: .84rem; }
.crumb a:hover { color: #3445e5; }
.crumb .text-dark { font-size: .84rem; }

/* ---------- ⑨ 悬浮件 ---------- */
.scrolltop {
  position: fixed; right: 1.4rem; bottom: 2.4rem; z-index: 110;
  width: 42px; height: 42px; border-radius: 50%;
  background: #fff; border: 1px solid #ebedf3;
  box-shadow: 0 6px 18px rgba(24,28,50,.14); color: #181c32;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  opacity: 0; visibility: hidden; transition: all .25s;
}
.scrolltop.show { opacity: 1; visibility: visible; }
.scrolltop:hover { color: #3445e5; border-color: #3445e5; }
/* ki 字体图标（ki-arrow-up）依赖的字体不加载会渲染成空白，改为 CSS 画箭头 */
.scrolltop > i { display: none !important; }
/*.scrolltop::before {
  content: ""; width: 9px; height: 9px; margin-top: 4px;
  border-left: 2px solid currentColor; border-top: 2px solid currentColor;
  transform: rotate(45deg);
}*/

/* 漂浮广告（程序固定类名） */
.fixediv { position: fixed; left: 4px; top: 160px; z-index: 100; width: 102px; background: #fff; border: 1px solid #ebedf3; border-radius: .3rem; overflow: hidden; }
.fixediv.fixetop { top: 340px; }
.fixediv.fixediv-r { left: auto; right: 4px; }
.fixediv .btn { text-align: right; padding: 2px 6px; font-size: .7rem; }
.fixediv .btn a { color: #7e8299; }
.fixediv img { display: block; }

/* 底部弹窗公告（RightFooterNotice，程序固定类名） */
#RightFooterNoticeWindow { position: fixed; z-index: 200; width: 250px; height: 124px; min-width: 250px; min-height: 124px; background: #fff; border: 1px solid #ebedf3; border-radius: .42rem; box-shadow: 0 12px 32px rgba(24,28,50,.18); overflow: hidden; }
.RightFooterNoticeTitle { display: flex; justify-content: space-between; align-items: center; background: #181c32; color: #fff; padding: .35rem .6rem; cursor: move; }
.RightFooterNoticeTitle h2 { font-size: .85rem; margin: 0; }
.RightFooterNoticeContent { padding: .5rem .7rem; font-size: .8rem; max-height: 84px; overflow: auto; }
.RightFooterNoticeContent a { display: block; color: #3f4254; padding: .12rem 0; }

/* 居中漂浮公告 */
#MoveImagesWindowDiv {
  position: fixed; left: 50px; top: 60px; z-index: 210;
  background: #fff; border: 1px solid #ebedf3; border-radius: .42rem;
  box-shadow: 0 12px 32px rgba(24,28,50,.18); padding: .8rem 2.2rem .8rem 1rem; max-width: 340px;
}
#MoveImagesWindowDiv .close-btn { position: absolute; right: .6rem; top: .3rem; font-size: 1.1rem; color: #7e8299; cursor: pointer; }
#MoveImagesWindowDiv .notification-a { color: #3445e5; font-size: .88rem; }

/* 检索外层（footer 脚本固定 1110px，窄屏放开） */
@media (max-width: 1199.98px) {
  .search_ext_container, .search_wrap { width: 100% !important; }
}

/* 页脚深色底上的 kv（tpl-b12 的 .kv 为浅底配色，页脚需反转） */
.footer .kv li { border-color: rgba(255, 255, 255, .14); }
.footer .kv li span { color: rgba(255, 255, 255, .55); }
.footer .kv li b { color: #fff; }
.footer h5 { color: #fff; font-weight: 600; }
.footer a { color: rgba(255, 255, 255, .78); }
.footer a:hover { color: #fff; }


/* ======================================================================
   登录/注册页（引擎 common01 login 家族 · /editor/login /author/login 等）
   程序 DOM 原样保留，仅视觉适配为 b12 品牌风；login_all.css 在本文件之后
   加载，故全部规则加 body 前缀提权，其自带 !important 处同样对抗
   ====================================================================== */
body .login_middle {
  width: 100%; height: auto; float: none; box-sizing: border-box;
  max-width: 1140px; margin: 56px auto 72px; padding: 0 20px;
  display: flex; align-items: stretch;
}
/* 左侧品牌面板 */
body .login_middle .login_inst {
  float: none; width: auto; height: auto; overflow: visible;
  flex: 1 1 auto; margin: 0;
  background: linear-gradient(135deg, #3445e5 0%, #1b2ccf 100%);
  border-radius: .75rem 0 0 .75rem;
  padding: 48px 60px; color: #fff;
  display: flex; flex-direction: column; justify-content: center;
}
body .login_middle .login_inst::-webkit-scrollbar { width: 0; height: 0; }
body .login_inst_title { float: none; width: auto; text-align: left; }
body .login_inst_title span { color: #fff; font-size: 30px; line-height: 1.35; margin-left: 0; letter-spacing: 1px; }
body .login_inst_title::before { content: ""; display: block; width: 46px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .85); margin-bottom: 20px; }
body .login_inst_info { float: none; width: auto; margin-top: 24px; padding: 0; }
body .login_inst_info p { color: rgba(255, 255, 255, .85); font-size: 15px; line-height: 30px; }
body .login_inst_info .login_prompt { color: #ffd7d7; font-size: 14px; margin-top: 28px; font-weight: 600; }

/* 右侧登录卡 */
body .login_middle .login_login {
  float: none; width: 420px; height: auto; margin: 0;
  background: #fff; border: 1px solid #e4e6ef;
  border-radius: 0 .75rem .75rem 0;
  box-shadow: 0 .25rem 1.5rem rgba(23, 28, 54, .08);
  overflow: hidden;
}
/* 选项卡（dl>dd 原始布局，flex 强制两等分） */
body .loginHd { width: 100%; height: auto; float: left; margin: 0; background: #f8f9fd; border-bottom: 1px solid #e4e6ef; display: flex; }
body .loginHd dd { width: auto; flex: 1 1 50%; height: 54px; float: none; margin: 0; padding: 0; box-sizing: border-box; border: none; background: transparent; cursor: pointer; position: relative; text-align: center; }
body .loginHd dd span { font-size: 15px; font-weight: 600; color: #7e8299; line-height: 54px; }
body .loginHd_on { background: #fff !important; border: none !important; }
body .loginHd_on span { color: #3445e5; }
body .loginHd_on::after { content: ""; position: absolute; left: 50%; bottom: -1px; transform: translateX(-50%); width: 56px; height: 3px; border-radius: 2px; background: #3445e5; }

/* 表单行 */
/* 引擎未重置 dd 的浏览器默认 margin-left:40px，会整体右移撑出卡片，必须归零 */
body .loginHd dd, body .loginBd dd, body .loginBd ul dd { margin: 0; padding: 0; }
body .loginBd { width: auto; height: auto; float: none; margin: 26px 30px 0; }
body .login_DivList ul li {
  display: flex; align-items: center;
  width: 100%; height: 46px; margin-top: 16px; padding: 0;
  border: 1px solid #e4e6ef; border-radius: .42rem; background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
body .login_DivList ul li:first-child { margin-top: 0; }
body .login_DivList ul li:focus-within { border-color: #3445e5; box-shadow: 0 0 0 .2rem rgba(52, 69, 229, .12); }
body .login_DivList ul li > span { float: none; width: 92px; margin-left: 14px; line-height: 46px; font-size: 13px; color: #7e8299; }
body .login_DivRight { float: none !important; width: auto !important; height: 44px; flex: 1 1 auto; min-width: 0; background: none !important; display: flex; align-items: center; }
body .login_DivText, body .login_DivVar, body .login_DivSms {
  float: none; width: 100% !important; height: 42px; margin: 0 0 0 10px; padding: 0;
  border: none; outline: none; background: transparent; box-shadow: none;
  font-size: 14px; color: #3f4254; line-height: 42px;
}
body .login_DivText::placeholder, body .login_DivVar::placeholder, body .login_DivSms::placeholder { color: #b5b5c3; }
body .login_VarImg { float: none !important; width: 88px !important; height: 30px; margin: 0 10px 0 0; border: 1px solid #e4e6ef; border-radius: 4px; cursor: pointer; flex: 0 0 auto; }
body .login_SmsObtain, body .login_SmsResend { float: none; flex: 0 0 auto; line-height: 1; padding: 6px 10px; margin-right: 10px; border-radius: 4px; background: #f1f3ff; color: #3445e5; font-size: 13px; white-space: nowrap; }

/* 记住状态 / 链接行（内联 float/margin 用 !important 对抗） */
body .login_DivLink { width: 100%; margin: 18px 0 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
body .login_DivLink > span, body .login_DivLink .login_LinkB, body .login_DivLink .login_LinkC { float: none !important; margin: 0 !important; }
body .login_DivLink a { color: #3445e5; white-space: nowrap; }
body .login_DivLink a:hover { color: #1b2ccf; }
body .login_DivLink input[type="checkbox"] { accent-color: #3445e5; margin: 0 4px 0 0 !important; vertical-align: -2px; }
body .login_DivLink span { color: #7e8299; font-size: 13px; }

/* 提交按钮 */
body .login_DivSubmit {
  width: 100%; height: 46px; margin-top: 20px; float: left;
  border: none; border-radius: .42rem;
  background: #3445e5; color: #fff;
  font-size: 16px; font-weight: 600; line-height: 46px; letter-spacing: 4px;
  cursor: pointer; transition: background .15s ease;
}
body .login_DivSubmit:hover { background: #1b2ccf; color: #fff; }

/* 第三方登录图标 */
body .login_other { padding: 18px 0 6px; }
body .login_other ul li a { display: block; transition: transform .15s ease; }
body .login_other ul li a:hover { transform: translateY(-2px); }
body .login_other ul li img { border-radius: 50%; box-shadow: 0 2px 8px rgba(23, 28, 54, .12); }

/* 卡片底部条（部分角色页带注册提示） */
body .login_bott { height: auto; background: transparent; border-top: 1px dashed #e4e6ef; margin-top: 18px; padding: 14px 30px 18px; }
body .login_bott span { display: block; color: #7e8299; font-size: 13px; line-height: 22px; }
body .login_bott a { color: #3445e5; font-size: 13px; line-height: 22px; }

/* 窄屏窗口打开桌面模板时降级为上下堆叠 */
@media (max-width: 991px) {
  body .login_middle { flex-direction: column; margin: 28px auto 40px; }
  body .login_middle .login_inst { border-radius: .75rem .75rem 0 0; padding: 36px 28px; }
  body .login_inst_title span { font-size: 24px; }
  body .login_inst_title::before { margin-bottom: 14px; }
  body .login_middle .login_login { width: 100%; border-radius: 0 0 .75rem .75rem; }
}

/* ======================================================================
   v7 补充：侧栏卡片纵向间距
   左栏 col-lg-2 与右栏 .sticky-side 的卡片 tpl 里没有任何间距类/规则，
   各浏览器下都是贴死的；统一补 1.25rem（与文章列表节奏一致） */
.sticky-side > * + * { margin-top: 1.25rem; }
.col-lg-2 > .card + * { margin-top: 1.25rem; }

/* v7：j-head 右侧「期刊信息」面板显隐（原 d-none d-xl-block ≥1200px 才显示，
   常见笔记本宽度看不到；改 ≥992px 显示） */
.jh-side-col { display: none; }
@media (min-width: 992px) { .jh-side-col { display: block !important; } }

/* ======================================================================
   v8：过刊浏览板块（主栏 col-lg-7「当期目录」下方，JX 2026-10-16）
   数据来自首页已有的 ajax/issue_list（含 image_url 封面），无新增请求。
   ====================================================================== */
.past-issues { margin-top: 1.25rem; }
.past-issues .pi-grid {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .8rem;
  list-style: none; margin: 0; padding: 0;
}
.past-issues .pi-item { min-width: 0; }
.past-issues .pi-item > a { display: block; text-align: center; color: #3f4254; }
.past-issues .pi-cover {
  position: relative; display: block; width: 100%;
  aspect-ratio: 3 / 4; border-radius: .3rem; overflow: hidden;
  background: #f3f6f9; border: 1px solid #ebedf3;
}
.past-issues .pi-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* 无封面时的文字占位（IE 不支持 inset 简写，用 left/top + 宽高） */
.past-issues .pi-ph {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; color: #7e8299;
}
.past-issues .pi-name { display: block; margin-top: .4rem; font-size: .8rem; color: #3f4254; }
.past-issues .pi-year { display: block; font-size: .72rem; color: #7e8299; }
.past-issues .pi-item > a:hover .pi-name { color: #3445e5; }
.past-issues .pi-item > a:hover .pi-cover {
  border-color: #3445e5; box-shadow: 0 6px 16px rgba(24, 28, 50, .12);
}
@media (max-width: 1199.98px) {
  .past-issues .pi-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  .past-issues .pi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
  .past-issues .pi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
