/* ==========================================================================
   BUJINDO e.V. - Print Stylesheet
   ========================================================================== */

@media print {
  /* Hide navigation, footer background, and non-essential elements */
  .site-header,
  .site-nav,
  .nav-toggle,
  .nav-overlay,
  .news-archive-link,
  .site-footer__social {
    display: none !important;
  }

  body {
    font-family: 'Verdana', 'Tahoma', sans-serif;
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
    background: #fff;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  .site-content {
    padding: 0;
  }

  /* Print header: simple text */
  body::before {
    content: "BUJINDO e.V. - Jiu Jitsu & Jiudo Verein aus Mülheim a.d. Ruhr";
    display: block;
    font-size: 14pt;
    font-weight: bold;
    margin-bottom: 1em;
    border-bottom: 2px solid #000;
    padding-bottom: 0.5em;
  }

  /* Links: show URL */
  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-weight: normal;
    font-size: 0.85em;
  }

  /* Images */
  img {
    max-width: 100% !important;
    border: 1px solid #ccc !important;
    padding: 2px !important;
  }

  /* Footer */
  .site-footer {
    background: none;
    color: #000;
    border-top: 1px solid #000;
    padding-top: 1em;
    margin-top: 2em;
  }

  .site-footer a {
    color: #000;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  /* Avoid page breaks inside articles */
  .news-article,
  .instructor-card,
  .profile {
    page-break-inside: avoid;
  }

  h2, h3 {
    page-break-after: avoid;
  }
}
