/*
Theme Name: 真言环保报 Zhenyan News
Theme URI: https://example.com/themes/zhenyan-news
Author: 穆铅字
Author URI: https://example.com/muqianzi
Description: 报纸头版式中文企业主题:近纯白纸面与印墨黑灰阶,唯一点缀色为「编辑红笔」圈注;报头+文武刊头线、多栏细规则线网格、股票行情式数据栏、网点制版插图与「已核实」批注章。为天津真言环保设备有限公司(虚构演示)喷淋塔业务定制。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zhenyan-news
Tags: news, two-columns, custom-menu, custom-logo, translation-ready
真言环保报:白纸黑字,达标为证。本主题所涉公司与数据均为虚构演示。
*/

/* ==========================================================
   0. 铅字变量 —— 全站只有纸、墨、灰阶与一支红笔
   ========================================================== */
:root {
  --paper: #fdfdfb;          /* 新闻纸 */
  --paper-dim: #f4f4ef;      /* 纸面压灰(报眼/表头) */
  --ink: #191919;            /* 印墨黑 */
  --ink-soft: #34342f;       /* 正文墨 */
  --gray: #6d6d66;           /* 说明文字 */
  --gray-light: #98988f;     /* 次要说明 */
  --rule: #c9c9c1;           /* 细规则线 */
  --rule-soft: #e2e2da;      /* 更浅的格线 */
  --red: #c0392b;            /* 编辑红笔:仅用于圈注/批改/印章 */
  --font-hei: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC",
    "Noto Sans CJK SC", "Microsoft YaHei", "Heiti SC", sans-serif;
  --font-num: "Helvetica Neue", "Arial", var(--font-hei);
  --wrap: 1180px;
  --gut: 20px;
}

/* ==========================================================
   1. 基底 —— 直角、无阴影、无渐变、无圆角
   ========================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  border-radius: 0;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--font-hei);
  font-size: 15px;
  line-height: 1.85;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.35;
}

ul, ol {
  list-style: none;
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 16px;
  z-index: 200;
}

.skip-link:focus {
  left: 0;
}

/* 文武线(粗+细,刊头专用)与细规则线 */
.rule-wenwu {
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  height: 5px;
}

.rule-thin {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 1.6rem 0;
}

/* 菱形分隔符:文章之间的细线+小菱形 */
.rule-diamond {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 10px;
  margin: 1.6rem 0;
  line-height: 1;
}

.rule-diamond::before,
.rule-diamond::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--rule);
}

/* ==========================================================
   2. 报头(masthead)+ 栏目条(nav)
   ========================================================== */
.site-head {
  background: var(--paper);
}

.mast {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 1.2rem;
  padding: 1.6rem 0 1rem;
}

.mast-side {
  font-size: 12px;
  color: var(--gray);
  letter-spacing: .08em;
  line-height: 1.9;
}

.mast-side--left {
  text-align: left;
}

.mast-side--right {
  text-align: right;
  display: flex;
  justify-content: flex-end;
}

.mast-issue {
  border: 1px solid var(--ink);
  padding: .35em .8em;
  color: var(--ink);
  text-align: center;
}

.mast-issue strong {
  display: block;
  font-size: 14px;
  letter-spacing: .12em;
}

.mast-center {
  text-align: center;
}

.mast-name {
  font-size: clamp(2.4rem, 6.5vw, 4.3rem);
  font-weight: 900;
  letter-spacing: .14em;
  margin-right: -.14em; /* 抵消末字字距 */
  line-height: 1.08;
  color: var(--ink);
}

.mast-name a {
  text-decoration: none;
  color: inherit;
}

.mast-slogan {
  margin-top: .55rem;
  font-size: 12.5px;
  color: var(--gray);
  letter-spacing: .42em;
  margin-right: -.42em;
}

.mast-slogan .dot {
  color: var(--ink);
  font-size: 9px;
  vertical-align: 2px;
}

