/* 旅游资讯网站样式 - 绿色自然杂志风格 */
/* 设计：几何图形+极简主义，优雅衬线字体 */

/* CSS变量定义 */
:root {
  /* 色彩系统 - 绿色自然色系 */
  --primary-color: #2d6a4f;
  --primary-light: #95d5b2;
  --primary-dark: #1b4332;
  --secondary-color: #40916c;
  --accent-color: #74c69d;
  --background-light: #f8f9fa;
  --background-white: #ffffff;
  --text-primary: #212529;
  --text-secondary: #6c757d;
  --text-light: #adb5bd;
  --border-color: #dee2e6;
  --shadow-color: rgba(45, 106, 79, 0.08);

  /* 间距系统 */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-xxl: 3.5rem;

  /* 字体系统 */
  --font-heading: Georgia, 'Times New Roman', Times, serif;
  --font-body: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

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

  /* 过渡效果 */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--background-light);
  font-size: 15px;
  line-height: 1.5;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  /* margin-bottom: var(--space-md); */
  color: var(--primary-dark);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

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

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

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

/* 实用类 */
.text-center { text-align: center; }
.text-right { text-align: right; }
.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }
.mb-5 { margin-bottom: var(--space-xl); }
.mb-6 { margin-bottom: var(--space-xxl); }
.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }
.mt-5 { margin-top: var(--space-xl); }
.mt-6 { margin-top: var(--space-xxl); }
.p-1 { padding: var(--space-xs); }
.p-2 { padding: var(--space-sm); }
.p-3 { padding: var(--space-md); }
.p-4 { padding: var(--space-lg); }
.p-5 { padding: var(--space-xl); }
.p-6 { padding: var(--space-xxl); }

/* 几何图形装饰 */
.geometric-shape {
  position: absolute;
  z-index: -1;
  opacity: 0.1;
}

.triangle {
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-bottom: 52px solid var(--primary-color);
}

.circle {
  border-radius: 50%;
  background-color: var(--primary-light);
}

.diamond {
  width: 40px;
  height: 40px;
  background-color: var(--accent-color);
  transform: rotate(45deg);
}

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
}

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

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

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

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

.btn-small {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

/* 导航栏 */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all var(--transition-normal);
  border-bottom: 1px solid rgba(222, 226, 230, 0.3);
}

.navbar.scrolled {
  background-color: var(--background-white);
  box-shadow: 0 4px 12px var(--shadow-color);
  border-bottom-color: var(--border-color);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.logo {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-color);
}

.logo-icon {
  margin-right: var(--space-sm);
  color: var(--accent-color);
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: var(--space-xl);
}

.nav-links a {
  font-weight: 500;
  color: var(--text-primary);
  position: relative;
  padding: var(--space-xs) 0;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-normal);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
}

.search-btn {
  background: none;
  border: none;
  cursor: pointer;
  margin-right: var(--space-lg);
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

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

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  margin: 5px 0;
  transition: var(--transition-normal);
}

/* 主要内容区域 */
.main-content {
  margin-top: 0;
  padding-top: 10px;
  padding-bottom: var(--space-lg);
}

/* 特色目的地区块 */
.featured-destinations {
  margin-bottom: var(--space-xxl);
}

.section-header {
  margin-bottom: 20px;
  position: relative;
  padding-bottom: var(--space-md);
}

.section-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
}

.section-title {
  font-size: 2rem;
  color: var(--primary-dark);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.125rem;
  max-width: 600px;
}

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.destination-card {
  background-color: var(--background-white);
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-md) var(--radius-md);
  overflow: hidden;
  box-shadow: 0 6px 16px var(--shadow-color);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  border-top: 4px solid var(--primary-color);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.destination-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(45, 106, 79, 0.15);
}

.card-image {
  height: 220px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.destination-card:hover .card-image img {
  transform: scale(1.05);
}

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

.card-tag {
  display: inline-block;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
  align-self: flex-start;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  color: var(--primary-dark);
}

.card-description {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  flex-grow: 1;
  font-size: 13px;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  color: var(--text-light);
  font-size: 0.875rem;
  border-top: 1px solid var(--border-color);
  padding-top: var(--space-md);
  margin-top: auto;
}

/* 最新资讯区块 */
.latest-articles {
  margin-bottom: var(--space-xxl);
}

.articles-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-xl);
}

