/* Community Tools: centered, legible and consistent with the main AI RightFit site. */
.community-wrap{width:min(100% - 40px,1080px);max-width:1080px;margin:48px auto 78px;padding:0}
.community-wrap>.eyebrow{margin:0 0 10px}
.community-wrap h1{font-family:var(--serif);font-size:clamp(2.1rem,4.1vw,3.5rem);line-height:1.14;letter-spacing:-.028em;margin:0 0 20px;max-width:940px}
.community-wrap>.lead{max-width:860px;line-height:1.75;font-size:clamp(1rem,1.8vw,1.15rem);color:var(--muted)}
.community-wrap>.muted{max-width:880px;line-height:1.7}
.community-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,315px),1fr));gap:20px;margin:28px 0 35px}
.community-card{border:1px solid var(--border,#e1e4d8);border-radius:17px;background:var(--surface,#fff);padding:24px;min-width:0;overflow-wrap:anywhere;box-shadow:var(--shadow-sm,0 1px 2px #0001)}
.community-card h2{font-family:var(--serif);font-size:1.35rem;line-height:1.35;margin:0 0 12px}.community-card h2 a{text-decoration:none}
.community-card p{margin:13px 0;line-height:1.7}
.community-card p:last-child{font-size:.85rem;color:var(--muted)}
.community-card a{overflow-wrap:anywhere}
.community-controls{display:grid;grid-template-columns:minmax(0,2fr) minmax(180px,1fr) auto auto;gap:13px;align-items:end;margin:28px 0 18px;padding:22px;border:1px solid var(--border,#e1e4d8);border-radius:16px;background:var(--surface,#fff)}
.community-controls label{display:flex;flex-direction:column;min-width:0;gap:7px;font-size:.9rem;font-weight:600}
.community-controls input,.community-controls select{display:block;width:100%;min-width:0;height:46px;padding:10px 13px;border:1px solid var(--border-strong,#6f7b74);border-radius:10px;background:#fff;color:var(--ink);font:inherit;font-weight:400}
.community-controls button{height:46px;white-space:nowrap}
#community-state{color:var(--muted);font-size:.95rem;margin-top:20px}
@media(max-width:850px){.community-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.community-controls button{width:100%}}
@media(max-width:600px){.community-wrap{width:calc(100% - 32px);margin:28px auto 56px}.community-controls{grid-template-columns:minmax(0,1fr);padding:16px}.community-list{grid-template-columns:minmax(0,1fr)}.community-card{padding:19px}}
