/* plg_system_dc360compat 1.6.0 (owner 2026-11-18): Joomdle's My Certificates tab as a grid of certificate pictures
   with their titles under them, like the My badges tab (js/joomdle-tabs.js builds it). */
.dcx-certs { margin-top: .5rem; }
.dcx-cert-link {
    display: block;
    max-width: 170px;
    margin: 0 auto .5rem;
    border-radius: 8px;
    box-shadow: 0 2px 0 rgba(31, 58, 101, .12), 0 6px 14px rgba(31, 58, 101, .12);
    transition: transform .15s ease, box-shadow .15s ease;
}
.dcx-cert-link:hover,
.dcx-cert-link:focus-visible {
    transform: translateY(-3px) rotate(-1deg);
    box-shadow: 0 4px 0 rgba(31, 58, 101, .14), 0 10px 20px rgba(31, 58, 101, .18);
}
.dcx-cert-link:focus-visible { outline: 3px solid #ffd166; outline-offset: 3px; }
.dcx-cert-pic { display: block; width: 100%; height: auto; }
.dcx-cert-title { line-height: 1.3; }
.dcx-cert-email {
    display: inline-block;
    margin-top: .35rem;
    padding: .15rem .6rem;
    border-radius: 999px;
    background: #dbe4f3;
    color: #1f3a65 !important;
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none !important;
}
.dcx-cert-email:hover { background: #1f3a65; color: #fff !important; }
@media (prefers-reduced-motion: reduce) { .dcx-cert-link { transition: none; } }
