/* =====================================================================
   邮编查询 · 新视觉模板（postal-green design system）
   说明：仅调整视觉样式，保留原 Lecms 模板全部类名与功能标签
   （{block}/{loop}/{if}/{php}/{$var} 等），不改动任何业务逻辑。
   ===================================================================== */

:root {
  --green:        #1E8C61;
  --green-dark:   #156b4a;
  --green-darker: #0f5339;
  --green-soft:   #E8F4EE;
  --green-soft2:  #d6ece0;
  --bg:           #ffffff;
  --bg-soft:      #f5f8f6;
  --bg-soft2:     #eef3f0;
  --text:         #1f2a26;
  --text-2:       #36433d;
  --muted:        #6b7a73;
  --border:       #e4ebe7;
  --border-2:     #d6e0da;
  --shadow-sm:    0 1px 3px rgba(16,83,57,.08);
  --shadow:       0 6px 22px rgba(16,83,57,.10);
  --shadow-lg:    0 14px 40px rgba(16,83,57,.16);
  --radius:       14px;
  --radius-sm:    10px;
  --radius-lg:    22px;
  --maxw:         1200px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--green-dark); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--green); }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 12px; }
h1, h2, h3, h4 { margin: 0 0 12px; font-weight: 700; color: var(--text); line-height: 1.35; }
table { border-collapse: collapse; width: 100%; }

.clear { clear: both; }
.mw-empty-elt { display: none; }

/* ---------- 布局容器 ---------- */
.container-fluid { width: 100%; }
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 18px;
}
.position-vleft { background: var(--bg); }

.main-view {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  gap: 28px;
  padding: 30px 18px 48px;
  align-items: flex-start;
}
.main-left { flex: 1 1 auto; min-width: 0; }
.main-right { flex: 0 0 300px; max-width: 300px; }

.unified-content { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 22px; box-shadow: var(--shadow-sm); }

/* ---------- 通用间距/文字 ---------- */
.top-space { margin-top: 16px; }
.bottom-space { margin-bottom: 16px; }
.explain { color: var(--muted); font-size: 14px; margin: 6px 0 14px; }
.vice-text { color: var(--muted); font-size: 13px; }
.vice-time { color: var(--muted); font-size: 12px; }
.common-color { color: var(--green-dark); }
.unified-color { color: var(--green-dark); }
.unified-default-color { color: var(--text-2); }
.onmove { transition: color .15s ease; }
.extiw { color: var(--green-dark); }

/* ===================================================================
   顶栏 + Hero 搜索
   =================================================================== */
.site-header { background: var(--bg); }

.header-inner {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}
.header-content {
  display: flex; align-items: center; gap: 20px;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.brand-name { font-size: 19px; letter-spacing: .5px; }

.nav-toggle { display: none; }
.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-block; padding: 8px 14px; border-radius: 999px;
  color: var(--text-2); font-weight: 500; font-size: 15px;
}
.nav-link:hover { background: var(--green-soft); color: var(--green-dark); }
.nav-link.active { background: var(--green); color: #fff; }
.nav-icon { display: none; flex-direction: column; gap: 5px; cursor: pointer; margin-left: auto; }
.nav-icon span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; }

/* ===================================================================
   Hero 搜索
   =================================================================== */