.custom-logo {
  margin: 0 auto .4rem;
  max-height: 56px;
  width: auto;
}

/* 栏目条:细线夹持、竖规则线分隔,滚动吸顶 */
.site-nav-bar {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}

body.is-scrolled .site-nav-bar {
  border-bottom-width: 2px;
}

.nav-inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-list li {
  display: flex;
}

.nav-list li + li {
  border-left: 1px solid var(--rule);
}

.nav-list a {
  display: flex;
  align-items: center;
  padding: .72em 1.55em;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .28em;
  margin-right: -.28em;
  text-decoration: none;
  color: var(--ink);
}

.nav-list a:hover,
.nav-list .current-menu-item > a,
.nav-list .current_page_item > a {
  background: var(--ink);
  color: var(--paper);
}

/* 汉堡按钮(≤768px 显示) */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--ink);
  margin: 8px var(--gut);
  padding: 10px 12px;
  cursor: pointer;
}

.nav-toggle-bars {
  display: block;
  width: 22px;
  height: 15px;
  position: relative;
}

.nav-toggle-bars i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}

.nav-toggle-bars i:nth-child(1) { top: 0; }
.nav-toggle-bars i:nth-child(2) { top: 6.5px; }
.nav-toggle-bars i:nth-child(3) { top: 13px; }

body.nav-open .nav-toggle-bars i:nth-child(1) { top: 6.5px; transform: rotate(45deg); }
body.nav-open .nav-toggle-bars i:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle-bars i:nth-child(3) { top: 6.5px; transform: rotate(-45deg); }

.nav-toggle-label {
  display: inline-block;
  margin-left: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .3em;
  vertical-align: 2px;
  color: var(--ink);
}

/* ==========================================================
   3. 编辑红笔:圈注 / 波浪批改线 / 椭圆批注章
   ========================================================== */
.pen-circle {
  position: relative;
  display: inline-block;
  padding: 0 .16em;
  font-weight: 700;
  color: var(--ink);
}

.pen-circle svg {
  position: absolute;
  left: -.32em;
  right: -.32em;
  top: -.3em;
  bottom: -.24em;
  width: calc(100% + .64em);
  height: calc(100% + .54em);
  overflow: visible;
  pointer-events: none;
}

.pen-circle path {
  fill: none;
  stroke: var(--red);
  stroke-width: 3;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

/* 有 JS 时:未入场先隐藏笔迹,入场后描边画圈 */
html.js .reveal:not(.is-visible) .pen-circle path {
  stroke-dashoffset: 1;
}

html.js .reveal.is-visible .pen-circle path {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset .9s ease .25s;
}

.pen-wavy {
  padding-bottom: 5px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='6' viewBox='0 0 24 6'%3E%3Cpath d='M0 3.2 Q3 .4 6 3.2 T12 3.2 T18 3.2 T24 3.2' fill='none' stroke='%23c0392b' stroke-width='1.7'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: 0 100%;
  background-size: 17px 5px;
}

.pen-stamp {
  display: inline-block;
  border: 2px solid var(--red);
  border-radius: 50%;           /* 唯一允许的圆:手写批注椭圆 */
  outline: 1px solid var(--red);
  outline-offset: 2.5px;
  color: var(--red);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .3em;
  padding: .5em .95em .5em 1.2em;
  transform: rotate(-7deg);
  opacity: .88;
  white-space: nowrap;
  line-height: 1;
}

.pen-stamp--corner {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 2;
}

/* ==========================================================
   4. 入场动效(IntersectionObserver .reveal)
   ========================================================== */
html.js .reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .55s ease, transform .55s ease;
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

html.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* ==========================================================
   5. 版头(section head)与多栏报纸网格
   ========================================================== */
.section {
  margin-top: 2.8rem;
}

.section-head {
  display: flex;
  align-items: center;
  gap: .9rem;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  padding: .5rem 0;
  margin-bottom: 1.4rem;
}

.col-tag {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .3em;
  padding: .34em .5em .34em .8em;
  text-decoration: none;
  flex: none;
}

a.col-tag:hover {
  background: var(--paper);
  color: var(--ink);
  box-shadow: none;
  outline: 1px solid var(--ink);
  outline-offset: -1px;
}

.section-head h2,
.section-head .section-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--ink);
}

