/* Mobile端专用样式文件 - 基于参考网站优化 */

/* CSS Variables */
:root {
  /* Colors */
  --primary-color: #2c7a7b;
  --primary-dark: #1a5a5a;
  --secondary-color: #f59e0b;
  --accent-color: #1a8033;

  /* Text colors */
  --text-primary: #333;
  --text-secondary: #666;
  --text-muted: #777; /* 更好的对比度 */
  --text-white: #fff;

  /* Background colors */
  --bg-primary: #f8f9fa;
  --bg-secondary: #ffffff;
  --bg-light: #f0f0f0;

  /* Border colors */
  --border-color: #dee2e6;
  --border-light: #e9ecef;

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Font sizes */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.75rem;
  --font-size-4xl: 2rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);

  /* Z-index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
   scroll-behavior: smooth;
 }

 /* 全局链接样式 */
 a {
   color: var(--primary-color);
   text-decoration: none;
   transition: color 0.2s ease;
 }

 a:hover {
   color: var(--primary-dark);
 }

main {
  padding-bottom: 70px;
  min-height: calc(100vh - 140px);
}

/* Mobile端容器 */
.mobile-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  min-height: 100vh;
  background: transparent;
}

/* 通用容器样式 */
.container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}

/* 头部样式 - 基于参考网站 */
#header {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

#header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1rem;
  max-width: 100%;
  margin: 0 auto;
}

#header .logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

#header .logo .logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

#header .logo img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

#header .logo img:hover {
  transform: scale(1.05);
}

#header .site-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: var(--spacing-sm);
  z-index: 1001;
  position: relative;
  background: transparent;
  border: none;
  outline: none;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background-color: var(--text-primary);
  border-radius: 3px;
  transition: all 0.3s ease;
  display: block;
}

.mobile-menu-btn:hover span {
  background-color: var(--primary-color);
}

.mobile-menu-btn:active {
  transform: scale(0.95);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

 .mobile-menu-btn.active span:nth-child(3) {
   transform: rotate(-45deg) translate(7px, -7px);
 }

 /* 桌面导航隐藏（移动端专用） */
 #nav {
   display: none;
 }

 /* 移动端联系链接 */
 .mobile-contact-link {
   display: flex;
   align-items: center;
   margin-left: auto;
   margin-right: 0.5rem;
 }

 /* Mobile端内容区域 */
.mobile-content {
  padding-top: 80px;
  padding-bottom: 100px;
  padding-left: 1rem;
  padding-right: 1rem;
  background: transparent;
  min-height: calc(100vh - 180px);
}

/* Mobile端卡片样式 - 现代化设计 */
.mobile-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 1.25rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border-color);
  position: relative;
}

.mobile-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2c7a7b, #f59e0b);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.mobile-card:hover::before {
  opacity: 1;
}

.mobile-card-image {
  width: 100%;
  height: 0;
  padding-bottom: 60%;
  position: relative;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.mobile-card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.mobile-card:hover .mobile-card-image img {
  transform: scale(1.05);
}

.mobile-card-content {
  padding: 1.25rem;
}

.mobile-card-title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mobile-card-excerpt {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Mobile端按钮样式 - 现代化设计 */
.mobile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.mobile-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.mobile-btn:hover::before {
  left: 100%;
}

.mobile-btn:active {
  transform: translateY(2px);
  box-shadow: var(--shadow-sm);
}

/* Mobile端新闻列表样式 - 现代化设计 */
.news-dual-section {
  margin: 0.5rem 0;
}

.news-dual-section .container,
.home-banner-wrapper + .container {
  padding: 0;
}

.news-dual-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 0;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

/* 针对小屏幕优化 */
@media (max-width: 374px) {
  #header .container {
    padding: 0.8rem;
  }

  .news-dual-container {
    padding: 0;
    gap: 1rem;
  }

  .news-column {
    padding: 1rem;
  }
}

/* 针对常见移动设备优化 */
@media (min-width: 375px) and (max-width: 413px) {
  .news-dual-container {
    gap: 1.25rem;
  }
}

@media (min-width: 414px) and (max-width: 767px) {
  .news-dual-container {
    gap: 1.5rem;
  }
}

@media (min-width: 768px) {
  .news-dual-container {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* 针对平板设备优化 */
@media (min-width: 768px) and (max-width: 1023px) {
  .news-dual-container {
    padding: 0;
  }
}

.news-column {
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  padding: 0 0.75rem;
  transition: all 0.3s ease;
}

.news-column:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.news-column-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #2c7a7b;
}

.column-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.column-link {
  font-size: var(--font-size-sm);
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.column-link:hover {
  color: #1a5a5a;
  transform: translateX(4px);
}

.news-table {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.news-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  background: #ffffff;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.news-row:hover {
  border-left-color: var(--primary-color);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.news-row.with-border {
  border-bottom: 1px solid #e0e0e0;
}

.thumbnail-cell {
  flex-shrink: 0;
}

.news-thumbnail {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: transform 0.3s ease;
}

.news-row:hover .news-thumbnail {
  transform: scale(1.05);
}

.title-cell {
  flex: 1;
}

.news-title-link {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--text-primary);
  text-decoration: none;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
}

.news-title-link:hover {
  color: var(--primary-color);
}

.date-cell {
  flex-shrink: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  min-width: 80px;
  text-align: right;
}

.no-data-cell {
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
  padding: var(--spacing-md);
}

/* Mobile端轮播图样式 - 现代化设计 */
.mobile-carousel {
  position: relative;
  width: 100%;
  height: 200px; /* 减少高度，适应移动设备 */
  overflow: hidden;
  margin-bottom: 1rem;
  border-radius: 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* 针对不同屏幕尺寸调整轮播图高度 */
@media (min-width: 375px) {
  .mobile-carousel {
    height: 220px;
  }
}

@media (min-width: 414px) {
  .mobile-carousel {
    height: 240px;
  }
}

@media (min-width: 768px) {
  .mobile-carousel {
    height: 300px;
  }
}

.mobile-carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
}

.mobile-carousel-item.active {
  opacity: 1;
}

.mobile-carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.mobile-carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--spacing-md);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;
}

.mobile-carousel-caption h2 {
  font-size: var(--font-size-xl);
  margin: 0;
  color: white;
}

.mobile-carousel-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 2;
}

