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

@media print {
  :root {
    --navy-blue: #1e3a5f;
    --medium-blue: #4472c4;
    --gold-accent: #b8860b;
    --black: #000;
    --dark-gray: #333;
    --medium-gray: #555;
  }

  body {
    padding: 0;
    font-size: 10pt;
    line-height: 1.4;
    max-width: none;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .container {
    max-width: none;
  }

  .header h1 {
    font-size: 28pt;
    color: var(--navy-blue);
  }

  .header h2 {
    font-size: 12pt;
  }

  .header .tagline {
    font-size: 10pt;
  }

  .header .contact {
    font-size: 9pt;
  }

  .header .contact a {
    color: var(--dark-gray);
  }

  .header-divider {
    border-top-color: var(--gold-accent);
  }

  h3 {
    font-size: 11pt;
    margin-top: 0.5em;
    margin-bottom: 0.35em;
    color: var(--medium-blue);
    border-bottom-color: var(--gold-accent);
  }

  .summary p {
    font-size: 9.5pt;
  }

  .competencies-grid {
    gap: 0.75em;
  }

  .competency h4 {
    font-size: 9pt;
  }

  .competency p {
    font-size: 8pt;
  }

  .job {
    margin-bottom: 0.5em;
  }

  .job-header {
    font-size: 9.5pt;
  }

  .job ul li {
    font-size: 9pt;
    line-height: 1.4;
    margin-bottom: 0.1em;
  }

  .education p {
    font-size: 9pt;
  }

  .drives ul li {
    font-size: 9pt;
  }

  .drives ul li strong {
    color: var(--medium-blue);
  }

  /* Hide hover effects */
  a {
    text-decoration: none !important;
  }

  /* Prevent page breaks inside sections */
  .job,
  .competencies,
  .education,
  .drives {
    page-break-inside: avoid;
  }
}
