/*
 * Staff profile page (/people/{slug}). Static CSS, no npm build needed; allowed by the CSP
 * (style-src 'self'). Cards for "colleagues" and "most viewed" use staff-directory.css.
 */
.sp-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; font-size: .82rem; color: #64748b; }
.sp-crumbs a { color: inherit; text-decoration: none; }
.sp-crumbs a:hover { color: var(--color-brand-ocean, #0B6399); text-decoration: underline; }
.sp-crumbs [aria-current] { color: #334155; }

/* hero */
.sp-hero { margin-top: 1rem; background: #fff; border: 1px solid #e2e8f0; border-radius: 1.1rem; overflow: hidden; box-shadow: 0 2px 6px rgba(15, 30, 51, .06); }
.sp-banner {
  height: 6.5rem;
  background:
    radial-gradient(circle at 88% 20%, rgba(195, 0, 128, .55), transparent 45%),
    radial-gradient(circle at 12% 110%, rgba(94, 225, 255, .35), transparent 50%),
    linear-gradient(120deg, var(--color-brand-navy, #001832), var(--color-brand-deep, #003861) 55%, var(--color-brand-ocean, #0B6399));
}
.sp-hero-body { display: grid; gap: .9rem 1.5rem; padding: 0 1.5rem 1.4rem; grid-template-columns: 1fr; justify-items: center; text-align: center; }
.sp-photo {
  width: 9rem; height: 9rem; margin-top: -4.5rem; border-radius: 50%; padding: 4px; flex: none;
  background: linear-gradient(135deg, var(--color-brand-ocean, #0B6399), var(--color-brand-magenta, #C30080));
  box-shadow: 0 8px 20px -8px rgba(0, 24, 50, .55);
}
.sp-photo > img, .sp-photo > span {
  display: block; box-sizing: border-box; width: 100%; height: 100%; border-radius: 50%; border: 4px solid #fff;
  object-fit: cover; object-position: 50% 18%;
}
.sp-photo > span { display: grid; place-items: center; font-size: 2.6rem; font-weight: 700; color: #fff; background: linear-gradient(160deg, #0a2a52, var(--color-brand-ocean, #0B6399)); }
.sp-id h1 { margin: 0; font-size: 1.6rem; font-weight: 800; line-height: 1.2; color: var(--color-brand-navy, #001832); }
.sp-position { margin: .3rem 0 0; font-size: 1.02rem; color: #334155; }
.sp-units { margin: .6rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; }
.sp-chip { display: inline-block; padding: .18rem .65rem; border-radius: 999px; font-size: .72rem; font-weight: 600; background: #eef2f7; color: #334155; }
.sp-chip--unit { background: rgba(11, 99, 153, .1); color: var(--color-brand-ocean, #0B6399); }
.sp-chip--head { background: var(--color-brand-magenta, #C30080); color: #fff; }
.sp-actions { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.sp-btn {
  display: inline-block; padding: .45rem .95rem; border-radius: .6rem; font-size: .8rem; font-weight: 700; text-decoration: none;
  color: var(--color-brand-deep, #003861); border: 2px solid rgba(0, 56, 97, .2); background: #fff; transition: background .15s, border-color .15s, color .15s;
}
.sp-btn:hover, .sp-btn:focus-visible { border-color: var(--color-brand-ocean, #0B6399); background: rgba(11, 99, 153, .06); }
.sp-btn--primary { color: #fff; background: var(--color-brand-deep, #003861); border-color: var(--color-brand-deep, #003861); }
.sp-btn--primary:hover, .sp-btn--primary:focus-visible { background: var(--color-brand-ocean, #0B6399); border-color: var(--color-brand-ocean, #0B6399); }
.sp-btn:focus-visible, .sp-crumbs a:focus-visible, .sp-block-head a:focus-visible, .sp-linklist a:focus-visible { outline: 3px solid var(--color-brand-cyan, #5EE1FF); outline-offset: 2px; }

@media (min-width: 768px) {
  .sp-hero-body { grid-template-columns: auto 1fr; justify-items: start; text-align: left; align-items: end; }
  .sp-id { padding-bottom: .2rem; }
  .sp-units { justify-content: flex-start; }
  .sp-actions { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (min-width: 1100px) {
  .sp-hero-body { grid-template-columns: auto 1fr auto; }
  .sp-actions { grid-column: auto; justify-content: flex-end; max-width: 22rem; }
}

/* body */
.sp-layout { display: grid; gap: 1rem; margin-top: 1rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .sp-layout { grid-template-columns: minmax(0, 1fr) 19rem; align-items: start; } .sp-side { position: sticky; top: 1rem; } }
.sp-main, .sp-side { display: grid; gap: 1rem; }
.sp-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 1rem; padding: 1.2rem 1.4rem; box-shadow: 0 1px 2px rgba(15, 30, 51, .05); }
.sp-card > h2 { margin: 0 0 .7rem; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--color-brand-ocean, #0B6399); display: flex; align-items: center; gap: .5rem; }
.sp-card > h2::before { content: ""; width: .9rem; height: .22rem; border-radius: 2px; background: var(--color-brand-magenta, #C30080); }
.sp-card h3 { margin: 1rem 0 .4rem; font-size: .8rem; font-weight: 700; color: #475569; }
.sp-card h3:first-of-type { margin-top: .2rem; }
.sp-prose { margin: 0; font-size: .95rem; line-height: 1.7; color: #334155; white-space: pre-line; }
.sp-muted { color: #64748b; }
.sp-sub { display: block; font-size: .82rem; color: #64748b; }

.sp-timeline, .sp-ticks, .sp-chips, .sp-linklist { list-style: none; margin: 0; padding: 0; }
.sp-timeline li { position: relative; padding: 0 0 .85rem 1.2rem; border-left: 2px solid #dbe7f1; margin-left: .3rem; font-size: .92rem; color: #1e293b; }
.sp-timeline li:last-child { padding-bottom: 0; }
.sp-timeline li::before { content: ""; position: absolute; left: -.4rem; top: .3rem; width: .7rem; height: .7rem; border-radius: 50%; background: #fff; border: 2px solid var(--color-brand-ocean, #0B6399); }
.sp-ticks li { position: relative; padding: .3rem 0 .3rem 1.4rem; font-size: .92rem; line-height: 1.5; color: #334155; }
.sp-ticks li::before { content: ""; position: absolute; left: .15rem; top: .72rem; width: .5rem; height: .5rem; border-radius: 50%; background: var(--color-brand-ocean, #0B6399); }
.sp-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.sp-chips li { padding: .3rem .75rem; border-radius: 999px; font-size: .8rem; font-weight: 600; background: rgba(11, 99, 153, .09); color: var(--color-brand-deep, #003861); }
.sp-chips--alt li { background: rgba(195, 0, 128, .08); color: #8a005c; }

.sp-facts { margin: 0; display: grid; gap: .7rem; }
.sp-facts dt { font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #94a3b8; }
.sp-facts dd { margin: .1rem 0 0; font-size: .88rem; color: #1e293b; overflow-wrap: anywhere; }
.sp-facts a, .sp-linklist a { color: var(--color-brand-ocean, #0B6399); text-decoration: none; }
.sp-facts a:hover, .sp-linklist a:hover { text-decoration: underline; }
.sp-linklist li { padding: .3rem 0; font-size: .9rem; font-weight: 600; }
.sp-note { margin: .6rem 0 0; font-size: .7rem; line-height: 1.5; color: #94a3b8; }

/* lower blocks */
.sp-block { margin-top: 2rem; }
.sp-block-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; margin-bottom: .2rem; }
.sp-block-head h2 { margin: 0; font-size: 1.15rem; font-weight: 800; color: var(--color-brand-navy, #001832); }
.sp-block-head a { font-size: .85rem; font-weight: 600; color: var(--color-brand-ocean, #0B6399); text-decoration: none; }
.sp-block-head a:hover { text-decoration: underline; }
.sp-pubs { display: grid; gap: 1rem; margin-top: .9rem; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }
.sp-block .sd-grid { margin-top: .9rem; }
.sp-back { margin: 2rem 0 0; font-size: .9rem; }
.sp-back a { color: var(--color-brand-ocean, #0B6399); }
