/* PSHE cards to print (/pshe/<lesson>/print/ only). Laura, 11 Nov 2026 14:30 UTC: "make them fit to an A4 page".
   Each set is one A4 sheet: on screen it is drawn as a sheet, in print it is one page with 10 mm margins; the site
   header, footer and banners do not print (plain selectors, no :has, so every browser follows them). */
@page { size: A4 portrait; margin: 10mm; }
.pp-set { box-sizing: border-box; width: 210mm; max-width: 100%; min-height: 297mm; margin: 24px auto; padding: 10mm;
  background: #fff; box-shadow: 0 2px 12px rgba(18, 48, 43, 0.15); }
.pp-set h2 { margin-top: 0; }
.pp-grid--m .pp-card { min-height: 0; height: 47mm; }
.pp-grid--l .pp-card { min-height: 0; height: 60mm; padding: 3mm 4mm; justify-content: flex-start; }
.pp-grid--l .pp-tags { gap: 1.2mm; }
.pp-grid--l .pp-tags li, .pp-grid--l .pp-best { font-size: 9.5pt; }
.pp-grid--l .pp-line { font-size: 8.5pt; }
@media print {
  .site-header, .site-footer, .beta-bar, .fb-wrap, .feedback, #fb, .cookie-banner, .pp .lp-crumb, .pp-how, .pp > h1 { display: none !important; }
  html, body { background: #fff !important; }
  main.pp { padding: 0 !important; margin: 0 !important; max-width: none !important; }
  .pp-set { width: auto; min-height: 0; margin: 0; padding: 0; box-shadow: none; break-after: page; page-break-after: always; }
  .pp-set:last-child { break-after: auto; page-break-after: auto; }
  .pp-set h2 { font-size: 11pt; margin: 0 0 2mm; }
  .pp-note { font-size: 8.5pt; margin: 0 0 3mm; }
}
@media (max-width: 640px) { .pp-set { min-height: 0; padding: 14px; } }
/* on screen: the page centred with room around it, the sheet headings in the house font */
@media screen {
  main.pp { max-width: 1000px; margin: 0 auto; padding: 24px 16px 48px; }
  .pp > h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.15; margin: 8px 0 12px; }
  .pp-set h2 { font-family: 'Poppins', sans-serif; font-size: 1.3rem; line-height: 1.25; margin: 0 0 4px; color: #2F5D6B; }
}
