/* Shared styles for /about/team/* specialist profile pages */
:root{
  --navy:#0B2340;--green:#2E9B6E;--green-deep:#1d6e4d;--green-soft:#E8F5EE;
  --cream:#FAFAF7;--paper:#FFFFFF;--ink:#0F1620;--ink-soft:#3D4654;--muted:#6B7280;--line:#E5E7EB;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Poppins',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:17px;line-height:1.65;color:var(--ink);background:var(--cream)}
a{color:var(--green-deep);text-decoration:underline;text-underline-offset:2px}
a:hover{color:var(--navy)}
img{max-width:100%;height:auto;display:block}
.container{max-width:820px;margin:0 auto;padding:0 20px}
header.brand{background:var(--navy);color:#fff;padding:14px 0}
header.brand .container{display:flex;align-items:center;justify-content:space-between;gap:16px}
header.brand a{color:#fff;text-decoration:none}
header.brand .logo{font-weight:700;font-size:1.1rem}
header.brand nav{display:flex;gap:18px;font-size:.9rem}
header.brand nav a{opacity:.85}
header.brand nav a:hover{opacity:1}
.crumbs{padding:20px 0 0;font-size:.85rem;color:var(--muted)}
.crumbs a{color:var(--muted)}
main.profile{padding:32px 0 48px}
.hero-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:32px;margin-bottom:24px;display:flex;gap:24px;align-items:flex-start;flex-wrap:wrap}
.avatar{width:96px;height:96px;border-radius:50%;background:linear-gradient(135deg,var(--navy),#1A3960);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:2.2rem;flex-shrink:0}
.hero-body{flex:1;min-width:240px}
h1{font-size:1.9rem;color:var(--navy);line-height:1.2;margin-bottom:6px}
.title-line{font-size:1rem;color:var(--ink-soft);margin-bottom:6px}
.location{font-size:.9rem;color:var(--muted);margin-bottom:14px}
.years-badge{display:inline-block;background:var(--green-soft);color:var(--green-deep);padding:5px 12px;border-radius:99px;font-size:.85rem;font-weight:600}
section.card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:26px;margin-bottom:20px}
section.card h2{font-size:1.15rem;color:var(--navy);margin-bottom:12px}
section.card p{margin-bottom:14px;color:var(--ink-soft)}
section.card p:last-child{margin-bottom:0}
.expertise-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-top:14px}
.expertise-item{background:var(--cream);padding:12px 16px;border-radius:10px;font-size:.9rem;color:var(--ink-soft);border-left:3px solid var(--green)}
.cta-band{background:linear-gradient(135deg,var(--navy),#1A3960);color:#fff;border-radius:14px;padding:26px;margin:24px 0;text-align:center}
.cta-band h2{color:#fff;margin-bottom:8px;font-size:1.25rem}
.cta-band p{color:rgba(255,255,255,.85);margin-bottom:16px;font-size:.95rem}
.cta-btn{display:inline-block;background:var(--green-deep);color:#fff!important;padding:12px 28px;border-radius:99px;font-weight:700;text-decoration:none;transition:background .15s}
.cta-btn:hover{background:#155a3d;color:#fff!important}
.other-team{margin-top:32px}
.other-team h3{font-size:.85rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin-bottom:14px;font-weight:600}
.other-team ul{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px}
.other-team li a{display:block;background:#fff;border:1px solid var(--line);border-radius:10px;padding:12px 14px;text-decoration:none;color:var(--navy);font-weight:600;font-size:.9rem;transition:border-color .15s}
.other-team li a:hover{border-color:var(--green-deep);color:var(--green-deep)}
.other-team li .role{display:block;font-weight:400;color:var(--muted);font-size:.8rem;margin-top:2px}
footer.site{background:var(--navy);color:rgba(255,255,255,.75);padding:28px 0;margin-top:40px;font-size:.85rem}
footer.site .container{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;align-items:center}
footer.site a{color:rgba(255,255,255,.9)}
@media (max-width:640px){
  .hero-card{padding:24px;flex-direction:column;align-items:center;text-align:center}
  .hero-body{text-align:left}
  h1{font-size:1.55rem}
}

/* ========== Professional profile page styles ========== */
header.brand .logo-image{width:150px;height:auto;filter:brightness(0) invert(1);display:block}

.hero-card{
  display:flex;gap:32px;align-items:center;padding:36px 40px;
  background:linear-gradient(135deg,#fff 0%,#F7FAFC 100%);
  border-radius:16px;box-shadow:0 4px 20px rgba(11,35,64,.08);
  border:1px solid rgba(11,35,64,.06);margin-bottom:24px;
}
.hero-card .avatar-photo{
  width:180px;height:180px;border-radius:50%;object-fit:cover;object-position:center top;
  border:5px solid #fff;box-shadow:0 6px 18px rgba(11,35,64,.18);flex-shrink:0;
}
.hero-card .avatar-fallback{
  width:180px;height:180px;border-radius:50%;
  background:linear-gradient(135deg,#0B2340,#1A3960);color:#fff;
  display:flex;align-items:center;justify-content:center;font-size:3rem;
  font-weight:700;flex-shrink:0;letter-spacing:.02em;
  border:5px solid #fff;box-shadow:0 6px 18px rgba(11,35,64,.18);
}
.hero-body{flex:1;min-width:0}
.hero-body h1{margin:0 0 8px;font-size:2.1rem;line-height:1.15;color:#0B2340}
.title-line{color:#1d6e4d;font-weight:600;font-size:1.05rem;margin-bottom:4px;line-height:1.35}
.location{color:#3D4654;font-size:.95rem;margin-bottom:14px}
.years-badge{
  display:inline-block;background:#e6f4ee;color:#155a3d;padding:6px 14px;
  border-radius:99px;font-size:.85rem;font-weight:600;letter-spacing:.01em;
}
.credential-strip{
  display:grid;grid-template-columns:repeat(3,1fr);
  gap:24px;padding:20px 0 0;border-top:1px solid rgba(11,35,64,.08);
  margin-top:22px;
}
.cred{display:flex;flex-direction:column;gap:4px;min-width:0}
.cred-num{font-size:1.55rem;font-weight:700;color:#0B2340;line-height:1;letter-spacing:-.01em}
.cred-label{font-size:.8rem;color:#3D4654;line-height:1.35}
.two-col{display:grid;grid-template-columns:2fr 1fr;gap:24px;margin-bottom:24px}

.timeline{border-left:3px solid #e6f4ee;padding-left:24px;margin:16px 0}
.timeline-item{margin-bottom:20px;position:relative}
.timeline-item::before{
  content:'';position:absolute;left:-31px;top:6px;width:12px;height:12px;
  border-radius:50%;background:#1d6e4d;border:3px solid #fff;box-shadow:0 0 0 2px #e6f4ee;
}
.timeline-year{color:#1d6e4d;font-weight:700;font-size:.9rem;letter-spacing:.03em;text-transform:uppercase}
.timeline-role{font-weight:600;color:#0B2340;margin:2px 0}
.timeline-desc{color:#3D4654;font-size:.94rem;line-height:1.5}

.publications{padding-left:20px;margin:0}
.publications li{margin-bottom:10px;line-height:1.5}
.publications li strong{color:#0B2340}
.publications li em{color:#3D4654;font-style:normal;font-size:.9rem}

.committee-list{list-style:none;padding:0;margin:0}
.committee-list li{padding:10px 0;border-bottom:1px solid rgba(11,35,64,.06);color:#3D4654}
.committee-list li:last-child{border-bottom:none}
.committee-list li strong{color:#0B2340;display:block;margin-bottom:2px}

.quote-block{
  background:#0B2340;color:#fff;padding:28px 32px;border-radius:14px;
  margin:24px 0;position:relative;
}
.quote-block::before{
  content:'\201C';position:absolute;top:-10px;left:20px;font-size:5rem;
  color:#1d6e4d;font-family:Georgia,serif;line-height:1;
}
.quote-block p{margin:0;font-size:1.1rem;line-height:1.55;font-style:italic}
.quote-block .attrib{margin-top:14px;font-size:.9rem;opacity:.75;font-style:normal}

.lang-list{padding-left:20px;margin:0;line-height:1.9;color:#3D4654;list-style:none}
.lang-list li{padding:2px 0}

@media(max-width:900px){
  .hero-card{flex-direction:column;text-align:center;padding:28px 24px;gap:20px}
  .hero-card .avatar-photo,.hero-card .avatar-fallback{margin:0 auto;width:140px;height:140px;font-size:2.4rem}
  .credential-strip{grid-template-columns:1fr;gap:14px;text-align:left}
  .cred{padding:12px 0;border-bottom:1px solid rgba(11,35,64,.06)}
  .cred:last-child{border-bottom:none}
  .two-col{grid-template-columns:1fr}
}
