@media print {
  .terminal-toggle,
  .download-toggle-container,
  .terminal-container,
  .terminal-overlay,
  .seo-footer,
  .name-variations {
    display: none !important;
  }
  
  @page {
    size: A4;
    margin: 0.2in 0.4in;
  }
  
  body {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 11pt;
    line-height: 1.35;
    color: #000;
    margin: 0;
    padding: 0;
    background: white;
    -webkit-print-color-adjust: exact;
  }
  
  main.cv {
    max-width: 100%;
    margin: 0;
    padding: 0;
  }
  
  header h1 {
    font-size: 24pt;
    margin-bottom: 8pt;
    text-align: center;
    color: #0077cc;
  }
  
  .contact {
    display: flex;
    justify-content: space-between;
    font-size: 9pt;
    margin-bottom: 12pt;
    flex-wrap: nowrap;
    gap: 2pt;
    align-items: center;
  }
  
  .contact span {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 9pt;
  }
  
  .contact-link {
    display: inline-flex;
    align-items: center;
    gap: 1pt;
    flex-shrink: 0;
    white-space: nowrap;
  }
  
  .contact-link a {
    color: #000;
    text-decoration: none;
    font-size: 9pt;
    white-space: nowrap;
  }
  
  h2 {
    font-size: 14pt;
    color: #0077cc;
    border-bottom: 1pt solid #0077cc;
    padding-bottom: 2pt;
    margin-top: 14pt;
    margin-bottom: 8pt;
  }
  
  section {
    margin-bottom: 10pt;
    padding: 0;
    background: none;
    box-shadow: none;
    border-radius: 0;
  }
  
  .job {
    margin-bottom: 10pt;
    page-break-inside: avoid;
  }
  
  .job h3 {
    font-size: 12pt;
    color: #0077cc;
    margin-bottom: 3pt;
    display: block;
    margin-top: 0;
  }
  
  .job h3 span {
    font-size: 10pt;
    color: #666;
    font-weight: normal;
    float: right;
  }
  
  .job p {
    font-size: 10pt;
    font-style: italic;
    margin-bottom: 5pt;
    color: #333;
    margin-top: 0;
  }
  
  .job ul {
    margin: 0;
    padding-left: 15pt;
    font-size: 10pt;
  }
  
  .job li {
    margin-bottom: 2pt;
    line-height: 1.3;
  }
  
  .job li strong {
    color: #000;
    font-weight: 600;
  }
  
  .columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12pt;
    margin-top: 0;
    margin-bottom: 6pt;
  }
  
  .columns > div {
    margin-bottom: 0;
  }
  
  .columns h4 {
    color: #0077cc;
    font-size: 11pt;
    margin-bottom: 3pt;
    margin-top: 6pt;
  }
  
  .columns h4:first-child {
    margin-top: 0;
  }
  
  .columns p {
    font-size: 10pt;
    margin: 0 0 4pt 0;
  }
  
  .summary p {
    font-size: 10pt;
    margin: 0;
    text-align: justify;
    line-height: 1.35;
  }
  
  .education-item {
    margin-bottom: 8pt;
    page-break-inside: avoid;
  }
  
  .education-item:last-child {
    margin-bottom: 0;
  }
  
  .education-item h4 {
    font-size: 11pt;
    color: #0077cc;
    margin-bottom: 2pt;
    display: block;
    margin-top: 0;
    font-weight: 600;
  }
  
  .education-item h4 span {
    font-size: 9pt;
    color: #666;
    font-weight: normal;
    float: right;
  }
  
  .education-item p {
    font-size: 9pt;
    font-style: italic;
    margin: 0;
    color: #333;
  }
  
  .languages ul {
    margin: 0;
    padding-left: 15pt;
  }
  
  .languages li {
    margin-bottom: 2pt;
    font-size: 10pt;
    line-height: 1.3;
  }
  
  ul {
    margin: 0;
    padding-left: 15pt;
  }
  
  li {
    margin-bottom: 2pt;
    font-size: 10pt;
  }
  
  .job, .columns > div, .education-item {
    page-break-inside: avoid;
  }
  
  .experience {
    page-break-before: avoid;
  }
}