.main-article {
  background-color: var(--background-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 6px 16px var(--shadow-color);
}

.main-article .card-image {
  height: 320px;
}

.main-article .card-content {
  padding: var(--space-xl);
}

.main-article .card-title {
  font-size: 1.5rem;
}

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

.side-article {
  background-color: var(--background-white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: 0 4px 12px var(--shadow-color);
  display: flex;
  transition: transform var(--transition-normal);
}

.side-article:hover {
  transform: translateX(4px);
}

.side-article-img {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-right: var(--space-lg);
  flex-shrink: 0;
}

.side-article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.side-article-content {
  flex-grow: 1;
}

.side-article-title {
  font-size: 1rem;
  margin-bottom: var(--space-xs);
}

.side-article-meta {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* 旅行分类区块 */
.travel-categories {
  margin-bottom: var(--space-xxl);
}

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

.category-card {
  background-color: var(--background-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  box-shadow: 0 4px 12px var(--shadow-color);
  transition: all var(--transition-normal);
  border: 2px solid transparent;
}

.category-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-light);
  box-shadow: 0 8px 20px rgba(45, 106, 79, 0.12);
}

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

.category-title {
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
}

.category-description {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: var(--space-md);
}

.category-count {
  display: inline-block;
  background-color: var(--background-light);
  color: var(--primary-dark);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

/* 用户评价区块 */
.user-reviews {
  margin-bottom: var(--space-xxl);
  background-color: var(--background-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xxl);
  position: relative;
  overflow: hidden;
}

.user-reviews::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.review-card {
  background-color: var(--background-light);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: transform var(--transition-normal);
}

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

.review-rating {
  color: #ffc107;
  margin-bottom: var(--space-md);
  font-size: 1.125rem;
}

.review-text {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  position: relative;
  padding-left: var(--space-md);
}

.review-text::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -5px;
  font-size: 2rem;
  color: var(--primary-light);
  font-family: var(--font-heading);
}

.review-user {
  display: flex;
  align-items: center;
}

.user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: var(--space-md);
  border: 2px solid var(--primary-light);
}

.user-info h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.user-info p {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* 编辑推荐区块 */
.editor-picks {
  margin-bottom: var(--space-xxl);
}

.picks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.pick-card {
  background-color: var(--background-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 6px 16px var(--shadow-color);
  display: flex;
  transition: transform var(--transition-normal);
}

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

.pick-card:nth-child(3) {
  grid-column: 1 / span 2;
}

.pick-image {
  width: 50%;
  overflow: hidden;
}

.pick-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.pick-card:hover .pick-image img {
  transform: scale(1.05);
}

.pick-content {
  width: 60%;
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
}

.editor-badge {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
  align-self: flex-start;
}

.pick-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.pick-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition-normal);
}

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

.pick-excerpt {
  color: var(--text-secondary);
  /* margin-bottom: var(--space-lg); */
  font-size: 13px;
  flex-grow: 1;
}

/* 页脚 */
.footer {
  background-color: var(--primary-dark);
  color: white;
  padding-top: var(--space-xxl);
  padding-bottom: var(--space-xl);
}

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

.footer-column h3 {
  color: white;
  font-size: 1.25rem;
  margin-bottom: var(--space-lg);
  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(--primary-light);
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
}

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

.footer-description {
  color: #b7e4c7;
  margin-bottom: var(--space-lg);
  font-size: 0.875rem;
}

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

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

.footer-links a {
  color: #b7e4c7;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: white;
}

.subscribe-form {
  display: flex;
  margin-top: var(--space-md);
}

.subscribe-input {
  flex-grow: 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  font-family: var(--font-body);
}

.subscribe-button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.subscribe-button:hover {
  background-color: var(--secondary-color);
}

.footer-bottom {
  text-align: center;
  color: #95d5b2;
  font-size: 0.875rem;
}

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

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

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

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

@media (max-width: 768px) {
  .navbar {
    position: relative;
    z-index: 1000;
  }

  .navbar .container {
      flex-wrap: wrap;
      position: relative;
      z-index: 1000;
  }

  .nav-links {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      flex-direction: column;
      background-color: rgba(248, 249, 250, 0.98);
      backdrop-filter: blur(10px);
      padding: var(--space-sm);
      margin-top: 0;
      box-shadow: 0 4px 12px var(--shadow-color);
      border-top: 1px solid rgba(222, 226, 230, 0.3);
      z-index: 9999;
      max-height: calc(100vh - 100px);
      overflow-y: auto;
  }

  .nav-links.active {
      display: flex !important;
  }

  .nav-links li {
      margin: 0;
      margin-bottom: var(--space-sm);
      width: 100%;
  }

  .nav-links a {
      display: block;
      padding: var(--space-sm) var(--space-md);
      border-radius: var(--radius-md);
      width: 100%;
      border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .nav-links a::after {
      display: none;
  }

  /* 移动端隐藏面包屑 */
  .breadcrumb-section,
  .breadcrumb {
    display: none !important;
  }

  /* 列表页移动端侧边栏在下方 */
  .list-layout {
    display: flex !important;
    flex-direction: column;
  }

  .list-layout .list-main {
    order: 1;
  }

  .list-layout .list-sidebar {
    order: 2;
    width: 100%;
    margin-top: var(--space-lg);
  }

  /* 详情页移动端侧边栏在下方 */
  .article-layout {
    display: flex !important;
    flex-direction: column;
  }

  .article-layout .article-main {
    order: 1;
  }

  .article-layout .article-sidebar {
    order: 2;
    width: 100%;
    margin-top: var(--space-lg);
  }

  /* 列表页头部移动端 */
  .page-header {
    padding: 10px 0 !important;
  }

  .nav-actions {
      display: none;
  }

  .hamburger {
      display: block !important;
      z-index: 1001;
      position: relative;
      cursor: pointer;
      pointer-events: auto;
  }

  .hamburger.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
      opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
      transform: rotate(-45deg) translate(7px, -6px);
  }

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

  .side-articles {
      margin-top: var(--space-lg);
  }

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

  .pick-card:nth-child(3) {
      grid-column: 1;
  }

  .pick-card {
      flex-direction: column;
  }

  .pick-image, .pick-content {
      width: 100%;
  }

  .section-title {
      font-size: 1.75rem;
  }
}

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

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

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

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

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

  .subscribe-input, .subscribe-button {
      width: 100%;
      border-radius: var(--radius-md);
  }

  .subscribe-button {
    margin-top: var(--space-sm);
  }
}

