.cj-photo-link{display:block;max-width:100%;cursor:zoom-in;text-decoration:none}
/* Captions remain as source metadata; image alt text and link labels stay accessible. */
main figcaption,.cj-viewer-caption{display:none!important}
/* Restore the document's captions only in the Multimedia activity gallery. */
.cj-gallery-grid figcaption{display:block!important}
/* The supplied personal photo has its own explicitly requested caption. */
.cj-profile-personal figcaption{display:block!important;padding:1rem .5rem;color:#35404b;font-size:1rem;text-align:center;line-height:1.5}
.cj-section.cj-profile-personal{max-width:680px}
.cj-profile-personal{display:grid;gap:2rem}
.cj-profile-personal figure{margin:0}
.cj-profile-personal img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
.cj-timeline-inauguration{margin:1.25rem 0 0;min-width:0}
.cj-timeline-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.cj-timeline-photos img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
.cj-timeline-inauguration figcaption{display:block!important;padding:.75rem 0;color:#35404b;font-size:.95rem;line-height:1.5}
@media(max-width:700px){.cj-timeline-photos{grid-template-columns:1fr}}
.cj-photo-card{align-self:start}
.cj-photo-link:focus-visible{outline:3px solid #b88e00;outline-offset:4px}
.cj-hero>figure>.cj-photo-link,.cj-mobile-portrait>.cj-photo-link{height:100%;width:100%}
html.cj-photo-viewer-open,html.cj-photo-viewer-open body{overflow:hidden}
.cj-photo-viewer{position:fixed;inset:0;width:100%;max-width:none;height:100vh;height:100dvh;max-height:none;margin:0;padding:0;border:0;background:#051427;color:#fff;box-sizing:border-box}
.cj-photo-viewer::backdrop{background:#051427}
.cj-viewer-shell{display:grid;grid-template-rows:auto minmax(0,1fr) auto;height:100%;width:100%;background:#051427;color:#fff}
.cj-viewer-bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:max(.75rem,env(safe-area-inset-top)) 1rem .75rem}
.cj-viewer-controls{display:flex;align-items:center;gap:.6rem}
.cj-viewer-btn{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:.5rem .8rem;border:1px solid #7892af;border-radius:4px;background:#15395d;color:#fff;font:inherit;cursor:pointer;touch-action:manipulation}
.cj-viewer-btn:hover{background:#244e77}
.cj-viewer-btn:focus-visible{outline:3px solid #f6d20a;outline-offset:3px}
.cj-viewer-btn[hidden]{display:none}
.cj-viewer-close{font-size:1.75rem;line-height:1}
.cj-viewer-stage{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:.75rem;min-height:0;padding:.5rem 1rem;touch-action:pan-y}
.cj-viewer-media{display:flex;align-items:center;justify-content:center;height:100%;min-height:0;min-width:0;margin:0;grid-column:1/-1;grid-row:1}
.cj-viewer-image{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain}
.cj-viewer-crop{display:contents}
/* Show the supplied photo itself, not the surrounding poster. Keep its pixels unchanged. */
.cj-profile .cj-profile-photo-circle{position:relative;aspect-ratio:1;overflow:hidden;border-radius:50%;background:transparent}
.cj-profile-photo-circle>.cj-photo-link{width:100%;height:100%}
.cj-profile-photo-circle:focus-within{outline:3px solid #b88e00;outline-offset:4px}
.cj-photo-viewer.is-profile-circle .cj-viewer-crop{display:block;position:relative;width:min(92vw,calc(100vh - 8rem),880px);width:min(92vw,calc(100dvh - 8rem),880px);aspect-ratio:1;overflow:hidden;border-radius:50%;flex:none}
/* Source 1018 × 1485; square crop x=230, y=172, size=538. */
.cj-profile-photo-circle img,.cj-photo-viewer.is-profile-circle .cj-viewer-image{position:absolute;display:block;left:-42.750929%;top:-31.970260%;width:189.219331%;height:auto;max-width:none;max-height:none;object-fit:fill}
.cj-viewer-prev{grid-column:1;grid-row:1;z-index:1}.cj-viewer-next{grid-column:3;grid-row:1;z-index:1}
.cj-viewer-caption{margin:0;padding:.75rem 1rem max(1rem,env(safe-area-inset-bottom));font-size:.95rem;text-align:center;line-height:1.4;color:#fff}
.cj-viewer-status{margin:0;padding:0 1rem;text-align:center;color:#ffd95a;font-size:.85rem}
@media(max-width:560px){.cj-viewer-stage{gap:.25rem;padding:.25rem;grid-template-columns:44px minmax(0,1fr) 44px}.cj-viewer-bar{gap:.5rem;padding-left:.5rem;padding-right:.5rem}.cj-viewer-fullscreen{font-size:.8rem;padding:.5rem}.cj-viewer-caption{font-size:.85rem}}
