@charset "UTF-8";
/* =========================
   CV PDF STYLES
   ========================= */
@font-face {
  font-family: "Product Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local("Product Sans Bold"), local("ProductSans-Bold"), url("https://cdn.jsdelivr.net/gh/amzrk2/web-font-archive@2/product-sans/product-sans-bold.woff2") format("woff2");
}
@font-face {
  font-family: "MonoLisa";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: local("MonoLisa Light"), url("../webfonts/MonoLisa-Light.woff2") format("woff2");
}
@font-face {
  font-family: "MonoLisa";
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: local("MonoLisa Light Italic"), url("../webfonts/MonoLisa-LightItalic.woff2") format("woff2");
}
@font-face {
  font-family: "MonoLisa";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("MonoLisa Regular"), url("../webfonts/MonoLisa-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "MonoLisa";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: local("MonoLisa Regular Italic"), url("../webfonts/MonoLisa-RegularItalic.woff2") format("woff2");
}
@font-face {
  font-family: "MonoLisa";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local("MonoLisa Medium"), url("../webfonts/MonoLisa-Medium.woff2") format("woff2");
}
@font-face {
  font-family: "MonoLisa";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: local("MonoLisa Medium Italic"), url("../webfonts/MonoLisa-MediumItalic.woff2") format("woff2");
}
@font-face {
  font-family: "MonoLisa";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: local("MonoLisa SemiBold"), url("../webfonts/MonoLisa-SemiBold.woff2") format("woff2");
}
@font-face {
  font-family: "MonoLisa";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: local("MonoLisa SemiBold Italic"), url("../webfonts/MonoLisa-SemiBoldItalic.woff2") format("woff2");
}
@font-face {
  font-family: "MonoLisa";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local("MonoLisa Bold"), url("../webfonts/MonoLisa-Bold.woff2") format("woff2");
}
@font-face {
  font-family: "MonoLisa";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: local("MonoLisa Bold Italic"), url("../webfonts/MonoLisa-BoldItalic.woff2") format("woff2");
}
/* Apply when .pdf-export class is present OR when printing */
@media print {
  /* Strict page control */
  @page {
    size: A4;
    margin: 16mm 18mm;
  }
  /* Hard reset */
  * {
    box-shadow: none !important;
    text-shadow: none !important;
  }
  html, body {
    background: #fff;
    color: #000;
  }
  /* Kill site chrome - be specific to avoid hiding page content */
  body > header,
  body > nav,
  body > footer,
  .header-content,
  .avatar,
  .site-title,
  .title-logo,
  .sidebar,
  .social,
  .pagination,
  .comments,
  #disqus_thread {
    display: none !important;
  }
  /* Hide footnotes on CV page */
  .page-cv .simple-footnote,
  .page-cv ol.simple-footnotes {
    display: none !important;
  }
  /* Typography - using shared font variables */
  body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Arial", "Helvetica Neue", "Helvetica", "PingFang SC", "Hiragino Sans GB", "Source Han Sans CN", "Source Han Sans SC", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
    font-size: 10.8pt;
    line-height: 1.42;
  }
  /* Headers - using shared font variables */
  h1, h2, h3, h4, h5, h6 {
    font-family: "Product Sans", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Arial", "Helvetica Neue", "Helvetica", "PingFang SC", "Hiragino Sans GB", "Source Han Sans CN", "Source Han Sans SC", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
    font-weight: 600;
  }
  h1 {
    font-size: 17pt;
    margin-bottom: 3mm;
  }
  h2 {
    font-size: 12.5pt;
    margin-top: 5mm;
    margin-bottom: 2mm;
    border-bottom: 0.5pt solid #000;
  }
  h3 {
    font-size: 11pt;
    margin-top: 3mm;
  }
  /* Layout discipline */
  section,
  .cv-section {
    break-inside: avoid;
  }
  .job,
  .project,
  .education {
    break-inside: avoid;
  }
  /* Header block */
  .cv-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4mm;
    margin-bottom: 4mm;
  }
  /* Dates column */
  .cv-dates {
    text-align: right;
    font-size: 9.5pt;
    white-space: nowrap;
  }
  /* Text blocks */
  p {
    margin: 0 0 2mm 0;
  }
  ul {
    margin: 0 0 3mm 0;
    padding-left: 4mm;
  }
  li {
    margin-bottom: 1.2mm;
  }
  /* Code blocks - using shared font variables */
  code, pre {
    font-family: "MonoLisa", "Cascadia Code", "SF Mono", "Fira Code", "Consolas", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Arial", "Helvetica Neue", "Helvetica", "PingFang SC", "Hiragino Sans GB", "Source Han Sans CN", "Source Han Sans SC", "Microsoft YaHei", "WenQuanYi Micro Hei", monospace;
  }
  code {
    padding: 0.2em 0.4em;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 0.9em;
    background: #f5f5f5;
  }
  pre {
    padding: 8pt;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow-x: auto;
  }
  pre code {
    padding: 0;
    border: none;
    background: transparent;
  }
  /* Links — PDF should look clean */
  a {
    color: #000;
    text-decoration: none;
  }
  /* No URL expansion */
  a::after {
    content: none;
  }
  /* Prevent bad splits */
  h1, h2, h3 {
    break-after: avoid;
  }
  p, ul, li {
    break-inside: avoid;
  }
  /* Footer (optional page numbers) */
  @page {
    @bottom-right {
      content: counter(page);
      font-size: 9pt;
    }
  }
}
