@font-face {
  font-family: "Augustusburg Print";
  src: url("/zeitung/assets/augustusburg-text-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: optional;
}
@page {
  size: A4 portrait;
  margin: 13mm 15mm 17mm;
  @bottom-left {
    content: "Augustusburger App  ·  augustusburg.app";
    font: 8pt Georgia, serif;
    color: #514a40;
  }
  @bottom-right {
    content: "Seite " counter(page) " von " counter(pages);
    font: 8pt Georgia, serif;
    color: #514a40;
  }
}
#print-workspace {
  margin: 0;
  background: #eeece5;
  color: #24221d;
  font-family: Arial, sans-serif;
}
#print-workspace .print-tools {
  background: #faf9f5;
  border-bottom: 1px solid #cdc8ba;
}
.print-tools-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  max-width: 210mm;
  padding: 1.25rem 1.4rem;
  margin: 0 auto;
}
.print-tools-intro a {
  color: #8a3428;
  font: 600 .84rem Arial, sans-serif;
}
.print-tools-intro h1 {
  margin: .5rem 0 .2rem;
  font: 650 1.85rem/1.1 "Augustusburg Print", Georgia, serif;
}
.print-tools-intro p {
  margin: .25rem 0 0;
  color: #56534d;
  font-size: .9rem;
}
.print-tools-actions { display: flex; align-items: flex-end; gap: .9rem; }
.print-tools-actions label { display: grid; gap: .25rem; font-size: .8rem; }
.print-tools-actions [hidden] { display: none; }
.print-tools-actions select, .print-tools-actions button, #print-start[hidden] + #print-pdf-link {
  box-sizing: border-box;
  min-height: 2.65rem;
  border: 1px solid #8b8271;
  border-radius: 3px;
  background: #fff;
  padding: .5rem .7rem;
  font: 500 .88rem Arial, sans-serif;
  color: #24221d;
}
.print-tools-actions button, #print-start[hidden] + #print-pdf-link {
  background: #24221d; color: #fff; cursor: pointer; padding-inline: 1rem;
}
#print-start[hidden] + #print-pdf-link {
  align-self: flex-end; align-content: center; text-decoration: none;
}
.print-tools-actions button:disabled { opacity: .5; cursor: wait; }
.print-tools-actions a {
  align-self: center;
  padding: .55rem 0;
  font: 600 .88rem Arial, sans-serif;
  color: #8a3428;
  text-underline-offset: .16em;
}
#print-preview { margin: 1.5rem auto 2.5rem; }
#print-preview:empty { margin: 0; }
.print-edition, .print-edition * { box-sizing: border-box; }
.print-edition {
  color: #24211a;
  background: white;
  text-align: left;
  font: 420 10.8pt/1.31 "Augustusburg Print", Georgia, serif;
}
.print-masthead { margin: 0; break-inside: avoid; }
.print-imprint {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 2mm;
  padding: 0 0 1.6mm;
  border-bottom: .25mm solid #302b23;
  font: 600 8pt/1.2 Arial, sans-serif;
}
.print-imprint span, .print-ressort, .print-desk-label {
  color: #78362b;
  text-transform: uppercase;
  letter-spacing: .085em;
}
.print-nameplate {
  display: flex;
  flex-direction: column;
  gap: 1.4mm;
  align-items: center;
  margin: 4.5mm 0 2.4mm;
}
.print-woodcut { display: block; width: 28mm; height: auto; }
.print-edition .print-name {
  margin: 0;
  font: 560 43pt/1.02 "Augustusburg Print", Georgia, serif;
  letter-spacing: -.04em;
  text-align: center;
}
.print-edition .print-districts {
  margin: 0;
  padding-bottom: 3.6mm;
  border-bottom: .75mm double #302b23;
  text-align: center;
  font: italic 9.2pt/1.4 Georgia, serif;
}
.print-teasers { padding: 2.5mm 0; border-bottom: .4mm solid #302b23; break-inside: avoid; }
.print-teaser-strip { display: flex; }
.print-edition .print-teasers a { color: inherit; text-decoration: none; }
.print-teaser-strip a { flex: 1; min-width: 0; padding: 0 3mm; }
.print-teaser-strip a:first-child { padding-left: 0; }
.print-teaser-strip a:last-child { padding-right: 0; }
.print-teaser-strip a + a { border-left: .2mm solid #b8b3a9; }
.print-desk-label, .print-edition .print-ressort {
  display: block; margin: 0 0 1mm; font: 720 7.6pt/1.15 Arial, sans-serif;
}
.print-teaser-title {
  display: block; font: 620 11.4pt/1.1 "Augustusburg Print", Georgia, serif;
  overflow-wrap: anywhere; hyphens: auto;
}
.print-other-desks { display: flex; gap: 1mm 3mm; flex-wrap: wrap; padding-top: 1.7mm; font: 8pt/1.4 Arial,sans-serif; }
.print-other-desks span { font-weight: bold; }
.print-edition .print-other-desks a { text-decoration: underline; text-underline-offset: 1pt; }
.print-columns { display: block; columns: 2; column-gap: 7mm; column-rule: .2mm solid #ccc8be; }
.print-feature, .print-story, .print-opening, .print-story-body { margin: 0; padding: 0; }
.print-feature { margin: 4mm 0 0; }
.print-feature:not(.print-lead) { padding-top: 2.6mm; border-top: .9mm double #494138; }
.print-opening { break-inside: avoid; break-after: avoid; }
.print-opening.print-with-photo:has(.print-photo) {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 5mm; align-items: center; margin-bottom: 2.5mm;
}
.print-opening.print-panorama:has(.print-photo) { display: block; }
.print-story-head { break-inside: avoid; break-after: avoid; }
.print-edition .print-story-head h2 {
  margin: 0; font: 690 19pt/1.02 "Augustusburg Print", Georgia, serif;
  letter-spacing: -.035em; overflow-wrap: anywhere; hyphens: auto; text-wrap: pretty;
}
.print-edition .print-feature .print-story-head h2 { font-size: 24pt; }
.print-edition .print-lead .print-story-head h2 { font-size: 31pt; line-height: .99; font-weight: 740; }
.print-edition .print-brief .print-story-head h2 { font-size: 16.5pt; }
.print-edition .print-story-head h2 a { color: inherit; text-decoration: none; }
.print-edition .print-appointment { margin: 1.4mm 0 0; font: 500 9pt/1.35 Arial, sans-serif; }
.print-appointment time { font-weight: 650; }
.print-edition .print-byline { margin: 1.4mm 0 2mm; font: 500 8pt/1.3 Arial,sans-serif; color: #534e44; }
.print-byline > * + *::before { content: " · "; }
.print-photo {
  display: block; width: 100%; height: auto; max-height: 54mm; margin: 0 auto 2mm;
  object-fit: contain; break-inside: avoid;
}
.print-opening .print-photo { max-height: 70mm; margin: 0; }
.print-credited-photo { margin: 0 0 2mm; break-inside: avoid; }
.print-credited-photo:not(:has(img)) { display: none; }
.print-credited-photo .photo-credit { margin: 1mm 0; color: #534e44; font: 7pt/1.2 Arial, sans-serif; }
.print-credited-photo .photo-credit a { color: inherit; }
.print-panorama .print-photo { width: 100%; max-height: none; }
.print-single .print-opening.print-with-photo:has(.print-photo) {
  display: grid; grid-template-columns: 1fr 1.12fr; gap: 5mm; align-items: center;
}
.print-single .print-opening .print-photo { max-height: 68mm; }
.print-edition.print-single .print-lead .print-story-head h2 { font-size: 25pt; }
.print-news { margin: 3.2mm 0 0; }
.print-story .print-story-head { padding-top: 2.2mm; border-top: .35mm solid #39342b; }
.print-story + .print-story .print-story-head { margin-top: 3mm; }
.print-edition .print-copy { overflow-wrap: anywhere; hyphens: auto; text-align: justify; orphans: 2; widows: 2; }
.print-edition .print-copy p { margin: 0; white-space: pre-line; }
.print-edition .print-copy p + p { text-indent: 1em; }
.print-lead .print-copy > p:first-of-type::first-letter {
  float: left; padding: .12em .08em 0 0; font: 680 2.8em/.76 "Augustusburg Print", Georgia, serif; color: #78362b;
}
.print-edition .print-copy a { hyphens: manual; }
.print-unavailable { max-width: 55em; padding: 1rem; margin: auto; font: 1rem/1.5 Arial,sans-serif; }
.print-unavailable a { color: #78362b; }
.print-edition .print-copy a, .print-edition .print-supplement a, .print-edition .print-byline a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: .5pt;
  text-underline-offset: .1em;
  overflow-wrap: anywhere;
}
.print-edition .print-supplement {
  margin: 2.2mm 0 0;
  padding: 1mm 0 0;
  border: 0;
  font-size: 9pt;
}
.print-edition .print-supplement h3 {
  margin: 0 0 .5mm;
  font: 700 8pt/1.3 Arial, sans-serif;
  break-after: avoid;
}
.print-edition .print-supplement p { margin: 0; }
.print-edition .print-supplement ul { margin: 0; padding-left: 4.5mm; }
/* The probe has the A4 content dimensions after the @page margins above. */
body > .print-page-probe {
  position: fixed;
  left: -210mm;
  top: 0;
  width: 180mm;
  height: 267mm;
  visibility: hidden;
  pointer-events: none;
  contain: strict;
}
.print-page-probe > .print-edition { display: flow-root; }
@media screen {
  #print-preview > .print-edition {
    width: min(210mm, calc(100% - 2rem));
    min-height: 297mm;
    padding: 13mm 15mm 17mm;
    margin: auto;
    box-shadow: 0 1px 8px #342d1f2b;
  }
}
@media screen and (max-width: 670px) {
  .print-tools-inner { flex-direction: column; align-items: flex-start; gap: .8rem; }
  .print-tools-actions { flex-wrap: wrap; gap: .65rem; }
  #print-preview { margin: .7rem auto; }
  #print-preview > .print-edition { width: calc(100% - 1rem); min-height: 0; padding: 1rem; }
  #print-preview .print-name { font-size: clamp(1.7rem, 8.5vw, 2.6rem); }
  #print-preview .print-woodcut { width: 4rem; }
  #print-preview .print-districts { font-size: .72rem; }
  #print-preview .print-columns { columns: 1; }
  #print-preview .print-copy { text-align: left; }
  #print-preview .print-lead .print-story-head h2 { font-size: 24pt; }
  #print-preview .print-feature .print-opening { display: block; }
  #print-preview .print-opening .print-photo { margin: 3mm auto 0; }
  #print-preview .print-teaser-strip { display: block; }
  #print-preview .print-teaser-strip a { display: block; padding: 1.5mm 0; border: 0; }
  #print-preview .print-teaser-strip a + a { border-top: .2mm solid #ccc8be; }
}
@media print {
  body.newspaper > .print-page-probe { display: block !important; }
  #print-workspace { margin: 0; background: white; }
  #print-workspace .print-tools { display: none !important; }
  #print-preview { margin: 0; padding: 0; }
  .print-edition {
    width: auto;
    margin: 0;
    padding: 0;
    box-shadow: none;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  /* One flow between full-width openings. Only a spanning heading finishes
     and balances the preceding column row; otherwise text keeps filling left first. */
  .print-edition.print-flows {
    columns: 2;
    column-gap: 7mm;
    column-rule: .2mm solid #ccc8be;
    column-fill: auto;
  }
  .print-flows :is(.print-masthead, .print-teasers, .print-opening) { column-span: all; }
  .print-flows .print-columns { display: contents; }
  .print-flows .print-feature { margin: 0; padding: 0; border: 0; }
  .print-flows .print-opening { margin-top: 4mm; }
  .print-flows .print-feature:not(.print-lead) .print-opening {
    padding-top: 2.6mm;
    border-top: .9mm double #494138;
  }
}
