/* Print Styles */
@media print {
  /* Reset colors for print */
  * {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
  }

  /* Hide non-essential elements */
  header,
  footer,
  .back-to-top,
  .theme-toggle,
  .mobile-menu-toggle,
  .filter-bar,
  .search-bar,
  .favorite-btn,
  button,
  nav,
  .no-print {
    display: none !important;
  }

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

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

  /* Headers */
  h1 {
    font-size: 24pt;
    page-break-after: avoid;
  }

  h2 {
    font-size: 18pt;
    page-break-after: avoid;
  }

  h3 {
    font-size: 14pt;
    page-break-after: avoid;
  }

  /* Avoid page breaks inside elements */
  .card,
  .timeline-item,
  .accordion-item,
  .checklist-item {
    page-break-inside: avoid;
  }

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

  /* Show URLs after links */
  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 10pt;
    color: #666;
  }

  /* Cards */
  .card {
    border: 1px solid #000;
    padding: 10pt;
    margin-bottom: 10pt;
  }

  /* Grid layouts - convert to single column */
  .grid,
  .grid-2,
  .grid-3,
  .grid-4 {
    display: block !important;
  }

  .grid > *,
  .grid-2 > *,
  .grid-3 > *,
  .grid-4 > * {
    margin-bottom: 15pt;
  }

  /* Accordion - show all content */
  .accordion-content {
    max-height: none !important;
    overflow: visible !important;
  }

  .accordion-icon {
    display: none;
  }

  /* Timeline */
  .timeline::before {
    border-left: 2px solid #000;
  }

  .timeline-item::before {
    border: 2px solid #000;
    background: white;
  }

  /* Checkboxes */
  input[type="checkbox"] {
    -webkit-appearance: checkbox;
    appearance: checkbox;
  }

  /* Badges */
  .badge {
    border: 1px solid #000;
    padding: 2pt 6pt;
  }

  /* Hero section */
  .hero {
    border: 2px solid #000;
    padding: 20pt !important;
    margin-bottom: 20pt;
  }

  /* Container */
  .container {
    max-width: 100%;
    padding: 0;
  }

  /* Countdown */
  .countdown {
    display: flex;
    justify-content: space-around;
  }

  .countdown-item {
    border: 1px solid #000;
    padding: 10pt;
  }
}
