.social-community{
  width:min(100%,980px);
  margin-inline:auto;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(242px,285px);
  align-items:start;
  gap:24px;
}

.social-column,.social-rail{min-width:0}
.social-rail{padding-top:12px;display:grid;gap:16px}
.social-title{
  font-family:inherit;
  font-size:clamp(29px,4vw,43px);
  font-weight:750;
  letter-spacing:-.055em;
  line-height:1.1;
  margin:4px 0 16px;
}

.social-tabs{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  min-height:50px;
  margin:0 0 14px;
  border:1px solid #28493a26;
  border-radius:14px;
  background:#f6faf7;
  overflow:hidden;
}

.social-tabs a{
  position:relative;
  min-width:0;
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:48px;
  gap:5px;
  padding:0 3px;
  color:#425c50;
  font-size:clamp(11px,1.6vw,14px);
  font-weight:630;
  white-space:nowrap;
  text-decoration:none;
}
.social-tabs a:hover,.social-tabs a[aria-current="page"]{background:#e6eee6;color:#173b2a}
.social-tabs a[aria-current="page"]{font-weight:750}
.social-tabs a[aria-current="page"]::after{
  position:absolute;
  right:13%;
  left:13%;
  bottom:0;
  height:3px;
  border-radius:3px 3px 0 0;
  background:#467d31;
  content:'';
}
.social-tabs a:focus-visible{outline:2px solid #315f38;outline-offset:-4px;border-radius:8px}
.social-unread{
  display:grid;
  place-items:center;
  min-width:17px;
  min-height:17px;
  padding-inline:3px;
  border-radius:10px;
  color:#183a23;
  background:#d6e7b8;
  font-size:10px;
  font-weight:750;
  line-height:1;
}

.social-feed{display:grid;gap:18px}
.social-post,.social-side-card,.social-detail-interactions{
  --card-border:#c7dbcd;
  --card-tint:#edf5ee;
  --card-accent:#345e48;
  --card-badge:#dfede2;
  background:#fbfdfb;
  border:1px solid var(--card-border);
  border-radius:22px;
  box-shadow:0 1px 2px #2745350c,0 6px 18px #2745350d;
  color:#172f24;
}
.social-post{--card-padding:20px;padding:0 var(--card-padding) 8px;min-width:0}
.social-post--featured{
  --card-border:#a8c3a0;
  --card-tint:#e6f0dc;
  --card-accent:#31532b;
  --card-badge:#d8e9c9;
  box-shadow:0 8px 24px #2c51201a;
}
.social-post--notice{
  --card-border:#dfd4b7;
  --card-tint:#f6efdd;
  --card-accent:#6c5228;
  --card-badge:#efe2c4;
}
.social-post--activity{
  --card-border:#c2d7d5;
  --card-tint:#e6f1ef;
  --card-accent:#2e5c58;
  --card-badge:#d8ebe7;
}
.social-poll{
  --card-border:#d6d4e5;
  --card-tint:#eeedf5;
  --card-accent:#53476f;
  --card-badge:#e5e1f0;
}
.social-byline{
  display:flex;
  align-items:center;
  gap:11px;
  margin:0 calc(-1 * var(--card-padding)) 16px;
  padding:13px var(--card-padding);
  border-radius:21px 21px 0 0;
  border-bottom:1px solid var(--card-border);
  background:linear-gradient(110deg,var(--card-tint),#fbfdfb 96%);
}
.social-byline>div{min-width:0;overflow-wrap:anywhere}
.social-avatar{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  flex:0 0 42px;
  border-radius:50%;
  border:1px solid var(--card-border);
  background:#fbfdfb;
  color:var(--card-accent);
  box-shadow:0 2px 4px #172f2412;
}
.social-avatar .icon{width:20px;height:20px}
.social-byline strong,.social-side-event strong{display:block;font-size:14px;line-height:1.3}
.social-byline small,.social-side-event small{display:block;color:#4b6356;font-size:12px;line-height:1.4}
.social-type{margin-left:auto;max-width:45%;border-radius:999px;background:var(--card-badge);color:var(--card-accent);padding:5px 9px;font-size:11px;font-weight:750;overflow-wrap:anywhere}
.social-copy h2,.social-poll h2{
  margin:0 0 7px;
  font-family:inherit;
  font-size:clamp(20px,3.2vw,26px);
  font-weight:750;
  line-height:1.25;
  letter-spacing:-.025em;
  overflow-wrap:anywhere;
}
.social-copy p{margin:0 0 15px;color:#41574c;font-size:14px;line-height:1.55;white-space:pre-line;overflow-wrap:anywhere}
.social-photo{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16/9;
  object-fit:cover;
  border-radius:15px;
  border:1px solid #27453522;
  background:#dce9df;
}
.social-location{display:flex;align-items:center;gap:6px;margin:-5px 0 13px;color:var(--card-accent);font-size:13px;font-weight:650}
.social-location .icon{width:15px;height:15px;flex:none}
.social-action,.social-side-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:42px;
  color:#28543b;
  font-size:13px;
  font-weight:700;
  text-decoration:none;
}
.social-action:hover,.social-side-link:hover{text-decoration:underline}
.social-interaction-bar .social-action{margin-left:auto;color:var(--card-accent)}
.social-action .icon,.social-side-link .icon{width:15px;height:15px;flex:none}

.social-poll form{display:grid;gap:8px;padding-bottom:12px}
.social-option{display:flex;align-items:center;gap:10px;padding:8px 12px;min-height:44px;border:1px solid #28493a26;border-radius:9px;font-size:14px}
.social-option:has(:checked){border-color:#8a7ea7;background:var(--card-tint)}
.social-option input{accent-color:var(--card-accent)}
.social-vote{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  justify-self:start;
  gap:8px;
  min-height:44px;
  margin-top:4px;
  padding:0 14px;
  border:0;
  border-radius:9px;
  background:var(--card-accent);
  color:white;
  font-weight:700;
}
.social-vote:disabled{background:#dfeade;color:#2d5237;opacity:1}
.social-vote .icon{width:16px;height:16px}

.social-side-card{padding:15px;margin:0;background:linear-gradient(160deg,#eef5ee,#fbfdfb 46%)}
.social-side-head{display:flex;align-items:center;justify-content:space-between;gap:4px 12px;flex-wrap:wrap}
.social-side-head h2{margin:0;font-family:inherit;font-size:15px;font-weight:750;line-height:1.3}
.social-side-card>p{color:#4b6356;font-size:13px;margin:9px 0 2px}
.social-side-link{min-height:32px;font-size:12px}
.social-side-event{display:grid;grid-template-columns:42px minmax(0,1fr) 14px;align-items:center;gap:10px;padding:10px 0;border-top:1px solid #28493a26;color:#172f24;text-decoration:none}
.social-side-event:hover strong{text-decoration:underline}
.social-side-event>.icon{width:14px;height:14px}
.social-date{display:grid;align-content:center;justify-items:center;min-height:46px;border:1px solid var(--card-border);border-radius:12px;background:#e7f1e5;color:var(--card-accent)}
.social-date strong{font-size:17px}
.social-date small{font-size:10px;text-transform:uppercase}

@media(max-width:1120px){
  .social-community{grid-template-columns:minmax(0,1fr);max-width:660px;gap:16px}
  .social-rail{padding-top:0}
}
@media(max-width:440px){
  .social-title{margin-bottom:12px}
  .social-tabs{border-radius:11px;grid-template-columns:.85fr 1.04fr 1.15fr .96fr 1fr}
  .social-tabs a{gap:2px;padding-inline:0}
  .social-post{--card-padding:13px}
  .social-byline{padding-block:10px;margin-bottom:13px}
  .social-byline{gap:8px}
  .social-avatar{width:36px;height:36px;flex-basis:36px}
  .social-photo{aspect-ratio:4/3}
}

.social-interactions{margin-top:10px}
.social-interaction-bar{
  display:flex;
  align-items:center;
  gap:6px;
  min-height:48px;
  padding:2px 0;
}
.social-interaction-bar button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-width:56px;
  min-height:44px;
  padding:0 9px;
  border:1px solid #dae6dc;
  border-radius:999px;
  background:#f2f7f2;
  color:#405b50;
  font-size:13px;
  font-weight:750;
}
.social-interaction-bar button:hover,.social-interaction-bar button[aria-expanded="true"]{background:#e5eee5;color:#275239}
.social-interaction-bar button[aria-pressed="true"]{border-color:#efc9d4;background:#fae8ec;color:#973854}
.social-interaction-bar button[aria-pressed="true"] .icon{fill:currentColor}
.social-interaction-bar .icon{width:20px;height:20px}
.social-thread{margin:9px 0 4px;padding:13px;border:1px solid #d7e5da;border-radius:15px;background:#eef5ee}
.social-thread h3{font-family:inherit;font-size:15px;font-weight:750;margin:0 0 8px}
.social-thread-empty{color:#4b6356;font-size:13px;margin:0 0 12px}
.social-thread ul{margin:0 0 12px;padding:0;list-style:none;display:grid;gap:10px}
.social-thread li{display:grid;grid-template-columns:34px minmax(0,1fr);gap:8px;align-items:start;padding:8px;background:#fbfdfb;border-radius:11px}
.social-thread .avatar{width:34px;height:34px;font-size:11px}
.social-comment-byline{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;font-size:13px}
.social-comment-byline time{color:#4b6356;font-size:11px}
.social-thread li p{margin:2px 0 0;font-size:14px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}
.social-comment-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:7px}
.social-comment-form label{min-width:0}
.shell:not(.admin) .social-comment-form textarea{
  display:block;
  width:100%;
  min-height:56px;
  padding:9px 10px;
  border:1px solid #546f624f;
  border-radius:9px;
  background:#fff;
  box-shadow:none;
  resize:vertical;
  font-size:16px;
}
.social-comment-form button{
  min-height:44px;
  padding:0 12px;
  border:0;
  border-radius:9px;
  background:#264f37;
  color:#fff;
  font-weight:700;
}
.social-comment-form button:disabled,.social-interaction-bar button:disabled{opacity:.6}
.social-comment-error{grid-column:1/-1;margin:0;color:#993b4e;font-size:13px}
.social-comment-error:empty{display:none}
.social-detail-interactions{padding:4px 14px 9px;margin:16px 0}