/* ===== 详情页和列表页样式 ===== */
/* 面包屑导航 */
.breadcrumb-section {
  /* margin-top: 80px; */
  padding: var(--space-sm) 0;
  background-color: var(--background-light);
}

.breadcrumb {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

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

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

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

/* 详情页布局 */
.detail-content {
  padding: var(--space-xl) 0;
}

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

.article-main {
  min-height: 600px;
}

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

.article-meta {
  display: flex;
  align-items: center;
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.article-category {
  background-color: var(--primary-light);
  color: var(--primary-dark);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-right: var(--space-md);
  font-weight: 600;
}

.article-date {
  margin-right: var(--space-md);
}

.article-title {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--primary-dark);
}

.article-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.5;
}

.article-author {
  display: flex;
  align-items: center;
  padding: 5px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: var(--space-md);
  border: 2px solid var(--primary-light);
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-light);
  color: var(--primary-color);
  font-weight: bold;
}

.article-featured-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 20px var(--shadow-color);
  margin-bottom: var(--space-xl);
}

.article-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.image-caption {
  padding: var(--space-sm) var(--space-md);
  background-color: var(--background-light);
  color: var(--text-light);
  font-size: 0.875rem;
  text-align: center;
}

.highlight-cards {
  margin-bottom: var(--space-xl);
}

