/* ===== t25 版式（严格对齐 mm.sciconf.cn t25 模板） =====
   参考站 rem 基准：rem.js → 1rem = min(视口宽, 640) / 16
   （这就是之前"按钮又高又窄、字太大"的根因：我按 /7.5 算的，实际是 /16）

   参考站原始数值（全部以 rem 表达，随屏宽等比）：
     图块：宽 calc(50% - .5rem)、高 3.6rem、圆角 .3rem、内边距 .7rem、字号 .7rem
     首块：高 7.5rem、图标 2rem 居中、标题 margin-top 4.3rem、文字居中
     第 3 块：margin-top -3.6rem、margin-left calc(50% + .165rem)
     第 6 块起：宽 calc((100% - 1.4rem)/3)
   → 390 宽时：rem=24.38，普通块 182.8×87.8，首块 182.8×182.9，字号 17px
*/

html.tpl-t25{font-size:6.25vw}          /* 100 / 16 */
@media (min-width:641px){html.tpl-t25{font-size:40px}}

body.tpl-t25{background-color:#0b2f8a;-webkit-text-size-adjust:100%;text-size-adjust:100%;background-attachment:scroll}
body.tpl-t25 .g68-bg{display:none}
body.tpl-t25 .g68-in{padding:0}

/* 顶部轮播：图片多高就多高（参考站没有固定高度） */
body.tpl-t25 .t25-banner{position:relative;width:100%;overflow:hidden;background:#dfe6ee}
body.tpl-t25 .t25-banner .banner{position:relative}
body.tpl-t25 .t25-banner .slides{position:relative;overflow:hidden}
body.tpl-t25 .t25-banner .slide{display:none}
body.tpl-t25 .t25-banner .slide.on{display:block}
body.tpl-t25 .t25-banner img{width:100%;height:auto;display:block}
body.tpl-t25 .t25-dots{position:absolute;left:0;right:0;bottom:.2rem;display:flex;gap:.1rem;justify-content:center;z-index:2}
body.tpl-t25 .t25-dots i{width:.12rem;height:.12rem;border-radius:50%;background:rgba(255,255,255,.6);display:block}
body.tpl-t25 .t25-dots i.on{background:#fff}

/* 图块墙 */
body.tpl-t25 .t25-grid{display:flex;flex-wrap:wrap;align-content:flex-start;margin:.3rem 0 0;padding:0}
body.tpl-t25 .t25-tile{
  position:relative;box-sizing:border-box;display:block;flex:0 0 auto;text-decoration:none;
  width:calc(50% - .5rem);height:3.6rem;
  margin:.33rem 0 0 .33rem;
  border-radius:.3rem;overflow:hidden;color:#fff;
  padding:.7rem;box-shadow:none;
}
body.tpl-t25 .t25-tile b{
  display:block;font-size:.7rem;line-height:1.2;font-weight:500;color:#fff;
  text-align:left;letter-spacing:0;
}
body.tpl-t25 .t25-tile .ic{
  position:absolute;right:.5rem;bottom:.5rem;line-height:1;font-size:1rem;color:#fff;opacity:1;
}
body.tpl-t25 .t25-tile .ic img{width:1rem;height:1rem;object-fit:contain;display:block}

/* 首块：竖长（7.5rem），图标 2rem 居中，标题在 4.3rem 处居中 */
body.tpl-t25 .t25-tile:first-child{height:7.5rem;padding:.7rem}
body.tpl-t25 .t25-tile:first-child b{margin-top:4.3rem;text-align:center}
body.tpl-t25 .t25-tile:first-child .ic{
  left:50%;right:auto;bottom:50%;top:auto;transform:translate(-50%,50%);
  font-size:2rem;
}
body.tpl-t25 .t25-tile:first-child .ic img{width:2rem;height:2rem}

/* 第 3 块贴到第 2 块下（参考站：负上边距 + 右列定位） */
body.tpl-t25 .t25-tile:nth-child(3){margin-top:-3.6rem;margin-left:calc(50% + .165rem)}

/* 第 6 块起三列 */
body.tpl-t25 .t25-tile:nth-child(n+6){width:calc((100% - 1.4rem)/3)}

/* 渐变配色：与参考站同一组 */
body.tpl-t25 .t25-tile:nth-child(8n+1){background-image:linear-gradient(0deg,#183ec3 0%,#0591df 100%)}
body.tpl-t25 .t25-tile:nth-child(8n+2){background-image:linear-gradient(0deg,#036bd6 0%,#0ac6e0 100%)}
body.tpl-t25 .t25-tile:nth-child(8n+3){background-image:linear-gradient(0deg,#69b93d 0%,#d5cf00 100%)}
body.tpl-t25 .t25-tile:nth-child(8n+4){background-image:linear-gradient(0deg,#009ecf 0%,#4eb55f 100%)}
body.tpl-t25 .t25-tile:nth-child(8n+5){background-image:linear-gradient(0deg,#e48800 0%,#e56f22 50%,#e55641 100%)}
body.tpl-t25 .t25-tile:nth-child(8n+6){background-image:linear-gradient(0deg,#e09900 0%,#dcc500 100%)}
body.tpl-t25 .t25-tile:nth-child(8n+7){background-image:linear-gradient(0deg,#0291cc 0%,#4cb561 100%)}
body.tpl-t25 .t25-tile:nth-child(8n+8){background-image:linear-gradient(0deg,#0267d5 0%,#0bcde1 100%)}

/* 页脚 */
body.tpl-t25 .t25-foot{margin-top:.3rem;padding:.3rem .3rem .5rem;background:#fff;color:#8a8a8a;font-size:.25rem;line-height:1.6;text-align:center}
body.tpl-t25 .t25-foot a{color:#8a8a8a}

/* ===== 二级页：白底面包屑头 + 右侧菜单抽屉 ===== */
body.tpl-t25 .subpage .sp-head{
  background:#fff;color:#222;height:44px;padding:0 12px;
  display:flex;align-items:center;gap:.15rem;border-bottom:1px solid #ececec;
  position:sticky;top:0;z-index:20;
}
body.tpl-t25 .subpage .sp-head .crumb{display:flex;align-items:center;gap:6px;font-size:14px;color:#333;min-width:0}
body.tpl-t25 .subpage .sp-head .crumb a{color:#888;text-decoration:none}
body.tpl-t25 .subpage .sp-head .crumb .sep{color:#c8c8c8}
body.tpl-t25 .subpage .sp-head .crumb b{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.tpl-t25 .subpage .sp-head .sp-menu{margin-left:auto;font-size:20px;color:#333;padding:0 4px;line-height:1}
body.tpl-t25 .sp-drawer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;display:none}
body.tpl-t25 .sp-drawer.on{display:block}
body.tpl-t25 .sp-drawer .mask{position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.35)}
body.tpl-t25 .sp-drawer .panel{
  position:absolute;right:0;top:0;bottom:0;width:72%;background:#fff;
  box-shadow:-6px 0 24px rgba(0,0,0,.12);padding:16px 0;overflow:auto;
  animation:fbDrawerIn .24s ease both;
}
@keyframes fbDrawerIn{from{transform:translateX(30px);opacity:.6}to{transform:none;opacity:1}}
body.tpl-t25 .sp-drawer a{display:block;padding:13px 18px;font-size:15px;color:#333;text-decoration:none;border-bottom:1px solid #f2f2f2}
body.tpl-t25 .sp-drawer a.on{color:#0391df;font-weight:600}

/* 二级页内容底色 */
body.tpl-t25 .subpage .sp-body{background:#fff}
