/* ============================================
   PRINT — Staffing Academy
   Print-friendly styles
   ============================================ */

@media print {
  /* Hide non-essential elements */
  .site-header,
  .site-footer,
  .mobile-menu-btn,
  .theme-toggle,
  .filter-bar,
  .carousel-nav,
  .btn,
  .search-input-wrapper,
  .hero-bg-mesh,
  .marquee,
  .quiz-progress,
  .tab-nav,
  [popover] {
    display: none !important;
  }

  /* Reset backgrounds and colors */
  body {
    background: #fff !important;
    color: #000 !important;
    font-size: 12pt;
    line-height: 1.5;
  }

  .hero,
  .page-header,
  .section-dark,
  .section-inset {
    background: #fff !important;
    color: #000 !important;
    padding: 1cm 0 !important;
  }

  .hero {
    min-height: auto !important;
  }

  /* Show all content */
  .tab-panel {
    display: block !important;
  }

  .accordion-content {
    display: block !important;
  }

  .quiz-question {
    display: block !important;
  }

  /* Fix links */
  a {
    color: #000 !important;
    text-decoration: underline !important;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #666;
  }

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

  /* Cards */
  .card {
    border: 1px solid #ccc !important;
    box-shadow: none !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  /* Tables */
  .data-table th {
    background: #f0f0f0 !important;
  }

  .data-table td,
  .data-table th {
    border: 1px solid #ccc !important;
  }

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

  .gradient-text,
  .gradient-text-warm {
    -webkit-text-fill-color: #000 !important;
    background: none !important;
  }

  .stat-value {
    color: #000 !important;
  }

  /* Page breaks */
  .section {
    page-break-inside: avoid;
  }

  h2, h3 {
    page-break-after: avoid;
  }

  /* Images */
  img, svg {
    max-width: 100% !important;
  }

  /* Container */
  .container,
  .container-narrow,
  .container-wide {
    max-width: 100% !important;
    padding: 0 !important;
  }

  @page {
    margin: 2cm;
  }
}
