/* One linked surface contains the original scan, its title and archive dates. */
.archive-intro{margin-bottom:40px}
.certificate-grid{gap:28px}
.certificate-document{display:flex;min-width:0}
.certificate-document>a.certificate-card{display:flex;flex-direction:column;width:100%;height:100%;overflow:hidden;border:0;border-radius:8px;background:#f3f5f7;color:#1b252d;text-decoration:none;transition:transform .22s}
.certificate-document .certificate-scan{display:flex;align-items:center;justify-content:center;height:320px;min-width:0;margin:18px 18px 0;padding:20px;background:#fff;border-radius:4px}
.certificate-document .certificate-scan img{display:block;width:100%;height:100%;padding:0;object-fit:contain}
.certificate-copy{display:flex;flex-direction:column;flex:1;gap:17px;padding:24px}
.certificate-document .certificate-copy h3{margin:0;color:#1b252d;font-size:23px;font-weight:400;line-height:1.3;letter-spacing:-.025em}
.certificate-document .certificate-copy p{margin:auto 0 0;padding-top:4px;font-size:14px;line-height:1.7;color:#687d8c}
.certificate-copy .document-open{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:2px;color:#0047ab;font-size:14px;line-height:1.5}
.certificate-copy .document-open svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.5}
.certificate-document>a.certificate-card:hover{background:#eaf0f6;color:#0047ab;text-decoration:none;transform:translateY(-3px)}
.certificate-document>a.certificate-card:hover h3{color:#0047ab}
.certificate-document>a.certificate-card:focus-visible{outline:2px solid #0047ab;outline-offset:5px}
.report-scans figure>a{display:block;padding:16px;background:#f3f5f7;border-radius:6px;text-decoration:none}
.report-scans figure>a:hover{background:#eaf0f6;text-decoration:none}
.report-scans figure>a>img{height:230px;background:#fff}
.report-scans figure>a>figcaption{margin-top:15px;font-size:14px}
@media(max-width:1000px){
 .certificate-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
 .certificate-document .certificate-scan{height:300px}
 .certificate-copy{padding:22px}
}
@media(max-width:540px){
 .certificate-grid{grid-template-columns:1fr;gap:22px}
 .certificate-document .certificate-scan{height:320px;padding:18px}
 .certificate-copy{padding:22px}
 .certificate-document .certificate-copy h3{font-size:23px}
 .report-scans figure>a{padding:12px}
 .report-scans figure>a>img{height:190px}
}
@media(prefers-reduced-motion:reduce){
 .certificate-document>a.certificate-card{transition:none}
 .certificate-document>a.certificate-card:hover{transform:none}
}