.mobile-carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: var(--font-size-xl);
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mobile-carousel-control:hover {
  background-color: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.mobile-carousel-indicators {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.mobile-carousel-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background-color: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-carousel-indicator.active {
  background-color: white;
  border-color: white;
}

/* Mobile端加载动画 */
.mobile-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--spacing-xl);
  color: var(--text-muted);
}

.mobile-loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e9ecef;
  border-top-color: #1a8033;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* 返回顶部按钮 - 现代化设计 */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 20px;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: var(--font-size-2xl);
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.back-to-top:hover {
  transform: translateY(-8px) scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.3);
}

.back-to-top:active {
  transform: translateY(-2px) scale(1.05);
}

/* 浮动返回按钮 - 半透明 */
.floating-back-btn {
  position: fixed;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.8rem;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(5px);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 400;
  z-index: 9999;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.floating-back-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.floating-back-btn span {
  white-space: nowrap;
}

.floating-back-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateX(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.floating-back-btn:active {
  transform: translateX(-2px) scale(0.98);
}

/* 菜单遮罩层 */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile端新闻列表样式 - 基于参考网站 */
.mobile-news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: var(--spacing-md);
  margin: 2rem 0;
  width: 100%;
  box-sizing: border-box;
}

.mobile-news-item {
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: background-color 0.2s ease;
  margin-bottom: 0.75rem;
}

.mobile-news-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.mobile-news-item:hover {
  background-color: var(--bg-primary);
}

.mobile-news-item-inner {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.mobile-news-thumbnail {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.mobile-news-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.mobile-news-item:hover .mobile-news-thumbnail img {
  transform: scale(1.05);
}

.mobile-news-content {
  flex: 1;
  min-width: 0;
}

.mobile-news-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.mobile-news-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: var(--primary-color);
  line-height: 1.3;
  flex: 1;
  min-width: 0;
  text-align: left;
}

.mobile-news-title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

.mobile-news-title a:hover {
  color: #1a5a5a;
}

.mobile-news-meta {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.mobile-news-excerpt {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Mobile端文章列表样式 - 基于参考网站 */
.mobile-articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: var(--spacing-md);
  margin: 2rem 0;
}

.mobile-article-card {
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: background-color 0.2s ease;
  margin-bottom: 0.75rem;
}

.mobile-article-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.mobile-article-card:hover {
  background-color: var(--bg-primary);
}

.mobile-article-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: var(--primary-color);
  line-height: 1.3;
  text-align: left;
}

.mobile-article-title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

.mobile-article-title a:hover {
  color: #1a5a5a;
}

.mobile-article-excerpt {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.mobile-article-date {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Mobile端分类标签样式 */
.mobile-category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.mobile-category-tag {
  background-color: #f0f0f0;
  color: #1a8033;
  padding: 0.25rem 0.75rem;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Mobile端联系页面样式 */
.mobile-contact-section {
  padding: var(--spacing-lg);
}

.mobile-contact-card {
  background-color: white;
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-md);
}

.mobile-contact-title {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.mobile-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e9ecef;
}

.mobile-contact-item:last-child {
  border-bottom: none;
}

.mobile-contact-label {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  min-width: 80px;
}

.mobile-contact-value {
  font-size: var(--font-size-base);
  color: var(--text-primary);
  flex: 1;
}

.mobile-contact-icon {
  width: 24px;
  height: 24px;
  color: #1a8033;
}

/* Mobile端富文本内容样式 - 基于参考网站 */
.content-section {
  margin: 2rem 0;
  padding: 2rem 0;
}

.content-section:first-child {
  margin-top: 0;
}

.content-section p {
  line-height: 1.8;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.content-section h1,
.content-section h2,
.content-section h3,
.content-section h4,
.content-section h5,
.content-section h6 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

.content-section h1 { font-size: var(--font-size-4xl); }
.content-section h2 { font-size: var(--font-size-2xl); }
.content-section h3 { font-size: 1.2rem; }

.content-section ul,
.content-section ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

.content-section li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.content-section img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 1rem 0;
}

.content-section blockquote {
  border-left: 4px solid #2c7a7b;
  padding-left: 1rem;
  margin: 1rem 0;
  color: var(--text-secondary);
  font-style: italic;
}

.content-section a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.content-section a:hover {
  color: #1a5a5a;
  text-decoration: underline;
}

.content-section table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.content-section th,
.content-section td {
  border: 1px solid var(--border-color);
  padding: 0.75rem;
  text-align: left;
}

.content-section th {
  background-color: var(--bg-primary);
  font-weight: 600;
  color: var(--primary-color);
}

.content-section code {
  background-color: var(--bg-primary);
  padding: 0.2rem 0.4rem;
  border-radius: var(--radius-sm);
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
}

.content-section pre {
  background-color: var(--bg-primary);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin: 1rem 0;
}

.content-section pre code {
  background-color: transparent;
  padding: 0;
}

/* 响应式断点 - 优化移动端布局 */
@media (max-width: 480px) {
  #header .container {
    padding: 0.75rem;
  }

  #header .logo img {
    width: 36px;
    height: 36px;
  }

  #header .site-title {
    font-size: var(--font-size-base);
  }

  .mobile-content {
    padding-top: 70px;
    padding-bottom: 20px;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .content-section {
    margin: 1.5rem 0;
    padding: 1.5rem 0;
  }

  .content-section h1 { font-size: var(--font-size-2xl); }
  .content-section h2 { font-size: var(--font-size-xl); }
  .content-section h3 { font-size: 1.1rem; }

  .mobile-news-list,
  .mobile-articles-grid {
    padding: 0.75rem;
  }

  .mobile-news-item,
  .mobile-article-card {
    padding: 0.75rem 0;
  }

  .mobile-news-thumbnail {
    width: 50px;
    height: 50px;
  }

  .mobile-news-title,
  .mobile-article-title {
    font-size: var(--font-size-base);
  }

  .mobile-news-excerpt,
  .mobile-article-excerpt {
    font-size: 0.8rem;
    -webkit-line-clamp: 2;
  }

  .mobile-card {
    margin-bottom: 0.75rem;
  }

  .mobile-card-content {
    padding: 0.75rem;
  }

  .mobile-card-title {
    font-size: 0.9rem;
  }

  .mobile-btn {
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
  }

  .news-dual-container {
    padding: 0;
    gap: 1rem;
  }

  .news-column {
    padding: var(--spacing-md);
  }

  .column-title {
    font-size: 1.1rem;
  }

  .mobile-carousel {
    height: 200px;
  }

  .mobile-carousel-caption h2 {
    font-size: var(--font-size-base);
  }

  .mobile-contact-section {
    padding: var(--spacing-md);
  }

  .mobile-contact-card {
    padding: var(--spacing-md);
  }

  .mobile-contact-title {
    font-size: 1.1rem;
  }

  .mobile-contact-item {
    gap: 0.75rem;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  #header .container {
    padding: var(--spacing-md);
  }

  .mobile-content {
    padding-top: 80px;
    padding-bottom: 30px;
  }

  .content-section h1 { font-size: var(--font-size-3xl); }
  .content-section h2 { font-size: 1.4rem; }
  .content-section h3 { font-size: 1.15rem; }

  .news-dual-container {
    grid-template-columns: 1fr;
  }
}

/* 大屏幕移动设备优化 */
@media (min-width: 769px) and (max-width: 1024px) {
  .mobile-content {
    max-width: 768px;
    margin: 0 auto;
  }

  .news-dual-container {
    grid-template-columns: 1fr 1fr;
  }
}

/* 移动端菜单样式 - 现代化设计 */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  z-index: 1000;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e0e0e0;
  background: #ffffff;
}

.mobile-menu-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-menu-site-logo {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
}

.mobile-menu-site-title {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--text-primary);
}

