/* =========================================================================
   Resume — print stylesheet.
   Triggered when user prints (Ctrl/Cmd + P → Save as PDF).
   Produces a clean single-color-friendly A4 layout.
   ========================================================================= */

@media print {
  @page {
    size: A4;
    margin: 16mm 14mm 14mm;
  }

  html, body {
    background: #ffffff !important;
    color: #0B0B0B !important;
    font-size: 10.25pt;
    line-height: 1.42;
  }

  /* Hide all chrome — nav, footer, toolbar, anything not the resume. */
  .nav,
  .footer,
  .resume-toolbar,
  .no-print {
    display: none !important;
  }

  /* Strip page paddings — the resume is the page. */
  .container { padding: 0 !important; max-width: 100% !important; }
  .section, .section--tight { padding: 0 !important; }

  .resume {
    background: #ffffff !important;
    color: #0B0B0B !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 10.25pt;
  }

  .resume__head {
    border-bottom: 1.5pt solid #0B0B0B !important;
    padding-bottom: 12pt;
    margin-bottom: 14pt;
  }

  .resume__name {
    font-size: 26pt;
    line-height: 1;
    color: #0B0B0B !important;
  }

  .resume__name .surname {
    color: #B23A2D !important;
  }

  .resume__role {
    font-size: 8pt;
    color: #555 !important;
    margin-top: 2pt;
  }

  .resume__contact {
    font-size: 8.5pt;
    color: #222 !important;
    line-height: 1.5;
  }

  .resume__contact a {
    color: #222 !important;
    text-decoration: none !important;
  }

  .resume__section {
    margin-bottom: 12pt;
    page-break-inside: avoid;
  }

  .resume__section h3 {
    font-size: 8.5pt;
    letter-spacing: 0.14em;
    color: #B23A2D !important;
    border-bottom: 0.5pt solid #888 !important;
    padding-bottom: 3pt;
    margin-bottom: 7pt;
  }

  .resume__summary p {
    font-size: 10pt;
    line-height: 1.42;
    color: #1a1a1a !important;
  }

  .resume__job {
    margin-bottom: 9pt;
    page-break-inside: avoid;
  }

  .resume__job-title {
    font-size: 11pt;
    line-height: 1.15;
    color: #0B0B0B !important;
  }

  .resume__job-company {
    font-size: 9.5pt;
    color: #333 !important;
    margin-bottom: 2pt;
  }

  .resume__job-company em {
    font-style: italic;
    color: #666 !important;
  }

  .resume__job-meta {
    font-size: 8pt;
    color: #666 !important;
  }

  .resume__job ul {
    font-size: 9.5pt;
    line-height: 1.4;
    gap: 2pt;
    margin-top: 4pt;
  }

  .resume__job li {
    padding-left: 9pt;
  }

  .resume__job li::before {
    color: #B23A2D !important;
  }

  .resume__skills {
    font-size: 9.5pt;
    gap: 6pt 22pt;
  }

  .resume__skills .row dt {
    font-size: 8pt;
    color: #555 !important;
  }

  a {
    color: inherit !important;
    text-decoration: none !important;
  }
}
