@charset "UTF-8";

/* ===== 打印样式 ===== */
@media print {
  * {
    background: transparent !important;
    color: #000000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.6;
    color: #000000;
  }

  /* 隐藏元素 */
  .header,
  .footer,
  .breadcrumb,
  .sidebar,
  .back-to-top,
  .banner-dots,
  .menu-toggle,
  .btn,
  .pagination,
  .related-articles,
  .article-nav,
  .tag-list,
  .search-box,
  .contact-cta,
  .map-section {
    display: none !important;
  }

  /* 显示链接 */
  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 90%;
    color: #666666;
  }

  a[href^="javascript:"]::after,
  a[href^="#"]::after {
    content: "";
  }

  /* 页面布局 */
  .container {
    max-width: 100%;
    padding: 0;
  }

  .page-content {
    padding: 20px 0;
  }

  .main-content {
    width: 100% !important;
  }

  /* 文章样式 */
  .article-header h1 {
    font-size: 18pt;
    margin-bottom: 10px;
  }

  .article-body {
    font-size: 11pt;
    line-height: 1.8;
  }

  .article-body h2 {
    font-size: 14pt;
    margin: 20px 0 10px;
  }

  .article-body h3 {
    font-size: 12pt;
    margin: 15px 0 8px;
  }

  /* 防止元素跨页断裂 */
  .article-body h2,
  .article-body h3,
  .article-body img {
    page-break-after: avoid;
  }

  .article-body p,
  .article-body ul,
  .article-body ol {
    page-break-inside: avoid;
    orphans: 3;
    widows: 3;
  }

  /* 分页 */
  .page-break {
    page-break-before: always;
  }

  /* 边框替代背景 */
  .card,
  .core-card,
  .service-item,
  .case-item,
  .honor-item,
  .wiki-item,
  .news-item {
    border: 1px solid #CCCCCC;
    background: transparent !important;
  }

  /* Banner区域简化 */
  .banner-slider {
    height: auto;
    background: transparent !important;
  }

  .banner-slide {
    position: relative;
    opacity: 1 !important;
    display: block !important;
    margin-bottom: 20px;
    page-break-inside: avoid;
  }

  .banner-img {
    display: none !important;
  }

  .banner-content {
    position: relative;
    padding: 0;
    max-width: 100%;
  }

  .banner-content h2 {
    font-size: 16pt;
    color: #000000 !important;
  }

  .banner-content p {
    color: #333333 !important;
  }
}
