@charset "utf-8";
/* ============================================
   zkpke.com - 极简主义2.0 + 马卡龙色系
   风格: Q(极简主义2.0) + F(单栏极简)
   色彩: 9(马卡龙 #6ec5ff/#ffb6d9/#fff5cd)
   ============================================ */

:root {
  --primary: #6ec5ff;
  --secondary: #ffb6d9;
  --accent: #a8e6cf;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --bg-light: #fefefe;
  --bg-white: #ffffff;
  --bg-cream: #fff9f0;
  --text-dark: #2d3436;
  --text-muted: #636e72;
  --text-light: #b2bec3;
  --border: #dfe6e9;
  --shadow-sm: 0 2px 12px rgba(110, 197, 255, 0.15);
  --shadow-md: 0 8px 24px rgba(110, 197, 255, 0.2);
  --shadow-lg: 0 16px 48px rgba(110, 197, 255, 0.25);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-light);
  font-family: 'Microsoft YaHei', 'PingFang SC', -apple-system, sans-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-white); box-shadow: var(--shadow-sm); }
.top_header { max-width: 1200px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: center; }
.top_header a#logo img { height: 40px; }

.nav-warp { background: var(--bg-white); border-top: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; padding: 0 24px; }
.nav-item { padding: 14px 22px; font-size: 15px; font-weight: 500; color: var(--text-muted); transition: var(--transition); }
.nav-item:hover, .nav-item.active { color: var(--primary); }

/* ============================================
   全宽大图模块
   ============================================ */
