/* Public member profile, scoped independently of theme header/footer and dashboard. */
.phd-member-profile.phd-profile-view{--phd-profile-ink:#17352f;--phd-profile-green:var(--phd-community-green,#005649);--phd-profile-border:#e0e8e7;max-width:1440px;width:100%;margin:24px auto 48px;padding:0 20px 28px;color:var(--phd-profile-ink);background:linear-gradient(#fff,#f7faf9);font-family:inherit;box-sizing:border-box}
.phd-profile-view *{box-sizing:border-box}
.phd-profile-view .phd-profile-hero{height:260px;overflow:hidden;border-radius:18px 18px 0 0;background:linear-gradient(120deg,#054e45 0%,#3e8b77 55%,#e2ede6 100%)}
.phd-profile-view .phd-profile-hero-image{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.phd-profile-view .phd-profile-summary{position:relative;display:flex;align-items:center;gap:24px;min-height:150px;margin:-40px 20px 0;padding:22px 28px 24px 220px;background:#fff;border:1px solid var(--phd-profile-border);border-radius:12px;box-shadow:0 5px 20px rgb(14 55 44 / 6%);z-index:1}
.phd-profile-view .phd-profile-avatar{position:absolute;left:28px;bottom:20px;width:164px;height:164px}
.phd-profile-view .phd-profile-avatar img{width:164px;height:164px;max-width:none;object-fit:cover;border-radius:50%;border:5px solid white;box-shadow:0 3px 12px rgb(22 56 44 / 10%)}
.phd-profile-view .phd-profile-heading{flex:1;min-width:0}
.phd-profile-view h1{font:700 clamp(25px,2.7vw,34px)/1.2 Georgia,serif;color:var(--phd-profile-green);margin:0 0 10px;overflow-wrap:anywhere}
.phd-profile-view .phd-profile-meta{display:flex;gap:12px 20px;flex-wrap:wrap;color:#68747d;font-size:13px;line-height:1.5}
.phd-profile-view .phd-profile-meta>span{display:flex;gap:7px;align-items:center}
.phd-profile-view .phd-profile-bio{font-size:14px;line-height:1.65;margin:10px 0 0;color:#41505d;white-space:pre-line}
.phd-profile-icon{display:inline-block;flex-shrink:0;width:19px;height:19px;vertical-align:middle}
.phd-profile-view .phd-profile-buttons{display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:flex-end}
.phd-profile-view .phd-profile-buttons form{margin:0}
.phd-profile-view .phd-profile-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;min-width:116px;padding:10px 18px;border:1px solid var(--phd-profile-green);border-radius:8px;background:white;color:var(--phd-profile-green);font:inherit;font-size:14px;font-weight:600;line-height:1.4;text-decoration:none;cursor:pointer;white-space:nowrap}
.phd-profile-view .phd-profile-button--primary{background:var(--phd-profile-green);color:white}
.phd-profile-view .phd-profile-button:hover{background:#e8f4ee;color:var(--phd-profile-green)}
.phd-profile-view .phd-profile-button[aria-pressed=true]{background:#e8f4ee}
.phd-profile-view .phd-profile-tabs{display:flex;justify-content:center;gap:8px;margin:12px 20px 20px;padding:0;border-bottom:1px solid var(--phd-profile-border);overflow-x:auto;white-space:nowrap}
.phd-profile-view .phd-profile-tabs a{display:block;padding:15px 22px 13px;font:600 16px/1.4 Georgia,serif;text-decoration:none;color:#334354;border-bottom:3px solid transparent}
.phd-profile-view .phd-profile-tabs a.is-active{border-color:var(--phd-profile-green);color:var(--phd-profile-green)}
.phd-profile-view .phd-profile-layout{display:grid;grid-template-columns:minmax(200px,.85fr) minmax(0,1.55fr) minmax(230px,1fr);gap:18px;padding:0 20px;align-items:start}
.phd-profile-view .phd-profile-left,.phd-profile-view .phd-profile-right,.phd-profile-view .phd-profile-main{min-width:0}
.phd-profile-view .phd-profile-card{margin:0 0 18px;border:1px solid var(--phd-profile-border);border-radius:10px;background:#fff;overflow:hidden}
.phd-profile-view .phd-profile-card>h2{margin:0;padding:16px 20px;background:linear-gradient(100deg,#f0f7f4,#f9fbfa);font:700 23px/1.3 Georgia,serif;color:var(--phd-profile-green)}
.phd-profile-view .phd-profile-card-body{padding:18px 20px}
.phd-profile-view .phd-profile-card-body h3{font-size:14px;line-height:1.4;margin:16px 0 8px;color:#253c43}
.phd-profile-view .phd-profile-card-body h3:first-child{margin-top:0}
.phd-profile-view .phd-profile-card-body p{font-size:14px;line-height:1.6;margin:0 0 10px;overflow-wrap:anywhere}
.phd-profile-view .phd-profile-card-body p:last-child{margin-bottom:0}
.phd-profile-view .phd-profile-location{display:flex;align-items:flex-start;gap:8px}
.phd-profile-view .phd-profile-tags{display:flex;flex-wrap:wrap;gap:7px}
.phd-profile-view .phd-profile-tags span{padding:6px 11px;background:#eaf4ef;border-radius:20px;font-size:12px;line-height:1.4;color:#195749;overflow-wrap:anywhere}
.phd-profile-view .phd-profile-section-label{font-size:18px;color:#23443a;margin:0 0 12px}
.phd-profile-view .phd-profile-main>.phd-community{margin:0;padding:0;max-width:none}
.phd-profile-view .phd-profile-main .phd-community-post{padding:18px;border-radius:10px;box-shadow:none}
.phd-profile-view .phd-profile-main .phd-feed-grid{gap:16px}
.phd-profile-view .phd-profile-detail>.phd-public{margin:0;padding:20px;background:white;border:1px solid var(--phd-profile-border);border-radius:10px}
.phd-profile-view .phd-profile-detail h2{font:700 22px/1.3 Georgia,serif;color:var(--phd-profile-green)}
.phd-profile-view .phd-profile-mini-listing{display:grid;grid-template-columns:100px minmax(0,1fr);gap:12px;padding:0 0 14px;margin:0 0 14px;border-bottom:1px solid var(--phd-profile-border)}
.phd-profile-view .phd-profile-mini-listing:last-child{border:0;padding:0;margin:0}
.phd-profile-view .phd-profile-listing-photo{display:flex;align-items:center;justify-content:center;aspect-ratio:1 / 1;overflow:hidden;border-radius:8px;background:#eaf2ee;color:var(--phd-profile-green)}
.phd-profile-view .phd-profile-listing-photo img{display:block;width:100%;height:100%;object-fit:cover}
.phd-profile-view .phd-profile-mini-listing h3{font:700 16px/1.35 Georgia,serif;margin:0 0 6px}
.phd-profile-view .phd-profile-mini-listing h3 a{color:#243e3a;text-decoration:none}
.phd-profile-view .phd-profile-mini-listing p{font-size:12px;line-height:1.5}
.phd-profile-view .phd-profile-view-listing{font-size:13px;font-weight:600;color:var(--phd-profile-green);text-decoration:none}
.phd-profile-view .phd-profile-listing-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.phd-profile-view a:focus-visible,.phd-profile-view button:focus-visible{outline:3px solid #c45d42;outline-offset:3px}
@media(max-width:1199px){.phd-member-profile.phd-profile-view{padding:0 12px 20px}.phd-profile-view .phd-profile-layout{grid-template-columns:220px minmax(0,1fr)}.phd-profile-view .phd-profile-right{grid-column:1 / -1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.phd-profile-view .phd-profile-summary{flex-wrap:wrap;padding-left:190px}.phd-profile-view .phd-profile-avatar,.phd-profile-view .phd-profile-avatar img{width:140px;height:140px}.phd-profile-view .phd-profile-buttons{justify-content:flex-start}.phd-profile-view .phd-profile-hero{height:230px}}
@media(max-width:767px){.phd-member-profile.phd-profile-view{margin:12px auto 24px;padding:0 8px 16px}.phd-profile-view .phd-profile-hero{height:170px;border-radius:12px 12px 0 0}.phd-profile-view .phd-profile-summary{display:block;margin:-22px 8px 0;padding:70px 18px 20px;text-align:center}.phd-profile-view .phd-profile-avatar{width:104px;height:104px;left:50%;top:-44px;bottom:auto;transform:translateX(-50%)}.phd-profile-view .phd-profile-avatar img{width:104px;height:104px}.phd-profile-view .phd-profile-meta{justify-content:center;gap:6px 12px;font-size:12px}.phd-profile-view .phd-profile-buttons{justify-content:center;margin-top:16px}.phd-profile-view .phd-profile-tabs{justify-content:flex-start;margin:10px 8px 16px;gap:0}.phd-profile-view .phd-profile-tabs a{font-size:14px;padding:12px 14px}.phd-profile-view .phd-profile-layout{grid-template-columns:minmax(0,1fr);padding:0 8px;gap:0}.phd-profile-view .phd-profile-main{grid-row:1}.phd-profile-view .phd-profile-left{grid-row:2;margin-top:18px}.phd-profile-view .phd-profile-right{display:block;grid-column:auto}.phd-profile-view .phd-profile-card>h2{font-size:21px}.phd-profile-view .phd-profile-listing-grid{grid-template-columns:minmax(0,1fr)}.phd-profile-view .phd-profile-main .phd-community-post{padding:14px}.phd-profile-view .phd-profile-mini-listing{grid-template-columns:96px minmax(0,1fr)}}

.phd-profile-view .phd-profile-listing--list,.phd-profile-view .phd-profile-listing--compact{grid-template-columns:minmax(0,1fr)}
.phd-profile-view .phd-profile-bio{overflow-wrap:anywhere}
.phd-profile-view .phd-profile-meta>span{min-width:0;max-width:100%;overflow-wrap:anywhere}
