/* Original certificate module from style.css, ranges.css and home.css.
   Scoped here so the approved homepage/product layout stays independent. */
#certifications{--ink:#1e302e;--teal:#145d53;--paper:#f5f4ef;--line:#d9dfd8;--muted:#586963;padding:75px 5%;max-width:1600px;margin:auto;scroll-margin-top:92px;color:var(--ink);line-height:1.6}
#certifications .section-heading{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:32px}
#certifications .section-heading>*{min-width:0}
#certifications .section-heading>p br{display:inline}
#certifications .section-heading h2{font-size:clamp(32px,3.5vw,50px);line-height:1.12;letter-spacing:-.045em;font-weight:500;margin:0}
#certifications .section-heading p{font-size:13px;margin:0;color:var(--muted);line-height:1.6}
#certifications .section-heading .eyebrow{font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--teal)}
#certifications .cert-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;max-width:1056px;margin-inline:auto}
#certifications .cert-slot{display:block;background:#fff;border:1px solid var(--line);text-decoration:none;overflow:hidden;min-width:0;transition:border-color .2s ease,box-shadow .2s ease}
#certifications .cert-slot img{display:block;width:100%;height:auto;aspect-ratio:1200/1696;object-fit:contain;object-position:center;background:#fff;padding:14px}
#certifications .cert-label{display:block;padding:12px 14px;border-top:1px solid var(--line);background:var(--paper);font-size:12px;font-weight:600;letter-spacing:.04em;line-height:1.4;color:var(--teal)}
#certifications .cert-slot:hover{border-color:var(--teal);box-shadow:0 6px 18px #1e302e0b}
.certificate-faqs{max-width:1056px;padding-bottom:75px}
@media(max-width:760px){
 #certifications{padding:50px 6%;scroll-margin-top:76px}
 #certifications .section-heading{align-items:flex-start;flex-direction:column;gap:20px}
 #certifications .section-heading h2{font-size:30px}
 #certifications .cert-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 #certifications .cert-slot img{padding:8px}
 #certifications .cert-label{padding:10px 8px;font-size:11px}
 .certificate-faqs{padding-bottom:50px}
}
