/*
 * 台湾繁体儿童卡通资讯博客样式表
 * 设计风格：儿童友好精致风
 */

/* ===== CSS变量定义 ===== */
:root {
  /* 色彩系统 */
  --color-primary: #2a9d8f;
  --color-primary-light: #76c7bc;
  --color-primary-dark: #1d6f65;
  --color-secondary: #e76f51;
  --color-secondary-light: #f4a261;
  --color-accent: #264653;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-text-lighter: #999999;
  --color-bg: #f8f9fa;
  --color-bg-light: #ffffff;
  --color-bg-dark: #e9ecef;
  --color-border: #e0e0e0;
  --color-success: #2a9d8f;
  --color-warning: #e9c46a;
  --color-danger: #e76f51;

  /* 间距系统 */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* 字体大小 */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;

  /* 圆角 */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* 阴影 */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);

  /* 容器宽度 */
  --container-max-width: 1280px;
  --container-padding: var(--space-lg);

  /* 字体系统 */
  --font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft JhengHei", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft JhengHei", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ===== 重置与基础样式 ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft JhengHei", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-secondary);
}

ul, ol {
  list-style-position: inside;
}

/* ===== 工具类 ===== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.align-end { align-items: flex-end; }

.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }
.mt-5 { margin-top: var(--space-2xl); }

.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }
.mb-5 { margin-bottom: var(--space-2xl); }

.p-1 { padding: var(--space-sm); }
.p-2 { padding: var(--space-md); }
.p-3 { padding: var(--space-lg); }
.p-4 { padding: var(--space-xl); }

.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.btn {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: var(--text-sm);
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: white;
}

.btn-secondary:hover {
  background-color: #d65c3e;
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: white;
}

.section-title {
  font-size: var(--text-3xl);
  color: var(--color-accent);
  margin-bottom: var(--space-xl);
  position: relative;
  padding-bottom: var(--space-md);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--color-secondary);
  border-radius: var(--radius-full);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-light);
  margin-bottom: var(--space-xl);
  max-width: 700px;
}

/* ============================================
   重新设计的导航栏样式
   ============================================ */

.navbar-modern {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid rgba(42, 157, 143, 0.1);
}

.navbar-modern.scrolled {
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
  border-bottom-color: rgba(42, 157, 143, 0.2);
}

.navbar-container-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) var(--space-lg);
  gap: var(--space-lg);
}

.logo-modern {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.logo-modern:hover {
  transform: scale(1.05);
}

.logo-icon-modern {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: var(--radius-lg);
  color: var(--color-bg-light);
  box-shadow: 0 4px 12px rgba(42, 157, 143, 0.3);
  transition: all 0.3s ease;
}

.logo-modern:hover .logo-icon-modern {
  transform: rotate(5deg) scale(1.1);
  box-shadow: 0 6px 20px rgba(42, 157, 143, 0.4);
}

.logo-content-modern {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-text-modern {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: bold;
  color: var(--color-text);
  line-height: 1.2;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-tagline-modern {
  font-size: var(--text-xs);
  color: var(--color-text-lighter);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.nav-menu-modern {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list-modern {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item-modern {
  position: relative;
}

.nav-link-modern {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  transition: all 0.3s ease;
  position: relative;
  border-radius: var(--radius-md);
}

.nav-link-modern:hover {
  color: var(--color-primary);
  background: rgba(42, 157, 143, 0.05);
}

.nav-link-modern.active {
  color: var(--color-primary);
  background: rgba(42, 157, 143, 0.1);
}

.nav-link-indicator {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 50%;
  margin-top: var(--space-xs);
}

.nav-actions-modern {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.search-btn-modern {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-dark);
  border: none;
  border-radius: 50%;
  color: var(--color-text-light);
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-btn-modern:hover {
  background: var(--color-primary);
  color: var(--color-bg-light);
  transform: scale(1.1);
}

.subscribe-btn-modern {
  display: flex;
  align-items: center;
  padding: var(--space-sm) var(--space-lg);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-bg-light);
  border: none;
  border-radius: var(--radius-full);
  font-weight: bold;
  font-size: var(--text-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(42, 157, 143, 0.3);
}

.subscribe-btn-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(42, 157, 143, 0.4);
}

.nav-toggle-modern {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  justify-content: center;
}

.nav-toggle-line {
  width: 100%;
  height: 3px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle-modern.active .nav-toggle-line:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle-modern.active .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle-modern.active .nav-toggle-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* 搜索覆盖层现代样式 */
.search-overlay-modern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-overlay-modern.active {
  opacity: 1;
  visibility: visible;
}

.search-container-modern {
  width: 90%;
  max-width: 800px;
}

.search-wrapper-modern {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--color-bg-light);
  border-radius: var(--radius-xl);
  padding: var(--space-lg) var(--space-xl);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.search-icon-modern {
  color: var(--color-text-lighter);
  margin-right: var(--space-md);
  flex-shrink: 0;
}

.search-input-modern {
  flex: 1;
  border: none;
  outline: none;
  font-size: var(--text-xl);
  color: var(--color-text);
  background: transparent;
  font-family: var(--font-body);
}

.search-input-modern::placeholder {
  color: var(--color-text-lighter);
}

.search-close-modern {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-dark);
  border: none;
  border-radius: 50%;
  color: var(--color-text-light);
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: var(--space-md);
}

.search-close-modern:hover {
  background: var(--color-danger);
  color: var(--color-bg-light);
  transform: rotate(90deg);
}

.search-suggestions-modern {
  margin-top: var(--space-lg);
  text-align: center;
}

.search-hint-modern {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
}

/* ===== 导航栏（保留旧样式兼容） ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: var(--text-xl);
}

.logo-text {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-accent);
}

.logo-text span {
  color: var(--color-primary);
}

.nav-menu {
  display: flex;
  gap: var(--space-xl);
}

.nav-item {
  position: relative;
}

.nav-link {
  font-weight: 600;
  color: var(--color-text);
  padding: var(--space-sm) 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.search-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
  font-size: var(--text-lg);
  transition: color 0.2s ease;
}

.search-btn:hover {
  color: var(--color-primary);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: var(--text-2xl);
  color: var(--color-text);
  cursor: pointer;
}

/* 搜索框 */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-container {
  width: 90%;
  max-width: 700px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: var(--space-xl);
  font-size: var(--text-xl);
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.search-close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  background: none;
  border: none;
  font-size: var(--text-2xl);
  color: var(--color-text-light);
  cursor: pointer;
  transition: color 0.2s ease;
}

.search-close:hover {
  color: var(--color-danger);
}

/* ============================================
   重新设计的首页样式
   ============================================ */

/* 现代英雄轮播区块 */
.hero-slider-modern {
  /* margin-top: 80px; */
  padding: 0;
  position: relative;
  overflow: hidden;
}

.hero-slider-container {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.hero-slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-slide-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(42, 157, 143, 0.85), rgba(231, 111, 81, 0.75));
  z-index: 1;
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-3xl);
  color: var(--color-bg-light);
}

.hero-slide-badge {
  margin-bottom: var(--space-lg);
}

.badge-text {
  display: inline-block;
  padding: var(--space-xs) var(--space-lg);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: bold;
  color: var(--color-bg-light);
}

.hero-slide-title {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: bold;
  margin-bottom: var(--space-md);
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-slide-description {
  font-size: var(--text-xl);
  margin-bottom: var(--space-xl);
  line-height: 1.6;
  opacity: 0.95;
}

.hero-slide-meta {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-base);
  opacity: 0.9;
}

.hero-slide-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  background: var(--color-bg-light);
  color: var(--color-primary);
  border-radius: var(--radius-full);
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-slide-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background: var(--color-primary);
  color: var(--color-bg-light);
}

.hero-slide-btn svg {
  transition: transform 0.3s ease;
}

.hero-slide-btn:hover svg {
  transform: translateX(4px);
}

.hero-slider-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 var(--space-lg);
  z-index: 3;
  pointer-events: none;
}

.hero-slider-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: all;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  color: var(--color-text);
}

.hero-slider-btn:hover {
  background: var(--color-primary);
  color: var(--color-bg-light);
  transform: scale(1.1);
}

.hero-slider-dots {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-sm);
  z-index: 3;
}

.hero-slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-slider-dot.active {
  background: var(--color-bg-light);
  transform: scale(1.3);
  border-color: var(--color-bg-light);
}

/* 最新资讯区块 */
.latest-articles-modern {
  padding: var(--space-3xl) 0;
  background: var(--color-bg);
}

.section-header-modern {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  /* margin-bottom: var(--space-2xl); */
  gap: var(--space-lg);
}

.section-header-content {
  flex: 1;
}

