/* Shared by awarded certificates, the public sample and A4 output. */
.certificate-page-body{background:#eeeae2}
.cert-page{padding-block:38px 70px}
.cert-tools{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-bottom:24px}
.cert-page-note{font-size:.85rem;margin:0 0 24px;max-width:720px}
.certificate{width:100%;max-width:1120px;min-height:790px;margin:0 auto;background:#fffefb;color:#10263d;position:relative;isolation:isolate;padding:24px 24px 24px 34px;border:1px solid #d1c2a3;border-left:12px solid #10263d;box-shadow:0 20px 65px #10263d16;text-align:center}
.certificate:before{content:'';position:absolute;top:0;left:0;width:5px;height:100%;background:#bd8d38}
.cert-inner{border:1px solid #c5a15e;padding:26px 38px 20px;min-height:740px;position:relative;display:flex;flex-direction:column}
.cert-header{display:flex;justify-content:space-between;align-items:center;gap:30px;text-align:left;margin-bottom:25px}
.cert-logo{width:260px;height:auto;margin:-14px 0 -10px}
.cert-series{font-size:9px;line-height:1.8;letter-spacing:.16em;text-align:right;color:#796137}
.cert-edition,.cert-sample-label{font:700 9px/1.6 Manrope,Arial,sans-serif;letter-spacing:.21em;color:#84662d;margin:0 0 11px}
.cert-sample-label{background:#f2ecdf;align-self:center;padding:5px 15px;border:1px solid #d8c49d;letter-spacing:.15em}
.certificate .cert-title{font-family:Editorial,Georgia,serif;font-size:40px;font-weight:400;line-height:1.15;letter-spacing:-.025em;margin:0 0 25px;color:#10263d}
.certificate .cert-intro{font-size:11px;letter-spacing:.025em;color:#62707b;margin:0 0 9px}
.certificate .cert-name{font-family:Editorial,Georgia,serif;font-size:49px;font-weight:400;letter-spacing:-.02em;line-height:1.15;color:#10263d;margin:0;overflow-wrap:anywhere}
.certificate .cert-name-long{font-size:35px}
.cert-name-rule{height:1px;width:250px;max-width:65%;background:#c6a361;margin:17px auto 18px}
.certificate .cert-course{font-family:Editorial,Georgia,serif;font-weight:400;letter-spacing:-.01em;line-height:1.2;font-size:25px;max-width:760px;margin:0 auto 17px;color:#10263d}
.cert-learning{display:flex;justify-content:center;align-items:center;gap:14px;font-size:12px;color:#4f606e;margin:0 0 12px}
.cert-learning strong{font-weight:700;color:#795b21}
.cert-scope{font-size:9px;line-height:1.8;color:#69747c;margin:0 auto 22px;max-width:650px}
.cert-foot{display:grid;grid-template-columns:1fr 1.2fr .7fr;gap:25px;align-items:end;text-align:left;padding-top:20px;margin-top:auto;border-top:1px solid #dfd6c5}
.cert-record p{color:#10263d;font-size:11px;margin:0 0 12px;overflow-wrap:anywhere}
.cert-record b{font-size:8px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:#84662d;display:block;margin-bottom:4px}
.cert-sign{text-align:center;padding:0 16px 10px}
.cert-sign img{width:180px;height:60px;object-fit:contain;margin:0 auto 3px;mix-blend-mode:multiply}
.cert-sign strong{font-size:11px;display:block;font-weight:700}
.cert-sign span{font-size:9px;color:#69747c;display:block;margin-top:3px}
.cert-mark{text-align:center;align-self:center;justify-self:end;padding:0 20px}
.cert-mark svg{width:46px;height:46px;display:block;margin:0 auto 10px;color:#b18436}
.cert-mark span{display:block;font-size:8px;line-height:1.5;letter-spacing:.15em;font-weight:700;color:#84662d}
.cert-issuer{display:flex;justify-content:space-between;gap:28px;text-align:left;border-top:1px solid #dfd6c5;margin-top:14px;padding-top:13px}
.cert-issuer p{font-size:8px;color:#69747c;line-height:1.7;max-width:55%}
.cert-issuer a{text-decoration:underline;text-underline-offset:2px}
.cert-issuer .cert-verify{text-align:right;max-width:42%;overflow-wrap:anywhere}
.cert-verify span{display:block;color:#84662d;font-size:8px;letter-spacing:.06em;text-transform:uppercase;margin-bottom:3px}
.verify-card { max-width: 40rem; padding: 8px 0 18px; }
.verify-card.ok h1 { color: #14532d; }
.verify-card.bad h1 { color: #7a1d18; }
.verify-form { max-width: 28rem; margin-top: 12px; }
.end-test .end-question { border: 0; margin: 22px 0; padding: 0; }
.end-test legend { font-weight: 700; color: #10263d; margin-bottom: 8px; }

@media screen and (max-width:800px){
 .certificate{padding:13px;border-left-width:7px;min-height:0}
 .cert-inner{padding:22px 18px;min-height:0}
 .cert-header{gap:16px;margin-bottom:22px;flex-direction:column}
 .cert-logo{width:235px;margin:-12px 0}
 .cert-series{text-align:center;font-size:8px}
 .certificate .cert-title{font-size:30px;margin-bottom:24px}
 .certificate .cert-name{font-size:37px}
 .certificate .cert-name-long{font-size:29px}
 .certificate .cert-course{font-size:23px}
 .cert-learning{flex-wrap:wrap;gap:8px;font-size:11px}
 .cert-foot{grid-template-columns:1fr;gap:18px;justify-items:center;text-align:center}
 .cert-mark{justify-self:center;display:flex;align-items:center;gap:15px;padding:0}
 .cert-mark svg{width:30px;height:30px;margin:0}
 .cert-sign{padding:0}
 .cert-issuer{display:block;text-align:center}
 .cert-issuer p,.cert-issuer .cert-verify{max-width:none;text-align:center}
 .cert-issuer .cert-verify{margin-top:12px}
 .cert-tools .button{font-size:.8rem;padding:12px 18px}
}
@page{size:A4 landscape;margin:9mm}
@media print{
 html,body{background:#fff!important;margin:0!important;padding:0!important;width:auto!important;min-width:0!important}
 body{-webkit-print-color-adjust:exact;print-color-adjust:exact}
 .header,footer,.cert-tools,.cert-page-note,.skip{display:none!important}
 .cert-page{width:100%!important;max-width:none!important;padding:0!important;margin:0!important}
 .certificate{width:279mm;max-width:none;min-height:0;height:190mm;margin:0;padding:6mm 6mm 6mm 8mm;border-left-width:3mm;box-shadow:none;break-inside:avoid;overflow:visible}
 .cert-inner{height:100%;min-height:0;padding:6mm 9mm 4mm}
 .cert-header{margin-bottom:5mm}
 .cert-logo{width:63mm}
 .certificate .cert-title{font-size:28pt;margin-bottom:5mm}
 .certificate .cert-name{font-size:35pt}
 .certificate .cert-name-long{font-size:25pt}
 .certificate .cert-course{font-size:18pt;margin-bottom:4mm;max-width:215mm}
 .cert-name-rule{margin:3.5mm auto 4mm}
 .cert-scope{margin-bottom:3mm}
 .cert-foot{padding-top:3.5mm}
 .cert-issuer{margin-top:3mm;padding-top:3mm}
}
