/* CV-specific print rules, on top of the library's print.css. */

/* Keep the QR code at the right of the name block instead of wrapping onto its own row. */
.cv-header {
  flex-wrap: nowrap;
  align-items: center;
}

.cv-identity {
  flex: 1 1 auto;
}

.cv {
  max-width: none;
  gap: var(--sp-4);
}

/* Long entries may span pages, but no single paragraph or bullet is split. */
.cv-entry p,
.cv-entry li,
.cv-skills dt,
.cv-skills dd {
  break-inside: avoid;
}

.cv-section h2,
.cv-entry h3,
.cv-entry-head {
  break-after: avoid;
}
