/* Author page: profile card on the left, bio and articles on the right. */
.ap-sidebar { padding-block: 2.5rem 4rem; }
.ap-sidebar-grid { display: grid; gap: 2rem; margin-top: 1.75rem; }
.ap-profile { position: relative; overflow: hidden; align-self: start; padding: 0 1.5rem 1.75rem; border: 1px solid var(--color-line, #e2e8f0); border-radius: 1.5rem; background: #fff; text-align: center; box-shadow: 0 20px 44px -28px rgb(15 23 42 / .4); }
.ap-profile-top { height: 6.5rem; margin-inline: -1.5rem; background: linear-gradient(135deg, var(--brand-secondary), var(--brand-primary)); }
.ap-profile .ap-avatar { margin: -4.5rem auto 0; box-shadow: 0 0 0 5px #fff, 0 14px 30px -12px rgb(15 23 42 / .5); }
.ap-kicker { margin-top: 1rem; color: var(--brand-primary-ink, var(--brand-primary)); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ap-profile h1 { margin-top: .25rem; color: var(--brand-secondary); font-size: 1.75rem; font-weight: 700; line-height: 1.2; }
.ap-role { margin-top: .25rem; color: color-mix(in srgb, var(--brand-text) 70%, white); }
.ap-stat { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--color-line, #e2e8f0); color: color-mix(in srgb, var(--brand-text) 75%, white); }
.ap-stat strong { display: block; color: var(--brand-primary-ink, var(--brand-primary)); font-size: 2.25rem; font-weight: 700; line-height: 1.1; }
.ap-profile .ap-social { justify-content: center; margin-top: 1.25rem; }
.ap-bio { padding: 1.75rem; border-radius: 1.5rem; background: color-mix(in srgb, var(--brand-primary) 6%, white); }
.ap-bio h2 { color: var(--brand-secondary); font-size: 1.5rem; font-weight: 700; }
.ap-lead { margin-top: .75rem; color: var(--brand-secondary); font-size: 1.1875rem; font-weight: 500; line-height: 1.6; }
.ap-rest { margin-top: 1rem; color: color-mix(in srgb, var(--brand-text) 85%, white); line-height: 1.8; }
.ap-posts { margin-top: 3rem; }
@media (min-width: 1024px) {
    .ap-sidebar-grid { grid-template-columns: 20rem minmax(0, 1fr); gap: 3rem; }
    .ap-profile { position: sticky; top: 7rem; }
    .ap-bio { padding: 2.25rem; }
}
