/* Document fonts are local application assets, never device font names.
   These are the same DejaVu faces embedded by native-pdf-r35.js. Keep the
   Arabic fallback name free of "Sans": the PDF font resolver inspects the
   computed family string to distinguish serif from sans-serif layouts. */
@font-face{font-family:MACVDocumentSerif;src:url('/fonts/pdf/DejaVuSerif.ttf') format('truetype');font-weight:400;font-style:normal;font-display:block}
@font-face{font-family:MACVDocumentSerif;src:url('/fonts/pdf/DejaVuSerif-Bold.ttf') format('truetype');font-weight:700;font-style:normal;font-display:block}
@font-face{font-family:MACVDocumentSerif;src:url('/fonts/pdf/DejaVuSerif-Italic.ttf') format('truetype');font-weight:400;font-style:italic;font-display:block}
@font-face{font-family:MACVDocumentSerif;src:url('/fonts/pdf/DejaVuSerif-BoldItalic.ttf') format('truetype');font-weight:700;font-style:italic;font-display:block}
@font-face{font-family:MACVDocumentSans;src:url('/fonts/pdf/DejaVuSans.ttf') format('truetype');font-weight:400;font-style:normal;font-display:block}
@font-face{font-family:MACVDocumentSans;src:url('/fonts/pdf/DejaVuSans-Bold.ttf') format('truetype');font-weight:700;font-style:normal;font-display:block}
@font-face{font-family:MACVDocumentSans;src:url('/fonts/pdf/DejaVuSans-Oblique.ttf') format('truetype');font-weight:400;font-style:italic;font-display:block}
@font-face{font-family:MACVDocumentSans;src:url('/fonts/pdf/DejaVuSans-BoldOblique.ttf') format('truetype');font-weight:700;font-style:italic;font-display:block}
@font-face{font-family:MACVDocumentArabic;src:url('/fonts/pdf/DejaVuSans.ttf') format('truetype');font-weight:400;font-style:normal;font-display:block}
@font-face{font-family:MACVDocumentArabic;src:url('/fonts/pdf/DejaVuSans-Bold.ttf') format('truetype');font-weight:700;font-style:normal;font-display:block}

html body #cv-document.cv-sheet {
  --cv-document-font: MACVDocumentSerif, MACVDocumentArabic;
  font-family: var(--cv-document-font) !important;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html body #cv-document.cv-sheet:is(.europass-sheet,.german-minimal-sheet,.german-simple-sheet,.lebenslauf-profil-r37,.v26-theme-executive,.v26-theme-nordic,.v26-theme-clinical,.v26-theme-bewerbung) {
  --cv-document-font: MACVDocumentSans;
}
html body #cv-document.cv-sheet * {
  font-family: var(--cv-document-font) !important;
}
/* Preserve the serif headings of the minimal and editorial designs. */
html body #cv-document.cv-sheet:is(.german-minimal-sheet,.suite-academic,.suite-serif) :is(.minimal-name h1,.minimal-section>h2,.cv-header-copy h1),
html body #cv-document.cv-sheet.suite-serif .cv-section>h3 {
  font-family: MACVDocumentSerif, MACVDocumentArabic !important;
}
html body #cv-document.cv-sheet .german-signature {
  --cv-document-font: MACVDocumentSans;
  font-family: var(--cv-document-font) !important;
}
/* Static Noto Sans Arabic faces used by both the preview and file exports. */
@font-face {
  font-family: MACVDocumentArabic53;
  src: url("/fonts/pdf/NotoSansArabic-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: MACVDocumentArabic53;
  src: url("/fonts/pdf/NotoSansArabic-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: block;
}
html body #cv-document.cv-sheet[lang="ar"],
html body #cv-document.cv-sheet[lang="ar"] * {
  --cv-document-font: MACVDocumentArabic53, MACVDocumentSans;
  font-family: var(--cv-document-font) !important;
}