.mobile-menu-close {
  background: none;
  border: none;
  font-size: var(--font-size-2xl);
  color: var(--text-secondary);
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  background: var(--bg-primary);
  color: var(--primary-color);
}

.mobile-menu-nav {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 0;
}

.mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu-item {
  border-bottom: 1px solid #e0e0e0;
}

.mobile-menu-item:last-child {
  border-bottom: none;
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1.25rem;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.mobile-menu-link:hover {
  background: var(--bg-primary);
  color: var(--primary-color);
  padding-left: 1.5rem;
}

.mobile-menu-arrow {
  font-size: var(--font-size-base);
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.mobile-menu-item.has-submenu.active .mobile-menu-arrow {
  transform: rotate(90deg);
}

.mobile-submenu {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--bg-primary);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.mobile-menu-item.has-submenu.active .mobile-submenu {
  max-height: 300px;
}

.mobile-submenu-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-submenu-item:last-child {
  border-bottom: none;
}

.mobile-submenu-link {
  display: block;
  padding: 0.75rem 1.25rem 0.75rem 2.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: var(--font-size-sm);
  transition: all 0.3s ease;
}

.mobile-submenu-link:hover {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-color);
  padding-left: 2.75rem;
}

.mobile-menu-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid #e0e0e0;
  background: #ffffff;
}