.section-title-modern {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  color: var(--color-text);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  font-weight: bold;
}

.section-subtitle-modern {
  font-size: var(--text-base);
  color: var(--color-text-light);
  line-height: 1.6;
}

.view-all-modern {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-lg);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-bg-light);
  border-radius: var(--radius-full);
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(42, 157, 143, 0.3);
}

.view-all-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(42, 157, 143, 0.4);
}

.view-all-modern svg {
  transition: transform 0.3s ease;
}

.view-all-modern:hover svg {
  transform: translateX(4px);
}

.articles-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--space-xl);
}

.article-card-modern-index {
  background: var(--color-bg-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--color-bg-dark);
  position: relative;
}

.article-card-modern-index::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.article-card-modern-index:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 0 30px rgba(42, 157, 143, 0.1);
  border-color: rgba(42, 157, 143, 0.3);
}

.article-card-modern-index:hover::before {
  opacity: 1;
}

.article-card-link-index {
  text-decoration: none;
  display: block;
  height: 100%;
  color: inherit;
}

.article-image-modern-index {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-secondary-light));
}

.article-image-modern-index img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-card-modern-index:hover .article-image-modern-index img {
  transform: scale(1.1);
}

.article-image-placeholder-index {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-secondary-light));
}

.article-image-overlay-index {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.3) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.article-card-modern-index:hover .article-image-overlay-index {
  opacity: 1;
}

.article-category-modern-index {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-bg-light);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: bold;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.article-content-modern-index {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-title-modern-index {
  font-family: var(--font-heading);
  /* font-size: var(--text-xl); */
  color: var(--color-text);
  margin-bottom: var(--space-sm);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.2em;
  transition: color 0.3s ease;
}

.article-card-modern-index:hover .article-title-modern-index {
  color: var(--color-primary);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.article-excerpt-modern-index {
  color: var(--color-text-light);
  font-size: var(--text-sm);
  line-height: 1.6;
  margin-bottom: var(--space-md);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.article-meta-modern-index {
  display: flex;
  gap: var(--space-lg);
  font-size: var(--text-xs);
  color: var(--color-text-lighter);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-bg-dark);
  margin-top: auto;
}

.meta-item-index {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.meta-item-index svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.pagination-wrapper-index {
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 2px solid var(--color-bg-dark);
}

/* 热门排行区块 */
.popular-ranking-modern {
  padding: 30px 0;
  background: linear-gradient(135deg, rgba(42, 157, 143, 0.05), rgba(231, 111, 81, 0.05));
}

.popular-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.popular-card-modern {
  background: var(--color-bg-light);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  border-left: 5px solid var(--color-secondary);
}

.popular-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.popular-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.popular-rank-modern {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
  color: var(--color-bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: var(--text-lg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.popular-rank-modern.rank-1 {
  background: linear-gradient(135deg, #FFD700, #FFA500);
}

.popular-rank-modern.rank-2 {
  background: linear-gradient(135deg, #C0C0C0, #A8A8A8);
}

.popular-rank-modern.rank-3 {
  background: linear-gradient(135deg, #CD7F32, #B87333);
}

.popular-rank-modern svg {
  width: 24px;
  height: 24px;
}

.popular-content-modern {
  padding-top: var(--space-md);
}

.popular-title-modern {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--color-accent);
  margin-bottom: var(--space-md);
  line-height: 1.4;
  transition: color 0.3s ease;
}

.popular-card-modern:hover .popular-title-modern {
  color: var(--color-primary);
}

.popular-stats-modern {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--color-text-lighter);
}

.popular-stat-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.popular-stat-item svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

/* 分类浏览区块 */
.categories-modern {
  padding: 1.5rem 0;
  background: var(--color-bg-light);
}

.categories-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-lg);
}

.category-card-modern-index {
  background: var(--color-bg-light);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: inherit;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid var(--color-bg-dark);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.category-card-modern-index::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.category-card-modern-index:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 0 30px rgba(42, 157, 143, 0.1);
  border-color: rgba(42, 157, 143, 0.3);
}

.category-card-modern-index:hover::before {
  opacity: 1;
}

.category-icon-modern-index {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(42, 157, 143, 0.1), rgba(231, 111, 81, 0.1));
  border-radius: 50%;
  margin-bottom: var(--space-md);
  color: var(--color-primary);
  transition: all 0.3s ease;
}

.category-card-modern-index:hover .category-icon-modern-index {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-bg-light);
  transform: scale(1.1) rotate(5deg);
}

.category-name-modern-index {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--color-text);
  /* margin-bottom: var(--space-sm); */
  transition: color 0.3s ease;
}

.category-card-modern-index:hover .category-name-modern-index {
  color: var(--color-primary);
}

.category-description-modern-index {
  color: var(--color-text-light);
  font-size: var(--text-sm);
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.category-arrow-modern-index {
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  color: var(--color-primary);
}

.category-card-modern-index:hover .category-arrow-modern-index {
  opacity: 1;
  transform: translateX(0);
}

/* 热门标签云区块 */
.tag-cloud-modern-section {
  padding: var(--space-3xl) 0;
  background: var(--color-bg);
}

.tag-cloud-modern-index {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

.tag-modern-index {
  display: inline-flex;
  align-items: center;
  padding: var(--space-sm) var(--space-lg);
  background: var(--color-bg-light);
  border: 2px solid var(--color-bg-dark);
  border-radius: var(--radius-full);
  color: var(--color-text-light);
  text-decoration: none;
  font-size: var(--text-base);
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.tag-modern-index:hover {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-bg-light);
  border-color: transparent;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 4px 12px rgba(42, 157, 143, 0.3);
}

.tag-hash {
  opacity: 0.7;
  margin-right: 4px;
}

.tag-text {
  font-weight: 600;
}

.tag-modern-index.hot {
  border-color: var(--color-secondary);
  background: linear-gradient(135deg, rgba(231, 111, 81, 0.1), rgba(231, 111, 81, 0.05));
}

.tag-modern-index.hot:hover {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
}

/* ===== 特色推荐轮播区块（保留旧样式兼容） ===== */
.featured-slider {
  margin-top: 80px;
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, #f0f9ff 0%, #e6f7ff 100%);
  position: relative;
  overflow: hidden;
}

.featured-slider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%232a9d8f' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.slider-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  min-width: 100%;
  display: flex;
  background-color: white;
  overflow: hidden;
}

.slide-image {
  flex: 1;
  min-height: 400px;
  background-color: var(--color-primary-light);
  background-size: cover;
  background-position: center;
}

.slide-content {
  flex: 1;
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide-tag {
  display: inline-block;
  background-color: var(--color-secondary-light);
  color: white;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-md);
  align-self: flex-start;
}

.slide-title {
  font-size: var(--text-3xl);
  color: var(--color-accent);
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.slide-description {
  color: var(--color-text-light);
  margin-bottom: var(--space-xl);
  font-size: var(--text-lg);
}

.slide-meta {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  color: var(--color-text-lighter);
  font-size: var(--text-sm);
}

.slide-meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.slider-nav {
  position: absolute;
  bottom: var(--space-xl);
  right: var(--space-xl);
  display: flex;
  gap: var(--space-sm);
}

.slider-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: white;
  border: none;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: var(--text-lg);
  color: var(--color-text);
}

.slider-btn:hover {
  background-color: var(--color-primary);
  color: white;
  transform: scale(1.1);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--color-border);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background-color: var(--color-primary);
  transform: scale(1.2);
}

/* ===== 主要内容区块 ===== */
.main-content {
    padding-top: 30px!important;
  padding: var(--space-3xl) 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-2xl);
}

.view-all {
  font-weight: 600;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--space-2xl);
}

