/*
Theme Name: Themez Clone 仿站主题
Theme URI: https://bbcfire.cn/
Author: bbcfire
Author URI: https://bbcfire.cn/
Description: 参照 themez.cn 风格制作的响应式 WordPress 资源站主题，支持电脑版与手机版。深蓝搜索模块 + 图文卡片列表 + 分类模块 + 手机底部导航。
Version: 1.0.0
Requires at least: 5.0
Tested up to: 7.1
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: themez-clone
Tags: blog, news, custom-menu, featured-images, translation-ready
*/

/* ============ 基础 ============ */
:root {
  --tz-primary: #536de6;
  --tz-primary-dark: #4155c4;
  --tz-navy: #191e4b;
  --tz-navy-2: #26317a;
  --tz-body: #f4f6f9;
  --tz-card: #ffffff;
  --tz-text: #2d3345;
  --tz-text-2: #4a5165;
  --tz-muted: #8b93a5;
  --tz-border: #e8ecf1;
  --tz-green: #10c469;
  --tz-radius: 10px;
  --tz-shadow: 0 2px 12px rgba(25, 30, 75, 0.06);
  --tz-shadow-hover: 0 10px 28px rgba(25, 30, 75, 0.12);
}

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

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--tz-text);
  background-color: var(--tz-body);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--tz-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--tz-primary-dark); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0 0 .5em; line-height: 1.4; font-weight: 600; }
p { margin: 0 0 1em; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.tz-row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.tz-col { padding: 0 15px; }
.d-none { display: none !important; }
.text-center { text-align: center; }
.text-muted { color: var(--tz-muted); }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }

/* ============ 顶栏 ============ */
.tz-header {
  position: sticky; top: 0; z-index: 900;
  background: #fff;
  border-bottom: 1px solid var(--tz-border);
  height: 70px;
}
.tz-header-inner { height: 70px; display: flex; align-items: center; justify-content: space-between; }

.tz-logo { display: flex; align-items: center; gap: 10px; }
.tz-logo img { max-height: 38px; width: auto; display: block; }
.tz-logo .tz-logo-text { font-size: 22px; font-weight: 700; color: var(--tz-navy); letter-spacing: 1px; }
.tz-logo .tz-logo-text span { color: var(--tz-primary); }