.mobile-menu-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  text-decoration: none;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.mobile-menu-contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Mobile端页脚样式 - 基于参考网站 */
footer {
  background-color: transparent;
  color: white;
  padding: 1rem 0 70px;
  margin-top: 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  padding: 0 1rem;
}

.footer-section {
  background-color: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
}

.footer-section h3 {
  color: #000;
  margin-bottom: 0.5rem;
  border-bottom: none;
  padding-bottom: 0;
  font-size: 0.75rem;
  text-align: center;
  font-weight: 500;
}

.footer-section p {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  background-color: transparent;
  border: none;
  box-shadow: none;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.25rem 0;
  display: inline-block;
}

.footer-section ul li a:hover {
  color: white;
  transform: translateX(5px);
}

.friend-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.support-text {
  font-size: 0.75rem;
  color: #000;
  font-weight: 500;
}

.friend-link-item {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.friend-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.friend-link:hover {
  transform: none;
}

.friend-link-logo {
  height: 40px;
  width: auto;
  max-width: 80px;
  object-fit: contain;
}

.friend-link-name {
  font-size: 0.7rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
  text-align: center;
  background-color: black;
  color: white;
  padding: 0.75rem 1rem;
}

.footer-beian {
  margin-bottom: 0.25rem;
}

.beian-number {
  font-size: 0.75rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.footer-copyright p {
  font-size: 0.7rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-section.contact-section .footer-address,
.footer-section.contact-section .footer-phone,
.footer-section.contact-section .footer-email {
  font-weight: bold;
}

/* 二维码样式 */
.qr-codes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.qr-image {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: var(--radius-md);
  background: white;
  padding: var(--spacing-sm);
  box-shadow: var(--shadow-md);
}

.qr-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
}

/* 分类页面样式 */
.category-header {
  text-align: center;
  padding: 2rem 1rem 1rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 1.5rem;
}

.category-title {
  font-size: var(--font-size-2xl);
  color: var(--primary-color);
  margin: 0 0 0.5rem 0;
  font-weight: 700;
}

.category-description {
  color: var(--text-secondary);
  margin: 0;
  font-size: var(--font-size-base);
}

/* 标签页面样式 */
.tag-header {
  text-align: center;
  padding: 2rem 1rem 1rem;
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 1.5rem;
}

.tag-title {
  font-size: var(--font-size-2xl);
  color: #1976d2;
  margin: 0 0 0.5rem 0;
  font-weight: 700;
}

.tag-description {
  color: var(--text-secondary);
  margin: 0;
  font-size: var(--font-size-base);
}

/* 搜索页面样式 */
.search-header {
  padding: 1.5rem 1rem;
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 1.5rem;
}

.search-title {
  font-size: var(--font-size-2xl);
  color: #f57c00;
  margin: 0 0 1rem 0;
  font-weight: 700;
  text-align: center;
}

.search-query-section {
  margin-top: 1rem;
}

.mobile-search-form {
  margin-bottom: 1rem;
}

.search-input-group {
  display: flex;
  gap: 0.5rem;
}

.mobile-search-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  outline: none;
  transition: border-color 0.3s ease;
}

.mobile-search-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(44, 122, 123, 0.2);
}

.mobile-search-button {
  padding: 0.75rem 1.5rem;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  cursor: pointer;
  transition: background 0.3s ease;
}

.mobile-search-button:hover {
  background: #1a5a5a;
}

.search-result-info {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0.5rem 0 0;
}