.article-card {
  background-color: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.article-image {
  height: 200px;
  background-color: var(--color-primary-light);
  background-size: cover;
  background-position: center;
  position: relative;
}

.article-category {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background-color: var(--color-primary);
  color: white;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
}

/* 首页文章卡片内容区域 */
.article-card .article-content {
  padding: var(--space-xl);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.article-title {
  /* font-size: var(--text-xl); */
  color: var(--color-accent);
  margin-bottom: var(--space-md);
  line-height: 1.3;
}

.article-description {
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
  flex-grow: 1;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  color: var(--color-text-lighter);
  font-size: var(--text-sm);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.article-date, .article-views {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

/* ===== 热门卡通排行区块 ===== */
.popular-section {
  padding: var(--space-3xl) 0;
  background-color: var(--color-bg-dark);
  position: relative;
  overflow: hidden;
}

.popular-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23f8f9fa' fill-opacity='1' d='M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z'%3E%3C/path%3E%3C/svg%3E");
  background-size: cover;
}

.popular-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.popular-card {
  background-color: white;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  position: relative;
  border-left: 5px solid var(--color-secondary);
}

.popular-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.popular-rank {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 40px;
  height: 40px;
  background-color: var(--color-secondary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: var(--text-lg);
  box-shadow: var(--shadow-md);
}

.popular-title {
  font-size: var(--text-lg);
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.popular-title a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.popular-title a:hover {
  color: var(--color-primary);
}

.popular-description {
  color: var(--color-text-light);
  font-size: var(--text-sm);
  margin-bottom: var(--space-md);
}

.popular-stats {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-sm);
  color: var(--color-text-lighter);
}

/* ===== 分类浏览区块 ===== */
.categories-section {
  padding: var(--space-3xl) 0;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.category-card {
  background-color: white;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  text-align: center;
  border-top: 5px solid var(--color-primary);
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.category-icon {
  width: 70px;
  height: 70px;
  background-color: var(--color-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: var(--text-2xl);
  color: var(--color-primary);
}

.category-name {
  font-size: var(--text-xl);
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.category-description {
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
}

.category-count {
  display: inline-block;
  background-color: var(--color-bg);
  color: var(--color-text-light);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
}

/* ===== 家长评价区块 ===== */
.reviews-section {
  padding: var(--space-3xl) 0;
  background-color: var(--color-bg-dark);
  position: relative;
  overflow: hidden;
}

.reviews-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23f8f9fa' fill-opacity='1' d='M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,197.3C672,192,768,160,864,128C960,96,1056,64,1152,58.7C1248,53,1344,75,1392,85.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
  background-size: cover;
  transform: rotate(180deg);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--space-xl);
}

.review-card {
  background-color: white;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
}

.review-user {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.user-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: var(--text-xl);
  font-weight: bold;
}

.user-info h4 {
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.user-info p {
  color: var(--color-text-lighter);
  font-size: var(--text-sm);
}

.review-rating {
  color: var(--color-warning);
  font-size: var(--text-lg);
}

.review-content {
  color: var(--color-text);
  line-height: 1.7;
  font-style: italic;
  position: relative;
  padding-left: var(--space-lg);
}

.review-content::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 3rem;
  color: var(--color-primary-light);
  font-family: Georgia, serif;
}

/* ===== 搜索和标签区块 ===== */
.search-tags-section {
  padding: var(--space-3xl) 0;
}

.search-box {
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
  position: relative;
}

.search-input-large {
  width: 100%;
  padding: var(--space-lg) var(--space-xl);
  font-size: var(--text-lg);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
}

.search-input-large:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.1);
}

.search-btn-large {
  position: absolute;
  right: var(--space-md);
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--color-primary);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  padding: var(--space-sm) var(--space-lg);
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-btn-large:hover {
  background-color: var(--color-primary-dark);
}

.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.tag {
  display: inline-block;
  background-color: var(--color-bg);
  color: var(--color-text);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  transition: all 0.3s ease;
  border: 1px solid var(--color-border);
}

.tag:hover {
  background-color: var(--color-primary);
  color: white;
  transform: translateY(-2px);
}

.tag.tag-popular {
  background-color: var(--color-secondary-light);
  color: white;
  border: none;
}

/* ===== 订阅区块 ===== */
.subscribe-section {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white;
  text-align: center;
}

.subscribe-title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
  color: white;
}

.subscribe-title::after {
  background-color: white;
  left: 50%;
  transform: translateX(-50%);
}

.subscribe-description {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.subscribe-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  gap: var(--space-sm);
}

.subscribe-input {
  flex-grow: 1;
  padding: var(--space-lg);
  border: none;
  border-radius: var(--radius-full);
  font-size: var(--text-base);
}

.subscribe-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* ============================================
   重新设计的页脚样式
   ============================================ */

/* ===== 页脚（保留旧样式兼容） ===== */

.footer-modern {
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary-dark));
  color: var(--color-bg-light);
  padding: 30px 0;
  position: relative;
  overflow: hidden;
}

.footer-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.footer-content-modern {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
  position: relative;
  z-index: 1;
}

.footer-column-modern {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-brand-modern {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-logo-modern {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  color: var(--color-bg-light);
  margin-bottom: var(--space-sm);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: bold;
  color: var(--color-bg-light);
  margin: 0;
}

.footer-description-modern {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-sm);
  line-height: 1.6;
  margin: 0;
}

.footer-social-modern {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.social-icon-modern {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  color: var(--color-bg-light);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon-modern:hover {
  background: var(--color-bg-light);
  color: var(--color-primary);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.social-icon-modern.facebook:hover {
  background: #1877f2;
  color: var(--color-bg-light);
}

.social-icon-modern.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: var(--color-bg-light);
}

.social-icon-modern.youtube:hover {
  background: #ff0000;
  color: var(--color-bg-light);
}

.social-icon-modern.line:hover {
  background: #00c300;
  color: var(--color-bg-light);
}

.footer-title-modern {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: bold;
  color: var(--color-bg-light);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.footer-links-modern {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-lg);
}

.footer-links-modern li {
  margin: 0;
}

.footer-links-modern a {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: var(--text-sm);
  padding: var(--space-xs) 0;
  transition: all 0.3s ease;
  border-radius: var(--radius-sm);
}

.footer-links-modern a:hover {
  color: var(--color-bg-light);
  /* padding-left: var(--space-sm); */
  background: rgba(255, 255, 255, 0.1);
}

.footer-links-modern a svg {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.footer-links-modern a:hover svg {
  opacity: 1;
}

.footer-contact-modern {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-contact-modern li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-sm);
}

.footer-contact-modern li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.9);
}

.footer-contact-modern li strong {
  display: block;
  color: var(--color-bg-light);
  margin-bottom: 4px;
  font-weight: 600;
}

.footer-contact-modern li p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.footer-newsletter-modern {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-sm);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.footer-form-modern {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-form-group {
  position: relative;
  display: flex;
  align-items: center;
}

.footer-form-icon {
  position: absolute;
  left: var(--space-md);
  color: rgba(255, 255, 255, 0.5);
  z-index: 1;
}

.footer-form-input {
  width: 100%;
  padding: var(--space-md) var(--space-md) var(--space-md) 48px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  color: var(--color-bg-light);
  font-size: var(--text-sm);
  transition: all 0.3s ease;
}

.footer-form-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer-form-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.footer-form-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-md) var(--space-xl);
  background: var(--color-bg-light);
  color: var(--color-primary);
  border: none;
  border-radius: var(--radius-full);
  font-weight: bold;
  font-size: var(--text-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer-form-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-bg-light);
}

.footer-form-btn svg {
  transition: transform 0.3s ease;
}

.footer-form-btn:hover svg {
  transform: translateX(4px);
}

.footer-bottom-modern {
  /* padding-top: var(--space-xl); */
  /* border-top: 1px solid rgba(255, 255, 255, 0.2); */
  position: relative;
  z-index: 1;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.copyright-modern {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  margin: 0;
}

.copyright-modern strong {
  color: var(--color-bg-light);
  font-weight: 600;
}

.footer-legal-modern {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-xs);
}

.footer-legal-modern a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal-modern a:hover {
  color: var(--color-bg-light);
}

.footer-legal-modern span {
  color: rgba(255, 255, 255, 0.3);
}

/* ===== 页脚（保留旧样式兼容） ===== */
.footer {
  background-color: var(--color-accent);
  color: white;
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-column h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-lg);
  color: white;
  position: relative;
  padding-bottom: var(--space-sm);
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--color-primary-light);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.footer-logo .logo-icon {
  background: linear-gradient(135deg, var(--color-primary-light), white);
  color: var(--color-accent);
}

.footer-logo .logo-text {
  color: white;
}

.footer-logo .logo-text span {
  color: var(--color-primary-light);
}

.footer-about {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-links a:hover {
  color: white;
  padding-left: var(--space-sm);
}

.footer-contact {
  list-style: none;
}

.footer-contact li {
  margin-bottom: var(--space-md);
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  color: rgba(255, 255, 255, 0.8);
}

.footer-newsletter p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-lg);
}

.footer-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-form input {
  padding: var(--space-md);
  border: none;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
}

.footer-form input:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--color-primary-light);
}

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--color-primary);
  transform: translateY(-3px);
}