.section-head .section-note {
  margin-left: auto;
  font-size: 12px;
  color: var(--gray-light);
  letter-spacing: .12em;
}

/* 多栏网格:栏间 1px 灰规则线(border-left) */
.col-grid {
  display: grid;
}

.col-grid > * {
  border-left: 1px solid var(--rule);
  padding-inline: 1.35rem;
  min-width: 0;
}

.col-grid > *:first-child {
  border-left: 0;
  padding-left: 0;
}

.col-grid > *:last-child {
  padding-right: 0;
}

.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ==========================================================
   6. 头版头条(hero)
   ========================================================== */
.frontpage {
  padding-top: 1.8rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 0;
}

.hero-story {
  padding-right: 1.6rem;
}

.hero-figure {
  border-left: 1px solid var(--rule);
  padding-left: 1.6rem;
  position: relative;
}

.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 400;
  color: var(--gray);
  letter-spacing: .35em;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: .28em .2em;
  margin-bottom: .9rem;
}

.headline-main {
  font-size: clamp(1.9rem, 4.6vw, 3.15rem);
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1.22;
  color: var(--ink);
  margin-bottom: .55rem;
}

.headline-sub {
  font-size: 1.02rem;
  font-weight: 400;
  color: var(--gray);
  letter-spacing: .14em;
  margin-bottom: 1.1rem;
}

.byline {
  font-size: 12.5px;
  color: var(--gray-light);
  letter-spacing: .1em;
  border-bottom: 1px solid var(--rule);
  padding-bottom: .55rem;
  margin-bottom: .9rem;
}

/* 双栏导语:栏间细规则线,首段加粗 */
.lead-cols {
  columns: 2;
  column-gap: 1.5rem;
  column-rule: 1px solid var(--rule);
  text-align: justify;
}

.lead-cols p {
  margin-bottom: .85em;
  break-inside: avoid-column;
}

.lead-cols p:first-child,
.article-lead {
  font-weight: 700;
  color: var(--ink);
}

.hero-cta {
  margin-top: 1.2rem;
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  align-items: center;
}

/* 新闻配图:网点制版插图 + 图注 */
.news-figure {
  border: 1px solid var(--ink);
  padding: 10px;
  background: var(--paper);
  position: relative;
}

.tower-art {
  width: 100%;
  height: auto;
  display: block;
}

.figure-caption,
.wp-caption-text,
figcaption {
  font-size: 12.5px;
  color: var(--gray);
  line-height: 1.8;
  border-top: 1px solid var(--rule);
  margin-top: 10px;
  padding-top: 8px;
  text-align: justify;
}

/* ==========================================================
   7. 数据栏:股票行情式细表
   ========================================================== */
.ticker {
  margin-top: 2.2rem;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  display: grid;
  grid-template-columns: auto repeat(5, minmax(0, 1fr));
  font-variant-numeric: tabular-nums;
}