/* 搜索结果样式 */
.mobile-search-results {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.mobile-search-result-item {
  padding: var(--spacing-md);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: white;
  transition: box-shadow 0.3s ease;
}

.mobile-search-result-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mobile-search-result-content {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.mobile-search-result-thumbnail {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.mobile-search-result-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile-search-result-info {
  flex: 1;
  min-width: 0;
}

.mobile-search-result-title {
  font-size: var(--font-size-base);
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

.mobile-search-result-title a {
  color: var(--primary-color);
  text-decoration: none;
}

.mobile-search-result-title a:hover {
  color: #1a5a5a;
}

.mobile-search-result-excerpt {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  margin: 0 0 0.5rem 0;
  line-height: 1.5;
}

.mobile-search-result-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.mobile-search-result-type {
  background: #e3f2fd;
  color: #1976d2;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: var(--font-size-xs);
}

/* 分页控件样式 */
.mobile-pagination {
  margin: 2rem 0;
  text-align: center;
}

.pagination-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.pagination-prev,
.pagination-next {
  padding: 0.75rem 1.5rem;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: background 0.3s ease;
}

.pagination-prev:hover,
.pagination-next:hover {
  background: #1a5a5a;
}

.pagination-info {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* 无内容提示样式 */
.mobile-no-content {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

.mobile-no-content p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.suggestions {
  text-align: left;
  max-width: 400px;
  margin: 0 auto;
}

.suggestions h4 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.suggestions ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.suggestions li {
  padding: 0.25rem 0;
  color: var(--text-secondary);
}

/* 响应式优化 */
@media (max-width: 480px) {
  .category-title,
  .tag-title,
  .search-title {
    font-size: var(--font-size-xl);
  }

  .search-input-group {
    flex-direction: column;
  }

  .mobile-search-input {
    width: 100%;
  }

  .mobile-search-result-content {
    flex-direction: column;
    gap: 0.75rem;
  }

  .mobile-search-result-thumbnail {
    width: 100%;
    height: 120px;
  }

  .pagination-controls {
    flex-direction: column;
    gap: 1rem;
  }
}

/* 加入更多响应式断点的样式 */
@media (min-width: 481px) and (max-width: 768px) {
  .search-input-group {
    flex-direction: row;
  }
}

/* 大屏幕移动设备优化 */
@media (min-width: 769px) and (max-width: 1024px) {
  .mobile-search-result-content {
    flex-direction: row;
  }
}

/* 表单样式 */
.mobile-form {
  background: white;
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 1.5rem;
}

.mobile-form-group {
  margin-bottom: 1.25rem;
}

.mobile-form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9375rem;
}

.mobile-form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid #ddd;
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  outline: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.mobile-form-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(44, 122, 123, 0.2);
}

.mobile-form-textarea {
  width: 100%;
  padding: var(--spacing-md);
  border: 1px solid #ddd;
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  outline: none;
  resize: vertical;
  min-height: 120px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.mobile-form-textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(44, 122, 123, 0.2);
}

.mobile-form-select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid #ddd;
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  background-color: white;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
}

.mobile-form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(44, 122, 123, 0.2);
}

.mobile-form-submit {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: var(--font-size-base);
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
}

.mobile-form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(44, 122, 123, 0.3);
}

.mobile-form-submit:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* 消息提示样式 */
.mobile-alert {
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

.mobile-alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.mobile-alert-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.mobile-alert-warning {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}

.mobile-alert-info {
  background: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

/* 进度条样式 */
.mobile-progress-bar {
  width: 100%;
  height: 8px;
  background: #e0e0e0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin: 1rem 0;
}

.mobile-progress {
  height: 100%;
  background: linear-gradient(90deg, #2c7a7b 0%, #1a5a5a 100%);
  border-radius: var(--radius-sm);
  transition: width 0.3s ease;
}

/* 卡片网格布局 */
.mobile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
  width: 100%;
}

.mobile-grid-item {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mobile-grid-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.mobile-grid-content {
  padding: 1.25rem;
}

/* 面包屑导航 */
.mobile-breadcrumb {
  padding: 1rem 0;
  margin-bottom: 1rem;
  border-bottom: 1px solid #e0e0e0;
}

.mobile-breadcrumb ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.5rem;
}

.mobile-breadcrumb li {
  display: flex;
  align-items: center;
}

.mobile-breadcrumb li:not(:last-child)::after {
  content: '>';
  margin: 0 0.5rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.mobile-breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
}

.mobile-breadcrumb a:hover {
  color: #1a5a5a;
  text-decoration: underline;
}

.mobile-breadcrumb .current {
  color: var(--text-secondary);
}

/* 平板设备优化 */
@media (min-width: 768px) and (max-width: 1024px) {
  .mobile-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.75rem;
  }
}

/* 大屏手机优化 */
@media (min-width: 481px) and (max-width: 767px) {
  .mobile-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.25rem;
  }

  .mobile-form {
    padding: var(--spacing-xl);
  }
}

/* 性能优化和动画增强 */
@media (prefers-reduced-motion: no-preference) {
  .mobile-card,
  .mobile-article-card,
  .mobile-news-item,
  .mobile-btn,
  .back-to-top,
  .mobile-menu-link,
  .mobile-submenu-link,
  .mobile-search-result-item {
    transition: all 0.3s ease;
  }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
  :root {
    --border-color: #999;
    --text-secondary: #000;
  }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --border-color: #444;
  }

  body {
    background: var(--bg-primary);
    color: var(--text-primary);
  }

  .mobile-card,
  .mobile-article-card,
  .mobile-news-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
  }

  .mobile-menu,
  .mobile-menu-header,
  .mobile-menu-footer {
    background: var(--bg-secondary);
  }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
  .mobile-card,
  .mobile-article-card,
  .mobile-news-item {
    transition: none;
  }

  .mobile-card:hover,
  .mobile-article-card:hover,
  .mobile-news-item:hover {
    transform: none;
    box-shadow: var(--shadow-md);
  }
}