/* ===== 响应式设计 ===== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .articles-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 1024px) {
  /* 首页现代样式响应式 */
  .hero-slider-container {
    height: 500px;
  }

  .hero-slide-title {
    font-size: var(--text-3xl);
  }

  .hero-slide-description {
    font-size: var(--text-lg);
  }

  .articles-grid-modern {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-lg);
  }

  .popular-grid-modern {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .categories-grid-modern {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media (max-width: 1024px) {
  /* 导航栏现代样式响应式 */
  .nav-list-modern {
    gap: var(--space-md);
  }

  .footer-content-modern {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-toggle {
    display: block;
  }

  /* 导航栏现代样式移动端响应式 */
  .navbar-container-modern {
    padding: var(--space-sm) var(--space-md);
  }

  .logo-icon-modern {
    width: 40px;
    height: 40px;
  }

  .logo-text-modern {
    font-size: var(--text-lg);
  }

  .logo-tagline-modern {
    display: none;
  }

  .nav-menu-modern {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--color-bg-light);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    padding: var(--space-xl);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }

  .nav-menu-modern.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list-modern {
    flex-direction: column;
    gap: var(--space-sm);
    align-items: stretch;
  }

  .nav-link-modern {
    padding: var(--space-md);
    border-radius: var(--radius-md);
    width: 100%;
  }

  .nav-toggle-modern {
    display: flex;
  }

  .subscribe-btn-modern span {
    display: none;
  }

  .subscribe-btn-modern {
    width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
  }

  .search-wrapper-modern {
    padding: var(--space-md) var(--space-lg);
  }

  .search-input-modern {
    font-size: var(--text-lg);
  }

  /* Footer现代样式移动端响应式 */
  .footer-content-modern {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-legal-modern {
    flex-wrap: wrap;
    justify-content: center;
  }

  .slide {
    flex-direction: column;
  }

  .slide-image {
    min-height: 250px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .subscribe-form {
    flex-direction: column;
  }

  .reviews-grid,
  .categories-grid,
  .popular-grid {
    grid-template-columns: 1fr;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }

  /* 首页现代样式移动端响应式 */
  .hero-slider-modern {
    margin-top: 70px;
  }

  .hero-slider-container {
    height: 400px;
  }

  .hero-slide-content {
    padding: var(--space-xl);
  }

  .hero-slide-title {
    font-size: var(--text-2xl);
  }

  .hero-slide-description {
    font-size: var(--text-base);
    margin-bottom: var(--space-lg);
  }

  .hero-slide-meta {
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
  }

  .hero-slide-btn {
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--text-sm);
  }

  .hero-slider-controls {
    padding: 0 var(--space-md);
  }

  .hero-slider-btn {
    width: 40px;
    height: 40px;
  }

  .section-header-modern {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }

  .section-title-modern {
    font-size: var(--text-2xl);
  }

  .section-subtitle-modern {
    font-size: var(--text-sm);
  }

  .articles-grid-modern {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .article-image-modern-index {
    height: 200px;
  }

  .popular-grid-modern {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .popular-rank-modern {
    width: 40px;
    height: 40px;
    font-size: var(--text-base);
  }

  .categories-grid-modern {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .category-icon-modern-index {
    width: 60px;
    height: 60px;
  }

  .category-name-modern-index {
    font-size: var(--text-lg);
  }

  .tag-cloud-modern-index {
    gap: var(--space-sm);
  }

  .tag-modern-index {
    font-size: var(--text-sm);
    padding: var(--space-xs) var(--space-md);
  }
}

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

  .slider-nav {
    bottom: var(--space-md);
    right: var(--space-md);
  }

  .slider-btn {
    width: 40px;
    height: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* 导航栏现代样式小屏幕响应式 */
  /* .logo-content-modern {
    display: none;
  } */

  .nav-actions-modern {
    gap: var(--space-xs);
  }

  .search-btn-modern,
  .subscribe-btn-modern {
    width: 40px;
    height: 40px;
  }

  .search-container-modern {
    width: 95%;
  }

  .search-wrapper-modern {
    padding: var(--space-sm) var(--space-md);
  }

  .search-input-modern {
    font-size: var(--text-base);
  }

  /* Footer现代样式小屏幕响应式 */
  .footer-modern {
    padding: var(--space-xl) 0 var(--space-md);
  }

  .footer-brand-name {
    font-size: var(--text-xl);
  }

  .footer-title-modern {
    font-size: var(--text-base);
  }

  /* 首页现代样式小屏幕响应式 */
  .hero-slider-container {
    height: 350px;
  }

  .hero-slide-content {
    padding: var(--space-lg);
  }

  .hero-slide-title {
    font-size: var(--text-xl);
  }

  .hero-slide-description {
    font-size: var(--text-sm);
  }

  .section-title-modern {
    font-size: var(--text-xl);
  }

  .section-title-modern svg {
    width: 24px;
    height: 24px;
  }

  .categories-grid-modern {
    grid-template-columns: 1fr;
  }

  .category-card-modern-index {
    padding: var(--space-lg);
  }

  .article-content-modern-index {
    padding: var(--space-md);
  }

  .article-title-modern-index {
    font-size: var(--text-lg);
  }

  .popular-card-modern {
    padding: var(--space-md);
  }

  .popular-title-modern {
    font-size: var(--text-base);
  }
}

/* ============================================
   详情页特有样式
   ============================================ */

/* 详情页容器 */
.article-detail {
  margin-top: 100px;
  padding: var(--space-xl) 0;
}

/* 文章内容外层容器 */
.article-content {
  padding-top: 0 !important;
  /* padding: var(--space-xl) 0; */
}

/* ============================================
   重新设计的详情页样式
   ============================================ */

/* 现代文章标题区域 */
.article-header-modern {
  background: linear-gradient(135deg, rgba(42, 157, 143, 0.05), rgba(231, 111, 81, 0.05));
  /* padding: var(--space-3xl) 0; */
  padding: 20px 0;
  padding-bottom: var(--space-xl);
  /* margin-bottom: var(--space-xl); */
  border-bottom: 3px solid var(--color-primary);
}

.article-header-content {
  /* max-width: 900px; */
  margin: 0 auto;
  /* padding: 0 var(--space-lg); */
}

.article-category-badge-modern {
  display: inline-block;
  margin-bottom: var(--space-md);
}

.article-category-badge-modern a {
  display: inline-block;
  padding: var(--space-xs) var(--space-lg);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-bg-light);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(42, 157, 143, 0.3);
}

.article-category-badge-modern a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(42, 157, 143, 0.4);
}

.article-title-modern {
  font-family: var(--font-heading);
  /* font-size: var(--text-4xl); */
  color: var(--color-text);
  line-height: 1.3;
  margin-bottom: var(--space-md);
  font-weight: bold;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.article-subtitle-modern {
  font-size: var(--text-xl);
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.article-meta-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  /* padding-top: var(--space-lg);
  border-top: 1px solid var(--color-bg-dark); */
}

.meta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  align-items: center;
}

.meta-item-modern {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--color-text-light);
  font-size: var(--text-sm);
}

.meta-icon {
  color: var(--color-primary);
  flex-shrink: 0;
}

.article-share-modern-header {
  display: flex;
  gap: var(--space-xs);
}

.share-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--color-bg-light);
  border: 2px solid var(--color-bg-dark);
  border-radius: 50%;
  color: var(--color-text-light);
  cursor: pointer;
  transition: all 0.3s ease;
}

.share-btn-icon:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-bg-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(42, 157, 143, 0.3);
}

/* 文章标题区域（保留旧样式兼容） */
.article-header {
  margin-bottom: var(--space-xl);
  text-align: center;
}

.article-title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.article-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
  line-height: 1.5;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.article-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  color: var(--color-text-lighter);
  font-size: var(--text-sm);
}

.article-meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.article-meta-item a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.article-meta-item a:hover {
  color: var(--color-secondary);
}

.article-content-wrapper {
  display: grid;
  grid-template-columns: 70% 30%;
  gap: var(--space-xl);
  align-items: start;
}

.article-container {
  display: grid;
  grid-template-columns: 70% 30%;
  gap: var(--space-xl);
  align-items: start;
  padding: 20px 0;
}

.article-main {
  background: var(--color-bg-light);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.article-image {
  margin-bottom: var(--space-xl);
}

.article-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

.article-image figcaption {
  margin-top: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-text-lighter);
  text-align: center;
  font-style: italic;
}

.article-featured-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-xl);
}

.article-body {
  line-height: 1.8;
  color: var(--color-text);
}

.article-body h2 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--color-text);
  margin: var(--space-xl) 0 var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-bg-dark);
}

.article-body h3 {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--color-text);
  margin: var(--space-lg) 0 var(--space-sm);
}

.article-body p {
  margin-bottom: var(--space-md);
}

.article-body ul,
.article-body ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

.article-body li {
  margin-bottom: var(--space-xs);
}

.article-body blockquote {
  border-left: 4px solid var(--color-primary);
  padding-left: var(--space-lg);
  margin: var(--space-lg) 0;
  font-style: italic;
  color: var(--color-text-light);
}

