.resume-page{background:#e9eee6}
.resume-bar{background:var(--paper);border-bottom:1px solid #d6ded3}
.resume-bar-inner{max-width:790px;width:90%;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:66px}
.back-home{font-size:14px;color:#405b49}
.back-home:hover{text-decoration:underline}
.resume-download{background:#234837;color:white;font-size:13px}
.resume-download:hover{background:#345b47}
.cv{width:min(790px,94%);margin:25px auto 48px;padding:42px 54px 47px;background:var(--paper);border:1px solid #d4dccc;box-shadow:0 8px 20px #1c35200a}
.cv-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:2px solid #416049;padding-bottom:19px}
.cv-heading h1{font:700 52px/1.35 var(--serif);letter-spacing:.04em}
.cv-heading>div>p:last-child{color:var(--muted);font-size:14px;margin-top:3px}
.cv-type{font-size:12px;letter-spacing:.14em;color:#76613c}
.cv-heading img{width:78px;height:auto;border:1px solid var(--line)}
.cv-portrait{margin:0;flex:none}
.cv-portrait img{border-radius:4px}
.cv section{margin-top:19px}
.cv h2{font-size:22px;margin-bottom:7px}
.cv section>p,.cv-list{font-size:14px;line-height:1.75;color:#44584a}
.cv-list{margin:0}
.cv-list>div{display:grid;grid-template-columns:143px 1fr;gap:15px;padding:6px 0;border-bottom:1px solid #dce2d7}
.cv-list dt{color:#526759;font:14px/1.7 var(--sans)}
.cv-list dd{margin:0}
.cv-list dd strong{color:#253f2f}
.cv-list dd span{display:block}
@media(max-width:550px){.cv{padding:24px 20px}.cv-list>div{grid-template-columns:1fr;gap:1px}.cv-list dt{font-size:12px}.cv-heading h1{font-size:43px}.cv-heading img{width:66px}.cv-heading{gap:10px}}
@page{size:A4;margin:15mm 18mm}
@media print{
  .resume-bar{display:none}.resume-page,.cv{background:#fff}.cv{width:100%;max-width:none;margin:0;padding:0;border:0;box-shadow:none}.cv-heading{padding-bottom:12px}.cv-heading img{width:76px}.cv-heading h1{font-size:46px}.cv section{margin-top:17px}.cv h2{font-size:21px}.cv section>p,.cv-list,.cv-list dt{font-size:13px}.cv-list>div{display:grid;grid-template-columns:138px 1fr;gap:13px;padding:6px 0}.cv section,.cv-list>div{break-inside:avoid}
}
