/* Author pages read at 980px, wider than the 860px --wa-maxw the rest of the
   site uses, so the fixed "On this page" rail needs a matching offset
   (980/2 + 16) or it overlaps the text — which it did on /about-kautuk-sahni/
   from the day the rail shipped, because the offset was hardcoded to the
   default measure. woodage-pages.css reads this token, and keeps the in-flow
   box below 1400px where a 980px measure leaves no gutter for a rail. */
:root{--wa-toc-rail-gap:506px}
.author-profile{max-width:980px;margin:0 auto 48px;padding:0 20px;color:var(--wa-text,#222)}
.author-profile h1{max-width:760px;margin-bottom:14px}
.author-profile__hero{display:grid;grid-template-columns:140px minmax(0,1fr);gap:28px;align-items:center;margin:20px 0 30px;padding:24px;background:linear-gradient(135deg,#fffdf5 0%,#f7f7f7 100%);border:1px solid #e7e2d4;border-radius:14px}
.author-profile__portrait{margin:0}
.author-profile__portrait img{display:block;width:140px;height:140px;object-fit:cover;border-radius:12px;box-shadow:0 8px 24px rgba(0,0,0,.12)}
.author-profile__portrait figcaption{margin-top:8px;color:var(--wa-muted,#666);font-size:13px}
.author-profile__eyebrow{margin:0 0 6px;color:#77611b;font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.author-profile__lead{font-size:18px;line-height:1.65;margin:0}
.author-profile__facts,.author-profile__responsibilities{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0 26px}
.author-profile__card{padding:18px;border:1px solid #e2e2e2;border-radius:10px;background:#fff;box-shadow:0 5px 18px rgba(0,0,0,.05)}
.author-profile__card h3{margin:0 0 7px;font-size:18px}
.author-profile__card p{margin:0;line-height:1.6}
.author-profile .citation-facts{width:100%;border-collapse:collapse;margin:18px 0 26px}
.author-profile .citation-facts th,.author-profile .citation-facts td{padding:11px 13px;border:1px solid #ddd;text-align:left;vertical-align:top}
.author-profile .citation-facts thead th{background:#f4f4f4}
.author-profile .faq-section details{margin:10px 0;padding:12px 15px;border:1px solid #ddd;border-radius:9px;background:#fff}
.author-profile .faq-section summary{cursor:pointer;font-weight:700}
@media(max-width:680px){.author-profile__hero{grid-template-columns:1fr;padding:18px}.author-profile__portrait img{width:120px;height:120px}.author-profile__facts,.author-profile__responsibilities{grid-template-columns:1fr}.author-profile__lead{font-size:16px}}
