
/* Julia's archive and certificates, using the project's neutral palette. */
.author-profile .author-bio .author-content-placeholder{margin:0;min-height:110px;display:flex;align-items:center;background:#F5F6F9;border-color:#BDC9D2}
.author-profile .author-photo-fan{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding:22px 12px 28px;align-items:center}
.author-profile .author-photo-card{min-width:0;max-width:none;margin:0;padding:10px;background:#FAFBFC;border:1px solid #D3DAE3;border-radius:14px;box-shadow:0 10px 24px #172C3B0E;transform:rotate(-5deg)}
.author-profile .author-photo-card:nth-child(2){transform:translateY(-10px);z-index:1}
.author-profile .author-photo-card:nth-child(3){transform:rotate(5deg)}
.author-profile .author-photo-card :is(img,.photo-empty){width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:8px}
.author-profile .photo-empty{background:#EDF0F2;display:grid;place-content:center;gap:10px;text-align:center;color:#526170;font-size:13px;padding:12px}
.photo-empty svg{width:36px;height:36px;margin:auto;stroke:#6C7C8A;fill:none;stroke-width:1.2}
.author-profile .author-photo-card figcaption{min-height:32px;font-size:12px;line-height:1.35;margin:10px 3px 0;color:#526170}
.author-photo-open{display:block;width:100%;border:0;background:none;padding:0;cursor:zoom-in}
.certificate-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:16px}
.author-profile .certificate-heading h2{margin:0 0 8px}
.author-profile .certificate-heading p{margin:0;font-size:13px;max-width:580px}
.certificate-controls{display:flex;align-items:center;gap:12px;flex-shrink:0}
.certificate-controls button{display:grid;place-items:center;width:42px;height:42px;border:1px solid #BDC9D2;border-radius:50%;background:#EDF0F2;color:#263544;font-size:20px;cursor:pointer}
.certificate-controls button:disabled{opacity:.35;cursor:default}
#certificatePosition{font:12px/1.3 'Segoe UI',sans-serif;min-width:100px;text-align:center;color:#526170}
.certificate-track{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding:2px;padding:2px 2px 14px;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#BDC9D2 transparent}
.certificate-card{flex:0 0 calc((100% - 32px)/3);min-width:0;scroll-snap-align:start;background:#FAFBFC;border:1px solid #D3DAE3;border-radius:12px;padding:14px}
.certificate-paper{width:100%;aspect-ratio:1/1.414;border:1px dashed #BDC9D2;background:#fff;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:16px;padding:20px;color:#6C7C8A;text-align:center;font:13px/1.4 'Segoe UI',sans-serif}
.certificate-paper svg{width:44px;height:44px;stroke:#8996A3;stroke-width:1.2;fill:none}
.certificate-paper small{font-size:11px;color:#73818F}
.certificate-open{width:100%;padding:0;border:0;background:none;cursor:zoom-in}
.certificate-open img{display:block;width:100%;height:auto;aspect-ratio:1/1.414;object-fit:contain;background:white}
.certificate-caption{margin:10px 0 0;font-size:12px;color:#526170;line-height:1.4}
.author-image-dialog{width:min(1000px,calc(100vw - 28px));max-height:92svh;padding:48px 18px 18px;background:#FAFBFC}
.author-image-dialog::backdrop{background:#172C3BCC}
.author-image-dialog figure{margin:0}
.author-image-dialog img{display:block;max-width:100%;width:auto;height:auto;max-height:calc(92svh - 110px);object-fit:contain;margin:auto}
.author-image-dialog figcaption{text-align:center;font:13px/1.4 'Segoe UI',sans-serif;margin-top:12px}
#closeAuthorImage{position:absolute;right:12px;top:10px;border:0;background:#EDF0F2;color:#263544;width:32px;height:32px;border-radius:50%;font-size:24px;cursor:pointer}
.author-profile :is(button,.certificate-track):focus-visible{outline:2px solid #526170;outline-offset:3px}
@media(max-width:800px){.certificate-card{flex-basis:calc((100% - 16px)/2)}.author-profile .author-photo-fan{gap:12px;padding-inline:8px}.author-profile .author-photo-card{padding:7px}.author-profile .photo-empty{font-size:12px}}
@media(max-width:540px){.author-profile .author-photo-fan{grid-template-columns:minmax(0,1fr);max-width:370px;margin-inline:auto;gap:22px;padding:18px 14px}.author-profile .author-photo-card:nth-child(2){transform:none}.author-profile .author-photo-card{transform:rotate(-3deg)}.author-profile .author-photo-card:nth-child(3){transform:rotate(3deg)}.certificate-card{flex-basis:100%}.certificate-controls{width:100%;justify-content:space-between}.certificate-paper{max-height:380px}.author-profile .author-bio .author-content-placeholder{padding:16px}}
@media(prefers-reduced-motion:reduce){.certificate-track{scroll-behavior:auto}}

body.object-home main.author-profile>section{min-height:0;scroll-margin-top:100px}
.author-profile .author-photo-card img{object-fit:contain;background:#EDF0F2}

body.inner-compact .author-profile .author-bio-copy{max-width:900px}
body.inner-compact .author-profile .author-bio-copy p{line-height:1.6;margin:0 0 18px}
body.inner-compact .author-profile .author-bio-copy h2{margin:28px 0 16px;max-width:780px}
body.inner-compact .author-profile .author-bio-copy p:last-child{margin-bottom:0}
.author-profile .certificate-heading{flex-direction:column;align-items:center;text-align:center}
.author-profile .certificate-heading>div:first-child{width:100%}
.author-profile .certificate-heading p{max-width:760px;margin-inline:auto}
.author-profile .certificate-heading .certificate-controls{width:auto;justify-content:center}