.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: var(--space-md) 0;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin: var(--space-xl) 0;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-bg-dark);
}

.article-tag {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: var(--color-bg-dark);
  border-radius: var(--radius-full);
  color: var(--color-text-light);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: all 0.3s ease;
}

.article-tag:hover {
  background: var(--color-primary);
  color: var(--color-bg-light);
}

.article-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--color-bg-dark);
  border-bottom: 1px solid var(--color-bg-dark);
  margin: var(--space-xl) 0;
}

.article-share {
  margin: var(--space-xl) 0;
}

.article-share h4 {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.share-text {
  font-weight: bold;
  color: var(--color-text);
}

.share-buttons {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.share-btn {
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--color-bg-dark);
  border-radius: 50%;
  color: var(--color-text);
  text-decoration: none;
  transition: all 0.3s ease;
}

.share-button:hover {
  background: var(--color-primary);
  color: var(--color-bg-light);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-bg-light);
}

.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

/* ============================================
   重新设计的侧边栏样式
   ============================================ */

.article-sidebar-modern {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  /* position: sticky; */
  top: 100px;
  align-self: flex-start;
}

.sidebar-widget-modern {
  background: var(--color-bg-light);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--color-bg-dark);
  transition: all 0.3s ease;
}

.sidebar-widget-modern:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.widget-title-modern {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--color-text);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-bg-dark);
  display: flex;
  align-items: center;
  font-weight: bold;
}

/* 目录导航 */
.toc-widget {
  max-height: 500px;
  overflow-y: auto;
}

.toc-nav {
  max-height: 400px;
  overflow-y: auto;
}

.toc-list-modern {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-item-modern {
  margin-bottom: var(--space-xs);
}

.toc-item-modern.toc-h2 {
  padding-left: 0;
}

.toc-item-modern.toc-h3 {
  padding-left: var(--space-md);
}

.toc-link-modern {
  display: block;
  padding: var(--space-xs) var(--space-sm);
  color: var(--color-text-light);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  font-size: var(--text-sm);
  line-height: 1.5;
}

.toc-link-modern:hover {
  background: var(--color-bg-dark);
  color: var(--color-primary);
  padding-left: var(--space-md);
}

.toc-link-modern.active {
  background: linear-gradient(90deg, rgba(42, 157, 143, 0.1), transparent);
  color: var(--color-primary);
  font-weight: bold;
  border-left: 3px solid var(--color-primary);
  padding-left: var(--space-md);
}

/* 热门文章列表 */
.hot-articles-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.hot-article-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  cursor: pointer;
}

.hot-article-item:hover {
  background: var(--color-bg-dark);
  transform: translateX(4px);
}

.hot-article-number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-bg-light);
  border-radius: 50%;
  font-weight: bold;
  font-size: var(--text-sm);
}

.hot-article-content {
  flex: 1;
  min-width: 0;
}

.hot-article-title {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-xs);
  line-height: 1.4;
}

.hot-article-title a {
  color: var(--color-text);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
}

.hot-article-title a:hover {
  color: var(--color-primary);
}

.hot-article-meta {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-xs);
  color: var(--color-text-lighter);
}

/* 分类导航现代样式 */
.category-nav-modern {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.category-link-modern {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  color: var(--color-text-light);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  font-size: var(--text-sm);
}

.category-link-modern:hover {
  background: linear-gradient(90deg, rgba(42, 157, 143, 0.1), transparent);
  color: var(--color-primary);
  transform: translateX(4px);
}

.category-link-modern.active {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-secondary-light));
  color: var(--color-bg-light);
  font-weight: bold;
}

.category-link-icon {
  font-size: var(--text-base);
}

.category-count {
  margin-left: auto;
  font-size: var(--text-xs);
  opacity: 0.7;
}

/* 标签云现代样式 */
.tag-cloud-modern {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.tag-link-modern {
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  text-decoration: none;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.tag-link-modern:hover {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-bg-light);
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(42, 157, 143, 0.3);
  border-color: transparent;
}

.tag-link-modern.size-1 { font-size: var(--text-xs); }
.tag-link-modern.size-2 { font-size: var(--text-sm); padding: var(--space-xs) var(--space-md); }
.tag-link-modern.size-3 { font-size: var(--text-base); padding: var(--space-sm) var(--space-md); }

/* 文章操作区现代样式 */
.article-actions-modern {
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 2px solid var(--color-bg-dark);
}

.article-tags-modern {
  margin-bottom: var(--space-lg);
}

.tags-label {
  display: block;
  font-weight: bold;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
  font-size: var(--text-sm);
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.article-tag-modern {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: linear-gradient(135deg, rgba(42, 157, 143, 0.1), rgba(231, 111, 81, 0.1));
  border: 1px solid rgba(42, 157, 143, 0.2);
  border-radius: var(--radius-full);
  color: var(--color-primary);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  transition: all 0.3s ease;
}

.article-tag-modern:hover {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-bg-light);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(42, 157, 143, 0.3);
}

.article-share-modern {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.share-label {
  font-weight: bold;
  color: var(--color-text);
  font-size: var(--text-sm);
}

.share-buttons-modern {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.share-btn-modern {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-lg);
  background: var(--color-bg-light);
  border: 2px solid var(--color-bg-dark);
  border-radius: var(--radius-md);
  color: var(--color-text-light);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.share-btn-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.share-btn-modern.facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: var(--color-bg-light);
}

.share-btn-modern.twitter:hover {
  background: #1da1f2;
  border-color: #1da1f2;
  color: var(--color-bg-light);
}

.share-btn-modern.copy:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-bg-light);
}

.share-btn-modern svg {
  flex-shrink: 0;
}

.sidebar-widget {
  background: var(--color-bg-light);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.widget-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--color-text);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-bg-dark);
}

.author-card {
  text-align: center;
}

.author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto var(--space-md);
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-secondary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-bg-light);
  font-size: 2rem;
  font-weight: bold;
}

.author-name {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.author-bio {
  color: var(--color-text-light);
  font-size: var(--text-sm);
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.author-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-md);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--color-primary);
  font-weight: bold;
  display: block;
}

.stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-lighter);
}

.table-of-contents {
  position: sticky;
  top: 100px;
}

.toc-list {
  list-style: none;
}

.toc-item {
  margin-bottom: var(--space-sm);
}

.toc-link {
  display: block;
  color: var(--color-text-light);
  text-decoration: none;
  padding: var(--space-xs) 0;
  border-left: 3px solid transparent;
  padding-left: var(--space-sm);
  transition: all 0.3s ease;
}

.toc-link:hover {
  color: var(--color-primary);
  border-left-color: var(--color-primary);
}

.toc-link.active {
  color: var(--color-primary);
  border-left-color: var(--color-primary);
  font-weight: bold;
}

/* 亮点卡片区块 */
.highlights-section {
  margin: var(--space-xl) 0;
}

.highlights-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.highlight-card {
  background: linear-gradient(135deg, rgba(42, 157, 143, 0.05), rgba(231, 111, 81, 0.05));
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  border: 1px solid rgba(42, 157, 143, 0.1);
  transition: transform 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-5px);
}

.highlight-icon {
  font-size: 2rem;
  margin-bottom: var(--space-md);
  color: var(--color-primary);
}

.highlight-title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.highlight-content {
  color: var(--color-text-light);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.highlight-text {
  color: var(--color-text-light);
  font-size: var(--text-sm);
  line-height: 1.5;
}

/* 相关文章区块 */
.related-articles-section {
  /* margin: var(--space-xl) 0; */
}

.related-articles-section .section-title {
  margin-bottom: var(--space-xl);
  text-align: center;
  position: relative;
  padding-bottom: var(--space-md);
}

.related-articles-section .section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
  border-radius: var(--radius-full);
}

.related-articles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-lg);
}

.related-article {
  background: var(--color-bg-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid rgba(42, 157, 143, 0.1);
}

.related-article::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.related-article:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 0 30px rgba(42, 157, 143, 0.15);
  border-color: rgba(42, 157, 143, 0.3);
}

.related-article:hover::before {
  opacity: 1;
}

.related-image-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-secondary-light));
}

.related-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.related-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.3) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.related-article:hover .related-overlay {
  opacity: 1;
}

.related-article:hover .related-image {
  transform: scale(1.1);
}

.related-category-badge {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-bg-light);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: bold;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.related-content {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--space-sm);
}

.related-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--color-text);
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}

.related-title a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
}

.related-title a:hover {
  color: var(--color-primary);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.related-excerpt {
  color: var(--color-text-light);
  font-size: var(--text-sm);
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.related-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-bg-dark);
}

