/* ========================================
   官网模板样式 - 完整版
   ======================================== */

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

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

/* Welcome Bar */
.welcome-bar {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: #fff;
  padding: 8px 0;
  font-size: 13px;
}

.welcome-bar-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.welcome-text {
  opacity: 0.9;
}

/* Header */
.site-header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.logo img {
  height: 44px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  display: block;
}

.logo-text {
  font-size: 24px;
  font-weight: bold;
  color: #1e3c72;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
}

.main-nav ul {
  display: flex;
  gap: 5px;
}

.main-nav li {
  position: relative;
}

.main-nav a {
  display: block;
  padding: 10px 18px;
  color: #333;
  font-size: 15px;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.main-nav a:hover,
.main-nav li.active a {
  color: #2a5298;
  background: #f0f4ff;
}

/* 导航active状态样式 */
.nav-item.active a {
  color: #2a5298 !important;
  background: #f0f4ff !important;
  font-weight: 600;
  border-bottom: 2px solid #2a5298;
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-radius: 4px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
}

.main-nav li:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  padding: 10px 20px;
  font-size: 14px;
}

.dropdown-menu a:hover {
  background: #f5f5f5;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Banner */
.banner-slider {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.banner-container {
  width: 100%;
  height: 500px;
  position: relative;
}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 500px;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-slide.active {
  opacity: 1;
}

.banner-slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.banner-caption {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.banner-caption h2 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
}

.banner-caption p {
  font-size: 20px;
  opacity: 0.9;
}

.banner-prev,
.banner-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  padding: 15px 20px;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.banner-prev:hover,
.banner-next:hover {
  background: rgba(0,0,0,0.8);
}

.banner-prev {
  left: 20px;
}

.banner-next {
  right: 20px;
}

.banner-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.banner-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.banner-dot.active {
  background: #fff;
  transform: scale(1.2);
}

/* Welcome Section */
.welcome-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.welcome-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.welcome-content h2 {
  font-size: 36px;
  color: #1e3c72;
  margin-bottom: 20px;
}

.welcome-content p {
  font-size: 18px;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Content Sections */
.content-section {
  padding: 60px 0;
}

.content-section:nth-child(even) {
  background: #f8f9fa;
}

.section-title {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #1e3c72;
  padding-bottom: 15px;
}

.section-title h2 {
  font-size: 28px;
  color: #1e3c72;
  margin: 0;
}

.view-more-btn {
  color: #2a5298;
  text-decoration: none;
  font-size: 14px;
  padding: 8px 16px;
  border: 1px solid #2a5298;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.view-more-btn:hover {
  background: #2a5298;
  color: #fff;
}

.view-more-btn.disabled {
  color: #ccc;
  border-color: #ccc;
  cursor: not-allowed;
  pointer-events: none;
}

/* Single Article Display */
.single-article-display {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.single-article-content {
  display: flex;
  gap: 30px;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.single-article-cover {
  flex: 0 0 400px;
  height: 250px;
  overflow: hidden;
  border-radius: 8px;
}

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

.single-article-text {
  flex: 1;
}

.single-article-title {
  font-size: 24px;
  color: #333;
  margin-bottom: 15px;
}

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

.single-article-title a:hover {
  color: #2a5298;
}

.single-article-excerpt {
  color: #666;
  line-height: 1.8;
  margin-bottom: 20px;
}

.single-article-meta {
  display: flex;
  gap: 20px;
  color: #999;
  font-size: 14px;
}

.read-more-link {
  color: #2a5298;
  text-decoration: none;
}

.read-more-link:hover {
  text-decoration: underline;
}

/* Text List */
.text-list {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.text-list-item:last-child {
  border-bottom: none;
}

.text-list-content {
  flex: 1;
}

.text-list-content h3 {
  font-size: 18px;
  color: #333;
  margin-bottom: 8px;
}

.text-list-content h3 a {
  color: inherit;
  text-decoration: none;
}

.text-list-content h3 a:hover {
  color: #2a5298;
}

.text-list-content .excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.text-list-item .date {
  color: #999;
  font-size: 14px;
  margin-left: 20px;
  flex-shrink: 0;
}

/* Image List Grid */
.image-list-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.image-list-item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.image-list-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.image-list-cover {
  height: 180px;
  overflow: hidden;
  background: #f5f5f5;
}

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

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

.image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #ccc;
  font-size: 14px;
}

.image-list-item h3 {
  padding: 15px;
  font-size: 16px;
  color: #333;
}

.image-list-item h3 a {
  color: inherit;
  text-decoration: none;
}

.image-list-item h3 a:hover {
  color: #2a5298;
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: #fff;
  padding: 60px 0 0;
  margin-top: 80px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-section h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 20px 0;
  color: #fff;
  position: relative;
  padding-bottom: 10px;
}

.footer-section h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
}

.footer-section p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  padding-left: 0;
}

.footer-nav a:hover {
  color: #fff;
  padding-left: 8px;
}

.footer-bottom {
  margin-top: 50px;
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* Read More Toggle */
.read-more-btn {
  background: none;
  border: none;
  color: #2a5298;
  cursor: pointer;
  font-size: 14px;
  padding: 0;
  margin-top: 10px;
}

.read-more-btn:hover {
  text-decoration: underline;
}

/* Content Pages */
.content-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.content-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #eee;
}

.content-header h1 {
  font-size: 32px;
  color: #1e3c72;
  margin: 0;
}

.content-body {
  line-height: 1.8;
  color: #333;
}

/* Category Page Styles */
.category-header {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: #fff;
  padding: 40px 0;
  text-align: center;
}

.category-header h1 {
  font-size: 32px;
  font-weight: 600;
  margin: 0;
}

.category-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.no-content {
  text-align: center;
  padding: 60px 20px;
  color: #999;
  font-size: 16px;
}

.no-content p {
  margin: 0;
}

/* Article Grid (Image List) */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.article-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

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

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

.article-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #f5f5f5;
}

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

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

.article-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 14px;
}

.article-card-content {
  padding: 20px;
}

.article-card-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0 0 10px 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card-excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0 0 15px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #999;
}

