
/* Author, book and media presentation */
.academic-hero .hero-inner{display:grid;grid-template-columns:minmax(0,1fr);gap:0;align-items:center}.academic-hero .hero-inner>div{max-width:850px}
.academic-hero h1{font-size:calc(clamp(36px,4.8vw,66px) * var(--text-scale,1));line-height:1.45;margin:18px 0}
.academic-hero .hero-intro{max-width:650px;font-size:calc(19px * var(--text-scale,1));line-height:1.9}
.hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin-block:28px}
.hero-outline{background:transparent!important;color:inherit!important;border:1px solid #c6a15b}
.hero-text-link{flex-basis:100%;text-underline-offset:5px}.profile-orcid{font-size:calc(14px * var(--text-scale,1));overflow-wrap:anywhere}
.profile-figure{margin:0;max-width:380px;justify-self:center}.profile-figure img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;border-radius:10px;border:1px solid #c6a15b}.profile-figure figcaption{font-size:calc(14px * var(--text-scale,1));text-align:center;margin-top:12px}
.book-teaser{display:grid;grid-template-columns:minmax(150px,240px) minmax(0,1fr);gap:48px;align-items:center;position:relative}
.book-teaser>img{width:100%;height:auto;max-width:240px;justify-self:center;box-shadow:0 12px 28px #0d352b20}.anchor-target{position:absolute;top:0}
.media-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.media-card{min-width:0;padding:28px;border:1px solid #d8d9ce;border-top:3px solid var(--gold);border-radius:8px;background:#fffdf8}
.media-card video{display:block;width:100%;height:420px;object-fit:contain;background:#102e25;border-radius:6px}.media-card h3{font-size:calc(24px * var(--text-scale,1))}.video-note{font-size:calc(14px * var(--text-scale,1));opacity:.8}
.book-details-page{overflow-wrap:break-word}.book-details-page>section{scroll-margin-top:30px}.submitted-grid{gap:24px}.submitted-grid h3{font-size:calc(21px * var(--text-scale,1));line-height:1.6;overflow-wrap:anywhere}
html[data-theme="dark"] .media-card{background:#183c30;color:#f8f5ec;border-color:#63715d}
@media(max-width:760px){.academic-hero .hero-inner{grid-template-columns:1fr;gap:28px}.profile-figure{max-width:260px}.academic-hero h1{font-size:calc(38px * var(--text-scale,1))}.book-teaser{grid-template-columns:1fr;gap:28px}.book-teaser>img{max-width:180px}.media-grid{grid-template-columns:1fr}.media-card{padding:20px}.media-card video{height:380px}.hero-actions{gap:14px}.hero-actions .button{width:100%;text-align:center}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.academic-hero .hero-inner{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:44px}.community-figure{margin:0;min-width:0;width:100%;max-width:600px;justify-self:center}.community-figure img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:12px;border:1px solid #c6a15b66;box-shadow:0 18px 44px #0003}.community-figure figcaption{font-size:calc(12px * var(--text-scale,1));color:#d2d9cf;text-align:center;margin-top:10px}@media(max-width:900px){.academic-hero .hero-inner{grid-template-columns:1fr;gap:30px}.community-figure{max-width:600px}}

/* Academic links need contrast on the light author panel, independently of hero links. */
.author-section .profile-orcid a,.author-section .profile-orcid a:visited{color:#14594a;text-decoration:underline;text-underline-offset:4px}
.author-section .profile-orcid a:hover{color:#0d352b}
html[data-theme="dark"] .author-section .profile-orcid a,html[data-theme="dark"] .author-section .profile-orcid a:visited{color:#a8e3cc}
html[data-theme="dark"] .author-section .profile-orcid a:hover{color:#d1f5e7}
