/* C: white background and minimal underline navigation. */
#honors .honor-filters{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));border-bottom:1px solid #cfdee8;background:#fff;margin:12px 0 36px;overflow-x:auto}
#honors .honor-filter{position:relative;display:flex;align-items:center;justify-content:center;gap:10px;min-width:0;border:0;background:transparent;color:#547189;padding:25px 12px;font:inherit;cursor:pointer;transition:background .25s,color .25s}
#honors .honor-filter>span{font-size:15px;line-height:1.6;transition:transform .25s}
#honors .honor-filter small{font:11px Arial;color:#8aa0b1}
#honors .honor-filter:after{content:'';position:absolute;bottom:0;left:50%;width:50px;height:3px;border-radius:4px;background:#008da9;transform:translateX(-50%) scaleX(0);transition:transform .3s}
#honors .honor-filter[aria-pressed=true]{color:#007d98;font-weight:600}
#honors .honor-filter[aria-pressed=true]:after{transform:translateX(-50%) scaleX(1)}
#honors .honor-filter[aria-pressed=true] small{color:#008da9}
#honors .honor-filter:focus-visible{outline:2px solid #008cae;outline-offset:-4px}
@media(hover:hover) and (pointer:fine){#honors .honor-filter:hover{background:#f3fafc;color:#008baa}#honors .honor-filter:hover>span{transform:translateY(-2px)}#honors .honor-filter:not([aria-pressed=true]):hover:after{transform:translateX(-50%) scaleX(.55)}}
@media(prefers-reduced-motion:reduce){#honors .honor-filter,#honors .honor-filter>span,#honors .honor-filter:after{transition:none}#honors .honor-filter:hover>span{transform:none}}
/* Keep the original certificate card appearance; only the grid is expanded. */
#honors .official-honors{grid-template-columns:repeat(4,minmax(0,1fr));gap:44px 30px;margin:0}
#honors .official-honor[hidden]{display:none}
#honors .honor-filter-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1000px){#honors .official-honors{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){#honors .honor-filters{grid-template-columns:repeat(6,minmax(105px,1fr));margin-bottom:26px}#honors .honor-filter{padding:16px 10px}}
@media(max-width:650px){#honors .official-honors{gap:28px 16px}}
@media(max-width:380px){#honors .official-honors{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){#honors .honor-photo,#honors .honor-photo img{transition:none}}

/* Certificate viewer: fixed-size close control, full-image presentation. */
#photo-dialog{width:min(1120px,calc(100% - 48px));max-width:none;max-height:92dvh;padding:0;border:1px solid #dce7f0;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 28px 100px #071e3655;color:#173d5a}
#photo-dialog[open]{display:flex;flex-direction:column;animation:honor-viewer-enter .22s ease-out}
#photo-dialog::backdrop{background:#0b233bb8;backdrop-filter:blur(5px)}
#photo-dialog .photo-top{flex:none;display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0;padding:20px 24px;border-bottom:1px solid #e0eaf2;background:#fff}
#photo-dialog .photo-heading{min-width:0;flex:1}
#photo-dialog .photo-eyebrow{display:block;color:#7894a9;font-size:11px;letter-spacing:2px;line-height:1.5;margin-bottom:6px}
#photo-dialog .photo-top p{font-size:16px;font-weight:500;line-height:1.7;margin:0;overflow-wrap:anywhere;max-height:5.1em;overflow-y:auto}
#photo-dialog .photo-top form{flex:0 0 44px;width:44px;margin:0;align-self:flex-start}
#photo-dialog .photo-top button{display:grid;place-items:center;box-sizing:border-box;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:1px solid #dce7ef;border-radius:50%;background:#f3f7fa;color:#315775;cursor:pointer;transition:background .2s,color .2s,box-shadow .2s}
#photo-dialog .photo-top button svg{display:block;width:22px;height:22px;flex:none;transition:transform .25s}
#photo-dialog .photo-top button:focus-visible{outline:3px solid #008cae;outline-offset:3px}
#photo-dialog .photo-stage{min-height:0;padding:22px;background:linear-gradient(145deg,#f0f5f9,#f8fafc);overflow:auto}
#photo-dialog .photo-stage img{display:block;margin:auto;width:100%;height:auto;max-height:calc(92dvh - 160px);object-fit:contain;border-radius:5px}
@media(hover:hover) and (pointer:fine){#photo-dialog .photo-top button:hover{background:#164b72;color:#fff;border-color:#164b72;box-shadow:0 5px 14px #173f6126}#photo-dialog .photo-top button:hover svg{transform:rotate(90deg)}}
@keyframes honor-viewer-enter{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:none}}
@media(max-width:600px){#photo-dialog{width:calc(100% - 24px);border-radius:11px}#photo-dialog .photo-top{padding:16px;gap:12px}#photo-dialog .photo-top p{font-size:14px}#photo-dialog .photo-stage{padding:12px}#photo-dialog .photo-stage img{max-height:calc(92dvh - 175px)}}
@media(max-height:500px){#photo-dialog .photo-top{padding:10px 16px}#photo-dialog .photo-eyebrow{display:none}#photo-dialog .photo-top p{max-height:3.4em;font-size:13px}#photo-dialog .photo-stage{padding:10px}#photo-dialog .photo-stage img{max-height:calc(92dvh - 100px)}}
@media(prefers-reduced-motion:reduce){#photo-dialog[open]{animation:none}#photo-dialog .photo-top button,#photo-dialog .photo-top button svg{transition:none}#photo-dialog .photo-top button:hover svg{transform:none}}
