/* Scoped team styles: no global overrides. */
.pg-team { padding-top: 22px; padding-bottom: 44px; font-family: system-ui, -apple-system, 'Segoe UI', Arial, sans-serif; color: #17251f; }
.pg-team *, .pg-team *::before, .pg-team *::after { box-sizing: border-box; }
.pg-team [hidden] { display: none !important; }
.pg-team a:focus-visible, .pg-team input:focus-visible { outline: 3px solid #26764e; outline-offset: 4px; }
.pg-team-crumb { font-size: 13px; margin-bottom: 18px; color: #53645b; }
.pg-team-crumb a, .pg-team-back { color: #246c49; }
.pg-team-hero { background: linear-gradient(120deg,#163b2b,#245b40); color: white; padding: clamp(28px,5vw,66px); border-radius: 16px; position: relative; overflow: hidden; border-bottom: 5px solid #76c88d; }
.pg-team .pg-team-kicker { font-size: 12px; letter-spacing: .13em; font-weight: 700; color: #26764e; }
.pg-team-hero .pg-team-kicker { color: #c4e7cf; }
.pg-team h1,.pg-team h2,.pg-team h3 { font-family: inherit; line-height: 1.2; }
.pg-team-hero h1 { font-size: clamp(36px,5vw,60px); color: white; font-weight: 750; margin: 14px 0 12px; }
.pg-team-hero p { max-width: 680px; font-size: clamp(16px,2vw,20px); line-height: 1.6; color: #e4f1e8; margin: 0; }
.pg-team-toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 30px 0 18px; }
.pg-team-toolbar h2 { color: #163b2b; margin: 0 auto 0 0; font-size: 24px; font-weight: 700; }
.pg-team-toolbar h2 span { font-size: 15px; font-weight: 500; color: #53645b; }
.pg-team-toolbar label { font-size: 13px; margin: 0; }
.pg-team-toolbar input { background: white; border: 1px solid #b9cec0; border-radius: 8px; padding: 10px 12px; font-size: 15px; min-width: 220px; color: #17251f; }
.pg-team-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.pg-team-card { display: flex; flex-direction: column; align-items: flex-start; background: #fff; border: 1px solid #dce6df; border-radius: 14px; padding: 24px; box-shadow: 0 4px 18px rgba(22,59,43,.045); transition: box-shadow .18s, transform .18s; min-width: 0; }
.pg-team-card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(22,59,43,.1); }
.pg-team-portrait { width: 104px; height: 104px; border-radius: 50%; background: #e5f0e8; border: 1px solid #d3e5d8; overflow: hidden; display: flex; align-items: center; justify-content: center; color: #246c49; font-size: 32px; font-weight: 700; flex: none; }
.pg-team-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center; margin: 0; }
.pg-team-card h3 { margin: 18px 0 7px; font-size: 21px; font-weight: 700; }
.pg-team-card h3 a { color: #163b2b; }
.pg-team-role { font-size: 15px; color: #53645b; line-height: 1.5; margin: 0 0 20px; }
.pg-team-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: auto; width: 100%; border-top: 1px solid #e4ece6; padding-top: 14px; font-size: 14px; }
.pg-team-link { color: #163b2b; font-weight: 700; }
.pg-team-contact { color: #246c49; margin-left: auto; }
.pg-team a:hover { text-decoration: underline; }
.pg-team-back { display: inline-block; font-weight: 600; margin: 8px 0 22px; }
.pg-team-profile { display: flex; gap: 36px; background: #fff; padding: clamp(24px,5vw,52px); border: 1px solid #dce6df; border-radius: 16px; box-shadow: 0 5px 22px rgba(22,59,43,.06); }
.pg-team-profile > div { min-width: 0; }
.pg-team-profile .pg-team-portrait { width: 132px; height: 132px; font-size: 40px; }
.pg-team-profile h1 { font-size: clamp(30px,4vw,44px); color: #163b2b; margin: 10px 0; font-weight: 750; }
.pg-team-profile-role { color: #53645b; font-size: 20px; line-height: 1.5; margin: 0 0 10px; }
.pg-team-mail { color: #246c49; font-size: 15px; overflow-wrap: anywhere; }
.pg-team-bio { border-top: 1px solid #dce6df; margin-top: 24px; padding-top: 20px; max-width: 790px; }
.pg-team-bio h2 { color: #163b2b; font-size: 22px; margin: 0 0 16px; font-weight: 700; }
.pg-team-bio p { font-size: 16px; line-height: 1.75; margin: 0 0 16px; white-space: pre-line; }
#pg-team-empty { padding: 24px 0; font-size: 16px; }
@media(max-width: 991px) { .pg-team-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width: 580px) { .pg-team-grid { grid-template-columns: 1fr; gap: 12px; } .pg-team-toolbar input { width: 100%; } .pg-team-profile { flex-direction: column; gap: 20px; } }
@media(prefers-reduced-motion:reduce) { .pg-team-card { transition: none; } .pg-team-card:hover { transform: none; } }