.ticker-label {
  writing-mode: vertical-rl;
  text-orientation: upright;
  background: var(--ink);
  color: var(--paper);
  font-size: 11.5px;
  letter-spacing: .28em;
  padding: .55em .3em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tick {
  border-left: 1px solid var(--rule);
  padding: .7rem .95rem .6rem;
}

.tick-name {
  display: block;
  font-size: 11.5px;
  color: var(--gray);
  letter-spacing: .14em;
}

.tick-val {
  font-family: var(--font-num);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: .01em;
  line-height: 1.4;
  white-space: nowrap;
}

.tick-val small {
  font-size: .62em;
  font-weight: 400;
  color: var(--gray);
  letter-spacing: .05em;
}

.tick-trend {
  font-size: 11px;
  color: var(--gray);
  letter-spacing: .1em;
}

/* ==========================================================
   8. 稿件通用体裁:条目、消息体、栏头小标签
   ========================================================== */
.story {
  padding-bottom: .2rem;
}

.story-tag {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  padding: .25em .45em .25em .65em;
  margin-bottom: .6rem;
}

.story-title {
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.4;
  margin-bottom: .5rem;
}

.story-title a {
  text-decoration: none;
}

.story-title a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.story-model {
  font-family: var(--font-num);
  font-size: 2rem;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: .02em;
  border-bottom: 1px solid var(--rule);
  padding-bottom: .35rem;
  margin-bottom: .6rem;
}

.story p {
  text-align: justify;
  margin-bottom: .7em;
}

.story .story-lead {
  font-weight: 700;
  color: var(--ink);
}

.story-spec {
  font-size: 12.5px;
  color: var(--gray);
  border-top: 1px solid var(--rule);
  padding-top: .55rem;
  letter-spacing: .04em;
}

.story-sign {
  text-align: right;
  color: var(--gray);
  font-size: 13px;
  letter-spacing: .1em;
}

.story-more {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  margin-top: .5rem;
}

/* ==========================================================
   9. 专版(工艺工序)与核实专栏框
   ========================================================== */
.step-no {
  font-family: var(--font-num);
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
  border-bottom: 2px solid var(--ink);
  display: inline-block;
  padding-bottom: .25rem;
  margin-bottom: .7rem;
}

.step-title {
  font-size: 1.05rem;
  letter-spacing: .1em;
  margin-bottom: .45rem;
}

.verify-box {
  margin-top: 1.8rem;
  border: 1px solid var(--ink);
  outline: 1px solid var(--ink);
  outline-offset: 3px;
  padding: 1.4rem 1.6rem 1.3rem;
  position: relative;
  background: var(--paper-dim);
}

.verify-box .verify-head {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .4em;
  color: var(--ink);
  margin-bottom: .6rem;
}

.verify-box p {
  text-align: justify;
  max-width: 46em;
}

.verify-box .pen-stamp {
  position: absolute;
  right: 1.4rem;
  bottom: 1.1rem;
}

/* ==========================================================
   10. 读者来信
   ========================================================== */
.letter {
  border: 1px solid var(--rule);
  padding: 1.2rem 1.3rem 1rem;
}

.letter + .letter {
  margin-top: 1.1rem;
}

.letter-head {
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--gray);
  border-bottom: 1px solid var(--rule);
  padding-bottom: .4rem;
  margin-bottom: .7rem;
}

.letter p {
  text-align: justify;
  margin-bottom: .6em;
}

.letter-from {
  text-align: right;
  color: var(--gray);
  font-size: 13px;
}

.letter-reply {
  border-top: 1px solid var(--rule);
  margin-top: .7rem;
  padding-top: .7rem;
  color: var(--ink-soft);
}

.letter-reply strong {
  letter-spacing: .2em;
}

/* ==========================================================
   11. 快讯列表 / 归档列表
   ========================================================== */
.brief-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  padding: .8rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}

.brief-list li:first-child {
  padding-top: 0;
}

.brief-date {
  font-family: var(--font-num);
  font-size: 12.5px;
  color: var(--gray);
  white-space: nowrap;
  letter-spacing: .05em;
}

.brief-title {
  font-size: 1.02rem;
  font-weight: 700;
}

.brief-title a {
  text-decoration: none;
}

.brief-title a:hover {
  text-decoration: underline;
}

.brief-excerpt {
  font-size: 13.5px;
  color: var(--gray);
  margin-top: .2rem;
  text-align: justify;
}

/* ==========================================================
   12. 编读往来(联系)
   ========================================================== */