.related-meta {
  font-size: var(--text-xs);
  color: var(--color-text-lighter);
  display: flex;
  align-items: center;
  margin: 0;
}

.related-read-more {
  display: inline-flex;
  align-items: center;
  color: var(--color-primary);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: bold;
  transition: all 0.3s ease;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-md);
}

.related-read-more:hover {
  color: var(--color-bg-light);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  transform: translateX(4px);
}

.related-read-more svg {
  transition: transform 0.3s ease;
}

.related-read-more:hover svg {
  transform: translateX(4px);
}

/* 评论区块 */
.comments-section {
  margin: var(--space-xl) 0;
}

.comments-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
}

.comments-count {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--color-text);
}

.comment-form {
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: var(--space-xl);
}

.form-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  margin-bottom: var(--space-xs);
  color: var(--color-text);
  font-weight: bold;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 1px solid var(--color-bg-dark);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.rating-input {
  display: flex;
  gap: var(--space-xs);
}

.rating-star {
  font-size: 1.5rem;
  color: #E5E7EB;
  cursor: pointer;
  transition: color 0.2s ease;
}

.rating-star.active {
  color: #FBBF24;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.comment-item {
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-md);
}

.comment-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-secondary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-bg-light);
  font-weight: bold;
}

.comment-author-info h4 {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  color: var(--color-text);
  margin-bottom: 2px;
}

.comment-author-info p {
  font-size: var(--text-xs);
  color: var(--color-text-lighter);
}

.comment-rating {
  display: flex;
  gap: 2px;
}

.comment-star {
  color: #FBBF24;
  font-size: 0.9rem;
}

.comment-content {
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.comment-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
  color: var(--color-text-lighter);
}

.comment-actions {
  display: flex;
  gap: var(--space-md);
}

.comment-action {
  color: var(--color-primary);
  text-decoration: none;
  font-size: var(--text-xs);
  transition: color 0.3s ease;
}

.comment-action:hover {
  color: var(--color-secondary);
}

/* 返回顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  border: none;
  cursor: pointer;
  font-size: var(--text-xl);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(42, 157, 143, 0.4);
}

/* 面包屑导航 */
.breadcrumb-section {
  /* margin-top: 20px; */
  /* padding: var(--space-md) 0; */
  padding: 10px;
  background: var(--color-bg);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--color-text-lighter);
}

.breadcrumb a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--color-secondary);
}

.breadcrumb span {
  color: var(--color-text-light);
}

/* ============================================
   列表页样式（保留旧样式兼容）
   ============================================ */
.list-header {
  margin-top: 80px;
  padding: var(--space-xl) 0;
  background: linear-gradient(135deg, rgba(42, 157, 143, 0.1), rgba(231, 111, 81, 0.1));
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-xl);
}

.list-title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  color: var(--color-text);
  text-align: center;
}

.list-content {
  padding: var(--space-xl) 0;
}

.list-container {
  display: grid;
  grid-template-columns: 70% 30%;
  gap: var(--space-xl);
  align-items: start;
}

.list-main {
  background: var(--color-bg-light);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.articles-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.list-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

/* ============================================
   重新设计的列表页样式
   ============================================ */

/* 列表页头部 */
.list-header-modern {
  background: linear-gradient(135deg, rgba(42, 157, 143, 0.08), rgba(231, 111, 81, 0.08));
  padding: 10px 0;
  /* margin-bottom: var(--space-xl); */
  border-bottom: 3px solid var(--color-primary);
  position: relative;
  overflow: hidden;
}

.list-header-content {
  position: relative;
  z-index: 1;
}

.list-header-main {
  /* max-width: 900px; */
  margin: 0 auto;
  /* padding: 0 var(--space-lg); */
}

.list-breadcrumb-modern {
  display: flex;
  align-items: center;
  font-size: var(--text-sm);
  color: var(--color-text-lighter);
  margin-bottom: var(--space-md);
}

.list-breadcrumb-modern a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.list-breadcrumb-modern a:hover {
  color: var(--color-secondary);
}

.list-breadcrumb-modern span {
  color: var(--color-text-light);
}

.list-title-modern {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  color: var(--color-text);
  /* margin-bottom: var(--space-md); */
  font-weight: bold;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.list-description {
  font-size: var(--text-lg);
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.list-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-bg-dark);
}

.stat-item {
  display: flex;
  align-items: center;
  color: var(--color-text-light);
  font-size: var(--text-sm);
}

/* 列表内容区域 */
.list-content-modern {
  padding-top: 30px !important;
  /* padding: var(--space-xl) 0; */
}

.list-container-modern {
  display: grid;
  grid-template-columns: 70% 30%;
  gap: var(--space-xl);
  align-items: start;
  /* padding: 30px 0; */
  /* margin-top: 80px; */
}

.ad-wrapper {
  text-align: center;
  margin: var(--space-lg) 0;
  padding: var(--space-md);
  background: var(--color-bg);
  border-radius: var(--radius-md);
}

/* 文章列表现代样式 */
.articles-list-modern {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.article-card-modern {
  background: var(--color-bg-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--color-bg-dark);
  position: relative;
}

.article-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.article-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 0 30px rgba(42, 157, 143, 0.1);
  border-color: rgba(42, 157, 143, 0.3);
}

.article-card-modern:hover::before {
  opacity: 1;
}

.article-card-link {
  text-decoration: none;
  display: block;
  height: 100%;
  color: inherit;
}

.article-image-modern {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-secondary-light));
}

.article-image-modern img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-card-modern:hover .article-image-modern img {
  transform: scale(1.1);
}

.article-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-secondary-light));
}

.article-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.3) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.article-card-modern:hover .article-image-overlay {
  opacity: 1;
}

.article-category-modern {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-bg-light);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: bold;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.article-content-modern {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-title-modern-list {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--color-text);
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.2em;
  transition: color 0.3s ease;
}

.article-card-modern:hover .article-title-modern-list {
  color: var(--color-primary);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.article-excerpt-modern {
  color: var(--color-text-light);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: var(--space-md);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.article-meta-modern-list {
  display: flex;
  gap: var(--space-lg);
  font-size: var(--text-xs);
  color: var(--color-text-lighter);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-bg-dark);
  margin-top: auto;
}

.meta-item-list {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.meta-item-list svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

/* 分页包装器 */
.pagination-wrapper-index {
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 2px solid var(--color-bg-dark);
}

/* 空状态现代样式 */
.empty-state-modern {
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
  background: var(--color-bg-light);
  border-radius: var(--radius-xl);
  border: 2px dashed var(--color-bg-dark);
}

.empty-icon {
  font-size: 4rem;
  margin-bottom: var(--space-lg);
  opacity: 0.5;
}

.empty-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.empty-description {
  color: var(--color-text-light);
  font-size: var(--text-base);
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}

.empty-action-btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-xl);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-bg-light);
  text-decoration: none;
  border-radius: var(--radius-full);
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(42, 157, 143, 0.3);
}

.empty-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(42, 157, 143, 0.4);
}

/* 列表侧边栏现代样式 */
.list-sidebar-modern {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  /* position: sticky; */
  top: 100px;
  align-self: flex-start;
}

/* ============================================
   侧边栏样式（保留旧样式兼容）
   ============================================ */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.sidebar-section {
  background: var(--color-bg-light);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sidebar-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--color-text);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-bg-dark);
}

.category-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.category-link {
  display: block;
  padding: var(--space-sm);
  color: var(--color-text-light);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.category-link:hover {
  background: var(--color-bg-dark);
  color: var(--color-primary);
}

/* ============================================
   重新设计的侧边栏样式
   ============================================ */

.sidebar-modern {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

/* 热门文章列表现代样式 */
.hot-articles-list-modern {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.hot-article-item-modern {
  position: relative;
}

.hot-article-link {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  position: relative;
}

.hot-article-link:hover {
  background: var(--color-bg-dark);
  transform: translateX(4px);
}

.hot-article-number-modern {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-bg-light);
  border-radius: 50%;
  font-weight: bold;
  font-size: var(--text-sm);
  box-shadow: 0 2px 8px rgba(42, 157, 143, 0.3);
}

.hot-article-item-modern:nth-child(1) .hot-article-number-modern {
  background: linear-gradient(135deg, #FFD700, #FFA500);
}

.hot-article-item-modern:nth-child(2) .hot-article-number-modern {
  background: linear-gradient(135deg, #C0C0C0, #A8A8A8);
}

.hot-article-item-modern:nth-child(3) .hot-article-number-modern {
  background: linear-gradient(135deg, #CD7F32, #B87333);
}

.hot-article-image-modern {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg-dark);
  position: relative;
}

.hot-article-image-modern img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.hot-article-link:hover .hot-article-image-modern img {
  transform: scale(1.1);
}

.hot-article-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-lighter);
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-secondary-light));
}