.hero {
  background:
    radial-gradient(900px 360px at 78% -10%, rgba(255,255,255,.16), transparent 55%),
    linear-gradient(135deg, #1E8C61 0%, #157a54 55%, #0f5d3f 100%);
  color: #fff; padding: 58px 0 70px; position: relative; overflow: hidden;
}
.hero-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 18px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-left { max-width: 520px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  font-size: 13px;
  color: rgba(255,255,255,.95);
  margin-bottom: 18px;
}
.hero-badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #a7f3d0;
}
.hero-title { color: #fff; font-size: 42px; line-height: 1.18; margin: 0 0 14px; font-weight: 700; }
.hero-title br { display: block; }
.hero-sub { color: rgba(255,255,255,.88); font-size: 15px; max-width: 460px; margin: 0 0 26px; line-height: 1.7; }

.hero-stats { display: flex; gap: 32px; }
.hero-stats .stat strong {
  display: block;
  font-size: 30px; font-weight: 700; color: #fff; line-height: 1;
  margin-bottom: 6px;
}
.hero-stats .stat span { color: rgba(255,255,255,.72); font-size: 13px; }

/* 搜索卡片 */
.hero-right { justify-self: end; width: 100%; max-width: 480px; }
.search-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 22px 24px 24px;
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
  color: var(--text);
}
.search-tabs {
  display: flex;
  width: 100%;
  gap: 4px;
  background: var(--bg-soft);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 18px;
}
.search-tabs .tab-btn {
  flex: 1 1 auto;
  border: none; background: transparent;
  color: var(--text-2); font-size: 14px; font-weight: 500;
  padding: 8px 12px; border-radius: 999px;
  cursor: pointer; font-family: var(--font);
  text-align: center;
  transition: all .15s ease;
}
.search-tabs .tab-btn:hover { color: var(--green-dark); }
.search-tabs .tab-btn.active { background: var(--green); color: #fff; }

.search-panel { display: none; }
.search-panel.active { display: block; }
.search-line {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--border-2); border-radius: 999px;
  padding: 6px 6px 6px 16px;
}
.search-line .search-icon { display: inline-flex; flex: 0 0 auto; color: var(--muted); }
.search-line .search-input {
  flex: 1 1 auto; border: none; outline: none; background: transparent;
  font-size: 15px; color: var(--text); padding: 10px 4px; min-width: 0; font-family: var(--font);
}
.search-line .search-input::placeholder { color: #9aa6a0; }
.search-line .search-submit {
  flex: 0 0 auto; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff; font-weight: 600; font-size: 15px; padding: 11px 26px;
  border-radius: 999px; transition: transform .12s ease, box-shadow .12s ease;
  font-family: var(--font);
}
.search-line .search-submit:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(16,83,57,.35); }

.search-hot { margin-top: 16px; }
.search-hot .hot-label { font-size: 13px; color: var(--muted); }
.hot-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.hot-tag {
  display: inline-flex; padding: 5px 12px; border-radius: 6px;
  background: var(--bg-soft); color: var(--text-2); font-size: 13px; font-weight: 500;
  transition: all .12s ease;
}
.hot-tag:hover { background: var(--green-soft); color: var(--green-dark); }
.hot-tag-empty { display: inline-flex; padding: 5px 12px; font-size: 13px; color: var(--muted); }

/* 旧类名兼容（防止模板残留引用时裸奔） */
.header-bg, .nav-bar, .bg-color { /* 由 .site-header / .hero 接管 */ }
.bg-color { background: transparent; }

/* ===================================================================
   面包屑 / 标题
   =================================================================== */
.breadcrumb { font-size: 13px; color: var(--muted); padding: 4px 0 12px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--green); }

.firstHeading { font-size: 28px; color: var(--text); margin: 4px 0 14px; }
.view-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; color: var(--green-dark);
  padding-left: 12px; border-left: 4px solid var(--green);
  margin: 6px 0 14px;
}
.view-title img { width: 22px; height: 22px; }

.content-msg { background: var(--green-soft); border: 1px solid var(--green-soft2); border-radius: var(--radius-sm); padding: 14px 16px; color: var(--text-2); font-size: 14px; }
.content-tips { background: var(--bg-soft2); border-radius: var(--radius-sm); padding: 12px 14px; }

/* ===================================================================
   数据表（邮编 / 地址）
   =================================================================== */
