/* ALAC Digital Press — Print Stylesheet */
/* Strips UI chrome, resets to readable black-and-white for physical printing */

@media print {
  /* Hide all navigation, controls, and decorative elements */
  #site-header,
  #site-footer,
  #breadcrumb-nav,
  #site-announcement,
  .site-controls,
  .skip-link,
  .color-bar,
  .read-more,
  .filter-btn,
  #press-filter-bar,
  .action-grid,
  .action-btn,
  nav {
    display: none !important;
  }

  /* Reset to black on white */
  body {
    background: #fff !important;
    color: #000 !important;
    font-family: 'Courier New', Courier, monospace;
    font-size: 12pt;
    line-height: 1.6;
  }

  /* Remove decorative box shadows, colored borders, backgrounds */
  .card,
  .post-card,
  .form-container,
  .value-card,
  .hero,
  .img-placeholder {
    box-shadow: none !important;
    border-color: #000 !important;
    background: #fff !important;
    border-top-color: #000 !important;
  }

  /* Headings: black, no text-shadow */
  h1, h2, h3 {
    color: #000 !important;
    text-shadow: none !important;
    page-break-after: avoid;
  }

  /* Links: show URL after link text */
  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
    color: #444;
  }

  /* Don't show URLs for nav/UI links (already hidden, but belt-and-suspenders) */
  nav a[href]::after {
    content: '';
  }

  /* Keep images visible but auto-sized */
  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

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

  /* ALAC print masthead — appears at top of every printed page */
  main::before {
    content: 'ALAC — Art, Liberation, Access, Community — artliberationaccess.community';
    display: block;
    font-size: 9pt;
    color: #555;
    border-bottom: 2px solid #000;
    padding-bottom: 6pt;
    margin-bottom: 16pt;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  /* Avoid breaking cards across pages */
  .post-card,
  .card,
  article {
    page-break-inside: avoid;
  }

  /* Color bar: print as a thin black rule */
  .color-bar {
    display: block !important;
    height: 2px !important;
    background: #000 !important;
    border: none !important;
  }

  .color-bar div {
    display: none !important;
  }

  /* Category tags: simple text */
  .category-tag {
    position: static !important;
    display: inline !important;
    background: none !important;
    color: #000 !important;
    border: 1px solid #000 !important;
    font-size: 9pt;
    padding: 1px 4px;
  }
}