.hot-article-content-modern {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hot-article-title-modern {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
}

.hot-article-link:hover .hot-article-title-modern {
  color: var(--color-primary);
}

.hot-article-meta-modern {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-xs);
  color: var(--color-text-lighter);
}

.meta-separator {
  opacity: 0.5;
}

/* 分类导航现代样式（已在详情页样式部分定义，这里补充） */
.category-link-icon-modern {
  display: flex;
  align-items: center;
  color: var(--color-primary);
  transition: transform 0.3s ease;
}

.category-link-modern:hover .category-link-icon-modern {
  transform: rotate(15deg);
}

.category-link-text {
  flex: 1;
}

.category-link-arrow {
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.3s ease;
  color: var(--color-primary);
}

.category-link-modern:hover .category-link-arrow {
  opacity: 1;
  transform: translateX(0);
}

.category-count-modern {
  font-size: var(--text-xs);
  color: var(--color-text-lighter);
  margin-left: auto;
}

/* 标签云现代样式（已在详情页样式部分定义，这里补充） */
.tag-link-modern span {
  opacity: 0.7;
  margin-right: 2px;
}

.category-link.active {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-secondary-light));
  color: var(--color-bg-light);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.tag-cloud-section {
  margin-bottom: var(--space-2xl);
}

.tag {
  display: inline-block;
  padding: var(--space-xs) var(--space-lg);
  background: var(--color-bg-light);
  border-radius: var(--radius-full);
  color: var(--color-text-light);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: all 0.3s ease;
  border: 1px solid var(--color-border);
}

.tag:hover {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-bg-light);
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tag-link {
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  text-decoration: none;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  transition: all 0.3s ease;
}

.tag-link:hover {
  background: var(--color-primary);
  color: var(--color-bg-light);
}

.tag-link.size-1 { font-size: var(--text-xs); }
.tag-link.size-2 { font-size: var(--text-sm); }
.tag-link.size-3 { font-size: var(--text-base); }

/* 分页样式 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-xl);
  flex-wrap: wrap;
}

.pagination-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: var(--space-xs) var(--space-sm);
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-body);
  font-size: var(--text-base);
}

.pagination-button:hover:not(.disabled):not(.active) {
  background: var(--color-bg-dark);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.pagination-button.active {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-bg-light);
  border-color: transparent;
}

.pagination-button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  color: var(--color-text-lighter);
}

/* 文章分页样式 - 匹配 wp_simple_page 组件 */
.post-pagination,
.blog-page__pagination {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  margin: var(--space-lg) 0;
  padding: 0;
  list-style: none;
}

.post-pagination li,
.blog-page__pagination li {
  position: relative;
  display: inline-block;
  margin: 0;
}

.post-pagination li a,
.post-pagination li span,
.blog-page__pagination li a,
.blog-page__pagination li span {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--color-text);
  font-weight: 500;
  height: 40px;
  min-width: 40px;
  padding: 0 8px;
  line-height: 40px;
  background: var(--color-bg-light);
  text-align: center;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.post-pagination li a:hover,
.blog-page__pagination li a:hover {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-bg-light);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(42, 157, 143, 0.2);
}

.post-pagination li a.current,
.blog-page__pagination li a.current {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-bg-light);
  border-color: transparent;
  font-weight: 600;
}

.post-pagination li span,
.blog-page__pagination li span {
  color: var(--color-text-lighter);
  cursor: default;
  border: none;
  background: transparent;
}

.post-pagination li a:disabled,
.blog-page__pagination li a:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* 分页包装器样式 */
.pagination-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: var(--space-xl) 0;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.pagination-wrapper .post-pagination,
.pagination-wrapper .blog-page__pagination {
  margin: 0;
}

.pagination-wrapper-index .post-pagination,
.pagination-wrapper-index .blog-page__pagination {
  margin: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .post-pagination li a,
  .post-pagination li span,
  .blog-page__pagination li a,
  .blog-page__pagination li span {
    height: 36px;
    min-width: 36px;
    font-size: 0.85rem;
    padding: 0 6px;
  }

  .post-pagination,
  .blog-page__pagination {
    gap: 6px;
  }
}

/* 空状态 */
.empty-state {
  text-align: center;
  padding: var(--space-3xl);
}

/* 单独页面布局 */
.alone-layout {
  display: grid;
  grid-template-columns: 70% 30%;
  gap: var(--space-xl);
  align-items: start;
}

.alone-main {
  background: var(--color-bg-light);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.alone-article {
  margin-bottom: var(--space-xl);
}

.alone-header {
  margin-bottom: var(--space-lg);
}

.alone-title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.alone-content {
  line-height: 1.8;
  color: var(--color-text);
}

.alone-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

/* 评论区域 */
.comments-area {
  margin-top: var(--space-xl);
}

.comment-respond {
  background: var(--color-bg-light);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.comment-reply-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--color-text);
  margin-bottom: var(--space-lg);
}

.comment-notes {
  font-size: var(--text-sm);
  color: var(--color-text-lighter);
  margin-bottom: var(--space-md);
}

.required {
  color: var(--color-secondary);
}

.comment-form-author,
.comment-form-email,
.comment-form-url,
.comment-form-comment {
  margin-bottom: var(--space-md);
}

.comment-form-author label,
.comment-form-email label,
.comment-form-url label,
.comment-form-comment label {
  display: block;
  margin-bottom: var(--space-xs);
  color: var(--color-text);
  font-weight: bold;
}

.comment-form-author input,
.comment-form-email input,
.comment-form-url input,
.comment-form-comment textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  transition: border-color 0.3s ease;
}

.comment-form-author input:focus,
.comment-form-email input:focus,
.comment-form-url input:focus,
.comment-form-comment textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.comment-form-comment textarea {
  min-height: 120px;
  resize: vertical;
}

.comment-form-cookies-consent {
  margin-bottom: var(--space-md);
}

.comment-form-cookies-consent input {
  margin-right: var(--space-xs);
}

.form-submit {
  margin-top: var(--space-lg);
}

.button {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-bg-light);
  border: none;
  border-radius: var(--radius-full);
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(42, 157, 143, 0.3);
}

.button-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
}

