/* MMUST CU certificate portal: responsive accessible navigation */
.cert-top{padding-top:14px;padding-bottom:14px;gap:18px;box-shadow:0 2px 12px rgba(0,0,0,.04)}
.cert-brand{min-width:0;gap:12px}
.cert-brand img{width:54px;height:54px;flex:none}
.cert-brand span{min-width:0}
.cert-brand b{font-size:clamp(13px,1.25vw,17px);line-height:1.3;letter-spacing:.015em}
.cert-brand small{font-size:clamp(11px,1vw,14px);line-height:1.35}
.cert-top .cert-nav{display:flex;align-items:center;justify-content:flex-end;flex-wrap:nowrap;gap:8px}
.cert-top .cert-nav-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:11px 15px;border:1px solid #CCCCCC;border-radius:11px;background:#FFFFFF;color:#000000;font-size:13px;font-weight:700;line-height:1.2;text-decoration:none;white-space:nowrap;transition:background .15s,border-color .15s,color .15s}
.cert-top .cert-nav-link svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.cert-top .cert-nav-link:hover{border-color:#0099FF;background:#FFFFFF;color:#0099FF}
.cert-top .cert-nav-link.is-active{background:#0099FF;border-color:#0099FF;color:#FFFFFF}
.cert-top .cert-nav-link.is-active:hover{background:#0099FF;color:#FFFFFF}
.cert-top .cert-nav-link.cert-signout{border-color:#FF9900;color:#000000}
.cert-top .cert-nav-link.cert-signout:hover{background:#FFCC66}
.cert-top .cert-nav-link:focus-visible{outline:3px solid #FF9900;outline-offset:3px}
@media(max-width:850px){
 .cert-top{flex-direction:column;align-items:stretch;padding:12px 16px;gap:14px}
 .cert-brand img{width:44px;height:44px}
 .cert-top .cert-nav{display:grid;grid-template-columns:1fr 1.4fr 1fr;gap:8px;width:100%}
 .cert-top .cert-nav-link{min-width:0;padding:11px 7px;font-size:12px;gap:5px}
 .cert-top .cert-nav-link svg{width:16px;height:16px}
}
@media(max-width:355px){.cert-top .cert-nav-link{font-size:11px;gap:3px}.cert-top .cert-nav-link svg{width:14px;height:14px}}
@media(prefers-reduced-motion:reduce){.cert-top .cert-nav-link{transition:none}}
