.community-shell{--community-primary:#2563eb;--community-text:#0f172a;--community-muted:#475569;--community-border:#e2e8f0;max-width:1180px;margin:0 auto;padding:24px 20px 60px;color:var(--community-text);font-family:inherit;font-size:16px;line-height:1.5;background:#f8fafc}
.community-shell h1,.community-shell h2,.community-shell h3{color:var(--community-text);letter-spacing:normal;line-height:1.3;font-weight:600}
.community-shell h1{font-size:28px;margin:0 0 8px}.community-shell h2{font-size:20px;margin:28px 0 16px}.community-shell h3,.community-card h3{font-size:18px}.community-shell .lead{font-size:16px;color:var(--community-muted);font-weight:400}
.community-nav,.community-tabs{display:flex;gap:4px;flex-wrap:wrap;margin-bottom:24px;padding:0;background:transparent;border-radius:0;border-bottom:1px solid var(--community-border)}
.community-nav a,.community-tabs a{padding:12px 16px;border-radius:0;color:var(--community-muted);font-weight:600;border-bottom:2px solid transparent;min-height:48px;display:inline-flex;align-items:center;text-decoration:none}
.community-tabs .selected,.community-nav a[aria-current=page]{background:transparent;color:var(--community-primary);border-bottom-color:var(--community-primary)}
.community-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:16px}.community-card,.community-panel{border:1px solid var(--community-border);border-radius:12px;background:white;overflow:hidden;box-shadow:none;margin-bottom:16px}
.community-card .cover{width:100%;height:160px;object-fit:cover}.community-placeholder{height:160px;display:flex;align-items:center;justify-content:center;background:#eff6ff;font-size:36px;color:var(--community-primary)}
.community-card .copy,.community-panel{padding:16px}.community-card p{color:var(--community-muted)}.community-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.community-button{border:1px solid transparent;border-radius:8px;background:var(--community-primary);color:white;padding:10px 16px;min-height:48px;font-size:14px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.community-button:hover{background:#1d4ed8;color:white;text-decoration:none}.community-button.secondary{background:#f1f5f9;color:#334155;border-color:var(--community-border)}.community-button.secondary:hover{background:#e2e8f0;color:#0f172a}
.community-chip{display:inline-flex;align-items:center;min-height:44px;padding:6px 12px;border-radius:8px;background:#f1f5f9;color:#334155;margin:4px;font-size:14px;border:1px solid var(--community-border)}
.community-hero{height:240px;width:100%;object-fit:cover;border-radius:12px}.community-identity{position:relative;margin-top:-16px;background:white;border-radius:12px;padding:20px;border:1px solid var(--community-border)}
.community-post{white-space:pre-wrap;overflow-wrap:anywhere}.community-media{display:flex;gap:12px;overflow-x:auto;margin:16px 0}.community-media img{max-height:280px;max-width:100%;border-radius:10px;object-fit:cover}.community-author{display:flex;gap:12px;align-items:center;margin-bottom:14px}.community-avatar{width:40px;height:40px;object-fit:cover;border-radius:50%;background:#eff6ff}
.community-field{display:block;margin:16px 0}.community-field input:not([type=checkbox]),.community-field select,.community-field textarea{display:block;width:100%;padding:12px;border:1px solid #cbd5e1;border-radius:8px;margin-top:6px;background:white;color:var(--community-text);font:inherit;min-height:48px}
.community-empty{padding:28px;text-align:center;border-radius:12px;background:white;border:1px solid var(--community-border);color:var(--community-muted)}.community-shell form.inline{display:inline-block;margin:4px}.community-row{display:flex;gap:16px;align-items:center;flex-wrap:wrap}.community-row .copy{flex:1;min-width:180px}.community-pagination{display:flex;justify-content:space-between;margin:24px 0}
.community-shell details{margin-top:12px}.community-shell summary{cursor:pointer;color:#1d4ed8;padding:10px;min-height:48px}.community-result{display:block;padding:12px;border:1px solid var(--community-border);border-radius:8px;margin:8px 0;background:white;width:100%;text-align:left}.community-eventdate{border-radius:8px;padding:12px;background:#eff6ff;color:#1d4ed8;font-size:14px;font-weight:600}
.community-shell button:disabled{opacity:.5}.community-shell label{font-size:14px;font-weight:600}.community-shell :focus-visible{outline:3px solid #2563eb;outline-offset:3px}.community-shell .text-success{color:#15803d!important}
.community-discovery-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:24px}.community-discovery-main,.community-discovery-sidebar{min-width:0}.community-discovery-sidebar h2:first-child{margin-top:28px}.community-discovery-sidebar .community-grid{grid-template-columns:1fr}
@media(max-width:900px){.community-discovery-layout{display:block}}@media(max-width:540px){.community-shell{padding:16px 12px 40px}.community-shell h1{font-size:24px}.community-shell h2{font-size:18px}.community-hero{height:180px}.community-panel,.community-identity{padding:16px}.community-grid{grid-template-columns:1fr}.community-nav a,.community-tabs a{padding:10px 12px}.community-media img{max-height:210px}}
@media(min-width:901px){.community-discovery-main .community-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.community-field .community-row{flex-wrap:nowrap}.community-field .community-row input{flex:1;min-width:0;width:auto}.community-field .community-row .community-button{flex-shrink:0}}


/* Compact branded web presentation, aligned with the account dashboard. */
.community-shell{--community-primary:#247358;--community-text:#142b3b;--community-muted:#607182;--community-border:#dde6ec;max-width:1160px;padding:28px 20px 44px;background:transparent;font-size:14px;box-sizing:border-box}
.community-shell *{box-sizing:border-box}
.community-shell h1{font-size:1.75rem;font-weight:750}
.community-shell h2{font-size:1.08rem;font-weight:700;margin:24px 0 13px}
.community-shell h3,.community-shell .community-card h3{font-size:1rem;line-height:1.4;margin:0;font-weight:700}
.community-page-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 26px;margin-bottom:20px;border:1px solid #cfe6dd;border-radius:20px;background:linear-gradient(115deg,#edf9f1,#f2f8ff)}
.community-page-header p{font-size:.92rem;margin:8px 0 0;color:var(--community-muted)}
.community-eyebrow{display:block;font-size:.75rem;letter-spacing:.04em;font-weight:700;color:var(--community-primary);margin-bottom:8px}
.community-page-header .community-button{flex-shrink:0}
.community-nav,.community-tabs{border:1px solid var(--community-border);background:#fff;border-radius:12px;padding:5px;gap:5px;margin-bottom:20px}
.community-nav a,.community-tabs a{min-height:40px;padding:9px 15px;border:0;border-radius:8px;font-size:.85rem;font-weight:650}
.community-nav a[aria-current=page],.community-tabs .selected{background:#e7f5ed;color:var(--community-primary);border:0}
.community-search-panel{padding:16px 18px;background:white;border:1px solid var(--community-border);border-radius:14px;margin-bottom:24px}
.community-search-panel label{display:block;margin-bottom:8px;font-size:.83rem;color:#314e61}
.community-search-row{display:flex;gap:10px}
.community-search-row input{flex:1;min-width:0;width:100%;border:1px solid #ccd9e1;border-radius:9px;padding:10px 12px;font:inherit;min-height:44px;background:#fff;color:var(--community-text)}
.community-button{font-size:.82rem;font-weight:650;min-height:40px;padding:9px 14px;border-radius:9px}
.community-button:hover{background:#1b5d45}
.community-button.secondary{background:#f2f7f4;color:var(--community-primary);border-color:#d4e5dc}
.community-discovery-layout{grid-template-columns:minmax(0,1fr) 270px;gap:24px;align-items:start}
.community-discovery-main>h2:first-child{margin-top:0}
.community-section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:13px}
.community-section-heading h2{margin:0}
.community-section-heading>a{font-size:.8rem;color:var(--community-primary)}
.community-grid{gap:16px;align-items:stretch}
.community-card{margin:0;border-radius:15px;box-shadow:0 4px 16px rgba(20,50,70,.04);display:flex;flex-direction:column;min-width:0}
.community-card-cover{display:block;flex-shrink:0;background:#edf5f1}
.community-card .cover,.community-placeholder{display:block;width:100%;height:125px}
.community-placeholder{display:flex;background:linear-gradient(120deg,#e6f4ec,#eaf2fa);font-size:30px;color:var(--community-primary)}
.community-card .copy{padding:15px;display:flex;flex-direction:column;flex:1}
.community-card-description{font-size:.84rem;line-height:1.55;margin:8px 0 14px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.community-card-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;flex-wrap:wrap}
.community-member-count{font-size:.76rem;color:var(--community-muted)}
.community-card-footer form.inline{margin:0}
.community-card-footer .community-button{min-height:38px;padding:8px 13px}
.community-sidebar-panel{padding:18px;border:1px solid var(--community-border);border-radius:15px;background:#fff;margin-bottom:18px}
.community-discovery-sidebar .community-sidebar-panel h2{margin:0}
.community-sidebar-panel>p{font-size:.8rem;color:var(--community-muted);margin:6px 0 14px}
.community-topic-list{display:flex;flex-wrap:wrap;gap:7px}
.community-topic-list .community-chip{min-height:32px;padding:6px 10px;border-radius:20px;margin:0;font-size:.76rem;background:#f2f7f4;color:#315b49;border-color:#dce9e2}
.community-sidebar-panel .community-grid{gap:14px}
.community-sidebar-panel .community-card{box-shadow:none}
.community-sidebar-panel .community-card .cover{height:100px}
.community-sidebar-panel .community-card .copy{padding:12px}
.community-sidebar-panel .community-card h3{font-size:.9rem}
.community-sidebar-panel .community-card p{font-size:.78rem;margin:8px 0}
.community-eventdate{font-size:.75rem;padding:6px 9px;background:#e7f5ed;color:var(--community-primary)}
.community-empty{grid-column:1/-1;padding:22px;font-size:.85rem;border:1px dashed #ccdce3;background:#fafcfd}
.community-empty h2{margin:0 0 8px}
.community-shell :focus-visible{outline-color:#89bfa8}
@media(max-width:900px){.community-discovery-layout{display:grid;grid-template-columns:1fr}.community-discovery-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.community-discovery-sidebar .community-sidebar-panel{margin:0}}
@media(max-width:540px){.community-shell{padding:20px 12px 32px}.community-page-header{padding:20px;align-items:flex-start;flex-direction:column;gap:15px}.community-shell h1{font-size:1.5rem}.community-page-header .community-button{align-self:flex-start}.community-nav a,.community-tabs a{padding:9px 11px;font-size:.8rem}.community-discovery-sidebar{grid-template-columns:1fr}.community-search-panel{padding:14px}.community-search-row{gap:8px}.community-grid{grid-template-columns:1fr}.community-card .cover,.community-placeholder{height:140px}}

.community-shell a{text-decoration:none}
.community-shell a:hover{text-decoration:none}
.community-card .community-placeholder{height:96px}
.community-monogram{width:48px;height:48px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #d1e5da;border-radius:50%;font-size:22px;font-weight:700;box-shadow:0 3px 10px rgba(20,60,45,.04)}
.community-card .community-eventdate,.community-card .copy>.community-chip{align-self:flex-start}

/* Consistent detail, discussion, events, editor and moderation presentation. */
.community-subpage{max-width:960px;margin:0 auto;min-width:0}
.community-subpage-header{margin:0 0 22px}
.community-subpage .community-hero{display:block;height:210px;border-radius:18px 18px 0 0;background:linear-gradient(120deg,#e8f5ee,#edf4fc)}
.community-subpage .community-placeholder.community-hero{display:flex;height:150px}
.community-subpage .community-identity{margin:0 0 24px;padding:26px;border-radius:0 0 18px 18px;border-color:#dde6ec;box-shadow:0 6px 22px #142b3b06}
.community-subpage .community-identity h1{margin:0 0 12px;font-size:1.65rem;overflow-wrap:anywhere}
.community-subpage .community-identity .lead{font-size:.9rem;line-height:1.65;margin:0 0 18px;max-width:760px}
.community-subpage .community-chip{min-height:28px;font-size:.72rem;padding:5px 9px;margin:0 5px 6px 0;border-radius:18px;background:#f0f6f3;color:#3a6554;border-color:#deebe3}
.community-subpage .community-identity>.community-actions{margin-top:18px;padding-top:18px;border-top:1px solid #edf1f3}
.community-subpage .community-panel{border-radius:16px;padding:22px;box-shadow:0 4px 18px #142b3b05;margin-bottom:18px}
.community-subpage .community-panel h2:first-child{margin-top:0}
.community-subpage p{font-size:.88rem;line-height:1.65}
.community-subpage small{font-size:.75rem;color:var(--community-muted)}
.community-subpage .community-author{gap:10px;flex-wrap:wrap;margin-bottom:18px}
.community-subpage .community-author strong{font-size:.85rem}
.community-subpage .community-author .community-chip{margin:0 0 0 auto;align-self:flex-start}
.community-subpage .community-avatar{width:38px;height:38px;flex:0 0 auto}
.community-subpage .community-post-card>h3{margin:0 0 10px;font-size:1.05rem}
.community-subpage .community-post-card>.community-post{margin:0 0 18px;font-size:.9rem;line-height:1.75}
.community-subpage .community-media:empty{display:none}
.community-subpage .community-post-actions{border-top:1px solid #edf1f3;padding-top:14px;margin-top:18px;gap:8px}
.community-subpage form.inline{margin:0}
.community-subpage .community-post-actions>a{margin-left:auto;font-size:.8rem;color:var(--community-primary);font-weight:600}
.community-subpage .community-reaction-count{font-size:.76rem;color:var(--community-muted);margin-right:6px}
.community-subpage .community-post-actions .community-button,.community-subpage .community-comment-card>.inline .community-button{min-height:34px;padding:7px 10px;font-size:.75rem}
.community-subpage .community-shared-reference{background:#f8fbfa;box-shadow:none;margin-top:18px}
.community-subpage .community-shared-reference>div{flex:1;min-width:0}
.community-subpage .community-shared-reference .community-avatar{width:76px;height:76px;border-radius:10px}
.community-subpage .community-shared-reference h3{margin:7px 0;font-size:.92rem}
.community-subpage .community-shared-reference p{font-size:.8rem;color:var(--community-muted)}
.community-subpage .community-discussion-heading{margin:4px 0 24px}
.community-back-link{display:inline-flex;font-size:.8rem;color:#247358;font-weight:600;margin-bottom:16px}
.community-discussion-heading h1{margin-bottom:8px;font-size:1.5rem}
.community-discussion-heading p{color:var(--community-muted);margin:0}
.community-comments-heading{margin:28px 0 16px}
.community-subpage .community-comment-card{padding:18px 20px}
.community-comment-card>strong{font-size:.84rem}
.community-comment-card>.community-post{margin:12px 0 14px}
.community-subpage .community-comment-reply{margin-left:28px;border-left:3px solid #cee6d9;background:#fbfdfc}
.community-subpage .community-participation-prompt{margin-top:30px;padding:24px;border:1px solid #d6e8de;border-radius:15px;background:linear-gradient(115deg,#eff8f2,#f4f8fc)}
.community-participation-prompt p{margin:0 0 16px;color:var(--community-muted)}
.community-subpage .community-editor{max-width:780px;margin:0 auto 24px;padding:26px}
.community-subpage .community-field{margin:0 0 18px;font-size:.8rem;color:#354f5e}
.community-subpage .community-field input:not([type=checkbox]),.community-subpage .community-field select,.community-subpage .community-field textarea{min-height:42px;border-color:#d8e3e8;border-radius:9px;padding:10px 12px;font-size:14px;line-height:1.5}
.community-subpage .community-field textarea{min-height:110px;resize:vertical}
.community-subpage input[type=checkbox]{width:16px;height:16px;accent-color:#247358;vertical-align:middle;margin-right:5px}
.community-subpage input[type=file]{font-size:12px!important;background:#f8fbfa}
.community-subpage fieldset{border:1px solid #e1e9ed;border-radius:12px;padding:16px;margin:20px 0}
.community-subpage legend{font-size:.85rem;font-weight:650;float:none;width:auto;padding:0 6px}
.community-subpage details{border-top:1px solid #edf1f3;padding-top:8px;margin-top:14px}
.community-subpage summary{color:#526d60;font-size:.78rem;font-weight:600;min-height:36px;padding:8px 0}
.community-subpage details[open] summary{margin-bottom:12px;color:#247358}
.community-subpage details form{padding:16px;border:1px solid #e1e9ed;background:#f8fbfa;border-radius:12px;margin-top:8px}
.community-subpage .community-member-card .community-author{margin-bottom:12px}
.community-subpage .community-event-detail h1{margin-bottom:12px;font-size:1.6rem}
.community-subpage .community-event-detail>.community-actions{padding-top:18px;margin-top:20px;border-top:1px solid #edf1f3}
.community-subpage .community-moderation-member>form{margin-top:18px;padding-top:18px;border-top:1px solid #edf1f3}
.community-subpage a{overflow-wrap:anywhere}
.community-subpage [hidden]{display:none!important}
@media(max-width:540px){.community-subpage .community-hero{height:170px}.community-subpage .community-identity,.community-subpage .community-panel,.community-subpage .community-editor{padding:18px}.community-subpage .community-identity h1{font-size:1.4rem}.community-subpage .community-comment-reply{margin-left:16px}.community-subpage .community-participation-prompt{margin-top:26px;padding:20px}.community-subpage .community-post-actions>a{margin-left:0}.community-subpage .community-author .community-chip{margin-left:0}.community-subpage .community-event-detail h1{font-size:1.4rem}}

.community-subpage a:not(.community-button){color:var(--community-primary)}
.community-subpage .community-editor>label:not(.community-field){display:block;margin:16px 0;font-size:.8rem;color:#354f5e}