/* 屏幕阅读器支持 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 焦点可见性 */
*:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* 工具提示样式 */
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltip-text {
  visibility: hidden;
  background-color: rgba(0, 0, 0, 0.8);
  color: var(--text-white);
  text-align: center;
  border-radius: var(--radius-md);
  padding: var(--spacing-sm);
  font-size: var(--font-size-sm);
  position: absolute;
  z-index: var(--z-dropdown);
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
  max-width: 200px;
  word-wrap: break-word;
}

.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* 加载骨架屏样式 */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: var(--radius-md);
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* 点赞、收藏等互动元素样式 */
.interaction-buttons {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.interaction-btn {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-sm) var(--spacing-md);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: var(--font-size-sm);
}

.interaction-btn:hover {
  background: var(--bg-primary);
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.interaction-btn.active {
  background: var(--primary-color);
  color: var(--text-white);
  border-color: var(--primary-color);
}

/* 分享按钮样式 */
.share-buttons {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

.share-btn:hover {
  transform: scale(1.1);
  border-color: var(--primary-color);
  background: var(--primary-color);
  color: var(--text-white);
}

/* 状态徽章样式 */
.status-badge {
  display: inline-block;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.published {
  background: #d4edda;
  color: #155724;
}

.status-badge.draft {
  background: #fff3cd;
  color: #856404;
}

.status-badge.archived {
  background: #f8d7da;
  color: #721c24;
}

/* 标签云样式 */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin: var(--spacing-lg) 0;
}

.tag-cloud-item {
  padding: var(--spacing-xs) var(--spacing-sm);
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-sm);
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.tag-cloud-item:hover {
  background: var(--primary-color);
  color: var(--text-white);
  transform: translateY(-2px);
}

/* 通知样式 */
.notification {
  position: fixed;
  top: var(--spacing-lg);
  right: var(--spacing-lg);
  padding: var(--spacing-md);
  background: var(--bg-secondary);
  border-left: 4px solid var(--primary-color);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  z-index: var(--z-fixed);
  max-width: 300px;
  animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.notification.success {
  border-left-color: #28a745;
}

.notification.error {
  border-left-color: #dc3545;
}

.notification.warning {
  border-left-color: #ffc107;
}

/* 优化现有动画 */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 0.5s ease-in-out;
}

/* 响应式表格样式 */
@media (max-width: 768px) {
  .responsive-table {
    overflow-x: auto;
  }

  .responsive-table table {
    min-width: 600px;
  }
}

/* 打印样式 */
@media print {
  .mobile-menu-btn,
  .back-to-top,
  .share-buttons,
  .interaction-buttons {
    display: none;
  }

  body {
    font-size: 12pt;
    line-height: 1.6;
  }
}

/* Mobile端底部导航栏样式 */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
   background: white;
   box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
   z-index: 100;
   display: flex;
   justify-content: space-around;
   align-items: center;
   padding: 0.5rem 0;
   border-top: 1px solid #e0e0e0;
   height: 60px;
   max-height: 60px;
   width: 100%;
   box-sizing: border-box;
}

.mobile-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.25rem 0;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.75rem;
  transition: all 0.3s ease;
  flex: 1;
  max-width: 80px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-bottom-nav-item svg {
  width: 24px;
  height: 24px;
  transition: all 0.3s ease;
}

.mobile-bottom-nav-item.active {
  color: var(--primary-color);
}

.mobile-bottom-nav-item.active svg {
  stroke: var(--primary-color);
}

.mobile-bottom-nav-item:hover {
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Mobile端返回导航样式 */
.mobile-back-nav {
  padding: 1rem;
  background: white;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 1rem;
}

.mobile-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
}

.mobile-back-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: translateX(-4px);
}

