/* =========================================================
   Print / PDF: one magazine page per sheet at 230 × 300 mm.
   Open an issue page in the reader and print to PDF.
   ========================================================= */
@page { size: 230mm 300mm; margin: 0; }
@page double { size: 460mm 300mm; margin: 0; }

html, body { background: var(--white) !important; }
body.mg { -webkit-print-color-adjust: exact; print-color-adjust: exact; }

.mg-ticker, .mg-masthead, .mg-nav, .mg-footer, .mg-toast, .mg-skip, .mg-draftbar, .mg-issuepick,
.mg-reader__bar, .mg-reader__title, .mg-reader__nav, .mg-reader__thumbs, .mg-pdf-dialog { display: none !important; }
.mg-reader__canvas { width: auto !important; padding: 0 !important; }
.mg-reader__viewport { height: auto !important; overflow: visible !important; box-shadow: none !important; background: none !important; }

.mg-wrap { max-width: none; padding: 0; }
.mg-reader { padding: 0; }
.mg-reader__stage { max-width: none !important; }

.mg-reader .mg-spread, .mg-reader .mg-sheet { display: block !important; box-shadow: none; background: none; aspect-ratio: auto !important; overflow: visible; }
.mg-reader .mg-sheet > .mg-page { margin: 0 !important; }
.mg-reader .mg-spread::after { display: none; }
.mg-reader .mg-page {
  width: 230mm; height: 300mm; aspect-ratio: auto !important;
  box-shadow: none !important; max-width: none !important;
  break-after: page; page-break-after: always; break-inside: avoid;
}
.mg-reader .mg-page--double { width: 460mm; page: double; }

.mg-reveal { opacity: 1 !important; transform: none !important; }
.mg-sticker, .mg-btn { box-shadow: none; }