.contact-board {
  border: 1px solid var(--ink);
}

.contact-board dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-board .cell {
  border-top: 1px solid var(--rule);
  padding: .85rem 1.2rem;
}

.contact-board .cell:nth-child(-n+2) {
  border-top: 0;
}

.contact-board .cell:nth-child(2n) {
  border-left: 1px solid var(--rule);
}

.contact-board dt {
  font-size: 11.5px;
  color: var(--gray);
  letter-spacing: .28em;
}

.contact-board dd {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.contact-note {
  font-size: 12px;
  color: var(--gray-light);
  margin-top: .7rem;
  letter-spacing: .06em;
}

/* ==========================================================
   13. 按钮(墨块,直角)
   ========================================================== */
.btn {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  padding: .68em 1.7em;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .22em;
  text-decoration: none;
  cursor: pointer;
  font-family: var(--font-hei);
}

.btn:hover {
  background: var(--paper);
  color: var(--ink);
}

.btn--ghost {
  background: var(--paper);
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

/* ==========================================================
   14. 检索表单
   ========================================================== */
.search-form {
  display: flex;
  border: 1px solid var(--ink);
  max-width: 460px;
}

.search-form .search-field {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: .62em .9em;
  font-family: var(--font-hei);
  font-size: 14px;
  color: var(--ink);
}

.search-form .search-field::placeholder {
  color: var(--gray-light);
  letter-spacing: .1em;
}

.search-form .search-submit {
  border: 0;
  border-left: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-hei);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .3em;
  padding: 0 1.2em 0 1.5em;
  cursor: pointer;
}

.search-form .search-submit:hover {
  background: var(--paper);
  color: var(--ink);
}

/* ==========================================================
   15. 内页版面:主栏 + 中缝栏(sidebar)
   ========================================================== */
.page-main {
  padding-top: 2rem;
}

.layout-rail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 0;
}

.layout-rail .main-col {
  padding-right: 2rem;
  min-width: 0;
}

.layout-rail .rail {
  border-left: 1px solid var(--rule);
  padding-left: 2rem;
}

.widget {
  margin-bottom: 2rem;
}

.widget-title {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .3em;
  padding: .32em .5em .32em .8em;
  margin-bottom: .8rem;
}

.widget ul li {
  border-bottom: 1px solid var(--rule);
  padding: .5rem 0;
  font-size: 13.5px;
}

.widget ul li a {
  text-decoration: none;
}

.widget ul li a:hover {
  text-decoration: underline;
}

.rail-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}

.rail-table th,
.rail-table td {
  border-bottom: 1px solid var(--rule);
  padding: .45em .2em;
  text-align: left;
  font-weight: 400;
  color: var(--ink-soft);
}

.rail-table th {
  color: var(--gray);
  letter-spacing: .15em;
  white-space: nowrap;
}

.widget-cta {
  margin-top: .8rem;
}

/* ==========================================================
   16. 文章页(single / page)
   ========================================================== */
.article-head {
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1rem;
  margin-bottom: 1.3rem;
}

.article-title {
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: .03em;
  margin: .5rem 0;
}

.article-meta {
  font-size: 12.5px;
  color: var(--gray);
  letter-spacing: .12em;
  display: flex;
  flex-wrap: wrap;
  gap: .4em 1.4em;
}

.entry-content {
  max-width: 74ch;
}

.entry-content > p {
  text-align: justify;
  margin-bottom: 1em;
}

.entry-content > p:first-of-type {
  font-weight: 700;
  color: var(--ink);
}

.entry-content h2 {
  font-size: 1.3rem;
  border-bottom: 1px solid var(--ink);
  padding-bottom: .3em;
  margin: 1.6em 0 .7em;
}

.entry-content h3 {
  font-size: 1.1rem;
  margin: 1.3em 0 .5em;
  letter-spacing: .06em;
}