/* Article List (Text List) */
.article-list {
  margin-bottom: 40px;
}

.article-list-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
  transition: all 0.3s ease;
}

.article-list-item:hover {
  background: #f9f9f9;
  padding-left: 10px;
}

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

.article-list-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0 0 10px 0;
  line-height: 1.4;
}

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

.article-list-title a:hover {
  color: #2a5298;
}

.article-list-excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-list-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 13px;
  color: #999;
  margin-left: 20px;
  flex-shrink: 0;
}

.read-more {
  color: #2a5298;
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid #2a5298;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.read-more:hover {
  background: #2a5298;
  color: #fff;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 30px 0;
  border-top: 1px solid #eee;
  margin-top: 20px;
}

.pagination a {
  padding: 8px 20px;
  background: #f5f5f5;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.pagination a:hover {
  background: #2a5298;
  color: #fff;
}

.pagination .page-info {
  color: #666;
  font-size: 14px;
}

/* Article Detail Page */
.article-detail {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.article-detail-header {
  margin-bottom: 30px;
  text-align: center;
}

.article-detail-header h1 {
  font-size: 32px;
  color: #1e3c72;
  margin-bottom: 15px;
  line-height: 1.4;
}

.article-detail-meta {
  display: flex;
  justify-content: center;
  gap: 30px;
  color: #999;
  font-size: 14px;
}

.article-divider {
  height: 1px;
  background: #e8e8e8;
  margin: 20px 0;
}

.article-detail-content {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.article-detail-content p {
  margin-bottom: 20px;
}

.article-detail-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
}

.article-detail-content h2,
.article-detail-content h3 {
  color: #1e3c72;
  margin: 30px 0 15px;
}

.article-detail-content blockquote {
  border-left: 4px solid #2a5298;
  padding: 15px 20px;
  background: #f8f9fa;
  margin: 20px 0;
  font-style: italic;
}

.article-detail-content pre {
  background: #f5f5f5;
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 20px 0;
}

.article-detail-content code {
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 14px;
  background: #f5f5f5;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Related Articles */
.related-articles {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid #eee;
}

.related-articles h2 {
  font-size: 24px;
  color: #1e3c72;
  margin-bottom: 20px;
}

.related-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.related-item {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.related-item:hover {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.related-item a {
  color: #333;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  display: block;
  margin-bottom: 8px;
}

.related-item a:hover {
  color: #2a5298;
}

.related-item .date {
  font-size: 13px;
  color: #999;
}

/* Article Navigation */
.article-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.article-nav a {
  padding: 12px 24px;
  background: #f5f5f5;
  color: #333;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.article-nav a:hover {
  background: #667eea;
  color: #fff;
}

.article-nav .back-home {
  background: #1e3c72;
  color: #fff;
}

.article-nav .back-home:hover {
  background: #2a5298;
}

/* No Content */
.no-content {
  text-align: center;
  padding: 60px 0;
  color: #999;
  font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .banner-slider {
    height: 300px;
  }

  .banner-container {
    height: 300px;
  }

  .banner-slide {
    height: 300px;
  }

  .banner-slide img {
    height: 300px;
  }

  .banner-caption h2 {
    font-size: 28px;
  }

  .banner-caption p {
    font-size: 16px;
  }

  .single-article-content {
    flex-direction: column;
  }

  .single-article-cover {
    flex: none;
    width: 100%;
    height: 200px;
  }

  .content-section {
    padding: 40px 0;
  }

  .section-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .text-list-item {
    flex-direction: column;
    gap: 10px;
  }

  .text-list-item .date {
    margin-left: 0;
  }

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

  .article-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .article-list-item {
    flex-direction: column;
    gap: 15px;
  }

  .article-list-meta {
    margin-left: 0;
    flex-wrap: wrap;
  }

  .category-header h1 {
    font-size: 24px;
  }

  .article-meta {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .article-nav {
    flex-direction: column;
    gap: 15px;
  }

  .article-nav a {
    width: 100%;
    text-align: center;
  }
}

/* Footer Responsive */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-section h4::after {
    width: 30px;
  }

  .site-footer {
    margin-top: 40px;
    padding: 40px 0 0;
  }
}

/* ========================================
   分类页单篇文章详情样式
   ======================================== */
.article-detail-page {
  max-width: 900px;
  margin: 0 auto;
}

.article-detail-header {
  margin-bottom: 30px;
  text-align: center;
}

.article-detail-header h1 {
  font-size: 32px;
  color: #1e3c72;
  margin-bottom: 15px;
  line-height: 1.4;
}

.article-detail-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  color: #999;
  font-size: 14px;
}

.article-detail-meta span {
  padding: 5px 15px;
  background: #f5f5f5;
  border-radius: 20px;
}

.article-detail-cover {
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.article-detail-cover img {
  width: 100%;
  height: auto;
  display: block;
}

.article-detail-content {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 40px;
}

.article-detail-content p {
  margin-bottom: 20px;
}

.article-detail-content h2,
.article-detail-content h3 {
  color: #1e3c72;
  margin: 30px 0 15px;
}

.article-detail-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
}

.article-detail-content blockquote {
  border-left: 4px solid #2a5298;
  padding: 15px 20px;
  background: #f8f9fa;
  margin: 20px 0;
  font-style: italic;
}

.article-detail-content pre {
  background: #f5f5f5;
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 20px 0;
}

.article-detail-content code {
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 14px;
  background: #f5f5f5;
  padding: 2px 6px;
  border-radius: 4px;
}

.article-detail-nav {
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.back-to-list {
  display: inline-block;
  padding: 10px 20px;
  background: #f5f5f5;
  color: #333;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.back-to-list:hover {
  background: #2a5298;
  color: #fff;
}

/* ========================================
   网站样式结束
   ======================================== */

/* 文章详情分割线 */
.article-divider {
  height: 1px;
  background: #eee;
  margin: 30px 0;
}

/* 文章内容完整显示 */
.article-content-wrapper {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.article-content-wrapper p {
  margin-bottom: 20px;
}

.article-content-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
}

.article-content-wrapper h2,
.article-content-wrapper h3 {
  color: #1e3c72;
  margin: 30px 0 15px;
}

.article-content-wrapper blockquote {
  border-left: 4px solid #2a5298;
  padding: 15px 20px;
  background: #f8f9fa;
  margin: 20px 0;
  font-style: italic;
}

.article-content-wrapper pre {
  background: #f5f5f5;
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 20px 0;
}

.article-content-wrapper code {
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 14px;
  background: #f5f5f5;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Sticky Footer - 使用flexbox实现footer吸底 */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}

.main-content {
  flex: 1 0 auto;
}

.site-footer {
  flex-shrink: 0;
}

/* 官网文章内表格样式 */
.article-detail-content table,
.article-content-wrapper table,
.rich-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0;
  font-size: 14px;
}

.article-detail-content table td,
.article-content-wrapper table td,
.rich-content table td {
  border: 1px solid #ddd;
  padding: 8px 12px;
  line-height: 1.6;
}

.article-detail-content table tr:nth-child(even),
.article-content-wrapper table tr:nth-child(even),
.rich-content table tr:nth-child(even) {
  background: #f9f9f9;
}

.article-detail-content table tr:hover,
.article-content-wrapper table tr:hover,
.rich-content table tr:hover {
  background: #f0f4ff;
}
