/*
Theme Name: 通达环保 Tongda Flip
Theme URI: https://example.com/themes/tongda-flip
Author: 老站长
Author URI: https://example.com/laozhanzhang
Description: 为蚌埠通达环保设备有限公司(虚构演示公司)设计的中文企业主题。火车站台导视语言:米白水磨石站厅、绿皮火车绿门楣与导视牌、站台黄白警戒线,数据与班次以深石墨底琥珀字的机械翻牌板呈现。含产品(车次一览)自定义文章类型、列车时刻表参数表、椭圆站名牌上下篇导航与临时停运公告 404。治气如行车,准点到达。
Version: 1.0.0
Requires at least: 5.9
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: tongda-flip
Tags: custom-menu, custom-logo, featured-images, translation-ready, two-columns
*/

/* --------------------------------------------------
   目录
   01 变量与基础
   02 排版与通用元素
   03 工具类(容器/警戒线/按钮/行李牌/屏读)
   04 翻牌板组件(全站唯一深底组件)
   05 站台导视牌与区块头
   06 页头(门楣/导航/汉堡)
   07 首页 Hero(站台场景)
   08 车次卡片(产品)
   09 行车规程(流程四段)
   10 到站信息屏(案例翻牌板)
   11 定点直供铭牌 / 站长室
   12 内页门楣 / 换乘指引
   13 公告列表 / 侧栏 / 分页
   14 正文排版 / 时刻表 / 站名牌导航
   15 搜索 / 404 临时停运
   16 页脚
   17 动效与降级
   18 WordPress 核心类
   19 响应式
-------------------------------------------------- */

/* ===== 01 变量与基础 ===== */
:root {
  --hall: #f3f1ea;          /* 站厅米白(水磨石) */
  --hall-deep: #eae7dc;     /* 站厅深一档 */
  --paper: #ffffff;         /* 白牌面 */
  --green: #2f5d50;         /* 绿皮火车绿 */
  --green-deep: #24483e;    /* 门楣深绿 */
  --green-mist: #e2ebe6;    /* 极淡绿(小面积) */
  --yellow: #d8b23a;        /* 站台警戒黄(仅细条纹) */
  --ink: #26292b;           /* 石墨正文 */
  --ink-soft: #4c5053;      /* 次级文字(米白上 7.2:1) */
  --line: #d9d4c7;          /* 牌面细边 */
  --board: #1d1f21;         /* 翻牌格底(组件内) */
  --board-frame: #2b2e30;   /* 翻牌板框(组件内) */
  --amber: #ffb000;         /* 琥珀字(仅翻牌组件内) */
  --amber-dim: #e8c987;     /* 翻牌板标签字(组件内) */
  --radius: 12px;
  --radius-sm: 6px;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Consolas, "Courier New", monospace;
  --shadow: 0 10px 26px rgba(38, 41, 43, 0.09);
  --shadow-soft: 0 4px 14px rgba(38, 41, 43, 0.07);
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.78;
  color: var(--ink);
  background-color: var(--hall);
  /* 水磨石:多色极淡小斑点 */
  background-image:
    radial-gradient(rgba(47, 93, 80, 0.13) 0 1px, transparent 1.4px),
    radial-gradient(rgba(216, 178, 58, 0.12) 0 1px, transparent 1.4px),
    radial-gradient(rgba(38, 41, 43, 0.09) 0 1.3px, transparent 1.7px),
    radial-gradient(rgba(175, 165, 140, 0.22) 0 1.1px, transparent 1.5px);
  background-size: 74px 74px, 92px 92px, 60px 60px, 48px 48px;
  background-position: 6px 12px, 40px 52px, 22px 34px, 0 0;
  word-break: break-word;
}

:target { scroll-margin-top: 120px; }

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ===== 02 排版与通用元素 ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: 0.035em;
  color: var(--ink);
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(28px, 4.4vw, 44px); }
h2 { font-size: clamp(22px, 3vw, 30px); }
h3 { font-size: 20px; }
h4 { font-size: 17px; }

p { margin: 0 0 1.1em; }

.mono, .num { font-family: var(--font-mono); letter-spacing: 0.02em; }