.mobile-back-btn svg {
  width: 20px;
  height: 20px;
}

/* Mobile端文章页面样式 */
.mobile-page {
  padding-bottom: 80px;
}

.mobile-article {
  padding: 1rem;
}

.mobile-article-title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.mobile-page-banner {
  margin-bottom: 1.5rem;
}

.mobile-page-banner-image {
  width: 100%;
  height: 100px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.mobile-page-banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mobile-article-content {
  color: var(--text-primary);
  line-height: 1.8;
}

.mobile-content-block {
  margin-bottom: 1.5rem;
}

.mobile-content-block p {
  margin-bottom: 1rem;
}

.mobile-content-block h1,
.mobile-content-block h2,
.mobile-content-block h3,
.mobile-content-block h4,
.mobile-content-block h5,
.mobile-content-block h6 {
  color: var(--primary-color);
  margin: 1.5rem 0 0.75rem;
  font-weight: 600;
}

.mobile-content-block h1 { font-size: var(--font-size-3xl); }
.mobile-content-block h2 { font-size: var(--font-size-2xl); }
.mobile-content-block h3 { font-size: var(--font-size-xl); }

.mobile-content-block ul,
.mobile-content-block ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

.mobile-content-block li {
  margin-bottom: 0.5rem;
}

.mobile-content-block img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 1rem 0;
}

.mobile-content-block a {
  color: var(--primary-color);
  text-decoration: none;
}

.mobile-content-block a:hover {
  text-decoration: underline;
}

/* Contact页面样式 */
.contact {
  padding-bottom: 80px;
}

.contact-wrapper {
  padding: 1rem;
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.contact-info-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.contact-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--primary-color);
}

.contact-details {
  flex: 1;
}

.contact-title {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.25rem 0;
}

.contact-value {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  margin: 0;
}

.contact-qr-section {
  margin-top: 2rem;
}

.section-title {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  text-align: center;
}

