@charset "utf-8";
/* ============================================
   exfmw.com - 新中式 + 工业蒸汽
   风格: P(新中式) + H(工业蒸汽)
   色彩: 8(暖调 #c53030/#dd6b20/#d69e2e)
   ============================================ */

:root {
  --primary: #c53030;
  --secondary: #dd6b20;
  --accent: #d69e2e;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --bg-light: #faf8f6;
  --bg-white: #ffffff;
  --bg-dark: #1a1814;
  --text-dark: #2d2a26;
  --text-muted: #6b6560;
  --text-light: #9c9690;
  --border: #e5e0da;
  --shadow-sm: 0 3px 10px rgba(197, 48, 48, 0.1);
  --shadow-md: 0 8px 20px rgba(197, 48, 48, 0.15);
  --shadow-lg: 0 16px 40px rgba(197, 48, 48, 0.2);
  --radius: 0;
  --radius-sm: 2px;
  --radius-lg: 4px;
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-light);
  font-family: 'SimSun', 'Microsoft YaHei', serif;
  color: var(--text-dark);
  line-height: 1.8;
  min-height: 100vh;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, li { list-style: none; }
img { max-width: 100%; height: auto; }

/* ============================================
   头部导航
   ============================================ */
.header { background: var(--bg-dark); border-bottom: 3px solid var(--primary); }
.top_header { max-width: 1200px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: center; }
.top_header a#logo { display: flex; flex-direction: column; align-items: center; } .top_header a#logo img { height: 100px; width: 100px; object-fit: cover; border-radius: 50%; } .top_header a#logo .site-name { display: block; text-align: center; color: #fff; font-size: 1.25rem; font-weight: 700; margin-top: 8px; }

.nav-warp { background: var(--bg-dark); position: sticky; top: 0; z-index: 100; }
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; padding: 0 24px; }
.nav-item { padding: 14px 20px; font-size: 14px; color: rgba(255,255,255,0.8); transition: var(--transition); border-bottom: 3px solid transparent; margin-bottom: -3px; }
.nav-item:hover, .nav-item.active { color: var(--accent); border-bottom-color: var(--accent); }

/* ============================================
   左侧导航右侧内容
   ============================================ */
