/* cv_print.css — Print stylesheet for cv.php
   Loaded via media="print", applies only when printing.
*/

@page {
  size: letter;
  margin: 0.75in;
}

/* Hide nav row if it somehow remains in DOM */
.row:first-child {
  display: none;
}

/* Keep .date (Last updated) visible — no override needed, just don't hide it */

/* Body: clean white background, dark text, readable sizing */
body {
  background: #fff;
  color: #000;
  font-size: 1.4em;
}

/* Remove container max-width so content fills the page */
.container {
  max-width: 100%;
  padding: 0;
}

.wrapper > .container {
  padding: 0;
}

/* Headings: tighter spacing for print */
h2 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  margin-top: 2rem;
}

/* Position blocks: prevent splitting across pages */
.container > p {
  break-inside: avoid;
  page-break-inside: avoid;
}

/* Section headings: keep with following content */
h2 {
  break-after: avoid;
  page-break-after: avoid;
}

/* Links: keep clickable, no appended URL text, subtle styling */
a {
  color: #000;
  text-decoration: underline;
}
a[href]:after {
  content: none !important;
}

/* Print header block */
.cv-header {
  text-align: center;
  margin-bottom: 1.5rem;
}
.cv-header p {
  margin-bottom: 0.3rem;
}
.cv-header h1 {
  font-size: 3.2rem;
  margin-bottom: 0.5rem;
}
.cv-header a {
  color: #000;
  text-decoration: none;
}

/* No-links print mode */
body.nolinks a {
  display: none;
}
body.nolinks .cv-header a {
  display: inline;
  color: inherit;
  text-decoration: none;
}
