@charset "UTF-8";

/* ===== print.css - 打印样式（全局加载，media="print"） ===== */

@media print {
  /* Reset */
  * {
    background: transparent !important;
    color: #000 !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  /* Hide unnecessary elements */
  .header,
  .footer,
  .banner,
  .breadcrumb,
  .back-to-top,
  .menu-toggle,
  .sidebar-widget,
  .pagination,
  .related-articles,
  .article-nav,
  .contact-quick-section,
  .partners-section,
  .stats-section,
  .btn,
  .search-box,
  .map-container {
    display: none !important;
  }

  /* Page setup */
  @page {
    margin: 2cm;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
  }

  /* Links */
  a {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 90%;
    opacity: 0.8;
  }

  /* Headings */
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
    color: #000;
  }

  h1 {
    font-size: 18pt;
  }

  h2 {
    font-size: 16pt;
  }

  h3 {
    font-size: 14pt;
  }

  /* Images */
  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  /* Tables */
  table {
    page-break-inside: avoid;
    width: 100%;
    border: 1px solid #000;
  }

  th, td {
    border: 1px solid #000;
    padding: 8px;
  }

  /* Lists */
  ul, ol {
    page-break-inside: avoid;
  }

  /* Code blocks */
  pre, code {
    background: #f5f5f5 !important;
    border: 1px solid #ddd;
  }

  /* Blockquotes */
  blockquote {
    border-left: 3px solid #000;
    padding-left: 15px;
    margin-left: 0;
  }

  /* Page breaks */
  .page-break {
    page-break-before: always;
  }

  /* Article content adjustments */
  .article-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #000;
  }

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

  .article-body h2 {
    font-size: 14pt;
    margin-top: 25px;
  }

  .article-body h3 {
    font-size: 12pt;
    margin-top: 20px;
  }

  /* Print URLs for internal links */
  a[href^="/"]::after {
    content: " (https://www.ceavyt.com" attr(href) ")";
  }

  /* Ensure content fills page */
  .page-content {
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Remove backgrounds and borders */
  .content-section,
  .service-item-inner,
  .intro-card-inner,
  .case-item-inner,
  .wiki-item,
  .news-item,
  .honor-item,
  .partner-item-inner,
  .timeline-item,
  .advantage-item,
  .contact-info-card,
  .faq-item {
    background: transparent !important;
    border: 1px solid #000 !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    padding: 10px !important;
  }
}
