/* ==========================================================================
   default - 政府公文风
   深红 + 金黄，宽横幅，对称严谨，宋体标题
   ========================================================================== */

:root {
  --pri: #b8000f;
  --pri-dark: #8a000a;
  --pri-soft: #fdf3f4;
  --accent: #c89d3a;
  --ink: #1a1a1a;
  --muted: #5a5a5a;
  --bd: #e6e2d8;
  --bg: #fbf9f4;
  --card: #ffffff;
  --header-bg: linear-gradient(180deg, #b8000f 0%, #8a000a 100%);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font: 15px/1.7 "PingFang SC", "Hiragino Sans GB", "Microsoft Yahei", "宋体", serif;
  color: var(--ink);
  background: var(--bg);
}

/* ===== 顶部 ===== */
.t-header {
  background: var(--header-bg);
  color: #fff;
  border-bottom: 4px solid var(--accent);
  box-shadow: 0 2px 0 rgba(0,0,0,.06);
}
.t-header-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center;
  padding: 16px 20px;
  gap: 18px;
}
.t-brand {
  display: flex; align-items: center; gap: 12px;
  font-size: 22px; font-weight: bold;
  letter-spacing: 2px;
}
.t-brand .seal {
  width: 48px; height: 48px;
  background: var(--accent);
  color: var(--pri-dark);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: bold;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--accent);
}
.t-brand small { font-size: 12px; opacity: .8; display: block; font-weight: normal; letter-spacing: 0; }
.t-nav {
  margin-left: auto;
  display: flex; gap: 4px;
}
.t-nav a {
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 15px;
  text-decoration: none;
  position: relative;
}
.t-nav a:hover, .t-nav a.on { background: rgba(255,255,255,.15); }
.t-nav a.on::after {
  content: ''; position: absolute; left: 50%; bottom: -16px;
  width: 0; height: 0;
  border: 6px solid transparent;
  border-top-color: var(--accent);
  transform: translateX(-50%);
}

/* ===== Banner（首页） ===== */
.t-banner {
  background: linear-gradient(135deg, #b8000f 0%, #8a000a 60%, #6b0008 100%);
  color: #fff;
  padding: 56px 20px;
  text-align: center;
  border-bottom: 6px double var(--accent);
  position: relative;
}
.t-banner::before, .t-banner::after {
  content: ''; position: absolute; left: 50%; transform: translateX(-50%);
  width: 80px; height: 1px; background: var(--accent);
}
.t-banner::before { top: 12px; }
.t-banner::after { bottom: 12px; }
.t-banner h1 {
  font-size: 38px; margin: 0 0 8px;
  letter-spacing: 4px;
  font-family: "宋体", "SimSun", serif;
  text-shadow: 0 2px 4px rgba(0,0,0,.2);
}
.t-banner p { font-size: 16px; opacity: .9; margin: 0 0 18px; letter-spacing: 1px; }
.t-banner .stat-row {
  display: inline-flex; gap: 24px;
  background: rgba(255,255,255,.1);
  border: 1px solid var(--accent);
  border-radius: 4px;
  padding: 12px 24px;
}
.t-banner .stat-row b { color: var(--accent); font-size: 22px; margin-right: 4px; }

/* ===== 搜索条 ===== */
.t-search {
  max-width: 800px;
  margin: -28px auto 0;
  background: #fff;
  border: 2px solid var(--pri);
  border-radius: 6px;
  padding: 18px;
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
  position: relative;
  z-index: 2;
}
.t-search h3 { margin: 0 0 12px; font-size: 16px; color: var(--pri); }
.t-search form { display: flex; flex-wrap: wrap; gap: 8px; }
.t-search input, .t-search select {
  padding: 8px 12px;
  border: 1px solid var(--bd);
  border-radius: 4px;
  font: inherit;
  font-size: 14px;
}
.t-search input[type=text] { flex: 1; min-width: 200px; }
.t-search button {
  background: var(--pri); color: #fff;
  border: none; border-radius: 4px;
  padding: 8px 24px;
  font: inherit; font-size: 14px;
  cursor: pointer;
}
.t-search button:hover { background: var(--pri-dark); }

/* ===== 通用 ===== */
.t-wrap { max-width: 1200px; margin: 0 auto; padding: 28px 20px; }
.t-h2 {
  font-size: 22px; margin: 0 0 16px;
  padding: 0 0 8px;
  border-bottom: 3px double var(--accent);
  position: relative;
}
.t-h2 small { font-size: 13px; color: var(--muted); font-weight: normal; margin-left: 12px; }
.t-h2 .more { float: right; font-size: 13px; color: var(--muted); text-decoration: none; font-weight: normal; }

.t-grid-2 {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px;
}
@media (max-width: 900px) { .t-grid-2 { grid-template-columns: 1fr; } }

.t-card {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: 6px;
  padding: 18px;
}
.t-list { list-style: none; margin: 0; padding: 0; }
.t-list li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--bd);
  display: flex; align-items: baseline; gap: 8px;
}
.t-list li:last-child { border-bottom: none; }
.t-list a { color: var(--ink); text-decoration: none; }
.t-list a:hover { color: var(--pri); }
.t-list time { color: var(--muted); font-size: 13px; margin-left: auto; }

.t-type-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}
.t-type-tab {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: 4px;
  padding: 14px 12px;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
}
.t-type-tab:hover { border-color: var(--pri); color: var(--pri); }
.t-type-tab b { display: block; font-size: 16px; margin-bottom: 4px; }
.t-type-tab small { color: var(--muted); font-size: 12px; }

.t-result { padding: 12px 0; border-bottom: 1px solid var(--bd); display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; font-size: 14px; }
.t-result b { color: var(--pri); }
.t-result a.btn { display: inline-block; padding: 4px 12px; background: var(--pri); color: #fff; border-radius: 4px; text-decoration: none; font-size: 12px; }
.t-result a.btn:hover { background: var(--pri-dark); }

/* ===== 底部 ===== */
.t-footer {
  background: #2a0808;
  color: #c89d3a;
  padding: 28px 20px;
  text-align: center;
  font-size: 13px;
  margin-top: 40px;
  border-top: 4px solid var(--accent);
}
.t-footer a { color: #c89d3a; text-decoration: none; margin: 0 6px; }
.t-footer a:hover { color: #fff; }

/* ===== 详情页 ===== */
.t-detail {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: 6px;
  padding: 30px;
  max-width: 800px; margin: 0 auto;
}
.t-detail h1 { font-size: 26px; margin: 0 0 12px; text-align: center; color: var(--pri); }
.t-detail .meta { color: var(--muted); text-align: center; font-size: 13px; margin-bottom: 24px; }
.t-detail .cert-card {
  background: linear-gradient(135deg, #fffbf0 0%, #fdf3f4 100%);
  border: 2px solid var(--accent);
  border-radius: 8px;
  padding: 24px;
  margin: 16px 0;
}
.t-detail .cert-row {
  display: flex; padding: 8px 0;
  border-bottom: 1px dashed var(--bd);
}
.t-detail .cert-row:last-child { border: none; }
.t-detail .cert-row span { width: 100px; color: var(--muted); }
.t-detail .cert-row b { color: var(--pri); }

/* ===== 内容正文 ===== */
.t-content { background: var(--card); border: 1px solid var(--bd); border-radius: 6px; padding: 24px 30px; line-height: 1.85; }
.t-content p { margin: 12px 0; }
.t-content h1, .t-content h2, .t-content h3 { color: var(--pri); }