.highlight-cards h2 {
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
  color: var(--primary-dark);
  border-left: 4px solid var(--primary-color);
  padding-left: var(--space-md);
}

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

.highlight-card {
  background-color: var(--background-white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border-top: 4px solid var(--primary-color);
  box-shadow: 0 4px 12px var(--shadow-color);
}

.highlight-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--primary-color);
  font-size: 1.5rem;
}

.highlight-card h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
}

.highlight-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.article-content {
  line-height: 1.8;
}

.detail-post-content {
  line-height: 1.8;
}

.detail-post-content h2 {
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
  color: var(--primary-dark);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--primary-light);
}

.detail-post-content h3 {
  font-size: 1.25rem;
  margin: var(--space-lg) 0 var(--space-md);
  color: var(--primary-dark);
}

.detail-post-content h4 {
  font-size: 1.125rem;
  margin: var(--space-md) 0 var(--space-sm);
  color: var(--primary-dark);
}

.detail-post-content p {
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.detail-post-content ul, .detail-post-content ol {
  padding-left: var(--space-lg);
  margin-bottom: var(--space-md);
}

.detail-post-content li {
  margin-bottom: var(--space-sm);
}

.detail-post-content 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;
}

.article-tags span {
  font-weight: 600;
  color: var(--text-secondary);
  margin-right: var(--space-sm);
}

.tag-link {
  background-color: var(--background-light);
  color: var(--primary-color);
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  transition: background-color var(--transition-fast);
}

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

.article-share {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--background-white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: 0 4px 12px var(--shadow-color);
  margin-bottom: var(--space-xl);
}

.article-share h4 {
  margin-bottom: var(--space-sm);
  color: var(--primary-dark);
}

.article-share p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin: 0;
}

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

.share-btn {
  transition: all var(--transition-fast);
}

.related-articles-section {
  margin-top: var(--space-xl);
}

.related-articles-section .section-title {
  font-size: 1.75rem;
  /* margin-bottom: var(--space-lg); */
}

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

