/* ZST CV v9.5: shared A4 geometry for all 8 template layouts / 50 designs. */
.zst-cv-sheet,.zst-cv-sheet *{box-sizing:border-box}
.zst-cv-sheet{width:210mm;max-width:100%;min-height:297mm;}
.zst-cv-sheet .cv-side,.zst-cv-sheet .cv-main{min-width:0;overflow-wrap:anywhere}
.zst-cv-sheet img.zst-cv-photo{width:108px!important;height:108px!important;max-width:108px!important;max-height:108px!important;object-fit:cover!important;object-position:center!important;display:block!important;position:static!important;transform:none!important;float:none!important}
/* Avoid changing the 8 layout variations on screen; they share the same sheet size. */
@media print{
  @page{size:A4;margin:0}
  html,body{margin:0!important;padding:0!important;width:auto!important;background:white!important}
  .zst-cv-sheet{width:210mm!important;max-width:210mm!important;min-height:297mm!important;height:auto!important;margin:0!important;padding:0!important;box-shadow:none!important;overflow:visible!important;print-color-adjust:exact!important;-webkit-print-color-adjust:exact!important}
  .zst-cv-sheet .cv-side,.zst-cv-sheet .cv-main{min-width:0!important;overflow:visible!important}
  .zst-cv-sheet .cv-main{padding:14mm 12mm!important}
  .zst-cv-sheet .cv-side{padding:12mm 8mm!important}
  .zst-cv-sheet.layout-1 .cv-side,.zst-cv-sheet.layout-5 .cv-side,.zst-cv-sheet.layout-3 .cv-side,.zst-cv-sheet.layout-7 .cv-side{padding:9mm 12mm!important}
  .zst-cv-sheet h1{font-size:23pt!important;line-height:1.12!important}
  .zst-cv-sheet h2{font-size:11pt!important;break-after:avoid!important;page-break-after:avoid!important}
  .zst-cv-sheet p{font-size:9.5pt!important;line-height:1.4!important;overflow-wrap:anywhere!important}
  .zst-cv-sheet img.zst-cv-photo{width:28mm!important;height:28mm!important;max-width:28mm!important;max-height:28mm!important}
  .zst-cv-section{break-inside:auto!important;page-break-inside:auto!important}
  .zst-print-locked .zst-cv-sheet{display:none!important}
}