.pinyin {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ===== 03 工具类 ===== */
.container { max-width: 1128px; margin: 0 auto; padding: 0 22px; }

.section { padding: 74px 0; position: relative; }
.section--tight { padding: 54px 0; }
.section--paper { background: var(--paper); }
.section--mist { background: var(--green-mist); }

/* 站台警戒线:黄白斜纹细条(非黄黑) */
.guard-line {
  height: 6px;
  background: repeating-linear-gradient(-55deg, var(--yellow) 0 8px, #ffffff 8px 16px);
  border-top: 1px solid rgba(38, 41, 43, 0.14);
  border-bottom: 1px solid rgba(38, 41, 43, 0.14);
}
.guard-line--thin { height: 4px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #ffffff;
  border: 2px solid var(--green);
  border-radius: 9px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-sans);
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn:hover { background: var(--green-deep); border-color: var(--green-deep); color: #ffffff; transform: translateY(-1px); }
.btn .btn-arrow { font-family: var(--font-mono); }

.btn--ghost { background: var(--paper); color: var(--green); }
.btn--ghost:hover { background: var(--green-mist); color: var(--green-deep); }
.btn--light { background: #ffffff; border-color: #ffffff; color: var(--green); }
.btn--light:hover { background: var(--hall); border-color: var(--hall); color: var(--green-deep); transform: translateY(-1px); }
.btn--sm { padding: 8px 16px; font-size: 13px; border-radius: 8px; }

/* 行李牌吊牌(标签) */
.tag-lug {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: var(--paper);
  border: 1.5px solid var(--green);
  border-radius: 4px 999px 999px 4px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 13px 3px 19px;
  text-decoration: none;
  margin: 0 10px 6px 0;
}
.tag-lug::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -4.5px;
  border: 1.5px solid var(--green);
  border-radius: 50%;
  background: var(--hall);
}
.tag-lug::after {
  content: "";
  position: absolute;
  left: -9px;
  top: 32%;
  width: 10px;
  height: 1.5px;
  background: var(--green);
  transform: rotate(-38deg);
}
a.tag-lug:hover { background: var(--green-mist); color: var(--green-deep); }

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
}
.screen-reader-text:focus {
  clip: auto;
  clip-path: none;
  height: auto;
  width: auto;
  background: var(--paper);
  color: var(--green-deep);
  padding: 12px 20px;
  z-index: 100000;
  left: 8px;
  top: 8px;
  box-shadow: var(--shadow);
  border-radius: 6px;
  font-weight: 700;
}

.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus {
  left: 8px;
  top: 8px;
  z-index: 100001;
  background: var(--green);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 700;
}

/* ===== 04 翻牌板组件(唯一允许深底与琥珀之处) ===== */
.flip-board {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 9px 11px;
  background: var(--board-frame);
  border-radius: 10px;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5), 0 2px 0 rgba(255, 255, 255, 0.06);
  vertical-align: middle;
  max-width: 100%;
}
.flip-cell {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.42em;
  height: 1.86em;
  background: var(--board);
  border-radius: 5px;
  overflow: hidden;
  perspective: 220px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.flip-cell--n { width: 0.98em; font-family: var(--font-mono); }
.flip-cell::after {
  /* 翻页轴:水平细分割线 */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(0, 0, 0, 0.62);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
  pointer-events: none;
}
.flip-face {
  display: block;
  color: var(--amber);
  font-weight: 800;
  line-height: 1;
  transform-origin: center;
  backface-visibility: hidden;
  text-shadow: 0 0 10px rgba(255, 176, 0, 0.28);
}
.flip-cell--n .flip-face { font-family: var(--font-mono); font-weight: 700; }
.flip-gap { width: 0.55em; height: 1px; }

.flip-board--lg { font-size: clamp(21px, 3.6vw, 36px); gap: 6px; padding: 12px 14px; border-radius: 13px; }
.flip-board--md { font-size: 21px; }
.flip-board--sm { font-size: 14px; gap: 3px; padding: 6px 8px; border-radius: 8px; }

.flip-face.is-tick { animation: td-tick 0.09s ease-out; }
@keyframes td-tick {
  from { transform: rotateX(86deg); filter: brightness(1.5); }
  to { transform: rotateX(0deg); filter: brightness(1); }
}

/* ===== 05 站台导视牌与区块头 ===== */
.platform-sign {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  background: var(--green);
  color: #ffffff;
  border-radius: 11px;
  padding: 9px 20px 9px 9px;
  box-shadow: var(--shadow-soft);
}
.platform-sign .ps-no {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  padding: 0 6px;
  background: #ffffff;
  color: var(--green);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.03em;
}
.platform-sign .ps-name { font-size: clamp(19px, 2.4vw, 24px); font-weight: 800; letter-spacing: 0.08em; color: #ffffff; margin: 0; }
.platform-sign .ps-arrow { font-family: var(--font-mono); font-size: 19px; color: #ffffff; opacity: 0.95; }

.plat-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 3px solid var(--green);
  padding-bottom: 16px;
  margin-bottom: 36px;
}
.plat-head .pinyin { text-align: right; padding-bottom: 4px; }
.plat-lede { max-width: 720px; color: var(--ink-soft); margin: -16px 0 34px; }

/* ===== 06 页头 ===== */
.site-header { position: sticky; top: 0; z-index: 900; }

.topline { background: var(--green-deep); color: #ffffff; font-size: 12.5px; letter-spacing: 0.05em; }
.topline__in { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.topline__tel { font-family: var(--font-mono); }

.headbar { background: var(--hall); border-bottom: 3px solid var(--green); transition: box-shadow 0.2s ease; position: relative; }
.site-header.is-scrolled .headbar { box-shadow: 0 8px 22px rgba(38, 41, 43, 0.14); }
.headbar__in { display: flex; align-items: center; gap: 26px; padding-top: 14px; padding-bottom: 14px; }

.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; margin-right: auto; }
.brand-plate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid var(--green);
  border-radius: 999px;
  background: var(--paper);
  color: var(--green);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.14em;
  padding: 7px 17px;
  white-space: nowrap;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text b { font-size: 21px; font-weight: 800; letter-spacing: 0.1em; color: var(--ink); }
.brand-text i {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.24em;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.custom-logo-link { display: inline-flex; margin-right: auto; }
.custom-logo { max-height: 56px; width: auto; }

.site-nav .menu { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.site-nav .menu > li { position: relative; }
.site-nav .menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: 2px solid transparent;
}
.site-nav .menu > li > a:hover { background: var(--paper); border-color: var(--green); color: var(--green-deep); }
.site-nav .menu > li.current-menu-item > a,
.site-nav .menu > li.current_page_item > a { background: var(--green); color: #ffffff; }
.site-nav .plat-no {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--green);
  border: 1.5px solid var(--green);
  border-radius: 5px;
  padding: 0 4px;
  line-height: 1.5;
}
.site-nav .menu > li.current-menu-item > a .plat-no,
.site-nav .menu > li.current_page_item > a .plat-no { color: #ffffff; border-color: #ffffff; }
.site-nav .menu .sub-menu { list-style: none; margin: 0; padding: 8px 0 0; display: none; position: absolute; left: 0; top: 100%; background: var(--paper); border: 2px solid var(--green); border-radius: 10px; min-width: 190px; padding: 8px; box-shadow: var(--shadow); }
.site-nav .menu > li:hover > .sub-menu,
.site-nav .menu > li:focus-within > .sub-menu { display: block; }
.site-nav .menu .sub-menu a { display: block; padding: 8px 12px; border-radius: 7px; color: var(--ink); text-decoration: none; font-size: 14px; }
.site-nav .menu .sub-menu a:hover { background: var(--green-mist); color: var(--green-deep); }

.headbar__cta { white-space: nowrap; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  background: var(--paper);
  border: 2px solid var(--green);
  border-radius: 9px;
  color: var(--green);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.14em;
  padding: 9px 14px;
  cursor: pointer;
}
.nav-toggle__bars { display: inline-flex; flex-direction: column; gap: 4px; }
.nav-toggle__bars i { display: block; width: 18px; height: 2.5px; background: var(--green); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ===== 07 首页 Hero(站台场景) ===== */
.hero { padding: 66px 0 70px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 54px; align-items: center; }

.plate-mini {
  display: inline-grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 16px;
  background: var(--paper);
  border: 2.5px solid var(--green);
  border-radius: 999px;
  padding: 8px 24px;
  margin-bottom: 26px;
}
.plate-mini .pm-side { font-size: 11px; color: var(--ink-soft); text-align: center; line-height: 1.5; }
.plate-mini .pm-side b { display: block; color: var(--ink); font-size: 12px; }
.plate-mini .pm-name { text-align: center; padding: 0 14px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.plate-mini .pm-name b { display: block; font-size: 21px; font-weight: 800; letter-spacing: 0.3em; color: var(--green); text-indent: 0.3em; }
.plate-mini .pm-name .pinyin { text-align: center; letter-spacing: 0.24em; margin-top: 1px; }

.hero__board { margin: 0 0 24px; }
.hero__title { margin: 0 0 16px; }
.hero__title .pinyin { margin-top: 8px; letter-spacing: 0.26em; }
.hero__lede { color: var(--ink-soft); font-size: 16.5px; max-width: 560px; margin-bottom: 26px; }
.hero__lede strong { color: var(--ink); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 26px; }
.stat { display: flex; flex-direction: column; gap: 9px; }
.stat__cap { font-size: 13px; color: var(--ink-soft); letter-spacing: 0.08em; }
.stat__cap b { color: var(--ink); }

.hero__scene { position: relative; }
.hero__scene svg { display: block; width: 100%; height: auto; }
.hero__scene-note {
  margin-top: 10px;
  text-align: center;
  font-size: 12px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  letter-spacing: 0.18em;
}

/* ===== 08 车次卡片(产品) ===== */
.checi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.checi-card {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.checi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.checi-card__head {
  background: var(--green);
  color: #ffffff;
  padding: 18px 22px 15px;
  border-bottom: 4px double rgba(255, 255, 255, 0.55);
}
.checi-no { display: block; font-family: var(--font-mono); font-size: 26px; font-weight: 700; letter-spacing: 0.06em; color: #ffffff; }
.checi-no a { color: #ffffff; text-decoration: none; }
.checi-no a:hover { text-decoration: underline; color: #ffffff; }
.checi-kind { display: block; margin-top: 5px; font-size: 12.5px; letter-spacing: 0.1em; color: #ffffff; opacity: 0.98; }
.checi-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.checi-specs { list-style: none; margin: 0 0 14px; padding: 0; }
.checi-specs li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}
.checi-specs li span { color: var(--ink-soft); }
.checi-specs li b { font-family: var(--font-mono); font-weight: 700; color: var(--ink); text-align: right; }
.checi-use { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 18px; }
.checi-card__foot { margin-top: auto; }
.checi-thumb { display: block; }
.checi-thumb img { display: block; width: 100%; height: 190px; object-fit: cover; }

/* ===== 09 行车规程 ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: td-step; }
.step {
  position: relative;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px 22px;
  box-shadow: var(--shadow-soft);
}
.step::after {
  content: "▸";
  position: absolute;
  right: -19px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--green);
  font-size: 19px;
  z-index: 2;
}
.step:last-child::after { content: none; }
.step__ticket {
  display: inline-block;
  border: 1.5px solid var(--green);
  color: var(--green);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 2px 12px;
  margin-bottom: 14px;
}
.step__icon { width: 46px; height: 46px; display: grid; place-items: center; border: 2px solid var(--green); border-radius: 10px; margin-bottom: 14px; background: var(--green-mist); }
.step__icon svg { display: block; }
.step__no { position: absolute; top: 20px; right: 20px; font-family: var(--font-mono); font-size: 13px; color: var(--ink-soft); }
.step__title { font-size: 18px; margin-bottom: 6px; }
.step__desc { font-size: 13.5px; color: var(--ink-soft); margin: 0; }

/* ===== 10 到站信息屏(案例) ===== */
.depart-board {
  background: var(--board-frame);
  border-radius: 16px;
  padding: 22px 26px 18px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5), var(--shadow);
}
.depart-board__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-bottom: 13px;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(255, 176, 0, 0.3);
}
.depart-board__title { color: var(--amber-dim); font-size: 14px; font-weight: 700; letter-spacing: 0.28em; margin: 0; }
.depart-board__clock { color: var(--amber-dim); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; }
.depart-head,
.depart-row { display: grid; grid-template-columns: 150px 1fr 92px 190px; gap: 18px; align-items: center; }
.depart-head { padding: 10px 0 8px; color: var(--amber-dim); font-size: 12px; letter-spacing: 0.2em; }
.depart-row { padding: 13px 0; border-bottom: 1px dashed rgba(232, 201, 135, 0.22); }
.depart-row:last-child { border-bottom: 0; }
.depart-dest { color: #f2dfae; font-size: 15.5px; font-weight: 700; letter-spacing: 0.05em; }
.depart-load { display: block; color: var(--amber-dim); font-size: 12px; font-weight: 400; margin-top: 3px; letter-spacing: 0.06em; }
.depart-punct { color: var(--amber); font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.1em; }
.depart-status {
  justify-self: start;
  color: var(--amber);
  border: 1px solid rgba(255, 176, 0, 0.55);
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  white-space: nowrap;
}
.dr-label { display: none; }
.depart-note { margin: 16px 4px 0; font-size: 13px; color: var(--ink-soft); }

/* ===== 11 定点直供铭牌 / 站长室 ===== */
.plaque {
  position: relative;
  background: var(--paper);
  border: 3px solid var(--green);
  border-radius: 15px;
  padding: 44px 46px 38px;
  box-shadow: var(--shadow-soft);
}
.plaque::before, .plaque::after,
.plaque .screw-b::before, .plaque .screw-b::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--hall-deep);
  box-shadow: inset 0 1px 2px rgba(38, 41, 43, 0.45);
}
.plaque::before { top: 12px; left: 12px; }
.plaque::after { top: 12px; right: 12px; }
.plaque .screw-b::before { bottom: 12px; left: 12px; }
.plaque .screw-b::after { bottom: 12px; right: 12px; }
.plaque__tab {
  position: absolute;
  top: -17px;
  left: 46px;
  background: var(--green);
  color: #ffffff;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.22em;
  padding: 6px 18px;
}
.plaque__quote { font-size: clamp(17px, 2.2vw, 21px); font-weight: 700; line-height: 1.9; color: var(--ink); margin: 0 0 10px; }
.plaque__quote strong { color: var(--green-deep); }
.plaque__sub { font-size: 13.5px; color: var(--ink-soft); margin: 0; }

.contact-band { background: var(--green); color: #ffffff; }
.contact-band .plate-mini { border-color: #ffffff; margin-bottom: 30px; }
.contact-head { text-align: center; margin-bottom: 36px; }
.contact-head h2 { color: #ffffff; margin-bottom: 10px; }
.contact-head p { color: #ffffff; opacity: 0.96; margin: 0; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 30px; }
.contact-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 24px;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}
.contact-card h3 { font-size: 15px; color: var(--green-deep); letter-spacing: 0.12em; margin-bottom: 9px; }
.contact-card p { margin: 0; font-size: 15px; }
.contact-card .num { font-size: 19px; font-weight: 700; }
.contact-note { text-align: center; font-size: 14px; color: #ffffff; margin: 0; letter-spacing: 0.06em; }
.contact-note .pinyin { color: #ffffff; opacity: 0.82; margin-top: 6px; }

/* ===== 12 内页门楣 / 换乘指引 ===== */
.page-lintel { background: var(--green); color: #ffffff; padding: 42px 0 38px; }
.page-lintel .lintel-title { color: #ffffff; margin: 10px 0 4px; }
.page-lintel .pinyin { color: #ffffff; opacity: 0.85; }
.page-lintel .lintel-desc { color: #ffffff; opacity: 0.96; margin: 12px 0 0; max-width: 680px; }

.transfer-guide { font-size: 13px; letter-spacing: 0.04em; color: #ffffff; }
.transfer-guide .tg-label {
  display: inline-block;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 5px;
  padding: 1px 9px;
  margin-right: 10px;
  font-size: 11.5px;
  letter-spacing: 0.18em;
}
.transfer-guide a { color: #ffffff; text-decoration: none; }
.transfer-guide a:hover { text-decoration: underline; color: #ffffff; }
.transfer-guide .sep { margin: 0 8px; font-family: var(--font-mono); opacity: 0.8; }
.transfer-guide .tg-current { opacity: 0.94; }

/* ===== 13 公告列表 / 侧栏 / 分页 ===== */
.layout-rail { display: grid; grid-template-columns: minmax(0, 1fr) 312px; gap: 42px; align-items: start; }

.notice-item {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.notice-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.date-plate {
  align-self: start;
  border: 2px solid var(--green);
  border-radius: 10px;
  text-align: center;
  padding: 10px 6px 8px;
  color: var(--green);
  background: var(--paper);
}
.date-plate .dp-d { display: block; font-family: var(--font-mono); font-size: 25px; font-weight: 700; line-height: 1.1; }
.date-plate .dp-m { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; margin-top: 3px; color: var(--ink-soft); }
.notice-title { font-size: 19.5px; margin: 0 0 8px; }
.notice-title a { color: var(--ink); text-decoration: none; }
.notice-title a:hover { color: var(--green); text-decoration: underline; }
.notice-excerpt { font-size: 14.5px; color: var(--ink-soft); margin: 0 0 12px; }
.notice-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 12.5px; color: var(--ink-soft); }
.notice-more { font-weight: 700; font-size: 13.5px; }

.widget {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-soft);
}
.widget-title {
  display: inline-block;
  background: var(--green);
  color: #ffffff;
  font-size: 13.5px;
  letter-spacing: 0.16em;
  border-radius: 7px;
  padding: 5px 14px;
  margin: 0 0 16px;
}
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget ul li { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.widget ul li:last-child { border-bottom: 0; }
.widget ul li a { text-decoration: none; color: var(--ink); }
.widget ul li a:hover { color: var(--green); text-decoration: underline; }
.widget ul li a::before { content: "▸ "; color: var(--green); font-family: var(--font-mono); }
.widget p:last-child { margin-bottom: 0; }
.widget .num-side { font-family: var(--font-mono); color: var(--ink-soft); font-size: 12px; }

.pagination { margin: 34px 0 6px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; }
.pagination .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 13px;
  background: var(--paper);
  border: 2px solid var(--green);
  border-radius: 9px;
  color: var(--green);
  font-family: var(--font-mono);
  font-weight: 700;
  text-decoration: none;
}
.pagination .page-numbers.current { background: var(--green); color: #ffffff; }
.pagination .page-numbers.dots { border-color: var(--line); color: var(--ink-soft); }
.pagination .page-numbers:hover:not(.current):not(.dots) { background: var(--green-mist); }

.post-nav-simple { display: flex; justify-content: space-between; gap: 18px; margin-top: 30px; }

/* ===== 14 正文排版 / 时刻表 / 站名牌导航 ===== */
.entry-card {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 46px);
  box-shadow: var(--shadow-soft);
}
.entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 13px; color: var(--ink-soft); margin-bottom: 22px; }
.entry-meta .num { color: var(--green-deep); font-weight: 700; }

.entry-content { font-size: 16px; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 {
  font-size: 23px;
  border-left: 7px solid var(--green);
  padding-left: 14px;
  margin: 1.6em 0 0.7em;
}
.entry-content h3 { font-size: 19px; margin: 1.4em 0 0.6em; color: var(--green-deep); }
.entry-content ul, .entry-content ol { padding-left: 1.5em; margin: 0 0 1.2em; }
.entry-content li { margin-bottom: 0.35em; }
.entry-content blockquote {
  margin: 1.4em 0;
  padding: 18px 24px;
  background: var(--hall);
  border-left: 5px solid var(--green);
  border-radius: 0 10px 10px 0;
  color: var(--ink);
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content code { font-family: var(--font-mono); background: var(--hall-deep); border-radius: 4px; padding: 1px 6px; font-size: 0.92em; }
.entry-content pre { background: var(--hall-deep); border-radius: 10px; padding: 18px; overflow-x: auto; }
.entry-content hr { border: 0; height: 4px; background: repeating-linear-gradient(-55deg, var(--yellow) 0 7px, #ffffff 7px 14px); margin: 2em 0; }
.entry-content img { border-radius: 10px; }

.table-scroll { overflow-x: auto; margin: 0 0 1.4em; }
.timetable { width: 100%; border-collapse: collapse; background: var(--paper); font-size: 14.5px; min-width: 480px; }
.timetable caption {
  caption-side: top;
  text-align: left;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--green-deep);
  padding: 0 0 10px;
}
.timetable th, .timetable td { border: 1px solid var(--line); padding: 11px 16px; text-align: left; vertical-align: top; }
.timetable thead th { background: var(--green); color: #ffffff; letter-spacing: 0.1em; font-size: 13.5px; border-color: var(--green-deep); }
.timetable tbody th { background: var(--hall); font-weight: 700; width: 34%; color: var(--ink); }
.timetable td .num { font-weight: 700; }
.timetable tbody tr:nth-child(even) td { background: #fbfaf6; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content table th, .entry-content table td { border: 1px solid var(--line); padding: 10px 14px; }
.entry-content table thead th { background: var(--green); color: #ffffff; }

/* 站名牌上下篇导航 */
.plate-nav { margin: 44px 0 8px; }
.station-plate {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  background: var(--paper);
  border: 3px solid var(--green);
  border-radius: 999px;
  padding: 18px 40px;
  max-width: 780px;
  margin: 0 auto;
  box-shadow: var(--shadow-soft);
}
.plate-side { text-align: center; font-size: 12px; color: var(--ink-soft); min-width: 0; }
.plate-side .ps-cap { display: block; letter-spacing: 0.26em; margin-bottom: 4px; }
.plate-side a, .plate-side .ps-end {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--green-deep);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.plate-side a:hover { text-decoration: underline; }
.plate-side .ps-end { color: var(--ink-soft); }
.plate-center { text-align: center; border-left: 1.5px solid var(--line); border-right: 1.5px solid var(--line); padding: 0 26px; max-width: 320px; }
.plate-center b { display: block; font-size: 19px; font-weight: 800; letter-spacing: 0.12em; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plate-center .pinyin { margin-top: 3px; letter-spacing: 0.28em; }

/* 单产品 */
.product-hero { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; margin-bottom: 40px; }
.product-hero .flip-board { margin-bottom: 18px; }
.product-side { background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-soft); }
.product-side h3 { font-size: 15px; letter-spacing: 0.12em; color: var(--green-deep); }
.product-side p { font-size: 14px; margin-bottom: 12px; }
.cta-strip {
  background: var(--green);
  border-radius: var(--radius);
  color: #ffffff;
  padding: 30px 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 38px 0 8px;
}
.cta-strip h2 { color: #ffffff; margin: 0 0 4px; font-size: 21px; }
.cta-strip p { color: #ffffff; opacity: 0.95; margin: 0; font-size: 14px; }
.cta-strip__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ===== 15 搜索 / 404 ===== */
.search-form { display: flex; gap: 10px; max-width: 560px; }
.search-form label { flex: 1; }
.search-field {
  width: 100%;
  border: 2px solid var(--green);
  border-radius: 9px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  padding: 11px 15px;
}
.search-field::placeholder { color: var(--ink-soft); opacity: 0.75; }
.search-submit { flex-shrink: 0; }

.nf-wrap { max-width: 760px; margin: 0 auto; text-align: center; }
.nf-board { display: flex; justify-content: center; margin-bottom: 34px; }
.nf-notice {
  text-align: left;
  background: var(--paper);
  border: 2.5px solid var(--green);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin-bottom: 30px;
}
.nf-notice__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  background: var(--green);
  color: #ffffff;
  padding: 13px 24px;
  font-weight: 800;
  letter-spacing: 0.2em;
}
.nf-notice__no { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; opacity: 0.92; }
.nf-notice__body { padding: 26px 30px; }
.nf-notice__body p { margin-bottom: 0.9em; }
.nf-notice__sign { text-align: right; color: var(--ink-soft); font-size: 14px; margin: 1.4em 0 0; }
.nf-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 30px; }
.nf-search { display: flex; justify-content: center; }
.nf-search .search-form { width: 100%; }

/* ===== 16 页脚 ===== */
.site-footer { background: var(--green); color: #ffffff; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.25fr 0.8fr 1fr; gap: 44px; padding-top: 56px; padding-bottom: 44px; }
.footer-col .plate-mini { margin-bottom: 20px; background: var(--paper); }
.footer-col h2 {
  color: #ffffff;
  font-size: 15px;
  letter-spacing: 0.2em;
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 10px;
  margin-bottom: 16px;
}
.footer-about { font-size: 14px; color: #ffffff; opacity: 0.97; }
.footer-supplier { font-size: 13px; color: #ffffff; opacity: 0.92; border-left: 3px solid rgba(255, 255, 255, 0.55); padding-left: 14px; margin-top: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col ul li { padding: 6px 0; }
.footer-col ul li a { color: #ffffff; text-decoration: none; font-size: 14.5px; letter-spacing: 0.05em; }
.footer-col ul li a:hover { text-decoration: underline; color: #ffffff; }
.footer-col ul li a .plat-no {
  font-family: var(--font-mono);
  font-size: 10px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 4px;
  padding: 0 4px;
  margin-right: 8px;
}
.footer-contact p { margin: 0 0 9px; font-size: 14.5px; color: #ffffff; }
.footer-contact .num { font-size: 16px; }
.footer-sub { background: var(--green-deep); padding: 18px 0; }
.footer-sub__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 12.5px; color: #ffffff; }
.footer-sub__in .opac { opacity: 0.88; }

/* ===== 17 动效与降级 ===== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
html.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  .reveal { opacity: 1; transform: none; }
  .flip-face.is-tick { animation: none; }
}

/* ===== 18 WordPress 核心类 ===== */
.alignleft { float: left; margin: 0.4em 1.4em 1em 0; }
.alignright { float: right; margin: 0.4em 0 1em 1.4em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; margin-bottom: 1.2em; }
.wp-caption-text, .gallery-caption { font-size: 13px; color: var(--ink-soft); text-align: center; padding-top: 6px; }
.sticky .notice-title::after {
  content: "置顶公告";
  display: inline-block;
  margin-left: 10px;
  font-size: 11px;
  vertical-align: middle;
  color: var(--green);
  border: 1.5px solid var(--green);
  border-radius: 5px;
  padding: 1px 8px;
  letter-spacing: 0.1em;
}
.bypostauthor { display: block; }
.post-password-form input[type="password"] { border: 2px solid var(--green); border-radius: 8px; padding: 9px 13px; }
.wp-block-image img { border-radius: 10px; }

/* ===== 19 响应式 ===== */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__scene { max-width: 640px; margin: 0 auto; }
  .checi-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { content: none; }
  .layout-rail { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-hero { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 54px 0; }
  .topline__tel { display: none; }
  .headbar__in { gap: 14px; }
  .headbar__cta { display: none; }
  .brand-text b { font-size: 18px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--hall);
    border-bottom: 3px solid var(--green);
    box-shadow: 0 18px 30px rgba(38, 41, 43, 0.18);
    display: none;
    padding: 10px 22px 20px;
  }
  .site-nav.is-open { display: block; }
  .site-nav .menu { flex-direction: column; align-items: stretch; gap: 6px; }
  .site-nav .menu > li > a { display: flex; justify-content: flex-start; background: var(--paper); border: 1.5px solid var(--line); padding: 12px 16px; }
  .site-nav .menu .sub-menu { display: block; position: static; border: 0; box-shadow: none; padding: 2px 0 2px 18px; background: transparent; min-width: 0; }
  .contact-cards { grid-template-columns: 1fr; }
  .checi-grid { grid-template-columns: 1fr; }
  .plat-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .plat-head .pinyin { text-align: left; }
  .depart-board { padding: 18px 18px 14px; }
  .depart-head { display: none; }
  .depart-row { grid-template-columns: 1fr; gap: 9px; padding: 15px 0; }
  .depart-status { justify-self: start; }
  .dr-label { display: inline-block; color: var(--amber-dim); font-size: 11px; letter-spacing: 0.18em; margin-right: 9px; }
  .station-plate { grid-template-columns: 1fr; border-radius: 26px; padding: 20px 24px; gap: 14px; }
  .plate-center { border-left: 0; border-right: 0; border-top: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); padding: 12px 0; max-width: none; }
  .notice-item { grid-template-columns: 1fr; gap: 14px; }
  .date-plate { justify-self: start; padding: 8px 14px 6px; display: inline-flex; align-items: baseline; gap: 8px; }
  .cta-strip { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-sub__in { flex-direction: column; }
  .hero { padding: 46px 0 54px; }
  .hero-stats { gap: 18px; }
  .plate-mini { grid-template-columns: auto; gap: 6px; padding: 12px 26px; justify-items: center; }
  .plate-mini .pm-side { display: none; }
  .plate-mini .pm-name { border: 0; padding: 0; }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .step::after { content: none; }
  .search-form { flex-direction: column; }
  .flip-board--lg { font-size: 19px; }
  .flip-board--md { font-size: 17px; }
}