/* 响应式设计 - 详情页 */
@media (max-width: 1024px) {
  .article-content-wrapper,
  .article-container,
  .alone-layout,
  .list-container,
  .list-container-modern {
    grid-template-columns: 1fr;
  }

  /* 现代列表页响应式 */
  .list-sidebar-modern {
    position: static;
    margin-top: var(--space-xl);
  }

  .articles-list-modern {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .list-title-modern {
    font-size: var(--text-3xl);
  }

  .highlights-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .related-articles {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }

  .related-image-wrapper {
    height: 180px;
  }

  .related-content {
    padding: var(--space-md);
  }

  .table-of-contents {
    position: static;
  }

  /* 现代设计响应式 */
  .article-sidebar-modern {
    position: static;
    margin-top: var(--space-xl);
  }

  .article-header-modern {
    padding: var(--space-xl) 0;
  }

  .article-title-modern {
    font-size: var(--text-3xl);
  }

  .article-meta-modern {
    flex-direction: column;
    align-items: flex-start;
  }

  .meta-group {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .article-title,
  .alone-title {
    font-size: var(--text-2xl);
  }

  .article-subtitle {
    font-size: var(--text-base);
  }

  .article-meta {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .highlights-container {
    grid-template-columns: 1fr;
  }

  .related-articles {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .related-image-wrapper {
    height: 200px;
  }

  .related-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
  }

  .related-read-more {
    margin-top: var(--space-xs);
  }

  .article-actions {
    flex-direction: column;
    gap: var(--space-md);
    align-items: flex-start;
  }

  .article-featured-image {
    height: 250px;
  }

  .articles-list {
    grid-template-columns: 1fr;
  }

  /* 现代列表页移动端响应式 */
  .list-header-modern {
    padding: var(--space-xl) 0;
  }

  .list-title-modern {
    font-size: var(--text-2xl);
  }

  .list-description {
    font-size: var(--text-base);
  }

  .article-image-modern {
    height: 180px;
  }

  .article-content-modern {
    padding: var(--space-md);
  }

  .article-title-modern-list {
    font-size: var(--text-lg);
  }

  .article-meta-modern-list {
    flex-direction: column;
    gap: var(--space-xs);
  }

  /* 现代设计移动端响应式 */
  .article-title-modern {
    font-size: var(--text-2xl);
  }

  .article-subtitle-modern {
    font-size: var(--text-lg);
  }

  .article-header-content {
    padding: 0 var(--space-md);
  }

  .share-buttons-modern {
    flex-direction: column;
  }

  .share-btn-modern {
    width: 100%;
    justify-content: center;
  }

  .article-share-modern-header {
    width: 100%;
    justify-content: flex-start;
    margin-top: var(--space-md);
  }

  .sidebar-widget-modern {
    padding: var(--space-md);
  }

  .hot-article-item {
    padding: var(--space-xs);
  }
}

@media (max-width: 480px) {
  .article-main,
  .sidebar-widget,
  .alone-main {
    padding: var(--space-md);
  }

  .article-title,
  .alone-title {
    font-size: var(--text-xl);
  }

  .share-buttons {
    flex-wrap: wrap;
  }

  /* 现代设计小屏幕响应式 */
  .article-title-modern {
    font-size: var(--text-xl);
  }

  .article-header-modern {
    padding: var(--space-lg) 0;
  }

  .meta-group {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .meta-item-modern {
    font-size: var(--text-xs);
  }

  .widget-title-modern {
    font-size: var(--text-base);
  }

  .hot-article-number {
    width: 28px;
    height: 28px;
    font-size: var(--text-xs);
  }

  /* 侧边栏现代样式移动端响应式 */
  .hot-article-number-modern {
    width: 28px;
    height: 28px;
    font-size: var(--text-xs);
  }

  .hot-article-image-modern {
    width: 50px;
    height: 50px;
  }

  .hot-article-title-modern {
    font-size: var(--text-xs);
  }

  .widget-title-modern {
    font-size: var(--text-base);
  }

  .category-link-modern {
    padding: var(--space-xs) var(--space-sm);
    font-size: var(--text-xs);
  }
}

/* ===== all_article 页面样式 ===== */
.article-wrap {
  background: var(--color-bg-light);
  padding: var(--space-xl);
  position: relative;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.article-wrap:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.entry-header h2.entry-title a,
.entry-header h3.entry-title a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.entry-header h2.entry-title a:hover,
.entry-header h3.entry-title a:hover {
  color: var(--color-primary);
}

.article-wrap .entry-title {
  margin-bottom: var(--space-sm);
  font-weight: 600;
  font-size: var(--text-xl);
  line-height: 1.4;
}

.article-wrap .entry-date {
  display: inline-block;
  margin-right: var(--space-md);
  color: var(--color-text-light);
  font-size: var(--text-sm);
}

.entry-content,
.entry-summary {
  margin: var(--space-md) 0 0;
}

.expert-content {
  margin-bottom: var(--space-md);
  color: var(--color-text);
  line-height: 1.7;
}

.expert-content p {
  margin-bottom: var(--space-md);
}

.common-title {
  line-height: 1.4;
  font-size: var(--text-xl);
  color: var(--color-text);
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.common-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.common-title a:hover {
  color: var(--color-primary);
}

.common-p {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--text-base);
  transition: all 0.3s ease;
  margin-top: var(--space-sm);
}

.read-more:hover {
  color: var(--color-secondary);
  transform: translateX(4px);
}

.read-more span {
  transition: transform 0.3s ease;
}

.read-more:hover span {
  transform: translateX(4px);
}

/* blog-archive-left 样式 */
.blog-archive-left {
  padding: 0;
  margin: 0 auto;
  max-width: 750px;
  float: initial;
}

/* section-padding 样式 */
.section-padding {
  padding: var(--space-2xl) 0;
}

/* rightsidebar 样式 */
.rightsidebar {
  display: flex;
  gap: var(--space-xl);
  align-items: flex-start;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .article-wrap {
    padding: var(--space-lg);
  }

  .article-wrap .entry-title {
    font-size: var(--text-lg);
  }

  .common-title {
    font-size: var(--text-lg);
  }

  .common-p {
    font-size: var(--text-sm);
  }

  .blog-archive-left {
    max-width: 100%;
  }
}

/* ===== 作者信息样式 ===== */
.author-info-box {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: 10px;
  padding: var(--space-sm) var(--space-md);
  background-color: var(--color-bg-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.author-avatar-small {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}

.author-avatar-small img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--color-primary);
}

.author-avatar-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  border: 1.5px solid var(--color-primary);
}

.author-info-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.author-name-row {
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  line-height: 1.2;
}

.article-author {
  font-size: var(--text-sm);
  color: var(--color-text);
  font-weight: 500;
  line-height: 1.4;
}

.author-link {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.author-link:hover {
  color: var(--color-secondary);
  text-decoration: underline;
}

.author-description-small {
  font-size: var(--text-xs);
  color: var(--color-text-light);
  margin: 0;
  line-height: 1.4;
  margin-top: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 淡入动画 */
.fade-in {
  animation: fadeIn 0.6s ease-in;
}

.delay-1 {
  animation-delay: 0.2s;
  animation-fill-mode: both;
}

.delay-2 {
  animation-delay: 0.4s;
  animation-fill-mode: both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 移动端作者信息样式 */
@media (max-width: 768px) {
  /* 详情页移动端隐藏面包屑 */
  body.detail-page .breadcrumb-section {
    display: none !important;
  }

  /* 详情页导航栏不固定 */
  body.detail-page .navbar-modern {
    position: static !important;
  }

  .author-info-box {
    align-items: center;
    padding: var(--space-xs) var(--space-sm);
  }

  .author-avatar-small {
    width: 35px;
    height: 35px;
  }

  .author-info-content {
    width: 100%;
  }

  .article-author {
    font-size: var(--text-xs);
  }

  .author-description-small {
    font-size: 0.7rem;
  }

  /* 列表页移动端：侧边栏显示在下面 */
  .list-container-modern {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .list-sidebar-modern {
    position: static;
    margin: 30px 0;
  }

  .articles-list-modern {
    grid-template-columns: 1fr;
  }
}

/* ===== 作者页面样式 ===== */
.author-hero-section {
  padding: var(--space-lg) 0;
  border-radius: var(--radius-md);
}

.author-hero-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-md);
}

.author-avatar-wrapper {
  position: relative;
}

.author-avatar-large {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  border: 4px solid var(--color-primary);
  box-shadow: var(--shadow-lg);
}

.author-avatar-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info-main {
  max-width: 600px;
}

.author-name-large {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.author-description {
  font-size: var(--text-lg);
  color: var(--color-text-light);
  line-height: 1.7;
  margin: 0;
}

.author-content-section {
  padding: var(--space-lg) 0;
  margin-bottom: var(--space-lg);
}

.author-content-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 3px solid var(--color-primary);
}

.author-content-body {
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--color-text);
}

.author-content-body p {
  margin-bottom: var(--space-md);
}

.author-articles-section {
  padding: var(--space-lg) 0;
}

.author-articles-section .section-header {
  text-align: center;
  margin-bottom: var(--space-md);
}

.author-articles-section .section-subtitle {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-xs);
  font-weight: 600;
}

.author-articles-section .section-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.author-articles-section .articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.author-articles-section .article-card {
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.author-articles-section .article-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.author-articles-section .article-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.author-articles-section .article-content {
  padding: var(--space-md);
}

.author-articles-section .article-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-xs);
  font-size: var(--text-xs);
  color: var(--color-text-lighter);
}

.author-articles-section .article-title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-xs);
  color: var(--color-primary);
}

.author-articles-section .article-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.author-articles-section .article-title a:hover {
  color: var(--color-secondary);
}

.author-articles-section .article-excerpt {
  color: var(--color-text-light);
  font-size: var(--text-sm);
  margin-bottom: var(--space-sm);
}

.author-articles-section .article-link {
  color: var(--color-primary);
  font-weight: 600;
  font-size: var(--text-sm);
  text-decoration: none;
  transition: color 0.3s ease;
}

.author-articles-section .article-link:hover {
  color: var(--color-secondary);
  text-decoration: underline;
}

/* 作者页面响应式设计 */
@media (max-width: 1024px) {
  .author-articles-section .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .author-hero-section {
    padding: var(--space-lg) 0;
    min-height: auto;
  }

  .author-name-large {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-sm);
  }

  .author-avatar-large {
    width: 100px;
    height: 100px;
    border-width: 3px;
  }

  .author-description {
    font-size: var(--text-md);
  }

  .author-content-title {
    font-size: var(--text-xl);
  }

  .author-articles-section .section-title {
    font-size: var(--text-xl);
  }

  .author-articles-section .articles-grid {
    grid-template-columns: 1fr;
  }

  .author-hero-card {
    gap: var(--space-md);
  }

  .author-info-main {
    max-width: 100%;
  }
}

.footer-links-container {
  text-align: center;
  /* margin-bottom: var(--space-xl); */
}
