/* A quiet, view-only gallery with complete certificate images. */
.cert-page-nav{display:flex;flex-wrap:wrap;gap:12px 28px;padding-top:18px;padding-bottom:18px;border-bottom:1px solid var(--line);font-size:16px}.cert-page-nav a{color:var(--blue);font-weight:600;text-underline-offset:5px}.cert-section{background:#f5f7fa;border-top:1px solid var(--line);padding:42px 0;scroll-margin-top:140px}.cert-heading{margin-bottom:24px}.cert-heading .eyebrow{margin-bottom:12px}.cert-heading h2{font-size:clamp(26px,3vw,36px);line-height:1.2;margin-bottom:12px}.cert-heading>p,.cert-safety-heading>p{font-size:17px;line-height:1.6;color:var(--muted);max-width:70ch}.cert-iso-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;max-width:800px;margin:auto}.cert-card{background:#fff;border:1px solid #dce4ed;min-width:0}.cert-preview{font:inherit;border:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff;width:100%;padding:16px;cursor:zoom-in;min-width:0}.cert-preview img{display:block;width:100%;height:220px;object-fit:contain}.cert-iso .cert-preview img{height:350px}.cert-preview>span{display:block;color:var(--blue);font-size:13px;line-height:1.4;margin-top:12px;font-weight:600}.cert-preview:hover{background:#fafdff}.cert-preview:hover>span{text-decoration:underline}.cert-preview:focus-visible,.cert-close:focus-visible,.cert-zoom:focus-visible{outline:3px solid #005bac;outline-offset:-3px}.cert-safety-heading{margin:30px 0 20px}.cert-safety-heading h3{font-size:30px;line-height:1.25;margin-bottom:10px}.cert-award-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.cert-dialog{padding:0;border:0;max-width:1200px;width:calc(100% - 40px);max-height:94vh;border-radius:4px;color:var(--ink);background:#fff}.cert-dialog::backdrop{background:rgb(8 24 42 / .78)}.cert-dialog-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 20px;border-bottom:1px solid #dce4ed;position:sticky;top:0;background:#fff;z-index:1}.cert-dialog-bar h2{font-size:20px;line-height:1.3;margin:0}.cert-viewer-actions{display:flex;gap:8px;flex-shrink:0}.cert-close,.cert-zoom{font:inherit;font-size:15px;cursor:pointer;background:#fff;color:var(--blue);border:1px solid #dce4ed;padding:8px 14px}.cert-zoom[aria-pressed=true]{background:var(--blue);color:white}.cert-dialog-image{padding:16px;background:#f5f7fa;display:flex;justify-content:center;overflow:auto}.cert-dialog-image img{width:auto;height:auto;max-width:100%;max-height:calc(94vh - 95px);object-fit:contain}.cert-zoomed .cert-dialog-image{display:block;max-height:calc(94vh - 75px)}.cert-zoomed .cert-dialog-image img{max-width:none;max-height:none;width:auto;height:auto;margin:auto}.cert-dialog:not([open]){display:none}
@media(max-width:900px){.cert-award-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cert-preview img{height:210px}}
@media(max-width:600px){.cert-section{padding:32px 0}.cert-iso-grid{gap:12px}.cert-iso .cert-preview img{height:240px}.cert-page-nav{gap:10px 20px;font-size:14px}.cert-preview{padding:10px}.cert-preview img{height:160px}.cert-award-grid{gap:12px}.cert-safety-heading h3{font-size:26px}.cert-dialog{width:calc(100% - 16px)}.cert-dialog-bar{padding:12px;gap:8px}.cert-dialog-bar h2{font-size:17px}.cert-dialog-image{padding:8px}.cert-close,.cert-zoom{font-size:13px;padding:7px 9px}}
@media(max-width:380px){.cert-iso .cert-preview img{height:210px}.cert-preview img{height:140px}}

/* Three qualifications, with a single readable column on narrow screens. */
.cert-iso-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:600px){.cert-iso-grid{grid-template-columns:1fr}.cert-iso .cert-preview img{height:320px}}

/* v130: trim preview frames while retaining the complete issued documents. */
.cert-section{padding:28px 0}
.cert-heading{margin-bottom:16px}
.cert-heading .eyebrow{margin-bottom:8px}
.cert-heading h2{margin-bottom:8px}
.cert-heading>p,.cert-safety-heading>p{margin-bottom:0}
.cert-iso-grid{max-width:760px;gap:16px}
.cert-preview{padding:8px;justify-content:flex-start}
.cert-preview img,.cert-iso .cert-preview img{height:auto;max-height:none;aspect-ratio:auto;object-fit:contain}
.cert-preview>span{margin-top:6px}
.cert-award-grid{max-width:1120px;margin-inline:auto;gap:16px}
.cert-safety-heading{margin:20px 0 12px}
.cert-safety-heading h3{margin-bottom:6px}
@media(max-width:600px){.cert-section{padding:22px 0}.cert-heading{margin-bottom:12px}.cert-iso-grid{max-width:248px;gap:12px}.cert-award-grid{gap:12px}.cert-preview{padding:6px}.cert-preview>span{margin-top:5px}.cert-safety-heading{margin:18px 0 10px}}
.cert-card .cert-validity{font-size:14px;line-height:1.5;margin:10px 0 6px;color:#48677c}.cert-card .cert-period-link{background:transparent;border:0;border-bottom:1px solid currentColor;padding:0;font:inherit;font-size:14px;line-height:1.5;color:#005bac;cursor:pointer;text-align:left}.cert-card .cert-period-link:focus-visible{outline:3px solid #005bac;outline-offset:4px}