.entry-content ul,
.entry-content ol {
  margin: 0 0 1em 1.2em;
}

.entry-content ul li {
  list-style: none;
  position: relative;
  padding-left: 1.1em;
  margin-bottom: .35em;
}

.entry-content ul li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: .1em;
  font-size: .6em;
  color: var(--ink);
}

.entry-content ol {
  list-style: cjk-ideographic;
  padding-left: .5em;
}

.entry-content ol li {
  margin-bottom: .35em;
}

.entry-content blockquote {
  border-left: 3px solid var(--ink);
  border-right: 1px solid var(--rule);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 1em 1.2em;
  margin: 1.2em 0;
  color: var(--gray);
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0;
}

.entry-content th,
.entry-content td {
  border: 1px solid var(--rule);
  padding: .5em .8em;
  text-align: left;
}

.entry-content th {
  border-bottom: 2px solid var(--ink);
  letter-spacing: .1em;
}

.entry-content img {
  border: 1px solid var(--ink);
  padding: 6px;
}

.entry-content a {
  text-decoration: underline;
}

.entry-content code,
.entry-content pre {
  font-family: "SF Mono", "Menlo", monospace;
  font-size: .88em;
  background: var(--paper-dim);
  border: 1px solid var(--rule);
  padding: .1em .35em;
}

.entry-content pre {
  padding: 1em;
  overflow-x: auto;
}

.alignleft { float: left; margin: .3em 1.2em .8em 0; }
.alignright { float: right; margin: .3em 0 .8em 1.2em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }

.article-sign {
  text-align: right;
  color: var(--gray);
  letter-spacing: .12em;
  margin-top: 1.4rem;
  font-size: 13.5px;
}

/* 上一版 / 下一版 */
.post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  margin-top: 2rem;
}

.post-nav > div {
  padding: .9rem 1rem;
  font-size: 13.5px;
  min-width: 0;
}

.post-nav .nav-next {
  border-left: 1px solid var(--rule);
  text-align: right;
}

.post-nav .nav-label {
  display: block;
  font-size: 11.5px;
  color: var(--gray-light);
  letter-spacing: .3em;
  margin-bottom: .2rem;
}

.post-nav a {
  text-decoration: none;
  font-weight: 700;
}

.post-nav a:hover {
  text-decoration: underline;
}

/* 分页 */
.pagination,
.page-links {
  margin-top: 2rem;
  font-family: var(--font-num);
}

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--ink);
  width: fit-content;
}

.pagination .page-numbers {
  display: inline-block;
  padding: .45em 1em;
  text-decoration: none;
  border-left: 1px solid var(--rule);
  font-size: 14px;
  color: var(--ink);
}

.pagination .page-numbers:first-child {
  border-left: 0;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: var(--ink);
  color: var(--paper);
}

/* ==========================================================
   17. 行情表(产品参数表)
   ========================================================== */
.quote-wrap {
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  position: relative;
  margin: 1.4rem 0;
}

.quote-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.quote-table caption {
  text-align: left;
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--gray);
  padding: .5em 0;
  border-bottom: 1px solid var(--ink);
}

.quote-table th,
.quote-table td {
  padding: .58em .8em;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
  text-align: left;
}

.quote-table thead th {
  font-size: 11.5px;
  color: var(--gray);
  letter-spacing: .22em;
  border-bottom: 1px solid var(--ink);
  background: var(--paper-dim);
}

.quote-table tbody tr:last-child td {
  border-bottom: 0;
}

.quote-table .q-name {
  letter-spacing: .08em;
  color: var(--ink);
}

.quote-table .q-val {
  font-family: var(--font-num);
  font-weight: 700;
  color: var(--ink);
  text-align: right;
  white-space: nowrap;
}

.quote-table .q-unit {
  color: var(--gray);
  font-size: 12.5px;
  white-space: nowrap;
}

.quote-table .q-trend {
  text-align: center;
  color: var(--gray);
  font-size: 12px;
  width: 3.5em;
}