.tz-nav { display: flex; align-items: center; }
.tz-nav > li { position: relative; }
.tz-nav > li > a {
  display: block; padding: 0 14px; line-height: 70px;
  color: var(--tz-text-2); font-size: 15px;
}
.tz-nav > li > a:hover, .tz-nav > li.current-menu-item > a { color: var(--tz-primary); }
.tz-nav .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 180px;
  background: #fff; border: 1px solid var(--tz-border); border-radius: 8px;
  box-shadow: var(--tz-shadow); padding: 8px 0; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: all .2s;
}
.tz-nav li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.tz-nav .sub-menu a { display: block; padding: 8px 16px; color: var(--tz-text-2); font-size: 14px; }
.tz-nav .sub-menu a:hover { color: var(--tz-primary); background: #f6f8fb; }

.tz-actions { display: flex; align-items: center; gap: 6px; }
.tz-actions .tz-icon-btn {
  width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; color: var(--tz-text-2); font-size: 16px; cursor: pointer; background: none; border: none;
}
.tz-actions .tz-icon-btn:hover { background: #f2f4f8; color: var(--tz-primary); }
.tz-burger { display: none; }

/* ============ 搜索大图模块 ============ */
.tz-hero {
  position: relative;
  background: linear-gradient(135deg, var(--tz-navy) 0%, var(--tz-navy-2) 55%, var(--tz-primary) 130%);
  padding: 90px 0 120px;
  text-align: center;
  overflow: hidden;
}
.tz-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 26px 26px;
}
.tz-hero .container { position: relative; z-index: 1; max-width: 820px; }
.tz-hero h2 { color: #fff; font-size: 26px; letter-spacing: 2px; margin-bottom: 6px; }
.tz-hero .tz-hero-desc { color: rgba(255,255,255,.85); font-size: 14px; margin-bottom: 26px; }

.tz-search { display: flex; align-items: center; width: 100%; border: 2px solid rgba(255,255,255,.55); border-radius: 50px; background: #fff; overflow: hidden; }
.tz-search select {
  border: none; background: transparent; height: 52px; padding: 0 18px;
  font-size: 14px; color: var(--tz-text-2); outline: none;
  min-width: 120px; cursor: pointer; border-right: 1px solid #e9edf3;
}
.tz-search input {
  flex: 1; border: none; outline: none; height: 52px; padding: 0 18px; font-size: 15px; min-width: 0;
}
.tz-search button {
  height: 52px; width: 64px; border: none; background: var(--tz-primary); color: #fff;
  font-size: 16px; cursor: pointer; transition: background .2s;
}
.tz-search button:hover { background: var(--tz-primary-dark); }

.tz-hotkeys { text-align: left; margin-top: 12px; color: rgba(255,255,255,.55); font-size: 13px; }
.tz-hotkeys a { color: rgba(255,255,255,.85); margin-left: 4px; }
.tz-hotkeys a:hover { color: #fff; }

/* ============ 内容区 ============ */
.tz-main { padding: 30px 0 60px; }
.tz-section { margin-bottom: 30px; }

.tz-module-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 18px; }
.tz-module-title { font-size: 22px; font-weight: 700; color: var(--tz-navy); margin: 0; display: flex; align-items: baseline; gap: 10px; }
.tz-module-title::before { content: ""; display: inline-block; width: 6px; height: 22px; border-radius: 3px; background: var(--tz-primary); }
.tz-module-sub { color: var(--tz-muted); font-size: 13px; font-weight: 400; }
.tz-module-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.tz-module-tabs a {
  display: inline-block; padding: 4px 14px; border-radius: 20px;
  background: #fff; border: 1px solid var(--tz-border); color: var(--tz-text-2); font-size: 13px;
}
.tz-module-tabs a:hover, .tz-module-tabs a.active { background: var(--tz-primary); border-color: var(--tz-primary); color: #fff; }
.tz-module-more { color: var(--tz-muted); font-size: 13px; }
.tz-module-more:hover { color: var(--tz-primary); }

/* 大卡片 + 列表 */
.tz-cms { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.tz-cms > div { padding: 0 15px; }

.tz-feature {
  position: relative; border-radius: var(--tz-radius); overflow: hidden; height: 100%;
  min-height: 300px; background-size: cover; background-position: center;
  display: flex; align-items: flex-end;
}
.tz-feature .tz-feature-overlay {
  position: absolute; inset: 0; background: linear-gradient(180deg, rgba(25,30,75,0) 30%, rgba(25,30,75,.85) 100%);
}
.tz-feature .tz-feature-body { position: relative; padding: 20px; color: #fff; width: 100%; }
.tz-feature .tz-feature-title { font-size: 19px; line-height: 1.5; margin-bottom: 10px; }
.tz-feature .tz-feature-title a { color: #fff; }
.tz-feature .tz-feature-title a:hover { color: #dde4ff; }
.tz-feature .tz-meta { color: rgba(255,255,255,.8); }

.tz-list-item {
  display: flex; gap: 15px; align-items: center;
  background: var(--tz-card); border: 1px solid var(--tz-border); border-radius: var(--tz-radius);
  padding: 10px; margin-bottom: 15px; transition: all .25s;
}
.tz-list-item:hover { box-shadow: var(--tz-shadow-hover); transform: translateY(-2px); }
.tz-list-thumb { flex: 0 0 130px; height: 86px; border-radius: 6px; overflow: hidden; background: #eef1f6; }
.tz-list-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tz-list-body { flex: 1; min-width: 0; }
.tz-list-title { font-size: 15px; line-height: 1.5; margin-bottom: 6px; font-weight: 600; }
.tz-list-title a { color: var(--tz-text); }
.tz-list-title a:hover { color: var(--tz-primary); }
.tz-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 12px; color: var(--tz-muted); }
.tz-meta a { color: var(--tz-muted); }
.tz-meta a:hover { color: var(--tz-primary); }
.tz-meta .tz-cat { color: var(--tz-primary); }
.tz-meta .tz-price { color: var(--tz-green); font-weight: 600; margin-left: auto; }

/* 卡片网格 */
.tz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.tz-card {
  background: var(--tz-card); border: 1px solid var(--tz-border); border-radius: var(--tz-radius);
  overflow: hidden; transition: all .25s;
}
.tz-card:hover { box-shadow: var(--tz-shadow-hover); transform: translateY(-3px); }
.tz-card-thumb { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 2; background: #eef1f6; }
.tz-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.tz-card:hover .tz-card-thumb img { transform: scale(1.04); }
.tz-card-thumb .tz-card-cats { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; z-index: 1; }
.tz-card-cats a {
  background: rgba(25,30,75,.72); color: #fff; font-size: 11px; padding: 2px 10px; border-radius: 12px;
}
.tz-card-cats a:hover { background: var(--tz-primary); color: #fff; }
.tz-card-body { padding: 14px 16px 16px; }
.tz-card-title { font-size: 15px; line-height: 1.5; margin-bottom: 6px; }
.tz-card-title a { color: var(--tz-text); }
.tz-card-title a:hover { color: var(--tz-primary); }
.tz-card-excerpt { color: var(--tz-text-2); font-size: 13px; line-height: 1.6; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* CTA 模块 */
.tz-cta {
  position: relative; border-radius: var(--tz-radius); overflow: hidden;
  background: linear-gradient(135deg, var(--tz-navy) 0%, var(--tz-primary) 140%);
  color: #fff; padding: 34px 30px; text-align: center;
}
.tz-cta h4 { color: #fff; font-size: 20px; margin-bottom: 16px; }
.tz-cta .tz-btn {
  display: inline-block; padding: 8px 22px; border-radius: 24px; font-size: 14px; margin: 0 4px;
}
.tz-btn-warning { background: #ffb400; color: #2d3345 !important; }
.tz-btn-warning:hover { background: #ffc53d; }
.tz-btn-light { background: rgba(255,255,255,.15); color: #fff !important; border: 1px solid rgba(255,255,255,.35); }
.tz-btn-light:hover { background: rgba(255,255,255,.28); }

/* ============ 文章详情 ============ */
.tz-page-wrap { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.tz-content { flex: 1 1 0; min-width: 0; padding: 0 15px; }
.tz-sidebar { flex: 0 0 340px; padding: 0 15px; }

.tz-article {
  background: var(--tz-card); border: 1px solid var(--tz-border); border-radius: var(--tz-radius);
  padding: 30px; margin-bottom: 30px;
}
.tz-article h1.entry-title { font-size: 26px; margin-bottom: 14px; }
.tz-article .entry-content { font-size: 15px; line-height: 1.9; color: var(--tz-text-2); }
.tz-article .entry-content h2 { font-size: 22px; margin-top: 1.2em; }
.tz-article .entry-content h3 { font-size: 18px; margin-top: 1em; }
.tz-article .entry-content img { border-radius: 8px; }
.tz-article .entry-content a { text-decoration: underline; }
.tz-article .entry-content blockquote { margin: 1em 0; padding: 12px 18px; border-left: 4px solid var(--tz-primary); background: #f6f8fd; border-radius: 4px; }
.tz-breadcrumb { font-size: 13px; color: var(--tz-muted); margin-bottom: 16px; }
.tz-breadcrumb a { color: var(--tz-muted); }
.tz-breadcrumb a:hover { color: var(--tz-primary); }

.tz-tags { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.tz-tags a { font-size: 12px; padding: 3px 12px; background: #f2f4f8; border-radius: 14px; color: var(--tz-text-2); }
.tz-tags a:hover { background: var(--tz-primary); color: #fff; }

.tz-related { margin-top: 26px; }
.tz-related h3 { font-size: 18px; display: flex; align-items: center; gap: 8px; }
.tz-related h3::before { content: ""; width: 5px; height: 18px; border-radius: 3px; background: var(--tz-primary); }

/* 侧边栏 */
.tz-widget { background: var(--tz-card); border: 1px solid var(--tz-border); border-radius: var(--tz-radius); padding: 20px; margin-bottom: 20px; }
.tz-widget-title { font-size: 16px; font-weight: 700; color: var(--tz-navy); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.tz-widget-title::before { content: ""; width: 5px; height: 16px; border-radius: 3px; background: var(--tz-primary); }
.tz-wtabs { display: flex; gap: 4px; margin-bottom: 14px; flex-wrap: wrap; }
.tz-wtabs button {
  flex: 1; border: 1px solid var(--tz-border); background: #f7f9fc; color: var(--tz-text-2);
  padding: 7px 0; border-radius: 6px; font-size: 13px; cursor: pointer;
}
.tz-wtabs button.active { background: var(--tz-primary); border-color: var(--tz-primary); color: #fff; }
.tz-widget-post { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--tz-border); align-items: center; }
.tz-widget-post:last-child { border-bottom: none; }
.tz-widget-post .tz-wp-thumb { flex: 0 0 96px; height: 64px; border-radius: 6px; overflow: hidden; background: #eef1f6; }
.tz-widget-post .tz-wp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tz-widget-post .tz-wp-title { font-size: 13px; line-height: 1.5; }
.tz-widget-post .tz-wp-title a { color: var(--tz-text); }
.tz-widget-post .tz-wp-title a:hover { color: var(--tz-primary); }

/* 分页 */
.tz-pagination { display: flex; justify-content: center; gap: 6px; margin: 24px 0; }
.tz-pagination .page-numbers {
  display: inline-flex; min-width: 38px; height: 38px; align-items: center; justify-content: center;
  background: var(--tz-card); border: 1px solid var(--tz-border); border-radius: 8px; color: var(--tz-text-2); font-size: 14px; padding: 0 8px;
}
.tz-pagination .page-numbers.current, .tz-pagination .page-numbers:hover { background: var(--tz-primary); border-color: var(--tz-primary); color: #fff; }

/* 页脚 */
.tz-footer { background: #fff; border-top: 1px solid var(--tz-border); margin-top: 20px; }
.tz-footer-widgets { padding: 40px 0 20px; display: flex; flex-wrap: wrap; gap: 30px; }
.tz-footer-col { flex: 1 1 260px; }
.tz-footer-col .tz-logo-text { font-size: 20px; }
.tz-footer-col p { color: var(--tz-text-2); font-size: 13px; }
.tz-footer-col h5 { font-size: 15px; margin-bottom: 12px; color: var(--tz-navy); }
.tz-footer-col li { margin-bottom: 6px; }
.tz-footer-col a { color: var(--tz-text-2); font-size: 13px; }
.tz-footer-col a:hover { color: var(--tz-primary); }
.tz-friendlinks { border-top: 1px solid var(--tz-border); padding: 14px 0; font-size: 13px; color: var(--tz-muted); }
.tz-friendlinks a { color: var(--tz-text-2); margin-right: 12px; }
.tz-friendlinks a:hover { color: var(--tz-primary); }
.tz-copyright { border-top: 1px solid var(--tz-border); padding: 16px 0 20px; text-align: center; font-size: 12px; color: var(--tz-muted); }

/* ============ 手机端 ============ */
.tz-mobile-bottom {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 950;
  background: #fff; border-top: 1px solid var(--tz-border);
  padding-bottom: env(safe-area-inset-bottom);
}
.tz-mobile-bottom nav { display: flex; }
.tz-mobile-bottom a {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 0 6px; color: var(--tz-muted); font-size: 11px;
}
.tz-mobile-bottom a i { font-size: 19px; }
.tz-mobile-bottom a.active, .tz-mobile-bottom a:hover { color: var(--tz-primary); }

/* 全屏搜索 */
.tz-omnisearch {
  position: fixed; inset: 0; z-index: 1000; background: rgba(25,30,75,.96);
  display: none; align-items: flex-start; justify-content: center; padding-top: 16vh;
}
.tz-omnisearch.show { display: flex; }
.tz-omnisearch .tz-omni-close {
  position: absolute; top: 18px; right: 22px; color: #fff; font-size: 26px; cursor: pointer; background: none; border: none;
}
.tz-omnisearch h3 { color: #fff; text-align: center; margin-bottom: 16px; letter-spacing: 1px; }
.tz-omni-form { display: flex; width: 90%; max-width: 560px; background: #fff; border-radius: 40px; overflow: hidden; }
.tz-omni-form input { flex: 1; border: none; outline: none; height: 52px; padding: 0 20px; font-size: 15px; }
.tz-omni-form button { width: 60px; border: none; background: var(--tz-primary); color: #fff; cursor: pointer; }
.tz-omni-tags { width: 90%; max-width: 560px; margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.tz-omni-tags a { color: rgba(255,255,255,.75); font-size: 13px; border: 1px solid rgba(255,255,255,.25); padding: 4px 14px; border-radius: 16px; }
.tz-omni-tags a:hover { color: #fff; border-color: #fff; }

/* 侧滑菜单 */
.tz-offcanvas { position: fixed; top: 0; right: 0; bottom: 0; width: 300px; max-width: 85vw; z-index: 1000; background: #fff; transform: translateX(100%); transition: transform .3s; padding: 20px; overflow-y: auto; }
.tz-offcanvas.open { transform: translateX(0); }
.tz-offcanvas .tz-canvas-close { position: absolute; top: 14px; right: 16px; font-size: 20px; cursor: pointer; color: var(--tz-text-2); }
.tz-offcanvas .tz-canvas-nav a { display: block; padding: 10px 0; border-bottom: 1px solid var(--tz-border); color: var(--tz-text); font-size: 15px; }
.tz-offcanvas .tz-canvas-nav a:hover { color: var(--tz-primary); }
.tz-offcanvas .tz-canvas-nav .sub-menu a { padding-left: 18px; font-size: 14px; color: var(--tz-text-2); }
.tz-offcanvas .tz-canvas-search { display: flex; margin-bottom: 18px; border: 1px solid var(--tz-border); border-radius: 30px; overflow: hidden; }
.tz-offcanvas .tz-canvas-search input { flex: 1; border: none; outline: none; padding: 10px 16px; font-size: 14px; min-width: 0; }
.tz-offcanvas .tz-canvas-search button { border: none; background: var(--tz-primary); color: #fff; padding: 0 18px; cursor: pointer; }
.tz-dimmer { position: fixed; inset: 0; background: rgba(25,30,75,.5); z-index: 990; display: none; }
.tz-dimmer.show { display: block; }
body.tz-no-scroll { overflow: hidden; }

/* 占位缩略图 */
.tz-thumb-ph {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #536de6, #26317a);
  color: #fff; font-size: 13px; letter-spacing: 2px;
}

/* 评论 */
.tz-comments { background: var(--tz-card); border: 1px solid var(--tz-border); border-radius: var(--tz-radius); padding: 24px 30px; margin-bottom: 30px; }
.tz-comments h3 { font-size: 18px; margin-bottom: 16px; }
.tz-comments .comment-list li { padding: 12px 0; border-bottom: 1px dashed var(--tz-border); }
.tz-comments .comment-author { font-weight: 600; font-size: 14px; }
.tz-comments .comment-metadata { font-size: 12px; color: var(--tz-muted); }
.tz-comments .comment-content { font-size: 14px; margin-top: 6px; color: var(--tz-text-2); }
.tz-comments input, .tz-comments textarea {
  width: 100%; border: 1px solid var(--tz-border); border-radius: 8px; padding: 10px 14px; font-size: 14px; margin-bottom: 10px; font-family: inherit;
}
.tz-comments .submit { background: var(--tz-primary); color: #fff; border: none; cursor: pointer; width: auto; padding: 10px 26px; border-radius: 20px; }
.tz-comments .submit:hover { background: var(--tz-primary-dark); }

/* 404 / 搜索结果 */
.tz-empty { text-align: center; padding: 80px 20px; background: var(--tz-card); border: 1px solid var(--tz-border); border-radius: var(--tz-radius); }
.tz-empty h2 { font-size: 30px; color: var(--tz-navy); }
.tz-empty p { color: var(--tz-muted); }

/* ============ 响应式 ============ */
@media (max-width: 992px) {
  .tz-nav, .tz-actions .tz-icon-search-desktop { display: none; }
  .tz-burger { display: inline-flex; }
  .tz-sidebar { flex: 0 0 100%; order: 2; }
  .tz-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  body { padding-bottom: 58px; }
  .tz-header { height: 60px; }
  .tz-header-inner { height: 60px; }
  .tz-logo .tz-logo-text { font-size: 18px; }
  .tz-hero { padding: 46px 0 60px; }
  .tz-hero h2 { font-size: 18px; letter-spacing: 1px; }
  .tz-hero .tz-hero-desc { font-size: 12px; margin-bottom: 16px; }
  .tz-search { flex-wrap: wrap; border-radius: 26px; }
  .tz-search select { width: 100%; height: 42px; border-right: none; border-bottom: 1px solid #e9edf3; min-width: 0; }
  .tz-search input { height: 44px; font-size: 14px; }
  .tz-search button { height: 44px; width: 54px; }
  .tz-hotkeys { font-size: 12px; }
  .tz-mobile-bottom { display: block; }
  .tz-main { padding: 18px 0 40px; }
  .tz-module-title { font-size: 18px; }
  .tz-module-sub { display: none; }
  .tz-cms > div { width: 100%; }
  .tz-feature { min-height: 190px; margin-bottom: 15px; }
  .tz-feature .tz-feature-title { font-size: 16px; }
  .tz-list-thumb { flex-basis: 104px; height: 70px; }
  .tz-list-title { font-size: 14px; }
  .tz-meta { gap: 8px; font-size: 11px; }
  .tz-grid { grid-template-columns: 1fr; }
  .tz-article { padding: 20px 16px; }
  .tz-article h1.entry-title { font-size: 20px; }
  .tz-cta { padding: 26px 18px; }
  .tz-cta h4 { font-size: 16px; }
  .tz-footer-widgets { padding: 24px 0 10px; }
  .tz-footer-col { flex: 1 1 100%; }
}

@media (max-width: 480px) {
  .tz-grid { grid-template-columns: 1fr; }
}

/* 暗色模式（基础） */
html.tz-dark body { background: #141a2e; color: #cfd6e4; }
html.tz-dark .tz-header, html.tz-dark .tz-card, html.tz-dark .tz-list-item, html.tz-dark .tz-widget,
html.tz-dark .tz-article, html.tz-dark .tz-comments, html.tz-dark .tz-footer, html.tz-dark .tz-empty,
html.tz-dark .tz-mobile-bottom, html.tz-dark .tz-module-tabs a { background: #1b2340; border-color: #273050; }
html.tz-dark .tz-list-title a, html.tz-dark .tz-card-title a, html.tz-dark .tz-widget-post .tz-wp-title a { color: #dbe2f2; }
html.tz-dark .tz-module-title, html.tz-dark .tz-widget-title, html.tz-dark .tz-footer-col h5 { color: #e4e9f7; }
html.tz-dark .tz-module-tabs a { color: #b6c0d8; }
html.tz-dark .tz-logo .tz-logo-text { color: #e4e9f7; }
html.tz-dark .tz-nav > li > a { color: #b6c0d8; }
