/* Druckstil für Artikelseiten (Teilen, Stufe 1; nur mit Schalter TEILEN_V2 geladen, media="print"). Gilt auch bei Strg+P.
   Gedruckt wird: Logo, Titel, Vorspann, Datum, Text, Bild, Quellen und am Ende die ausgeschriebene Artikel-Adresse.
   Nicht gedruckt: Navigation, Suche, Anzeigen, Teilen-Knöpfe, Kommentare, weitere Artikel, Push-Hinweis, Fußzeile, Einwilligungsmeldung. */
@page { margin: 18mm 16mm; }

@media print {
  *, *::before, *::after { color: #000 !important; background: transparent !important; box-shadow: none !important; text-shadow: none !important; }
  html, body { background: #fff !important; }
  body { display: block !important; min-height: 0 !important; font-family: "Source Serif 4", Georgia, "Times New Roman", serif; font-size: 11pt; line-height: 1.45; }
  a { text-decoration: none !important; }

  /* nicht drucken */
  #such-toggle, #such-panel, nav[aria-label="Ressorts"], header .meta, .anzeige, .anzeige-banner, .ad-slot, ins.adsbygoogle, aside[aria-label="Anzeige"],
  .teilen, .teilen-ende, #mpush-hinweis, .mpush-h, footer, dialog, .legal-dialog, .fc-consent-root, .fc-dialog-overlay, #kommentare, main > article ~ * { display: none !important; }

  /* Kopf: nur das Logo */
  header { padding: 0 0 5mm !important; margin: 0 0 6mm !important; text-align: left !important; border-bottom: 1px solid #000; }
  header a[href="/magazin/"] img { height: 11mm; width: auto; }

  main { max-width: none !important; padding: 0 !important; margin: 0 !important; }
  article > div { max-width: none !important; }

  /* Titelbereich */
  .kicker, .kicker a, .kicker-hg { font-family: "Inter", Arial, sans-serif; font-size: 8.5pt; letter-spacing: .06em; }
  article h1 { font-size: 24pt; line-height: 1.15; margin: 2mm 0 0; break-after: avoid; page-break-after: avoid; }
  .dek-lg { font-size: 12.5pt; line-height: 1.4; margin: 3mm 0 0; }
  .byline { border-bottom: 1px solid #000 !important; padding-bottom: 2mm; margin-top: 3mm; font-size: 8.5pt; }

  /* Text */
  .body-text { font-size: 11pt; line-height: 1.45; margin-top: 5mm; }
  .body-text.has-initial > p:first-of-type::first-letter { float: none; font-size: inherit; line-height: inherit; padding: 0; font-weight: inherit; }
  .body-text p { margin: 0 0 2.6mm; orphans: 3; widows: 3; }
  .body-text h2, .body-text h3 { font-size: 13pt; line-height: 1.25; margin: 6mm 0 1.5mm; break-after: avoid; page-break-after: avoid; }
  .body-text h2 + p, .body-text h3 + p { break-before: avoid; page-break-before: avoid; }

  /* Bild */
  figure { margin: 4mm 0; break-inside: avoid; page-break-inside: avoid; }
  .cartoon-frame { border: 1px solid #999 !important; background: #fff !important; }
  .cartoon-img { max-width: 100%; max-height: 95mm; height: auto; object-fit: contain; }
  figcaption { font-size: 9pt; }

  /* Hinweis zur Aktualisierung, Hintergrund-Infos, Quellen */
  [role="note"] { border-left: 2px solid #000; padding-left: 3mm; font-size: 9.5pt; break-inside: avoid; page-break-inside: avoid; }
  section[aria-label="Quellen"] { margin-top: 6mm; padding-top: 3mm; border-top: 1px solid #000 !important; font-size: 9.5pt; break-inside: avoid; page-break-inside: avoid; }
  section[aria-label="Quellen"] li { break-inside: avoid; page-break-inside: avoid; padding: .6mm 0; word-break: break-word; }

  /* Adresse des Artikels am Ende */
  .druck-url { display: block !important; margin-top: 7mm; padding-top: 3mm; border-top: 1px solid #000; font-family: "Inter", Arial, sans-serif; font-size: 9.5pt; word-break: break-all; }
}