.no-content {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

/* Banner样式 */
.banner {
  background-color: #e8f5e9;
  color: #2e7d32;
  padding: 0;
  text-align: center;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-content h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: #2e7d32;
}

.page-banner {
  margin-bottom: 1.5rem;
  display: none;
}

body.home-page .page-banner {
  display: block;
}

.page-banner-carousel {
  position: relative;
  width: 100%;
  height: 100px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.page-banner-item {
  width: 100%;
  height: 100%;
}

.page-banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 新闻详情页样式 */
.news-section {
  padding: 0;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.news-item {
  background: white;
  border-radius: var(--radius-lg);
  padding: 0.875rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.news-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.news-item-inner {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.news-thumbnail {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.thumbnail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-content {
  flex: 1;
  min-width: 0;
}

.news-title-link {
  color: var(--text-primary);
  text-decoration: none;
  display: block;
}

.news-title-link:hover {
  color: var(--primary-color);
}

.news-title {
  font-size: var(--font-size-base);
  font-weight: 500;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.no-news {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

/* 文章详情页样式 */
.article-detail {
  padding: 1rem;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.article-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e0e0e0;
}

.article-title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.75rem 0;
  line-height: 1.4;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}

.article-abstract {
  background: var(--bg-primary);
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-style: italic;
  color: var(--text-secondary);
}

.article-content {
  line-height: 1.8;
  color: var(--text-primary);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.article-content * {
  max-width: 100%;
  box-sizing: border-box;
  font-size: 1rem !important;
}

.article-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1rem 0;
  border-radius: var(--radius-md);
  font-size: inherit !important;
}

.article-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
  font-size: 1rem !important;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
  margin: 1.5rem 0 1rem;
  line-height: 1.3;
  font-weight: 600;
  color: var(--text-primary);
}

.article-content h1 { font-size: 1.25rem !important; }
.article-content h2 { font-size: 1.1rem !important; }
.article-content h3 { font-size: 1rem !important; }
.article-content h4 { font-size: 0.95rem !important; }
.article-content h5 { font-size: 0.9rem !important; }
.article-content h6 { font-size: 0.85rem !important; }

.article-content ul,
.article-content ol {
  margin: 1rem 0;
  padding-left: 1rem;
  line-height: 1.6;
}

.article-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  font-size: 1rem !important;
}

.article-content table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.9rem !important;
  overflow-x: auto;
  display: block;
}

.article-content th,
.article-content td {
  border: 1px solid var(--border-color);
  padding: 0.75rem;
  text-align: left;
  word-wrap: break-word;
  font-size: 0.9rem !important;
}

.article-content pre {
  background: var(--bg-primary);
  padding: 1rem;
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin: 1rem 0;
  font-size: 0.875rem !important;
}

.article-content code {
  background: var(--bg-primary);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.875rem !important;
  word-break: break-all;
}

.article-content blockquote {
  border-left: 4px solid var(--primary-color);
  padding-left: 1rem;
  margin: 1rem 0;
  color: var(--text-secondary);
  font-style: italic;
  font-size: 1rem !important;
}

.article-content a {
  color: var(--primary-color);
  text-decoration: none;
  word-break: break-all;
}

.article-content a:hover {
  text-decoration: underline;
}

.article-content iframe {
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.article-content video {
  max-width: 100%;
  height: auto;
}

@media (max-width: 480px) {
  .article-content {
    font-size: 0.95rem;
  }
  
  .article-content h1 { font-size: 1.5rem; }
  .article-content h2 { font-size: 1.3rem; }
  .article-content h3 { font-size: 1.15rem; }
  .article-content h4 { font-size: 1.05rem; }
  .article-content h5 { font-size: 0.95rem; }
  .article-content h6 { font-size: 0.85rem; }
  
  .article-content p {
    font-size: 0.95rem;
  }
  
  .article-content table {
    font-size: 0.85rem;
  }
}

.article-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e0e0e0;
}

.article-navigation {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.article-navigation .nav-link {
  padding: 0.75rem;
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
}

.article-navigation .nav-link:hover {
  background: var(--primary-color);
  color: white;
  transform: translateX(4px);
}

/* Mobile端图文卡片样式 */
.image-text-section {
  margin: 2rem 0;
}

.section-title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  text-align: center;
}

.image-text-container {
  position: relative;
  padding: 0 1rem;
}

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  color: var(--text-primary);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.scroll-btn:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.scroll-btn.prev-btn {
  left: 0;
}

.scroll-btn.next-btn {
  right: 0;
}

.image-text-grid {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem 40px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.image-text-grid::-webkit-scrollbar {
  display: none;
}

.image-text-card {
  flex-shrink: 0;
  width: 280px;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.image-text-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-image-wrapper {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.image-text-card:hover .card-image {
  transform: scale(1.05);
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-text-card:hover .card-overlay {
  opacity: 1;
}

.card-content {
  padding: 1rem;
}

.card-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.5rem 0;
  line-height: 1.4;
}

.card-description {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Mobile端联系按钮样式 */
.mobile-contact-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--primary-color);
  color: white;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-size: var(--font-size-sm);
  transition: all 0.3s ease;
}

.mobile-contact-btn:hover {
  background: #1a5a5a;
  transform: translateY(-2px);
}

 .mobile-contact-btn svg {
   width: 20px;
   height: 20px;
 }

 /* 移动端次级导航样式 */
 .mobile-subnav {
   position: fixed;
   bottom: 0;
   left: 0;
   right: 0;
   background: #ffffff;
   box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
   z-index: 101;
   max-height: 70vh;
   overflow-y: auto;
   border-top-left-radius: 16px;
   border-top-right-radius: 16px;
   padding-bottom: env(safe-area-inset-bottom);
 }

 .mobile-subnav-header {
   display: flex;
   align-items: center;
   padding: 1rem;
   border-bottom: 1px solid var(--border-color);
   background: #ffffff;
   position: sticky;
   top: 0;
   z-index: 1;
 }

 .mobile-subnav-back {
   display: flex;
   align-items: center;
   gap: 0.5rem;
   background: none;
   border: none;
   color: var(--primary-color);
   font-size: var(--font-size-base);
   cursor: pointer;
   padding: 0.5rem;
   margin-right: 1rem;
 }

 .mobile-subnav-back svg {
   width: 20px;
   height: 20px;
 }

 .mobile-subnav-title {
   font-size: var(--font-size-lg);
   font-weight: 600;
   color: var(--text-primary);
   flex: 1;
 }

  .mobile-subnav-items {
    padding: 1rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .mobile-subnav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.2s ease;
    text-align: center;
    min-height: 40px;
    font-size: var(--font-size-sm);
    font-weight: 500;
    line-height: 1.2;
  }

 .mobile-subnav-item:hover {
   background: var(--border-color);
   transform: translateY(-2px);
 }

/* 加载更多按钮样式 */
.load-more-container {
  text-align: center;
  padding: 1.5rem 1rem;
  margin-top: 1rem;
}

.load-more-btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 140px;
}

.load-more-btn:hover {
  background: var(--primary-dark);
}

.load-more-btn:disabled {
  background: var(--text-muted);
  cursor: not-allowed;
}

.load-more-container .no-more {
  color: var(--text-muted);
  font-size: var(--font-size-sm);
  padding: 0.75rem 2rem;
}


