/* Samples scale inside thumbnails. Document pages use measured physical dimensions. */
.resume {
    --accent: #0878ae;
    --body-font: Arial, Helvetica, sans-serif;
    --doc-gap: 1em;
    background: white;
    color: #283442;
    font: normal 2.6cqw/1.42 var(--body-font);
    padding: 8%;
    overflow-wrap: anywhere;
    letter-spacing: 0;
}
.resume h3, .resume h4, .resume p, .resume ul, .resume li, .resume section, .resume strong {
    font-family: inherit;
    letter-spacing: normal;
    margin: 0;
}
.resume .cv-head {
    padding-bottom: 1em;
    border-bottom: .18em solid var(--accent);
    margin-bottom: .3em;
}
.resume .cv-head h3 {
    font: 700 2.5em/1.1 Georgia, 'Times New Roman', serif;
    letter-spacing: -.045em;
    color: #182d3b;
}
.resume .cv-role {
    font-weight: 600;
    color: var(--accent);
    font-size: 1.12em;
    letter-spacing: .03em;
    margin: .3em 0;
}
.resume .cv-contact, .resume .cv-meta {
    font-size: .9em;
    color: #465561;
}
.resume section { margin-top: var(--doc-gap); }
.resume h4, .resume .cv-section-title {
    font-size: .94em;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 700;
    padding-bottom: .3em;
    border-bottom: 1px solid #d2dce1;
    line-height: 1.3;
    margin-top: var(--doc-gap);
    margin-bottom: .45em;
}
.resume strong { font-size: 1em; }
.resume .cv-meta { margin: .1em 0 .25em; }
.resume .cv-item + .cv-item { margin-top: .65em; }
.resume ul { padding-left: 1.3em; margin-top: .14em; }
.resume li { padding: 0; }
.resume .cv-paragraph { margin: .1em 0 .28em; white-space: pre-line; }
.resume .cv-entry-title { display: block; }
.resume .cv-item-head { margin-top: .35em; }
.resume .cv-bullet { margin: .08em 0 .12em; }
.resume .cv-continuation { list-style: none; }
.resume.theme-editorial, .resume.theme-ledger, .resume.theme-scholar { --body-font: Georgia, 'Times New Roman', serif; }
.theme-editorial .cv-head { text-align: center; border-top: .22em solid var(--accent); padding-top: .9em; border-bottom: 1px solid var(--accent); }
.theme-editorial .cv-head h3 { color: var(--accent); font-weight: 400; font-size: 2.6em; }
.theme-editorial h4 { font-style: italic; text-transform: none; letter-spacing: 0; font-size: 1.15em; }
.theme-meridian .cv-head { background: var(--accent); padding: 1.2em; border: 0; }
.theme-meridian .cv-head h3, .theme-meridian .cv-role, .theme-meridian .cv-contact { color: white; }
.theme-meridian .cv-head h3 { font-family: var(--body-font); font-size: 2.3em; }
.theme-meridian h4 { border-color: var(--accent); }
.theme-folio .cv-head { border: 0; border-left: .4em solid var(--accent); padding: 0 0 0 1em; }
.theme-folio .cv-head h3 { font-weight: 400; }
.theme-folio h4 { border: 0; }
.theme-linea .cv-head { border-width: 1px; }
.theme-linea .cv-head h3 { font-family: var(--body-font); font-weight: 400; }
.theme-linea h4 { border: 0; border-left: .2em solid var(--accent); padding-left: .65em; }
.theme-ledger .cv-head { border-bottom: .32em double var(--accent); }
.theme-ledger .cv-head h3 { text-transform: uppercase; font-size: 2em; letter-spacing: .025em; }
.theme-ledger h4 { text-transform: none; font-variant: small-caps; font-size: 1.2em; }
.theme-executive .cv-head { border-top: .3em solid var(--accent); border-bottom: 1px solid var(--accent); padding-top: .85em; }
.theme-executive .cv-head h3 { font-size: 2.4em; color: var(--accent); }
.theme-executive h4 { border: 0; font-size: 1em; }
.theme-metro .cv-head { border-bottom: .45em solid var(--accent); }
.theme-metro .cv-head h3 { font-family: var(--body-font); letter-spacing: -.06em; }
.theme-metro h4 { background: #edf3f6; padding: .4em .55em; border: 0; }
.theme-scholar .cv-head { text-align: center; border-bottom: .24em double var(--accent); }
.theme-scholar .cv-head h3 { font-weight: 400; color: var(--accent); }
.theme-scholar h4 { letter-spacing: .05em; }
.theme-canvas .cv-head { border: 0; padding-bottom: .6em; }
.theme-canvas .cv-head h3 { font-family: var(--body-font); font-weight: 400; color: var(--accent); }
.theme-canvas h4 { border-bottom: 2px solid var(--accent); padding-bottom: .45em; }
.theme-slate .cv-head h3 { font-family: var(--body-font); font-size: 2em; letter-spacing: .02em; }
.theme-slate .cv-head { border-color: #a1adb6; border-width: 1px; }
.theme-slate h4 { text-transform: none; letter-spacing: 0; font-size: 1.05em; border: 0; }
.theme-horizon .cv-head { text-align: center; padding-bottom: .8em; border-bottom: .3em solid var(--accent); }
.theme-horizon .cv-head h3 { font-family: var(--body-font); font-size: 2.25em; }
.theme-horizon h4 { letter-spacing: .18em; font-size: .9em; }
.resume.font-sans, .resume.font-sans .cv-head h3 { font-family: Arial, Helvetica, sans-serif; }
.resume.font-serif, .resume.font-serif .cv-head h3 { font-family: Georgia, 'Times New Roman', serif; }
.resume.font-mono, .resume.font-mono .cv-head h3 { font-family: 'Courier New', monospace; }
.sample { font-size: 2.62cqw; }
.hero-paper .sample { font-size: 2.7cqw; }
.resume .cv-head.with-photo { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 15px; }
.resume .cv-head.photo-left { grid-template-columns: auto minmax(0, 1fr); }
.cv-intro { min-width: 0; }
.cv-photo { width: 24mm; height: 24mm; object-fit: cover; }
.cv-photo.circle { border-radius: 50%; }
.pagination-stage { position: absolute; top: 0; left: -100000px; visibility: hidden; pointer-events: none; }
.paper-page { flex: none; background: white; box-sizing: border-box; transform-origin: top left; }
.resume.document { padding: 0; display: flex; flex-direction: column; }
.resume.document > * { flex-shrink: 0; }
#live-paper .paper-page { box-shadow: 0 2px 12px #19384a16; }
#print-root { display: none; }
@media print {
    html, body { margin: 0 !important; padding: 0 !important; background: white !important; }
    body > *:not(main), main > *:not(#print-root) { display: none !important; }
    main, #print-root { display: block !important; margin: 0 !important; padding: 0 !important; }
    #print-root .paper-page { transform: none !important; margin: 0 !important; box-shadow: none; break-after: page; break-inside: avoid; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
    #print-root .paper-page:last-child { break-after: auto; }
}

/* Classic Gray follows the supplied reference: centered header, black type,
   gray section bars, single reading column. User font/size choices still apply. */
.resume.theme-classic-gray { color:#111; line-height:1.5; }
.theme-classic-gray .cv-head { text-align:center; border:0; padding-bottom:.35em; margin-bottom:0; }
.theme-classic-gray .cv-head h3 { font-family:inherit; font-size:1.9em; letter-spacing:0; color:var(--accent); }
.theme-classic-gray .cv-role { font-size:1.2em; letter-spacing:0; color:var(--accent); font-weight:700; margin:.25em 0 .1em; }
.theme-classic-gray .cv-contact,.theme-classic-gray .cv-meta { color:#111; font-size:.9em; }
.theme-classic-gray h4,.theme-classic-gray .cv-section-title { background:#cecece; color:var(--accent); text-transform:none; letter-spacing:0; font-size:1.15em; line-height:1.25; padding:.22em .65em; border-bottom:1px solid var(--accent); margin-top:var(--doc-gap); margin-bottom:.55em; }
.theme-classic-gray .cv-bullet { margin:.1em 0 .3em; }
.theme-classic-gray .cv-item-head { margin-top:.15em; }
.theme-classic-gray .cv-meta { margin:0; }