.zipcode-datas { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.zipcode-datas th {
  background: var(--green); color: #fff; text-align: left; font-weight: 600;
  padding: 12px 16px; font-size: 14px;
}
.zipcode-datas th p { margin: 0; }
.zipcode-datas td { padding: 11px 16px; border-top: 1px solid var(--border); font-size: 14px; }
.zipcode-datas td p { margin: 0; }
.zipcode-datas tbody tr:nth-child(even) { background: var(--bg-soft); }
.zipcode-datas tbody tr:hover { background: var(--green-soft); }
.zipcode-datas a { color: var(--green-dark); font-weight: 500; }
.zipcode-datas a:hover { color: var(--green); text-decoration: underline; }

/* 首页省份 / 国际表格（5 列）按卡片网格呈现（仅 .zip-grid） */
.zipcode-datas.zip-grid {
  display: block; border: none; box-shadow: none; background: transparent; overflow: visible;
}
.zipcode-datas.zip-grid tbody { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.zipcode-datas.zip-grid tr { display: contents; }
.zipcode-datas.zip-grid td {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 8px; transition: all .15s ease;
}
.zipcode-datas.zip-grid td:hover { border-color: var(--green); background: var(--green-soft); }
.zipcode-datas.zip-grid td a { font-weight: 600; color: var(--text-2); }
/* 普通内容页表格（省份/邮编详情，2 列）保持标准表格形态（.zipcode-datas 默认即表格） */

/* ===================================================================
   分页
   =================================================================== */
.pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pagination a, .pagination span, .pagination b, .pagination strong {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 10px;
  border: 1px solid var(--border); border-radius: 10px; background: #fff; color: var(--text-2); font-size: 14px;
}
.pagination a:hover { border-color: var(--green); color: var(--green-dark); background: var(--green-soft); }
.pagination .cur, .pagination b, .pagination strong { background: var(--green); border-color: var(--green); color: #fff; }

/* ===================================================================
   首页卡片区（国际邮编查询 / 栏目）
   =================================================================== */
.section-header { margin-bottom: 22px; }
.section-header .section-label {
  display: inline-block; padding: 4px 12px; border-radius: 6px;
  background: var(--green-soft); color: var(--green-dark); font-size: 13px; font-weight: 600;
  margin-bottom: 10px;
}
.section-header h2 { font-size: 26px; margin: 0 0 8px; color: var(--text); }
.section-header .section-subtitle { color: var(--muted); font-size: 14px; margin: 0; }

.column-ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0; }
.column-li {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.column-li:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green-soft2); }
.column-li a { color: var(--text); display: block; }
.column-icon {
  width: 54px; height: 54px; border-radius: 14px; background: var(--green-soft);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.column-icon svg { display: block; }
.column-img { width: 52px; height: 52px; margin-bottom: 12px; }
.column-li h2 { font-size: 17px; margin: 0 0 6px; color: var(--text); }
.column-li .vice-text { margin: 0 0 14px; }
.query { display: inline-flex; align-items: center; gap: 6px; color: var(--green-dark); font-weight: 600; font-size: 14px; }
.query i { width: 16px; height: 16px; display: inline-block; background: no-repeat center/contain; }
.query.arrow-color i { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='%231E8C61' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* 首页大区块 */
.content-view { margin-top: 26px; }
.unified-view { margin-bottom: 26px; }
.position-vleft > .unified-view,
.position-vleft > .content-view { max-width: var(--maxw); margin: 0 auto; padding: 26px 18px 0; }
.position-vleft > .content-view { padding-bottom: 44px; }
.unified-content { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; box-shadow: var(--shadow-sm); }
.unified-content > .view-title:first-child { margin-top: 0; }
.unified-content .explain { color: var(--muted); }

/* 国际邮编：大洲切换 */
.postcode-classify { margin-top: 6px; }
.section-tabs { display: block; margin-bottom: 18px; }
.tab-container {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 18px;
}
.tab-container li {
  cursor: pointer; padding: 7px 16px; border-radius: 999px;
  background: var(--bg-soft); border: 1px solid var(--border); color: var(--text-2); font-weight: 500; font-size: 14px;
  transition: all .15s ease;
}
.tab-container li:hover { border-color: var(--green); color: var(--green-dark); }
.tab-container li.active { background: var(--green); border-color: var(--green); color: #fff; }
.section-tabs-content { display: block; }
.section-tabs-content > li { display: none; }
.section-tabs-content > li.tab-show { display: block; }
.section-tabs-content > li.tab-hide { display: none; }
.svg-map { background: transparent; border: none; border-radius: 0; padding: 0; }

/* ===================================================================
   文章
   =================================================================== */
.article-item { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; }
.article-list { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease; }
.article-list:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.article-list a { color: var(--text); }
.item-img { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--green-soft); }
.item-img img { width: 100%; height: 100%; object-fit: cover; }
.item-content { padding: 14px 16px 18px; }
.item-content h3 { font-size: 16px; margin: 0 0 8px; line-height: 1.4; }
.item-content .vice-text { margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.category-name { color: var(--green); font-weight: 600; font-size: 13px; }
.release-time, .vice-time { color: var(--muted); font-size: 12px; }
.article-more { text-align: right; }
.article-more a { color: var(--green-dark); font-weight: 600; }
.article-more a:hover { text-decoration: underline; }

/* 首页最新文章：图文卡片（沿用 .article-item / .item-img / .item-content） */

/* 侧栏推荐 */
.inside-page-ul { display: grid; gap: 14px; margin: 0; }
.inside-page-li {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 16px; box-shadow: var(--shadow-sm); transition: border-color .15s ease, transform .15s ease;
}
.inside-page-li:hover { border-color: var(--green); transform: translateY(-2px); }
.inside-page-li a { color: var(--text); display: block; }
.inside-page-li .column-img { width: 40px; height: 40px; }
.inside-page-li h2 { font-size: 15px; margin: 8px 0 4px; }

/* 侧栏广告位 */
.ad-sidebar h3 { display: flex; align-items: center; gap: 8px; font-size: 17px; margin: 0; }
.ad-badge {
  display: inline-block; font-size: 11px; font-weight: 400; line-height: 1;
  padding: 3px 6px; border-radius: 4px; color: #fff; background: #999;
}
.ad-card { position: relative; }
.ad-card::before {
  content: '广告'; position: absolute; top: 8px; right: 8px;
  font-size: 10px; color: #999; background: rgba(255,255,255,0.85);
  padding: 2px 5px; border-radius: 3px; border: 1px solid var(--border);
  pointer-events: none;
}
.ad-card:hover::before { background: #fff; color: #666; }
.ad-card img { object-fit: contain; }
.ad-code-slot { text-align: center; min-height: 90px; display: flex; align-items: center; justify-content: center; }

/* 中国地图（page_guonei） */
.ChinaMap { display: flex; justify-content: center; background: var(--green-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; margin-bottom: 18px; }
.inside-map { width: 100%; max-width: 720px; height: auto; }
.structure { margin-top: 8px; }

/* 信封图 */
.xinfeng { text-align: center; background: var(--bg-soft); border-radius: var(--radius); padding: 16px; }
.xinfeng img { max-width: 100%; border-radius: var(--radius-sm); }

/* ===================================================================
   页脚（邮政绿深色）
   =================================================================== */
.footer-bg { background: var(--green-darker); color: #eaf5ef; margin-top: 40px; padding: 44px 0 0; }
.footer-content {
  display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 24px;
  max-width: var(--maxw); margin: 0 auto; padding: 0 18px;
}
.footer-brand h2 { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 18px; margin: 0 0 10px; }
.footer-brand h2 svg { flex-shrink: 0; }
.footer-brand p { color: rgba(234,245,239,.78); font-size: 13px; margin: 0; max-width: 260px; }
.footer-col h3 { color: #fff; font-size: 15px; margin: 0 0 14px; font-weight: 600; }
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(234,245,239,.82); font-size: 13px; transition: color .15s ease; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-col .foot-text-color { color: rgba(234,245,239,.78); font-size: 13px; }

.footer-t { background: var(--green-darker); border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding: 16px 0; }
.footer-flex { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; max-width: var(--maxw); margin: 0 auto; padding: 0 18px; font-size: 13px; }
.footer-flex a { color: rgba(234,245,239,.85); }
.footer-flex a:hover { color: #fff; text-decoration: none; }

.gotop { position: fixed; right: 22px; bottom: 26px; z-index: 60; width: 44px; height: 44px; border-radius: 50%; background: var(--green); box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; }
.gotop .uptop { display: flex; }
.gotop img { filter: brightness(0) invert(1); }

/* ===================================================================
   内页补充组件（原模板使用、需补齐样式，保持视觉统一）
   =================================================================== */
/* 配图包裹 */
.generated-img { margin: 6px 0 14px; text-align: center; }
.generated-img p { margin: 0; }
.generated-img img { border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }

/* 国旗缩略图（国际邮编） */
.thumb { float: right; margin: 0 0 14px 18px; }
.tright { text-align: right; }
.thumbinner { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 6px; box-shadow: var(--shadow-sm); }
.thumbimage { display: block; border-radius: 4px; }

/* 国家/地区介绍正文 */
.content { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 22px; box-shadow: var(--shadow-sm); font-size: 15.5px; line-height: 1.9; color: var(--text-2); }
.content p { margin: 0 0 14px; }
.content img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }
.content h2, .content h3, .content h4 { color: var(--text); margin: 16px 0 10px; }
.content a { color: var(--green-dark); text-decoration: underline; }

/* 文章 / 标签列表 */
.common-style-li { margin: 0; padding: 0; list-style: none; }
.common-style-li li { padding: 11px 0; border-bottom: 1px solid var(--border); }
.common-style-li li:last-child { border-bottom: none; }
.common-style-li a { color: var(--text-2); font-size: 15px; }
.common-style-li a:hover { color: var(--green); }

/* 文章 / 单页正文 */
.article-content { font-size: 15.5px; line-height: 1.9; color: var(--text-2); }
.article-content p { margin: 0 0 14px; }
.article-content img { max-width: 100%; height: auto; border-radius: var(--radius-sm); margin: 8px 0; }
.article-content h2, .article-content h3, .article-content h4 { color: var(--text); margin: 18px 0 10px; }
.article-content a { color: var(--green-dark); text-decoration: underline; }
.article-content ul, .article-content ol { padding-left: 22px; list-style: disc; margin: 0 0 14px; }
.article-content li { margin: 4px 0; }
.item-default { display: block; }

/* 文章详情：标签 + 上下篇 */
.detail-tags { margin-top: 16px; font-size: 14px; color: var(--muted); }
.detail-tags a { display: inline-block; margin: 0 4px; color: var(--green-dark); }
.detail-tags a:hover { text-decoration: underline; }
.detail-arr { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 14px; }
.detail-arr a { color: var(--green-dark); }
.detail-arr a:hover { text-decoration: underline; }

/* 标签云 */
.th-tags { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.th-tags li { list-style: none; }
.th-tags a { display: inline-block; padding: 6px 14px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 999px; color: var(--text-2); font-size: 14px; transition: all .15s ease; }
.th-tags a:hover { background: var(--green-soft); border-color: var(--green); color: var(--green-dark); }

/* ===================================================================
   响应式
   =================================================================== */
@media (max-width: 1024px) {
  .main-view { flex-direction: column; }
  .main-right { flex: 1 1 auto; max-width: none; width: 100%; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-right { justify-self: stretch; max-width: 560px; margin: 0 auto; }
  .hero-left { max-width: none; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-stats { justify-content: center; }
  .column-ul { grid-template-columns: repeat(2, 1fr); }
  .article-item { grid-template-columns: repeat(2, 1fr); }
  .zipcode-datas.zip-grid tbody { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .nav-icon { display: flex; }
  .main-nav {
    position: absolute; top: 64px; left: 0; right: 0; background: #fff;
    box-shadow: var(--shadow); padding: 10px 18px; display: none;
  }
  .nav-toggle:checked ~ .main-nav { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link { border-radius: var(--radius-sm); }
  .hero-title { font-size: 32px; }
  .hero-stats .stat strong { font-size: 24px; }
  .search-card { padding: 18px; }
  .search-line { flex-wrap: wrap; border-radius: var(--radius); padding: 10px; }
  .search-line .search-submit { width: 100%; border-radius: var(--radius-sm); }
  .search-tabs { display: flex; width: 100%; }
  .search-tabs .tab-btn { flex: 1 1 auto; text-align: center; }
  .column-ul, .article-item { grid-template-columns: 1fr; }
  .zipcode-datas.zip-grid tbody { grid-template-columns: repeat(2, 1fr); }
  .footer-content { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .section-header h2 { font-size: 22px; }
}
@media (max-width: 480px) {
  .zipcode-datas.zip-grid tbody { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 50px; }
  .hero-title { font-size: 28px; }
  .hero-stats { gap: 20px; }
}
