/* Author page: a centred profile on the header photo, with the bio in a card across it. */
.ap-hero-inner { padding-block: 2.5rem 6.5rem; }
.ap-hero-center { display: flex; flex-direction: column; align-items: center; margin-top: 1.25rem; text-align: center; }
.ap-hero-center .ap-avatar { box-shadow: 0 0 0 4px rgb(255 255 255 / .92), 0 18px 40px -12px rgb(0 0 0 / .6); }
.ap-hero-center h1 { margin-top: 1rem; font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: #fff; }
.ap-role { margin-top: .375rem; color: rgb(255 255 255 / .88); font-size: 1.125rem; }
.ap-card { position: relative; z-index: 1; display: grid; gap: 1.5rem; margin-top: -4rem; padding: 1.5rem; border: 1px solid rgb(15 23 42 / .08); border-radius: 1.25rem; background: #fff; box-shadow: 0 24px 50px -28px rgb(15 23 42 / .45); }
.ap-card-stat { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.25rem; border-radius: 1rem; background: var(--brand-secondary); color: #fff; text-align: center; }
.ap-card-stat strong { font-size: 3rem; font-weight: 800; line-height: 1; }
.ap-card-stat span { margin-top: .25rem; color: rgb(255 255 255 / .85); }
.ap-card-stat .ap-social { justify-content: center; margin-top: .875rem; }
.ap-card-bio h2 { color: var(--brand-secondary); font-size: 1.5rem; font-weight: 800; }
.ap-lead { margin-top: .75rem; color: var(--brand-secondary); font-size: 1.1875rem; font-weight: 600; line-height: 1.55; }
.ap-rest { margin-top: 1rem; line-height: 1.8; opacity: .88; }
@media (min-width: 1024px) {
    .ap-card { grid-template-columns: 13rem minmax(0, 1fr); gap: 2.5rem; padding: 2.25rem; }
    .ap-card-stat { align-self: start; padding: 2rem 1.25rem; }
}
