/* =========================================================
   Certificates page — matches demosites.bragyst.com/hawaii-led-screen/certificates/
   Uses the page banner / reveal styles from about.css; the rules
   below are scoped under .cert-main.
   ========================================================= */
.cert-main .certgrid-img {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 22px
}

.cert-main .certcard {
   border: 1px solid var(--line);
   border-radius: var(--rad);
   background: #fff;
   box-shadow: var(--sh);
   transition: transform .3s, box-shadow .3s
}

.cert-main .certcard-img {
   display: block;
   padding: 0;
   overflow: hidden;
   text-decoration: none
}

.cert-main .certcard-img img {
   width: 100%;
   height: auto;
   display: block;
   border-bottom: 1px solid var(--line)
}

.cert-main .certcard-img .certcap {
   display: block;
   padding: 14px 18px;
   font-family: var(--font);
   font-weight: 600;
   font-size: 14px;
   color: var(--ink)
}

.cert-main .certcard-img:hover {
   box-shadow: var(--sh-lg)
}

.cert-main .certcard-img.rv.in:hover {
   transform: translateY(-4px)
}

@media (max-width:900px) {
   .cert-main .certgrid-img {
      grid-template-columns: 1fr;
      max-width: 520px;
      margin: 0 auto
   }
}