/* Certificate gallery: large document previews, matching the selected reference. */
.nv-home .certs { padding:32px 0 40px; background:#fff; border:0; color:#151b1b; }
.nv-home .certs .container { width:100%; max-width:1586px; padding:0 32px; box-sizing:border-box; }
.nv-home .nv-certs-head { display:flex; align-items:center; gap:28px; margin-bottom:20px; }
.nv-home .nv-certs-head > div { flex:1; min-width:0; }
.nv-home .nv-certs-head .nv-eyebrow { margin:0 0 8px; font-size:13px; letter-spacing:3px; color:#435b36; }
.nv-home .nv-certs-head h2 { margin:0 0 6px; max-width:none; font-size:clamp(30px,3.5vw,56px); line-height:1.08; font-weight:700; letter-spacing:-1.7px; }
.nv-home .nv-certs-head p { margin:0; color:#878e92; font-size:clamp(17px,1.8vw,27px); line-height:1.35; }
.nv-home .nv-certs-all { flex:none; margin-top:24px; color:#151b1b; font-size:17px; font-weight:700; border-bottom:2px solid #598736; padding-bottom:4px; text-decoration:none; }
.nv-home .certs-wrapper { grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.nv-home .certs-card__link { padding:16px 14px 12px; border:0; border-radius:12px; background:#eef0ef; text-align:center; color:#11151a; box-shadow:none; transition:background-color .18s; }
.nv-home .certs-card__link:hover,.nv-home .certs-card__link:focus-visible { background:#e6f1cf; box-shadow:none; }
.nv-home .nv-cert-preview { height:clamp(190px,16vw,250px); padding:0; margin:0 0 12px; background:none; border-radius:0; }
.nv-home .certs-card__img { display:block; width:100%; height:100%; max-height:none; object-fit:contain; filter:grayscale(1) drop-shadow(0 2px 5px #0002); }
.nv-home .nv-cert-title { display:flex; align-items:center; justify-content:center; min-height:2.2em; margin:0 0 5px; font-size:clamp(16px,1.4vw,22px); line-height:1.1; font-weight:700; letter-spacing:-.5px; }
.nv-home .nv-cert-meta { display:block; margin-top:auto; padding:0; border:0; font-size:15px; line-height:1.4; color:#747d83; }
@media(max-width:900px) {
 .nv-home .certs .container { padding:0 20px; }
 .nv-home .nv-certs-head { align-items:flex-start; flex-direction:column; gap:12px; }
 .nv-home .nv-certs-all { margin:0; }
 .nv-home .certs-wrapper { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .nv-home .nv-cert-preview { height:240px; }
 .nv-home .nv-cert-title { font-size:19px; }
}
@media(max-width:480px) {
 .nv-home .certs { padding:28px 0; }
 .nv-home .certs .container { padding:0 16px; }
 .nv-home .nv-certs-head h2 { font-size:30px; letter-spacing:-1px; }
 .nv-home .nv-certs-head .nv-eyebrow { font-size:10px; letter-spacing:1.8px; }
 .nv-home .certs-wrapper { gap:10px; }
 .nv-home .certs-card__link { padding:12px 8px; }
 .nv-home .nv-cert-preview { height:clamp(150px,43vw,205px); margin-bottom:10px; }
 .nv-home .nv-cert-title { font-size:14px; line-height:1.2; letter-spacing:-.3px; overflow-wrap:anywhere; }
 .nv-home .nv-cert-meta { font-size:12px; }
}
@media(prefers-reduced-motion:reduce) { .nv-home .certs-card__link { transition:none; } }