/* ==========================================================
   18. 404 寻物启事
   ========================================================== */
.lost-notice {
  max-width: 660px;
  margin: 3.5rem auto;
  border: 1px solid var(--ink);
  outline: 1px solid var(--ink);
  outline-offset: 5px;
  padding: 2.6rem 2.2rem 2.2rem;
  text-align: center;
  position: relative;
}

.lost-notice .lost-kicker {
  font-size: 12.5px;
  letter-spacing: .5em;
  color: var(--gray);
}

.lost-notice h1 {
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  font-weight: 900;
  letter-spacing: .4em;
  margin: .4rem 0 .9rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--ink);
}

.lost-notice p {
  text-align: justify;
  margin-bottom: .8em;
}

.lost-notice .lost-no {
  font-family: var(--font-num);
  font-weight: 900;
  font-size: 1.2em;
}

.lost-notice .search-form {
  margin: 1.4rem auto 1rem;
}

.lost-actions {
  display: flex;
  gap: .8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* ==========================================================
   19. 页脚报尾
   ========================================================== */
.site-foot {
  margin-top: 3.5rem;
}

.foot-inner {
  padding: 1.6rem 0 1.4rem;
}

.colophon {
  border: 1px solid var(--ink);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.colophon .cell {
  border-left: 1px solid var(--rule);
  padding: .8rem 1rem;
}

.colophon .cell:first-child {
  border-left: 0;
}

.colophon dt {
  font-size: 11px;
  color: var(--gray);
  letter-spacing: .3em;
}

.colophon dd {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}

.foot-supplier {
  border: 1px solid var(--rule);
  border-top: 0;
  padding: .7rem 1rem;
  font-size: 12.5px;
  color: var(--gray);
  text-align: justify;
  letter-spacing: .02em;
}

.foot-nav {
  margin-top: 1.1rem;
  display: flex;
  justify-content: center;
}

.foot-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.foot-nav li + li {
  border-left: 1px solid var(--rule);
}

.foot-nav a {
  display: inline-block;
  padding: .2em 1.2em;
  font-size: 12.5px;
  letter-spacing: .2em;
  text-decoration: none;
  color: var(--gray);
}

.foot-nav a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.foot-bottom {
  border-top: 1px solid var(--rule);
  margin-top: 1.1rem;
  padding-top: .9rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--gray-light);
  letter-spacing: .08em;
}

/* ==========================================================
   20. 页首小型页头(归档/检索)
   ========================================================== */
.page-band {
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1rem;
  margin-bottom: 1.6rem;
}

.page-band .page-title {
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  font-weight: 900;
  letter-spacing: .05em;
  margin-top: .5rem;
}

.page-band .archive-description {
  color: var(--gray);
  font-size: 13.5px;
  margin-top: .4rem;
  max-width: 60em;
}

.notice-empty {
  border: 1px solid var(--rule);
  padding: 1.6rem;
  color: var(--gray);
  text-align: justify;
  max-width: 46em;
}

/* ==========================================================
   21. 响应式:≤768px 单栏,规则线转横向
   ========================================================== */
@media (max-width: 1000px) {
  .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols-4 > *:nth-child(2n + 1) { border-left: 0; padding-left: 0; }
  .cols-4 > *:nth-child(-n + 2) { border-top: 0; }
  .cols-4 > *:nth-child(n + 3) {
    border-top: 1px solid var(--rule);
    padding-top: 1.1rem;
    margin-top: 1.1rem;
  }
  .ticker {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .ticker-label {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    grid-column: 1 / -1;
    padding: .4em 0;
  }
  .tick:nth-child(n + 5) {
    border-top: 1px solid var(--rule);
  }
  .tick:nth-child(2),
  .tick:nth-child(5) {
    border-left: 0;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 14.5px;
  }

  .mast {
    grid-template-columns: 1fr;
    gap: .7rem;
    text-align: center;
    padding-top: 1.1rem;
  }

  .mast-side--left,
  .mast-side--right {
    text-align: center;
    justify-content: center;
  }

  .mast-side--left {
    order: 2;
    font-size: 11.5px;
  }

  .mast-center { order: 1; }
  .mast-side--right { order: 3; }

  /* 汉堡导航 */
  .nav-inner {
    justify-content: space-between;
    align-items: center;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .site-nav-bar .nav-list {
    display: none;
    width: 100%;
    flex-direction: column;
    border-top: 1px solid var(--ink);
  }

  body.nav-open .site-nav-bar .nav-list {
    display: flex;
  }

  .nav-list li {
    display: block;
  }

  .nav-list li + li {
    border-left: 0;
    border-top: 1px solid var(--rule);   /* 竖规则线转横向 */
  }

  .nav-list a {
    display: block;
    padding: .8em var(--gut);
  }

  /* 多栏网格全部降为单栏,栏间竖线转横线 */
  .col-grid,
  .cols-2,
  .cols-3,
  .cols-4 {
    grid-template-columns: 1fr;
  }

  .col-grid > * {
    border-left: 0 !important;
    padding-inline: 0;
    border-top: 1px solid var(--rule);
    padding-top: 1.1rem;
    margin-top: 1.1rem;
  }

  .col-grid > *:first-child {
    border-top: 0;
    padding-top: 0;
    margin-top: 0;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-story {
    padding-right: 0;
  }

  .hero-figure {
    border-left: 0;
    border-top: 1px solid var(--rule);
    padding-left: 0;
    padding-top: 1.4rem;
    margin-top: 1.4rem;
  }

  .lead-cols {
    columns: 1;
  }

  .ticker {
    grid-template-columns: 1fr 1fr;
    border-left: 1px solid var(--rule);
    border-right: 1px solid var(--rule);
  }

  .ticker-label {
    writing-mode: horizontal-tb;
    grid-column: 1 / -1;
    padding: .4em 0;
  }

  .tick {
    border-left: 0;
    border-top: 1px solid var(--rule);
  }

  .tick:nth-child(2n + 1) {
    border-left: 1px solid var(--rule);
  }

  .layout-rail {
    grid-template-columns: 1fr;
  }

  .layout-rail .main-col {
    padding-right: 0;
  }

  .layout-rail .rail {
    border-left: 0;
    border-top: 2px solid var(--ink);   /* 中缝线转横向 */
    padding-left: 0;
    padding-top: 1.6rem;
    margin-top: 2rem;
  }

  .contact-board dl {
    grid-template-columns: 1fr;
  }

  .contact-board .cell:nth-child(2n) {
    border-left: 0;
  }

  .contact-board .cell:nth-child(-n+2) {
    border-top: 1px solid var(--rule);
  }

  .contact-board .cell:first-child {
    border-top: 0;
  }

  .colophon {
    grid-template-columns: 1fr 1fr;
  }

  .colophon .cell {
    border-left: 0;
    border-top: 1px solid var(--rule);
  }

  .colophon .cell:nth-child(2n) {
    border-left: 1px solid var(--rule);
  }

  .colophon .cell:nth-child(-n+2) {
    border-top: 0;
  }

  .post-nav {
    grid-template-columns: 1fr;
  }

  .post-nav .nav-next {
    border-left: 0;
    border-top: 1px solid var(--rule);
    text-align: left;
  }
}

/* ==========================================================
   22. 动效克制:prefers-reduced-motion
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  html.js .reveal {
    opacity: 1;
    transform: none;
  }

  html.js .reveal:not(.is-visible) .pen-circle path {
    stroke-dashoffset: 0;
  }
}

/* 打印:本来就是一张报纸 */
@media print {
  .site-nav-bar,
  .nav-toggle,
  .btn,
  .search-form {
    display: none !important;
  }
}