.split-nav-section { background: var(--bg-white); padding: 60px 0; border-bottom: 2px solid var(--border); }
.sn-wrapper { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 240px 1fr; gap: 50px; }
.sn-nav { border: 2px solid var(--border); padding: 20px 0; }
.sn-nav-header { padding: 0 20px 16px; border-bottom: 2px solid var(--border); margin-bottom: 16px; }
.sn-nav-header h3 { font-size: 18px; font-weight: 700; color: var(--text-dark); }
.sn-nav-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; font-size: 14px; color: var(--text-muted); border-bottom: 1px dashed var(--border); transition: var(--transition); }
.sn-nav-item:hover { background: var(--gradient); color: #fff; }
.sn-count { background: var(--bg-light); padding: 2px 8px; font-size: 11px; }
.sn-nav-item:hover .sn-count { background: rgba(255,255,255,0.2); color: #fff; }
.sn-content { min-width: 0; }
.sn-featured { margin-bottom: 30px; }
.sn-featured-card { display: block; position: relative; height: 350px; border: 2px solid var(--border); overflow: hidden; }
.sn-featured-img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: var(--transition); }
.sn-featured-card:hover .sn-featured-img { transform: scale(1.05); }
.sn-featured-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 30px; background: linear-gradient(transparent, rgba(0,0,0,0.85)); }
.sn-badge { display: inline-block; padding: 4px 12px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; margin-bottom: 10px; }
.sn-featured-overlay h2 { font-size: 26px; color: #fff; font-weight: 700; margin-bottom: 8px; }
.sn-featured-overlay p { font-size: 14px; color: rgba(255,255,255,0.8); }
.sn-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.sn-card { border: 2px solid var(--border); overflow: hidden; transition: var(--transition); }
.sn-card:hover { border-color: var(--primary); }
.sn-card-img { height: 140px; background-size: cover; background-position: center; border-bottom: 2px solid var(--border); }
.sn-card-body { padding: 16px; }
.sn-cat { font-size: 11px; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; }
.sn-card-body h3 { font-size: 15px; font-weight: 700; color: var(--text-dark); margin: 8px 0; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sn-card-body p { font-size: 13px; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ============================================
   数字列表模块
   ============================================ */
.numberlist-section { background: var(--bg-light); padding: 60px 0; border-bottom: 2px solid var(--border); }
.nl-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.nl-header { margin-bottom: 30px; }
.nl-header h2 { font-size: 24px; font-weight: 700; color: var(--text-dark); border-left: 4px solid var(--primary); padding-left: 16px; }
.nl-list { display: flex; flex-direction: column; gap: 0; border: 2px solid var(--border); }
.nl-item { display: flex; align-items: center; gap: 20px; padding: 16px 20px; border-bottom: 1px dashed var(--border); transition: var(--transition); }
.nl-item:last-child { border-bottom: none; }
.nl-item:hover { background: var(--gradient); color: #fff; }
.nl-num { width: 32px; height: 32px; background: var(--bg-white); color: var(--primary); font-size: 16px; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid var(--primary); flex-shrink: 0; transition: var(--transition); }
.nl-item:hover .nl-num { background: var(--primary); color: #fff; }
.nl-title { flex: 1; font-size: 15px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.nl-views { font-size: 13px; color: var(--text-light); white-space: nowrap; }
.nl-item:hover .nl-views { color: rgba(255,255,255,0.8); }
.nl-views i { margin-right: 4px; }

/* ============================================
   大图文模块
   ============================================ */
.bigimage-section { background: var(--bg-white); padding: 80px 0; border-bottom: 2px solid var(--border); }
.bi-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.bi-header { margin-bottom: 40px; }
.bi-header h2 { font-size: 28px; font-weight: 700; color: var(--text-dark); border-left: 4px solid var(--secondary); padding-left: 16px; }
.bi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.bi-card { border: 2px solid var(--border); overflow: hidden; transition: var(--transition); }
.bi-card:hover { border-color: var(--secondary); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.bi-img { height: 200px; background-size: cover; background-position: center; }
.bi-body { padding: 24px; }
.bi-cat { font-size: 12px; color: var(--secondary); text-transform: uppercase; letter-spacing: 1px; }
.bi-body h3 { font-size: 18px; font-weight: 700; color: var(--text-dark); margin: 10px 0; line-height: 1.4; }
.bi-body p { font-size: 14px; color: var(--text-muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 16px; }
.bi-meta { display: flex; gap: 20px; font-size: 13px; color: var(--text-light); padding-top: 16px; border-top: 1px dashed var(--border); }
.bi-meta i { margin-right: 4px; }

/* ============================================
   标签聚合模块
   ============================================ */
.tagcloud-section { background: var(--bg-light); padding: 80px 0; }
.tc-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.tc-header { margin-bottom: 40px; }
.tc-header h2 { font-size: 28px; font-weight: 700; color: var(--text-dark); border-left: 4px solid var(--accent); padding-left: 16px; }
.tc-wrapper { display: grid; grid-template-columns: 1fr 280px; gap: 50px; }
.tc-main { display: flex; flex-wrap: wrap; gap: 12px; padding: 30px; background: var(--bg-white); border: 2px solid var(--border); }
.tc-item { padding: 10px 20px; background: var(--bg-light); color: var(--text-dark); font-size: 14px; border: 1px solid var(--border); transition: var(--transition); }
.tc-item:hover { background: var(--gradient); color: #fff; border-color: var(--primary); }
.tc-sidebar { }
.tc-widget { background: var(--bg-white); border: 2px solid var(--border); padding: 24px; }
.tc-widget h4 { font-size: 16px; font-weight: 700; color: var(--text-dark); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--accent); display: flex; align-items: center; gap: 8px; }
.tc-widget h4 i { color: var(--accent); }
.tc-cat-item { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: 14px; color: var(--text-muted); }
.tc-cat-item:last-child { border-bottom: none; }
.tc-cat-item:hover { color: var(--primary); }
.tc-count { background: var(--bg-light); padding: 2px 8px; font-size: 12px; }
.tc-cat-item:hover .tc-count { background: var(--primary); color: #fff; }

/* ============================================
   底部
   ============================================ */
.footer { background: var(--bg-dark); padding: 40px 24px; text-align: center; border-top: 3px solid var(--primary); }
.footer-bottom { max-width: 1200px; margin: 0 auto; font-size: 13px; color: rgba(255,255,255,0.5); }
.footer-bottom a { color: var(--accent); margin: 0 8px; }
.footer-bottom a:hover { color: var(--primary); }

/* ============================================
   响应式
   ============================================ */
@media (max-width: 1024px) {
  .sn-wrapper { grid-template-columns: 1fr; }
  .sn-nav { display: none; }
  .bi-grid { grid-template-columns: repeat(2, 1fr); }
  .tc-wrapper { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .sn-grid { grid-template-columns: 1fr; }
  .bi-grid { grid-template-columns: 1fr; }
}

/* ============================================
   列表页样式
   ============================================ */
.list-page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
}
.list-main { min-width: 0; }
.list-articles { display: flex; flex-direction: column; gap: 24px; }
.list-article-item {
  display: flex;
  gap: 24px;
  background: var(--bg-white);
  border: 2px solid var(--border);
  transition: var(--transition);
}
.list-article-item:hover { border-color: var(--primary); transform: translateX(8px); }
.list-article-img { width: 280px; height: 180px; background-size: cover; background-position: center; flex-shrink: 0; border-right: 2px solid var(--border); }
.list-article-info { padding: 24px; display: flex; flex-direction: column; justify-content: center; }
.list-article-info h3 { font-size: 20px; font-weight: 700; color: var(--text-dark); margin-bottom: 12px; }
.list-article-info h3:hover { color: var(--primary); }
.list-article-info p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.list-article-meta { display: flex; gap: 20px; font-size: 13px; color: var(--text-light); }
.list-article-meta i { margin-right: 4px; }
.list-sidebar { position: sticky; top: 80px; height: fit-content; }
.sidebar-card { background: var(--bg-white); border: 2px solid var(--border); padding: 24px; margin-bottom: 24px; }
.card-title { font-size: 16px; font-weight: 700; color: var(--text-dark); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--accent); display: flex; align-items: center; gap: 8px; }
.card-title i { color: var(--accent); }
.sidebar-nav-list li { padding: 10px 0; border-bottom: 1px dashed var(--border); }
.sidebar-nav-list li:last-child { border-bottom: none; }
.sidebar-nav-list a { display: flex; justify-content: space-between; font-size: 14px; color: var(--text-muted); }
.sidebar-nav-list a:hover { color: var(--primary); }
.sidebar-nav-list .count { background: var(--bg-light); padding: 2px 8px; font-size: 12px; color: var(--text-light); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span { padding: 10px 16px; background: var(--bg-white); border: 2px solid var(--border); font-size: 14px; color: var(--text-muted); transition: var(--transition); }
.pagination a:hover, .pagination .active { background: var(--gradient); color: #fff; border-color: transparent; }

/* ============================================
   详情页样式
   ============================================ */
.page-header { background: var(--bg-white); padding: 40px 0; border-bottom: 2px solid var(--border); }
.page-header .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.page-title { font-size: 32px; font-weight: 700; color: var(--text-dark); margin-bottom: 12px; }
.page-breadcrumb { font-size: 14px; color: var(--text-muted); }
.page-breadcrumb a { color: var(--text-muted); }
.page-breadcrumb a:hover { color: var(--primary); }
.content-wrapper { background: var(--bg-light); padding: 60px 0; }
.content-wrapper .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.article-detail { background: var(--bg-white); padding: 40px; border: 2px solid var(--border); margin-bottom: 40px; }
.detail-header { margin-bottom: 30px; padding-bottom: 30px; border-bottom: 2px solid var(--border); }
.detail-category { display: inline-block; padding: 4px 12px; background: var(--primary); color: #fff; font-size: 12px; margin-bottom: 16px; }
.detail-title { font-size: 32px; font-weight: 700; color: var(--text-dark); margin-bottom: 16px; line-height: 1.4; }
.detail-meta { display: flex; gap: 24px; font-size: 14px; color: var(--text-light); }
.detail-meta i { margin-right: 4px; }
.detail-content { font-size: 16px; line-height: 1.8; color: var(--text-dark); }
.detail-content p { margin-bottom: 16px; }
.detail-content img { max-width: 100%; height: auto; margin: 16px 0; border: 2px solid var(--border); }
.detail-content h2, .detail-content h3 { font-size: 20px; font-weight: 700; color: var(--text-dark); margin: 24px 0 16px; }
.detail-content ul, .detail-content ol { padding-left: 24px; margin-bottom: 16px; }
.detail-content li { margin-bottom: 8px; }
.detail-tags { margin-top: 30px; padding-top: 20px; border-top: 2px solid var(--border); font-size: 14px; color: var(--text-muted); display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.detail-tags i { color: var(--accent); }
.detail-tags a { padding: 4px 12px; background: var(--bg-light); color: var(--text-muted); font-size: 13px; border: 1px solid var(--border); }
.detail-tags a:hover { background: var(--gradient); color: #fff; border-color: transparent; }
.related-articles { background: var(--bg-white); border: 2px solid var(--border); padding: 30px; }
.related-title { font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--accent); display: flex; align-items: center; gap: 8px; }
.related-title i { color: var(--accent); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card { border: 2px solid var(--border); overflow: hidden; transition: var(--transition); }
.related-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.related-img { height: 120px; background-size: cover; background-position: center; border-bottom: 2px solid var(--border); }
.related-info { padding: 16px; }
.related-info h4 { font-size: 14px; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-info span { font-size: 12px; color: var(--text-light); }
.related-info span i { margin-right: 4px; }

/* ============================================
   响应式
   ============================================ */
@media (max-width: 1024px) {
  .list-page-wrapper { grid-template-columns: 1fr; }
  .list-sidebar { position: static; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .list-article-item { flex-direction: column; }
  .list-article-img { width: 100%; height: 200px; border-right: none; border-bottom: 2px solid var(--border); }
  .related-grid { grid-template-columns: 1fr; }
  .article-detail { padding: 24px; }
  .detail-title { font-size: 24px; }
}
