@charset "UTF-8";

@page {
  margin: 1.4cm;
}

@media print {
  html,
  body {
    background: #fff !important;
    color: #000 !important;
    font-size: 11pt;
    line-height: 1.45;
  }

  *,
  *::before,
  *::after {
    box-shadow: none !important;
    text-shadow: none !important;
    background-image: none !important;
  }

  .scharr-topbar,
  .scharrbase-header,
  .scharrnav-desktop,
  .scharrnav-mobile-header,
  .scharrnav-mobile-search,
  .scharr-footer,
  .news-rail-ad,
  .scharra11y,
  .scharrbase-backtotop,
  [data-role="skip-link"],
  [data-role="consent-state"],
  [data-role="interaction-flags"],
  [data-role="consent-modal-slot"],
  [data-role="consent-banner-slot"],
  [data-role="analytics-payload-slot"],
  [data-role="analytics-debug-config"],
  [data-role="posthog-config"],
  [data-role="posthog-user"],
  [data-role="gtm-config"],
  form,
  button,
  video,
  iframe {
    display: none !important;
  }

  #site-viewport,
  .scharrbase-main,
  .scharrbase-container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  main,
  article,
  section {
    break-inside: auto;
  }

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

  p,
  li,
  blockquote,
  table,
  figure,
  img {
    break-inside: avoid;
  }

  img,
  svg {
    max-width: 100% !important;
    height: auto !important;
  }

  a,
  a:visited {
    color: #000 !important;
    text-decoration: underline !important;
  }

  main a[href^="http"]::after,
  main a[href^="/"]::after {
    content: " (" attr(href) ")";
    font-size: 0.9em;
    word-break: break-all;
  }
}
