/* Issue 48 overlap fix (Dec. 1, 2026).
   1) Print/PDF: nothing may run under the page footer (p. 1, p. 9, p. 25 and tight pages).
   2) Screen pages are scaled with transform; their spacing is now set by p48-page-fit.js from each
      page's real height so a taller page can no longer slide under the next page.
   Layout/spacing only: no copy, photo or poster is changed. */

/* ---- Print / PDF ---- */
@media print {
  /* p. 1: the "Tonight and this week" box ran 15px under the footer */
  html body section.page#front .mvfront47 > div:nth-of-type(2) > div:first-child > div{margin-bottom:1px!important}
  html body section.page#front .mvfront47{padding:3px 9px!important;margin:0 0 4px!important}
  html body section.page#front .stglead47{margin:0 0 5px!important;padding-bottom:4px!important}
  html body section.page#front .ap44{margin:0 0 3px!important;padding:1px 6px!important}
  html body section.page#front .fmast{padding-bottom:1px!important}
  html body section.page#front .stglead47 figcaption{line-height:1.2!important}
  html body section.page#front .calstrip44{margin:2px 0 0!important;padding:5px 6.72px!important}
  html body section.page#front .calstrip44 p.more{margin:0 0 2px!important}
  html body section.page#front .calstrip44 p.tonight46{margin:1px 0 2px!important}
  /* p. 9: the "Across both municipalities" box ran 11px under the footer */
  html body section.page#p48-wards2 .wacross46{margin-top:3px!important;padding:3px 8px!important}
  html body section.page#p48-wards2 .wacross46 ul{margin:4px 0 4px!important}
  html body section.page#p48-wards2 .wacross46 li{margin:0 0 2px!important}
  html body section.page#p48-wards2 .wacross46 p.src{margin:0 0 2px!important}
  /* p. 25 (reissue Dec. 2, 3:30 a.m.): the overnight cap (poster 7.55in, img 7.5in) shrank the poster to 493.5 x 540pt with
     page-colour margins. Back to Issue 47's full-size poster (537 x 586.5pt, the full content width). To keep it clear of the
     small "Advertisement" label and the footer, the label sits tight under the section band instead of being covered. */
  html body section.page#p48-legion-ad .legionad47-body{display:block!important;margin:0!important;padding:0!important;overflow:visible!important}
  html body section.page#p48-legion-ad .legionad47-lab{font-size:11.25px!important;line-height:1!important;margin:-6px 0 1px!important}
  html body section.page#p48-legion-ad .legionad47-poster{display:block!important;height:auto!important;max-height:none!important}
  html body section.page#p48-legion-ad .legionad47-poster img{display:block!important;margin:0 auto!important;height:772px!important;width:auto!important;max-width:100%!important;max-height:none!important}
}
