/* Compact print stylesheet for henrystoll.de */
/* Applies only when media=print is used from the link tag */

/* Reduce base spacing and font sizes to fit more content per page */
:root {
  --pico-typography-spacing-vertical: 0.6rem;
  --pico-font-weight: 300;
}

html, body, main {
  margin: 0;
  padding: 0.2in; /* small page margin */
  color: #000;
  background: #fff !important;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

/* Headings and spacing */
h1 { font-size: 18pt; margin: 0 0 0.1rem 0; }
h4 { font-size: 10pt; margin: 0.4rem 0 0.2rem 0; }
p, li { font-size: 9pt; line-height: 1.1; margin: 0 0 0.2rem 0; }

/* Make lists more compact */
ul { margin: 0 0 0.4rem 0; padding-left: 1rem; }
.experience ul li { margin-top: 0.35rem; }

/* Footer link visibility: hide all footer links by default in print,
   then expose only the hi@henrystoll.de email link. */
.links a { display: none !important; }

/* Show only the exact email link (keep printed text clean) */
.links a[href^="mailto:hi@henrystoll.de"] {
  display: inline !important;
  color: #000 !important;
  text-decoration: none !important;
}

/* Ensure other anchor styling is unintrusive if they accidentally render */
a { color: #000; text-decoration: none; }

/* Remove any visual decorative elements from pico.css */
* { box-shadow: none !important; background: transparent !important; }

/* Footer and links */
footer { display: block; margin-top: 0.4rem; }
footer .links { font-size: 9pt; margin-top: 0.2rem; }

/* (link URL suffixing intentionally disabled to keep print output compact)
  The email link shown in the footer is already explicit. */

/* Avoid page breaks inside list items */
li { break-inside: avoid; page-break-inside: avoid; }

/* Minimize header spacing and keep it at top of page */
header { margin-bottom: 0.2rem; }

/* Ensure body fits more content per page by using narrow margins */
@page { margin: 0.4in; }
