/* ============================================================================
   ⌗ 2026-10-31 顶部栏目条（唯一一份规格）
   用户（原话）：「就是顶部栏目，你全部统一了，不要再分着来了」
                「学匠集的标题在 x=70.5，工具坊/最新资讯在 x=152.5，横着差 82px，字像左右跳动」
   之前的问题：每个页面各写一套（.mod-banner / .fl-banner / .ac-banner / .office-hero / .hp-hero），
   高度、内层容器宽度、字号各不相同 ⇒ 栏目之间一切换，标题就左右/上下跳。
   现在**只有这一份**：谁要做顶部栏目条，就用 class="zj-topband"，别再加别的前缀。

   规格（1440 宽实测对齐用）：
     高 137px；内层 max-width:1180px + padding:0 30px ⇒ 标题左边缘 x=152.5
     标题 25px / 700 / 白；副标题 12.5px 单行；同一道 90° 深青蓝遮罩 + 1px 白色内高光 + 2px 金色下边
   背景图：在标记上写 `style="--tb-img:url('/img/xxx.jpg')"`（每页可以换图，几何尺度不变）。
   ⚠ 站内的 .mod-banner 也归这份文件管（见文件末尾那三条），所以 library.html 里那份老规则会被覆盖。
   ============================================================================ */

.zj-topband {
  position: relative; height: 137px; margin: 0 0 6px; overflow: hidden; background: #002938; flex: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), inset 0 -2px 0 rgba(219,171,104,.55);
}
.zj-topband::before {
  content: ''; position: absolute; inset: 0;
  background-image: var(--tb-img, none);
  background-size: cover; background-position: center 50%; background-repeat: no-repeat;
  transform: scale(1.03);
  filter: saturate(.8) contrast(1.04) brightness(.92);
}
.zj-topband::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,41,56,.90) 0%, rgba(0,41,56,.80) 40%, rgba(0,41,56,.46) 66%, rgba(0,41,56,.16) 100%);
}
.zj-topband .in {
  position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; padding: 0 30px;
  height: 100%; box-sizing: border-box;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.zj-topband h1, .zj-topband h2, .zj-topband h3 {
  margin: 0 0 7px; font-size: 25px; font-weight: 700; line-height: 1.15; color: #fff; letter-spacing: 1px;
}
.zj-topband p {
  margin: 0; font-size: 12.5px; line-height: 1.75; color: #dbe9f2; max-width: 900px;
}
.zj-topband .btns { display: flex; gap: 10px; flex: none; }
.zj-topband .btns a { white-space: nowrap; }

@media (max-width: 820px) {
  .zj-topband { height: auto; min-height: 137px; }
  .zj-topband .in { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 18px; }
  .zj-topband h1, .zj-topband h2, .zj-topband h3 { font-size: 22px; }
  .zj-topband .btns { display: none; }
}

/* ---- 站内 library.html 的 .mod-banner 归这一份管（几何与上面完全一致）---- */
.mod-banner { height: 137px; margin: 0 0 6px; }
.mod-banner .mb-txt {
  max-width: 1180px; margin: 0 auto; padding: 0 30px; height: 100%; box-sizing: border-box;
  display: flex; flex-direction: column; justify-content: center;
}
.mod-banner .mb-txt h3 { margin: 0 0 7px; font-size: 25px; font-weight: 700; line-height: 1.15; letter-spacing: 1px; }
.mod-banner .mb-txt p { margin: 0; font-size: 12.5px; line-height: 1.75; max-width: 900px; }

@media (max-width: 820px) {
  .mod-banner .mb-txt { padding: 0 18px; }
  .mod-banner .mb-txt h3 { font-size: 22px; }
}
