/* Scoped desktop feed, accessible action bar, and public member identities. */
.phd-community .phd-community-post{width:100%;min-width:0;text-align:left;box-shadow:0 3px 16px rgb(20 62 47 / 3%)}
.phd-community .phd-community-post>header{display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:12px;row-gap:2px;margin:0 0 14px;padding:0;background:transparent;position:static}
.phd-community .phd-community-post>header>.phd-community-person{display:contents}
.phd-community .phd-community-post>header>.phd-community-person>img{grid-column:1;grid-row:1 / 3;width:44px;height:44px;object-fit:cover;align-self:center}
.phd-community .phd-community-post>header>.phd-community-person>span{grid-column:2;grid-row:1;align-self:end;font-size:15px;font-weight:600;line-height:1.4;color:inherit}
.phd-community .phd-community-post>header>div{grid-column:2;grid-row:2;font-size:12px;line-height:1.5}
.phd-community .phd-community-post .phd-post-body{font-size:inherit;line-height:1.7;margin:0 0 14px}
.phd-community .phd-community-post .phd-c-image{display:block;width:100%;max-width:100%;height:auto;max-height:520px;object-fit:contain;background:#f4f7f5;border-radius:12px;margin:12px 0 16px}
.phd-community .phd-community-post>.phd-post-stats{position:static;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0 0;padding:12px 0;border-top:1px solid #e1ebe5;background:transparent;color:#596f64;font-size:12px;line-height:1.5}
.phd-community .phd-post-stats a{text-decoration:none;color:#596f64}
.phd-community .phd-post-stats a:hover{text-decoration:underline;color:var(--phd-community-green)}
.phd-community .phd-social-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;border-top:1px solid #e1ebe5;border-bottom:1px solid #e1ebe5;padding:6px 0;margin:0 0 12px}
.phd-community .phd-social-actions form{display:block;width:100%;margin:0;padding:0;min-width:0}
.phd-community .phd-social-actions .phd-social-action{display:flex;justify-content:center;align-items:center;gap:7px;width:100%;min-height:44px;margin:0;padding:9px 6px;border:0;border-radius:8px;background:transparent;color:#425e50;text-decoration:none;font-size:13px;font-weight:600;line-height:1.3;box-shadow:none;cursor:pointer}
.phd-community .phd-social-actions .phd-social-action:hover,.phd-community .phd-social-actions button[aria-pressed=true]{background:#eaf5ef;color:var(--phd-community-green)}
.phd-community .phd-social-actions--guest{grid-template-columns:repeat(3,minmax(0,1fr))}
.phd-social-icon{display:inline-block;flex:0 0 20px;width:20px;height:20px;vertical-align:middle}
.phd-community .phd-share-status{font-size:13px;margin:0;line-height:1.5}
.phd-community .phd-share-status:empty{display:none}
.phd-community .phd-share-status:not(:empty){margin:10px 0}
.phd-community .phd-post-report{font-size:12px;color:#60756c}
.phd-community-person{display:inline-flex;align-items:center;gap:9px;min-width:0;text-decoration:none;font-weight:600}
.phd-community-person img{width:32px;height:32px;border-radius:50%;object-fit:cover;flex-shrink:0}
.phd-community-person span{overflow-wrap:anywhere}
.phd-community .phd-reactions{padding:16px 20px;border:1px solid #dce9e3;border-radius:12px;margin:0 0 20px;background:#f8fbf9;scroll-margin-top:110px}
.phd-community .phd-reactions summary .phd-social-icon{margin-right:8px}
.phd-reaction-people{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}
.phd-community .phd-comments{scroll-margin-top:110px}
.phd-community .phd-community-comment{border-bottom:1px solid #e1ebe5;padding:16px 0;margin:0}
.phd-community .phd-community-comment p{margin:8px 0 6px;padding-left:41px;font-size:14px;line-height:1.65}
.phd-community .phd-community-comment time{display:block;padding-left:41px;font-size:12px;color:#60756c}
.phd-community .phd-comments>.phd-c-form{margin-top:20px}
.phd-member-profile .phd-profile-columns--basic{grid-template-columns:minmax(0,1fr)}
.phd-member-profile [hidden]{display:none!important}
.phd-profile-columns>div{min-width:0}
@media(max-width:767px){.phd-community .phd-community-post .phd-c-image{max-height:none}.phd-community .phd-social-actions{gap:2px}.phd-community .phd-social-actions .phd-social-action{gap:5px;font-size:12px;padding:10px 3px}.phd-reaction-people{grid-template-columns:1fr}}
@media(max-width:359px){.phd-community .phd-social-actions .phd-social-action{flex-direction:column;gap:4px}}

.phd-community .phd-community-person:focus-visible span{outline:3px solid #c45d42;outline-offset:3px}

/* Consistent image frames: fill the grid while keeping the source image available. */
.phd-community .phd-community-post .phd-post-media{display:block;position:relative;width:100%;aspect-ratio:var(--phd-post-image-ratio,16 / 9);overflow:hidden;border-radius:12px;background:#f3f7f5;margin:12px 0 16px}
.phd-community .phd-community-post .phd-post-media>.phd-c-image{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:100%;max-height:none;object-fit:var(--phd-post-image-fit,cover);object-position:center;margin:0;border-radius:0}
.phd-community .phd-post-media:focus-visible{outline:3px solid var(--phd-community-green);outline-offset:3px}