.related-article {
  background-color: var(--background-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 12px var(--shadow-color);
  transition: transform var(--transition-normal);
}

.related-article:hover {
  transform: translateY(-5px);
}

.related-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

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

.related-title {
  font-size: 1rem;
  margin-bottom: var(--space-xs);
  line-height: 1.3;
}

.related-meta {
  font-size: 0.8rem;
  color: var(--text-light);
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(45, 106, 79, 0.3);
  display: none;
  z-index: 999;
  transition: all var(--transition-normal);
  font-size: 1.5rem;
}

.back-to-top.visible {
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top:hover {
  background-color: var(--primary-dark);
  transform: translateY(-5px);
}

/* 列表页样式 */
.list-content {
  padding: var(--space-xl) 0;
}

.page-header {
  background-color: var(--primary-dark);
  color: white;
  padding: var(--space-xxl);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120" viewBox="0 0 120 120"><path d="M0,0 L120,0 L120,120 L0,120 Z" fill="none" stroke="%2395d5b2" stroke-width="0.5"/><circle cx="30" cy="30" r="5" fill="%2374c69d" opacity="0.3"/><circle cx="90" cy="60" r="8" fill="%2374c69d" opacity="0.3"/><circle cx="60" cy="90" r="6" fill="%2374c69d" opacity="0.3"/><polygon points="20,50 40,40 50,60 30,70" fill="%2395d5b2" opacity="0.2"/><polygon points="70,20 90,30 80,50 60,40" fill="%2395d5b2" opacity="0.2"/></svg>');
  opacity: 0.1;
}

.page-title {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
  color: white;
}

.page-subtitle {
  font-size: 1.25rem;
  color: #b7e4c7;
  max-width: 700px;
  margin: 0 auto;
}

.list-layout {
  display: grid;
  grid-template-columns: 75% 25%;
  gap: var(--space-xl);
  align-items: start;
}

.list-main {
  min-height: 600px;
}

.list-section {
  margin-bottom: var(--space-xl);
}

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

.list-item {
  background-color: var(--background-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 6px 16px var(--shadow-color);
  transition: all var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
  border-top: 4px solid var(--primary-color);
}

.list-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(45, 106, 79, 0.15);
}

.list-item-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.list-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.list-item:hover .list-item-image img {
  transform: scale(1.05);
}

.list-item-tag {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  display: inline-block;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

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

.item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  font-size: 0.8rem;
  color: var(--text-light);
}

.item-category {
  background-color: var(--primary-light);
  color: var(--primary-dark);
  padding: 2px var(--space-sm);
  border-radius: var(--radius-full);
  font-weight: 600;
}

.item-date {
  color: var(--text-light);
}

.item-title {
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
  color: var(--primary-dark);
  line-height: 1.3;
}

.item-title a {
  color: inherit;
  text-decoration: none;
}

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

.item-excerpt {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  flex-grow: 1;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.item-tag {
  background-color: var(--background-light);
  color: var(--text-light);
  padding: 2px var(--space-sm);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
}

.list-item-meta {
  display: flex;
  justify-content: space-between;
  color: var(--text-light);
  font-size: 0.875rem;
  /* border-top: 1px solid var(--border-color); */
  padding-top: var(--space-md);
  margin-top: auto;
}

/* 侧边栏 */
.sidebar, .list-sidebar, .article-sidebar {
  /* position: sticky; */
  top: 100px;
  align-self: start;
}

.sidebar-section {
  background-color: var(--background-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: 0 4px 12px var(--shadow-color);
  margin-bottom: var(--space-lg);
}

.sidebar-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
  color: var(--primary-dark);
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: var(--space-sm);
}

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

.category-link {
  display: block;
  padding: var(--space-sm);
  color: var(--text-primary);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.category-link:hover {
  background-color: var(--primary-light);
  color: var(--primary-color);
  padding-left: var(--space-md);
}

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

.tag-link {
  background-color: var(--background-light);
  color: var(--primary-color);
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

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

.tag-link.size-1 { font-size: 0.75rem; padding: 0.25rem 0.5rem; }
.tag-link.size-2 { font-size: 0.8125rem; }
.tag-link.size-3 { font-size: 0.875rem; }
.tag-link.size-4 { font-size: 0.9375rem; }
.tag-link.size-5 { font-size: 1rem; padding: 0.5rem 1rem; }

.space-y-4 > * + * {
  margin-top: var(--space-md);
}

.card-hover {
  transition: all var(--transition-fast);
}

.card-hover:hover {
  background-color: var(--primary-light);
  padding-left: var(--space-sm);
}

.border-gray-100 {
  border-color: var(--border-color);
}

.font-medium {
  font-weight: 600;
}

.text-gray-800 {
  color: var(--primary-dark);
}

.hover\:text-primary:hover {
  color: var(--primary-color);
}

.transition-colors {
  transition: color var(--transition-fast);
}

.mb-1 {
  margin-bottom: var(--space-xs);
}

.line-clamp-2 {
  /* display: -webkit-box; */
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 15px;
}

.empty-state {
  text-align: center;
  padding: var(--space-xxl);
}

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

.pagination-button {
  min-width: 40px;
  height: 40px;
  padding: 0 var(--space-sm);
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.pagination-button.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

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

.pagination-ellipsis {
  color: var(--text-light);
  padding: 0 var(--space-xs);
}

/* 文章分页样式 - 匹配 wp_simple_page 组件 */
.post-pagination,
.blog-page__pagination {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  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.875rem;
  color: var(--text-primary);
  font-weight: 500;
  height: 40px;
  min-width: 40px;
  padding: 0 8px;
  line-height: 40px;
  background-color: white;
  text-align: center;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
  font-family: var(--font-body);
}

.post-pagination li a:hover,
.blog-page__pagination li a:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: scale(1.1);
}

.post-pagination li a.current,
.blog-page__pagination li a.current {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  font-weight: 600;
}

.post-pagination li span,
.blog-page__pagination li span {
  color: var(--text-light);
  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(--border-color);
}

.pagination-wrapper .post-pagination,
.pagination-wrapper .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.75rem;
    padding: 0 6px;
  }

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

/* 响应式设计 - 详情页和列表页 */
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .sidebar, .list-sidebar, .article-sidebar {
    position: static;
    order: -1;
    margin-bottom: var(--space-xl);
  }

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

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

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

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

@media (max-width: 768px) {
  .article-layout {
    display: block !important;
  }

  .article-layout .article-main {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .article-layout .article-sidebar {
    width: 100%;
    margin-top: var(--space-xl);
    position: static;
    order: 0;
  }

  .article-title {
    font-size: 1.75rem;
  }

  .article-meta {
    flex-wrap: wrap;
  }

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

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

  .page-title {
    font-size: 2rem;
  }

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

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

@media (max-width: 576px) {
  .article-title {
    font-size: 1.5rem;
  }

  .page-title {
    font-size: 1.625rem;
  }

  .page-subtitle {
    font-size: 1.125rem;
  }
}

/* ===== Alone 單頁樣式 ===== */
.alone-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--space-xl);
  padding: var(--space-xl) 0;
}

.alone-main {
  min-height: 600px;
}

.alone-article {
  background-color: var(--background-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: 0 4px 12px var(--shadow-color);
  border: 1px solid var(--border-color);
  margin-bottom: var(--space-xl);
}

.alone-header {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-color);
}

.alone-title {
  font-size: 2.5rem;
  color: var(--primary-dark);
  line-height: 1.2;
  margin-bottom: 0;
}

.alone-content {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-primary);
}

.alone-content h2 {
  font-size: 1.75rem;
  color: var(--primary-dark);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--primary-light);
}

.alone-content h3 {
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.alone-content h4 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-top: var(--space-md);
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

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

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

.alone-content li {
  margin-bottom: var(--space-sm);
}

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

.alone-content a {
  color: var(--primary-color);
  text-decoration: underline;
}

.alone-content a:hover {
  color: var(--primary-dark);
}

/* 評論區域 */
.comments-area {
  background-color: var(--background-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: 0 4px 12px var(--shadow-color);
  border: 1px solid var(--border-color);
}

.comment-respond {
  margin-top: var(--space-lg);
}

.comment-reply-title {
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin-bottom: var(--space-lg);
}

.comment-reply-title small {
  font-size: 0.875rem;
  margin-left: var(--space-sm);
}

.comment-reply-title a {
  color: var(--primary-color);
  font-weight: normal;
}

.comment-notes {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.required {
  color: #e74c3c;
}

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

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

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

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

.comment-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  resize: vertical;
  min-height: 150px;
  transition: border-color 0.3s ease;
}

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

.comment-form-cookies-consent {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.comment-form-cookies-consent input[type="checkbox"] {
  width: auto;
  margin-right: var(--space-xs);
}

.comment-form-cookies-consent label {
  margin-bottom: 0;
  font-weight: normal;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

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

.button-primary {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.button-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow-color);
}

/* 側邊欄 */
.alone-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

/* 響應式設計 - Alone 頁面 */
@media (max-width: 1024px) {
  .alone-layout {
    grid-template-columns: 1fr;
  }

  .alone-sidebar {
    position: static;
    margin-top: var(--space-xl);
  }
}

@media (max-width: 768px) {
  .alone-article {
    padding: var(--space-lg);
  }

  .alone-title {
    font-size: 2rem;
  }

  .comments-area {
    padding: var(--space-lg);
  }

  .comment-reply-title {
    font-size: 1.25rem;
  }
}

@media (max-width: 576px) {
  .alone-title {
    font-size: 1.7rem;
  }
}

/* ===== all_article 页面样式 ===== */
.article-wrap {
  background: var(--background-white);
  padding: var(--space-xl);
  position: relative;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
  box-shadow: 0 2px 8px var(--shadow-color);
  transition: all var(--transition-normal);
  border: 1px solid var(--border-color);
}

.article-wrap:hover {
  box-shadow: 0 4px 16px var(--shadow-color);
  transform: translateY(-2px);
  border-color: var(--primary-color);
}

.article-wrap .entry-header {
  /* margin: 0 0 var(--space-md) 0;
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-color); */
}

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

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

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

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

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

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

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

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

.common-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

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

.read-more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all var(--transition-fast);
  margin-top: var(--space-sm);
}

.read-more:hover {
  color: var(--primary-dark);
  transform: translateX(4px);
}

.read-more span {
  transition: transform var(--transition-fast);
}

.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-xl) 0;
}

/* rightsidebar 样式 */
.rightsidebar {
  display: flex;
  gap: var(--space-xl);
  align-items: flex-start;
}

/* blog blog-index 样式 */
.blog.blog-index {
  width: 100%;
}

/* me-3 工具类 */
.me-3 {
  margin-right: var(--space-md);
}

/* article-item 样式 */
.article-item {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

.article-img {
  flex-shrink: 0;
  width: 200px;
  height: 150px;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-fast);
}

.article-img:hover img {
  transform: scale(1.05);
}

.article-info {
  flex: 1;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .article-wrap {
    padding: var(--space-lg);
  }

  .article-wrap .entry-title {
    font-size: 1.125rem;
  }

  .common-title {
    font-size: 1rem;
  }

  .common-p {
    font-size: 13px;
  }

  .blog-archive-left {
    max-width: 100%;
  }

  .rightsidebar {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .article-item {
    flex-direction: column;
  }

  .article-img {
    width: 100%;
    height: 200px;
  }
}

/* ===== 作者信息样式 ===== */
.author-info-box {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-top: var(--space-md);
  padding: var(--space-md);
  background-color: var(--background-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.author-avatar-small {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
}

.author-avatar-small img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-color);
}

.author-avatar-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  border: 2px solid var(--primary-color);
}

.author-info-content {
  flex: 1;
}

.author-name-row {
  margin-bottom: var(--space-xs);
}

.article-author {
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
}

.author-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.author-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.author-description-small {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* 淡入动画 */
.fade-in {
  animation: fadeIn 0.6s ease-in;
}

.delay-1 {
  animation-delay: 0.2s;
  animation-fill-mode: both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 移动端作者信息样式 */
@media (max-width: 768px) {
  .author-info-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-sm);
  }

  .author-avatar-small {
    width: 50px;
    height: 50px;
  }

  .author-info-content {
    width: 100%;
  }
}

/* ===== 作者页面样式 ===== */
.author-hero-section {
  padding: var(--space-lg) 0;
  background-color: var(--background-light);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
}

.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(--primary-color);
  box-shadow: 0 8px 32px var(--shadow-color);
}

.author-avatar-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info-main {
  max-width: 600px;
}

.author-name-large {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--space-md);
  font-family: var(--font-heading);
}

