/* ConnectONE member-only community, styled to the current blue editorial system */
.community-section{background:#f5f7ff;padding:44px 0}
.community-shell{border-radius:32px;background:#fff;border:1px solid #e0e9fb;padding:clamp(18px,3.6vw,42px);box-shadow:0 15px 48px rgba(30,61,154,.07)}
.community-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:22px}
.community-kicker{font-size:.76rem;font-weight:900;letter-spacing:.12em;color:#2351c0}
.community-head h2{font-size:clamp(1.9rem,3.8vw,2.9rem);letter-spacing:-.07em;line-height:1.3;margin:10px 0;color:#143887}
.community-head p,.community-muted{font-size:.85rem;color:#657794;line-height:1.7}
.community-badge{border-radius:99px;padding:10px 15px;background:#e7f1ff;color:#1f4fae;font-size:.8rem;font-weight:850;white-space:nowrap}
.community-guest{background:linear-gradient(125deg,#e5f0ff,#f0f7ff);border:1px solid #d8e7ff;border-radius:23px;padding:30px;display:flex;justify-content:space-between;align-items:center;gap:18px}
.community-guest h3{margin:0 0 8px;font-size:1.15rem}.community-guest p{margin:0;font-size:.84rem;color:#526d98}
.community-join,.community-submit{border:0;background:#285cf0;color:white;padding:12px 18px;border-radius:13px;cursor:pointer;font-weight:850;white-space:nowrap}
.community-member-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:14px 17px;background:#f3f7ff;border-radius:16px;margin-bottom:18px;color:#2048a6;font-size:.88rem}
.community-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}
.community-tabs button{background:#f3f6ff;border:1px solid #dde7ff;border-radius:99px;padding:11px 19px;cursor:pointer;font-weight:800;color:#45619e}
.community-tabs button[aria-pressed=true]{background:#2456dc;border-color:#2456dc;color:white}
.community-write{background:#f7faff;border-radius:21px;border:1px solid #e4ebfb;padding:19px;margin:15px 0}
.community-write h3{font-size:1.04rem;margin:0 0 6px;color:#1e449d}
.community-write p{font-size:.79rem;color:#6780a3;margin:0 0 10px}
.community-write textarea,.community-comment-input,.community-report-form textarea,.community-report-form select,.community-role-form input,.community-role-form select{width:100%;border-radius:13px;padding:12px;border:1px solid #cddcf7;background:#fff;color:#193b76;font-family:inherit}
.community-write textarea:focus,.community-comment-input:focus,.community-report-form textarea:focus{outline:3px solid #b8d0ff}
.community-write-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:11px}
.community-privacy{margin:11px 0;color:#6b788f;font-size:.75rem;line-height:1.75}
.community-message{font-size:.83rem;color:#2459b0;min-height:1em}.community-message[data-error=true]{color:#b03e48}
.community-post{border:1px solid #e0e9fa;border-radius:21px;padding:19px;margin:13px 0;background:#fff}
.community-author{display:flex;align-items:center;gap:9px;flex-wrap:wrap;color:#223d7d;font-size:.87rem}
.community-avatar{width:33px;height:33px;border-radius:50%;display:grid;place-items:center;background:#dfeaff;color:#2450ad;font-weight:900}
.community-mentor-label{padding:3px 8px;border-radius:99px;background:#e4f6cb;color:#507221;font-size:.7rem;font-weight:850}
.community-time{font-size:.72rem;color:#7e8ba2;margin-left:auto}
.community-post-body{font-size:.94rem;color:#344a70;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;margin:14px 0}
.community-post-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;border-top:1px solid #edf2fc;padding-top:12px}
.community-action,.community-heart,.community-subaction{border:0;background:transparent;color:#2956ae;font-size:.79rem;padding:5px 3px;font-weight:820;cursor:pointer}
.community-heart{color:#df527e}.community-subaction{font-size:.74rem;color:#6f7b94}
.community-action:hover,.community-subaction:hover{text-decoration:underline}
.community-comments{margin-top:15px;padding:10px 13px;border-radius:14px;background:#f5f8ff}
.community-comments[hidden],.community-guest[hidden],.community-members[hidden],.community-mentor-guide[hidden],.community-write[hidden],.community-admin[hidden]{display:none!important}
.community-comment{border-bottom:1px solid #e1e8f8;padding:10px 0}
.community-comment .community-avatar{height:25px;width:25px}.community-comment-text{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0;color:#405577;font-size:.83rem}
.community-comment-actions{display:flex;gap:12px}.community-comment-form{display:grid;gap:9px;margin-top:15px}.community-send{border:0;border-radius:11px;background:#e2edff;color:#244ca7;padding:10px;font-weight:850;cursor:pointer}
.community-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:14px}
.community-action-secondary{border:1px solid #d9e4f8;border-radius:13px;padding:9px 13px;background:white;color:#2858a8;font-size:.82rem;font-weight:800;cursor:pointer}
.community-blocked,.community-admin{border-top:1px solid #e9effa;margin-top:18px;padding-top:16px}
.community-block-row,.community-report-row{padding:13px;border:1px solid #e3eaf7;border-radius:13px;margin:9px 0}
.community-block-row{display:flex;justify-content:space-between;align-items:center}
.community-admin h3{font-size:.97rem;color:#234bb4}
.community-mentor-guide{border:1px solid #e2efc7;background:#f5fbe8;padding:13px;border-radius:14px;color:#56732d;font-size:.79rem;margin:10px 0 18px}
.community-dialog{width:min(460px,94vw);border-radius:20px;border:0;padding:0;box-shadow:0 24px 70px #1e36733b}.community-dialog::backdrop{background:#14234c87}
.community-report-form{padding:24px;display:grid;gap:11px}
.community-report-form h3{margin:0;color:#213e86}.community-report-form label{font-size:.84rem;font-weight:800;color:#38558e}
.community-report-form label select,.community-report-form label textarea{margin-top:6px}
.community-role-form{display:flex;flex-wrap:wrap;gap:9px}.community-role-form input{flex:1;min-width:125px}.community-role-form select{width:auto}
.community-empty{border:1px dashed #c9d9f3;border-radius:16px;background:#f9fbff;color:#627899;padding:26px;text-align:center;font-size:.85rem}
@media(max-width:680px){.community-head{display:block}.community-badge{display:inline-flex}.community-guest{align-items:stretch;flex-direction:column}.community-join{width:100%}.community-write-actions{align-items:stretch}.community-submit{width:100%}}

.community-role-form[hidden],#communityMore[hidden]{display:none!important}