.fullimg-section { background: var(--bg-white); padding: 30px 0; }
.fi-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.fi-card { display: block; position: relative; height: 450px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.fi-img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.5s ease; }
.fi-card:hover .fi-img { transform: scale(1.03); }
.fi-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%); }
.fi-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 40px; }
.fi-badge { display: inline-block; padding: 6px 16px; background: var(--gradient); color: #fff; font-size: 12px; font-weight: 600; border-radius: 20px; margin-bottom: 16px; }
.fi-content h2 { font-size: 32px; color: #fff; font-weight: 700; margin-bottom: 12px; }
.fi-content p { font-size: 15px; color: rgba(255,255,255,0.85); }

/* ============================================
   标签筛选横条
   ============================================ */
.tagbar-section { background: var(--bg-white); padding: 20px 0; border-bottom: 1px solid var(--border); }
.tb-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.tb-tabs { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.tb-tab { padding: 10px 24px; background: var(--bg-light); color: var(--text-muted); font-size: 14px; font-weight: 500; border-radius: 25px; cursor: pointer; transition: var(--transition); border: 2px solid transparent; }
.tb-tab:hover, .tb-tab.active { background: var(--gradient); color: #fff; }

/* ============================================
   网格卡片模块
   ============================================ */
.gridcard-section { background: var(--bg-light); padding: 80px 0; }
.gc-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.gc-header { text-align: center; margin-bottom: 50px; }
.gc-header h2 { font-size: 32px; font-weight: 700; color: var(--text-dark); }
.gc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.gc-card { background: var(--bg-white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); }
.gc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.gc-img { height: 180px; background-size: cover; background-position: center; }
.gc-body { padding: 24px; }
.gc-cat { font-size: 12px; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.gc-body h3 { font-size: 18px; font-weight: 600; color: var(--text-dark); margin: 10px 0; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gc-footer { display: flex; justify-content: space-between; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-light); }
.gc-footer i { margin-right: 4px; }

/* ============================================
   左侧时间线右侧文章
   ============================================ */
.timeline-article-section { background: var(--bg-white); padding: 80px 0; border-top: 1px solid var(--border); }
.ta-wrapper { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 320px; gap: 60px; }
.ta-header { margin-bottom: 40px; }
.ta-header h2 { font-size: 28px; font-weight: 700; color: var(--text-dark); }
.ta-list { display: flex; flex-direction: column; }
.ta-item { display: grid; grid-template-columns: 70px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--border); align-items: start; }
.ta-item:last-child { border-bottom: none; }
.ta-date { text-align: center; }
.ta-day { display: block; font-size: 32px; font-weight: 700; color: var(--primary); line-height: 1; }
.ta-month { font-size: 12px; color: var(--text-light); }
.ta-cat { font-size: 12px; color: var(--secondary); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.ta-content h3 { font-size: 18px; font-weight: 600; color: var(--text-dark); margin: 8px 0 10px; }
.ta-content h3 a:hover { color: var(--primary); }
.ta-content 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; }
.ta-sidebar { position: sticky; top: 80px; height: fit-content; }
.ts-widget { background: var(--bg-light); padding: 24px; border-radius: var(--radius); margin-bottom: 24px; }
.ts-title { font-size: 16px; font-weight: 700; color: var(--text-dark); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--gradient); display: flex; align-items: center; gap: 8px; }
.ts-title i { color: var(--primary); }
.ts-list { display: flex; flex-direction: column; gap: 8px; }
.ts-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--bg-white); border-radius: var(--radius-sm); transition: var(--transition); }
.ts-item:hover { box-shadow: var(--shadow-sm); transform: translateX(4px); }
.ts-num { width: 24px; height: 24px; background: var(--gradient); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; border-radius: 50%; flex-shrink: 0; }
.ts-text { font-size: 14px; color: var(--text-dark); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.ts-cats { display: flex; flex-direction: column; gap: 8px; }
.ts-cat-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: var(--bg-white); border-radius: var(--radius-sm); font-size: 14px; color: var(--text-dark); transition: var(--transition); }
.ts-cat-item:hover { box-shadow: var(--shadow-sm); color: var(--primary); }
.ts-count { font-size: 12px; color: var(--text-light); background: var(--bg-light); padding: 2px 8px; border-radius: 10px; }
.ts-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ts-tag { padding: 6px 14px; background: var(--bg-white); color: var(--text-muted); font-size: 13px; border-radius: 20px; transition: var(--transition); }
.ts-tag:hover { background: var(--gradient); color: #fff; }

/* ============================================
   底部
   ============================================ */
.footer { background: var(--bg-white); padding: 40px 24px; text-align: center; border-top: 1px solid var(--border); }
.footer-bottom { max-width: 1200px; margin: 0 auto; font-size: 13px; color: var(--text-light); }
.footer-bottom a { color: var(--primary); margin: 0 8px; }
.footer-bottom a:hover { color: var(--secondary); }

/* ============================================
   响应式
   ============================================ */
@media (max-width: 1024px) {
  .gc-grid { grid-template-columns: repeat(2, 1fr); }
  .ta-wrapper { grid-template-columns: 1fr; }
  .ta-sidebar { position: static; }
}
@media (max-width: 768px) {
  .gc-grid { grid-template-columns: 1fr; }
  .fi-card { height: 320px; }
  .fi-content h2 { font-size: 24px; }
  .ta-item { grid-template-columns: 60px 1fr; gap: 16px; }
}

/* ============================================
   列表页样式
   ============================================ */
.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-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.list-article-item:hover { transform: translateX(8px); box-shadow: var(--shadow-md); }
.list-article-img { width: 280px; height: 180px; background-size: cover; background-position: center; flex-shrink: 0; }
.list-article-info { padding: 24px; display: flex; flex-direction: column; justify-content: center; }
.list-article-info h3 { font-size: 20px; font-weight: 600; 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); padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow-sm); 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(--gradient); display: flex; align-items: center; gap: 8px; }
.card-title i { color: var(--primary); }
.sidebar-nav-list li { padding: 10px 0; border-bottom: 1px solid 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); border-radius: 10px; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span { padding: 10px 16px; background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-sm); 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: 1px 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); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-sm); margin-bottom: 40px; }
.detail-header { margin-bottom: 30px; padding-bottom: 30px; border-bottom: 1px solid var(--border); }
.detail-category { display: inline-block; padding: 4px 12px; background: var(--gradient); color: #fff; font-size: 12px; border-radius: 20px; 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; border-radius: var(--radius-sm); margin: 16px 0; }
.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: 1px 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(--primary); }
.detail-tags a { padding: 4px 12px; background: var(--bg-light); color: var(--text-muted); border-radius: 20px; font-size: 13px; }
.detail-tags a:hover { background: var(--gradient); color: #fff; }
.related-articles { background: var(--bg-white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.related-title { font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--gradient); display: flex; align-items: center; gap: 8px; }
.related-title i { color: var(--primary); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card { background: var(--bg-light); border-radius: var(--radius-sm); overflow: hidden; transition: var(--transition); }
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.related-img { height: 120px; background-size: cover; background-position: center; }
.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; }
  .related-grid { grid-template-columns: 1fr; }
  .article-detail { padding: 24px; }
  .detail-title { font-size: 24px; }
}