.author-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

.author-content-section {
  padding: var(--space-lg) 0;
  margin-bottom: var(--space-lg);
}

.author-content-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 3px solid var(--secondary-color);
  font-family: var(--font-heading);
}

.author-content-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-primary);
}

.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: 0.875rem;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-xs);
  font-weight: 600;
}

.author-articles-section .section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--space-md);
  font-family: var(--font-heading);
}

.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(--background-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 12px var(--shadow-color);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.author-articles-section .article-card:hover {
  box-shadow: 0 8px 32px var(--shadow-color);
  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: 0.75rem;
  color: var(--text-secondary);
}

.author-articles-section .article-title {
  font-size: 1.125rem;
  margin-bottom: var(--space-xs);
  color: var(--primary-color);
  font-family: var(--font-heading);
}

.author-articles-section .article-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.author-articles-section .article-title a:hover {
  color: var(--secondary-color);
}

.author-articles-section .article-excerpt {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: var(--space-sm);
}

.author-articles-section .article-link {
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.author-articles-section .article-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.delay-2 {
  animation-delay: 0.4s;
  animation-fill-mode: both;
}

/* 作者页面响应式设计 */
@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-md) 0;
  }

  .author-name-large {
    font-size: 2rem;
  }

  .author-avatar-large {
    width: 120px;
    height: 120px;
    border-width: 3px;
  }

  .author-content-title {
    font-size: 1.5rem;
  }

  .author-articles-section .section-title {
    font-size: 1.5rem;
  }

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

  .author-hero-card {
    gap: var(--space-sm);
  }
}
